Hi Glenn:<div><br></div><div>Thanks for your quick reply. </div><div><br></div><div>First I want to confirm the .config you mentioned is supposed to be located under /litmus-rt, in which arch, litmus and other main linux directory reside. Is that right ? If so, CONFIG_SCHED_OVERHEAD_TRACE is not set in .config. It means I have to recompile Litmus kernel by marking CONFIG_SCHED_OVERHEAD_TRACE item after issuing make menuconfig.</div>
<div><br></div><div>The result of cat /proc/cpuinfo under virtual machine shows only one processor in my computer, which is different from the one under my real machine. Probably, I do not allow virtual machine to use two cpus.</div>
<div>CONFIG_NR_CPUS is 8 in my .config. It does not make sense. I do not have so many cpus. What does it exactly stand for ?</div><div><br></div><div>Thanks</div><div><br><div class="gmail_quote">On Mon, Feb 13, 2012 at 11:46 PM, Glenn Elliott <span dir="ltr"><<a href="mailto:gelliott@cs.unc.edu">gelliott@cs.unc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Hang Su,<br>
<br>
WIth regards to ft_trace, please confirm that CONFIG_SCHED_OVERHEAD_TRACE=y in your .config.<br>
<br>
With respect to the number of CPUs, is your virtual machine configured to run with two CPUs? If so, what CONFIG_NR_CPUS set to in your .config?<br>
<br>
Please note that we recommend using Litmus in a virtual machine only for development/debug purposes. We've found that the time accounting mechanisms in virtual machines are not accurate enough for real-time performance.<br>
<br>
Glad that you're trying Litmus out!<br>
<br>
-Glenn<br>
<div><div class="h5"><br>
<br>
On Feb 13, 2012, at 11:20 PM, Hang Su wrote:<br>
<br>
> Hi all:<br>
><br>
> LITMUS is new to me. After I installed LITMUS under Oracle Virtual Box on my Thinkpad x200, it seems that I can not find ft_trace device under /dev/litmus/. Only three devices can be seen under /dev/litmus:<br>
> ctrl log sched_trace0<br>
> How could I load a module to create ft_trace device ?<br>
><br>
> Another question is about sched_trace buffer. As said in Tracing and Logging tutorial, sched_trace is a per-"processor" buffer. The upbound number after sched_trace is given by num_online_cpus(). My CPU is Intel P8600 duo core processors. It is supposed to be two sched_trace buffer. But why do i have only one sched_trace buffer under /dev/litmus ? it is because i install LITMUS on virtual machine instead of directly on real machine?<br>
><br>
> Thanks<br>
</div></div>> _______________________________________________<br>
> litmus-dev mailing list<br>
> <a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>
> <a href="https://lists.litmus-rt.org/listinfo/litmus-dev" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
<br>
<br>
_______________________________________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
</blockquote></div><br></div>