On Sat, Mar 12, 2011 at 4:01 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com> wrote:
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.

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


Thaks for your reply

 but is there any way we can control profile timer value ?

 

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

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