This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: missing sytemtap kernel.trace("net*") on newer Fedora kernels
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: William Cohen <wcohen at redhat dot com>
- Cc: systemtap at sourceware dot org
- Date: Wed, 11 Jun 2014 21:50:59 -0400
- Subject: Re: missing sytemtap kernel.trace("net*") on newer Fedora kernels
- Authentication-results: sourceware.org; auth=none
- References: <5398CB2C dot 9000001 at redhat dot com>
William Cohen <wcohen@redhat.com> writes:
> [...] On the rhel7 kernel all of the tracepoints are available,
> However, on Fedora 20 none of the kernel.trace("net*"),
> kernel.trace("*skb*"), or kernel.trace("napi_poll") tracepoints are
> there.
> [...]
Those kernel tracepoints that are defined in private headers or .c
files, IOW not included under include/linux/trace/*, require
kernel-debuginfo to be installed for systemtap to find them. There
are others that are under include/linux/trace/* but the header files
are not self-contained, and thus require stap to emit dummy forward
type declarations.
See also PR9993, the tapsets.cxx tracepoint_extra_decls() function,
and the stap scripts/tracepoint-diff tool.
- FChE