SIGPROF received ( profile timer expired )

Mulyadi Santosa mulyadi.santosa at gmail.com
Sat Mar 12 05:31:52 EST 2011


On 12/03/2011, अनिकेत आगाशे <agasheac at gmail.com> wrote:
> Hi all
>
> I am facing problem in running an application over character driver written
> by me.  I wanted to profile that application (time required for each system
> call) so I compiled it using gcc -pg option. But some time i am receiving
> SIGPROF signal during ioctl() system call.
>
> Is there any way we can control profile timer's value ? or some other way to
> get rid of this problem.

hm, how about using TSC?
http://en.wikipedia.org/wiki/Time_Stamp_Counter


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list