Re: Newbie question about profiling.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux