hm, how about using TSC?On 12/03/2011, अनिकेत आगाशे <agasheac@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.
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