<div dir="ltr">Thanks guys . I thought there is an easy way for that...I'm trying to do it with multi-threads & synchronization..<div><br></div><div>Bests,</div><div><br></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Mar 19, 2014 at 1:54 PM, Oussama Jabbari <span dir="ltr"><<a href="mailto:oussama.jabbari@gmail.com" target="_blank">oussama.jabbari@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
maybe KernalShark can help:<br>
<br>
<a href="https://lwn.net/Articles/425583/" target="_blank">https://lwn.net/Articles/425583/</a><br>
<br>
Regards,<br>
<div><div class="h5"><br>
On Wed, Mar 19, 2014 at 10:10 AM, nayobix <<a href="mailto:nayobix@nayobix.org">nayobix@nayobix.org</a>> wrote:<br>
> Try ftrace for the scheduler<br>
><br>
> On March 18, 2014 6:01:50 PM EET, Nada Saif <<a href="mailto:nada.saif7@gmail.com">nada.saif7@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I want to measure thread context switching in c, How I can do that?<br>
>><br>
>> Thanks,<br>
>> N.A.S<br>
>><br>
>> ________________________________<br>
>><br>
>> Kernelnewbies mailing list<br>
>> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
>> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
><br>
> --<br>
> nayobix<br>
><br>
</div></div>> _______________________________________________<br>
<div class="HOEnZb"><div class="h5">> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
</div></div></blockquote></div><br></div>