lkml.org 
[lkml]   [2006]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] procfs: export context switch counts in /proc/*/stat
From
Date
On Wed, 2006-12-20 at 14:38 +0000, David Wragg wrote:
> Arjan van de Ven <arjan@infradead.org> writes:
> > if all you care is the number of context switches, you can use the
> > following system tap script as well:
> >
> > http://www.fenrus.org/cstop.stp
>
> Thanks, something similar to that might well have solved my original
> problem.
>
> (When I try the script, stap complains about the lack of the kernel
> debuginfo package, which of course doesn't exist for my self-built
> kernel. After hunting around on the web for 10 minutes, I'm still no
> closer to resolving this. But I look forward to playing with
> systemtap once I get past that problem.)

what worked for me is copying the "vmlinux" file to /boot as
/boot/vmlinux-`uname -r`

(strace the stap program to see what it tries to load)



--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-12-20 15:55    [W:0.042 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site