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