[ELDK] profiling with this eldk 4.2tool chain

Ratheendran R ratheendran.s at gmail.com
Tue Aug 24 12:00:29 CEST 2010


Hi,

I wanted to see the profiling information of my program.
the program is basic hello world.

int main()
{
printf("Hello world?\n");
sleep(1);
}


i have compiled my progam with -pg option [ arm-linux-gcc -g -pg -o t t.c ]
& then i run the program ./t
gmon.out file is created but when i type arm-linux-gcc t
i am not getting the profiling information. gives error "
/bin/arm-linux-gprof: line 1: syntax error: unexpected "(" "

why is this happening please help


More information about the eldk mailing list