04-17-2008
1,
0
Join Date: Apr 2008
Last Activity: 17 April 2008, 12:14 PM EDT
Posts: 1
Thanks Given: 0
Thanked 0 Times in 0 Posts
Kernel Profiling
I compiled my device driver with the profiling option -p but while linking I am getting undefined reference to _mcount.
LD [M] /vobs/femto_drivers/DspBiosLink/dsplinkk/src/dsplinkk.o
Building modules, stage 2.
MODPOST
*** Warning: "_mcount" [/vobs/femto_drivers/DspBiosLink/dsplinkk/src/dsplinkk.ko] undefined!
Architechture: ppc32
From where I can link this _mcount and how to get rid of this issue. Can anyone please guide me.