Thanks guys . I thought there is an easy way for that...I'm trying to do it with multi-threads & synchronization..

Bests,



On Wed, Mar 19, 2014 at 1:54 PM, Oussama Jabbari <oussama.jabbari@gmail.com> wrote:
Hello,

maybe KernalShark can help:

https://lwn.net/Articles/425583/

Regards,

On Wed, Mar 19, 2014 at 10:10 AM, nayobix <nayobix@nayobix.org> wrote:
> Try ftrace for the scheduler
>
> On March 18, 2014 6:01:50 PM EET, Nada Saif <nada.saif7@gmail.com> wrote:
>>
>> Hi,
>>
>> I want to measure thread context switching in c, How I can do that?
>>
>> Thanks,
>> N.A.S
>>
>> ________________________________
>>
>> Kernelnewbies mailing list
>> Kernelnewbies@kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
> --
> nayobix
>
> _______________________________________________