Hi Lars, On Thu, Sep 23, 2010 at 4:42 PM, Lars Segerlund <lars.segerlund@xxxxxxxxx> wrote: > I was thinking that if I could create a realtime task to test for a > specific thing, I really would like a log of what the kernal was doing > right before this. > The only way I can think of is creating a module with a ring buffer ( > spill over ), and tracing the scheduler or interrupt handler .... ( by > hackíng some code to specifically do this ), this would only add a > small overhead AFAIK. > > Any idea's anyone ? or hints ? > > It seem's like just the thing that already might have a solution in > place, so I figured I should not reinvent the wheel. Yeah in the last couple of years a lot of tools have been developed to do exaclty this kind of thing. You could look for .. - FTrace https://rt.wiki.kernel.org/index.php/Ftrace - Tuna - LTTng .. Im sure there are a couple more but Ive used ftrace and LTTng and they are pretty cool. best regards /prady -- http://www.prady.in -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html