This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Profiling Kernel function blocks
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Domenico Di Leo <domenico dot dileo at unina dot it>
- Cc: systemtap at sourceware dot org
- Date: Thu, 02 Aug 2012 12:28:28 -0400
- Subject: Re: Profiling Kernel function blocks
- References: <501A8BF7.80008@unina.it>
Domenico Di Leo <domenico.dileo@unina.it> writes:
> [...]
> In other words, when I run the following script
> probe kernel.function("*@kernel/*.c").return{
> printf("%s %s", threadindent(-1),probefunc());
> }
> the entire OS gets stuck.
> [...]
Several parts of the kernel are not capable of tolerating kprobes in
various places. While mjw is right to point to our PR2725, as far as
we know, these are long-standing kernel (rather than systemtap) bugs
that LKML has not been able (or find time?) to solve.
Our normal suggestion is to try later rather than earlier kernel and
systemtap versions, and limit wildcarded probes like that to smaller
and less-sensitive sections of the kernel.
- FChE