Re: tracefs .. idea

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

 




On Tue, 16 Oct 2012, Lars Segerlund wrote:

>  I was thinking of tracking locks and above all interrupt disable
> through debugfs.
> 
>  Something along the lines of a buffer with the top offenders in it,
> and thus getting a list of the longest latency introducing sections.
>  Or would it be 'better' to instrument with something like kprobes and
> have a utility for this functionality ?
> 
>  Any further idea of stuff to trace ? or has this already been done
> and I am unaware of it ?
> 
>  I basicly want a list of the sections in the kernel that disables
> preemption for the longest time.

Hi Lars - Have a look at ftrace, I think it does what you are looking for.
In the kernel source read, Documentation/trace/ftrace.txt
Look at "preemptoff" to see how to record the amount of time preemption is 
disabled.

John
--
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