<div dir="ltr">Thanks guys . I thought there is an easy way for that...I&#39;m trying to do it with multi-threads &amp; 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">&lt;<a href="mailto:oussama.jabbari@gmail.com" target="_blank">oussama.jabbari@gmail.com</a>&gt;</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 &lt;<a href="mailto:nayobix@nayobix.org">nayobix@nayobix.org</a>&gt; wrote:<br>
&gt; Try ftrace for the scheduler<br>
&gt;<br>
&gt; On March 18, 2014 6:01:50 PM EET, Nada Saif &lt;<a href="mailto:nada.saif7@gmail.com">nada.saif7@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I want to measure thread context switching in c, How I can do that?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; N.A.S<br>
&gt;&gt;<br>
&gt;&gt; ________________________________<br>
&gt;&gt;<br>
&gt;&gt; Kernelnewbies mailing list<br>
&gt;&gt; <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
&gt;&gt; <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; nayobix<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
<div class="HOEnZb"><div class="h5">&gt; Kernelnewbies mailing list<br>
&gt; <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
&gt; <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>