This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Profiling Kernel function blocks
- From: Domenico Di Leo <domenico dot dileo at unina dot it>
- To: systemtap at sourceware dot org
- Date: Thu, 02 Aug 2012 16:17:27 +0200
- Subject: Profiling Kernel function blocks
Hi,
I was wondering if anybody has experienced a
hang of the entire OS when profiling
the functions of the kernel module.
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.
I also tried with
probe kernel.function("*@kernel/*sched.c").return{
printf("%s %s", threadindent(-1),probefunc());
}
and after some printing the OS gets stuck again.
I'm using systemtap v1.4 and kernel 2.6.24 on Gentoo.
Thank
--
Domenico Di Leo, PhD student, Università degli Studi di Napoli Federico II
Ph: +39 081 676770
Fax: +39 081 676574
Web: http://wpage.unina.it/domenico.dileo (WP)