This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/19396] systemtap can't find certain kernel tracepoints
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 06 Jan 2016 21:57:20 +0000
- Subject: [Bug translator/19396] systemtap can't find certain kernel tracepoints
- Auto-submitted: auto-generated
- References: <bug-19396-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19396
--- Comment #4 from David Smith <dsmith at redhat dot com> ---
(In reply to Josh Stone from comment #2)
> In Fedora, I only see the module_* tracepoints without any "system:" prefix.
> include/trace/events/module.h has:
>
> #ifdef CREATE_TRACE_POINTS
> #undef TRACE_SYSTEM
> #define TRACE_SYSTEM module
> #endif
>
> AFAICS we don't set CREATE_TRACE_POINTS. I'm not sure, but maybe we should.
>
> FWIW sched.h and writeback.h also use CREATE_TRACE_POINTS, but only to guard
> some helper functions, not to guard TRACE_SYSTEM. I think that will
> harmless to tracequery if those functions are added, as long as they do
> compile ok.
Yeah, I've got a fix for that problem (but haven't checked it in yet). I tried
just defining CREATE_TRACE_POINTS, but that caused other compile problems
later. So, I just hardcoded TRACE_SYSTEM for module.h, which seems to work.
--
You are receiving this mail because:
You are the assignee for the bug.