<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 11 Dec 2015, at 03:36, Geoffrey Tran <<a href="mailto:gtran@isi.edu" class="">gtran@isi.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><div class=""><br class="Apple-interchange-newline">On Dec 10, 2015, at 2:29 PM, Meng Xu <<a href="mailto:xumengpanda@gmail.com" class="">xumengpanda@gmail.com</a>> wrote:</div><div class=""><div class="gmail_quote" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=""><br class=""></div><div class=""><div class="gmail_default" style="font-size: small;">Look forward to the bare metal result.</div></div></div></div></blockquote></div><div class="" style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></div><span style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I tested both 2014.2 and 2015.1 on a bare metal machine and still get zeros. Could this be a problem with the kernel build configuration? </span></div></blockquote></div><br class=""><div class="">You must have CONFIG_SCHED_OVERHEAD_TRACE enabled.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://github.com/LITMUS-RT/litmus-rt/blob/master/include/litmus/trace_irq.h#L6" class="">https://github.com/LITMUS-RT/litmus-rt/blob/master/include/litmus/trace_irq.h#L6</a></div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://github.com/LITMUS-RT/litmus-rt/blob/master/litmus/trace.c#L33" class="">https://github.com/LITMUS-RT/litmus-rt/blob/master/litmus/trace.c#L33</a></div><div class=""><br class=""></div><div class="">- Björn</div><div class=""><br class=""></div></body></html>