[Bug translator/19396] systemtap can't find certain kernel tracepoints
dsmith at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Jan 6 21:57:00 GMT 2016
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.
More information about the Systemtap
mailing list