This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: SystemTap fails to find kernel tracepoints
- From: David Smith <dsmith at redhat dot com>
- To: KDr2 <killy dot draw at gmail dot com>, systemtap at sourceware dot org
- Date: Mon, 08 Dec 2014 09:51:10 -0600
- Subject: Re: SystemTap fails to find kernel tracepoints
- Authentication-results: sourceware.org; auth=none
- References: <CAHfjm6gvwwdCKEjf+pAczYW37S5wg8m=EzpitFvZbj8yke5a=Q at mail dot gmail dot com>
On 12/08/2014 07:36 AM, KDr2 wrote:
> I got a problem with stap, would anyone help?
>
> OVERVIEW:
> 1) I use debian sid
> 2) All pkgs needed by stap are installed, stap-prep exit with code 0
> 3) kernel is compiled with tracepoints support
> 4) stap can probe kernel.function("*"), syscall.*, process("a.out").function
> 5) The problem:
> stap can not probe kernel.trace("*")
... lots of useful debugging stuff deleted ...
Systemtap is probably having problems with finding the tracepoint
header files (which would be in kernel-devel on a fedora system).
However, before we go too far down that path, let's make sure your
kernel really has tracepoint support. Can you run the following as root
and make sure it outputs a list of tracepoints?
# perf list tracepoint
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)