This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/16844] New: Adapt to tracepoint API changes in 3.15


https://sourceware.org/bugzilla/show_bug.cgi?id=16844

            Bug ID: 16844
           Summary: Adapt to tracepoint API changes in 3.15
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: jistone at redhat dot com

The basic register_trace_foo() interface is unchanged, but that inline now uses
the __tracepoint_##foo data symbol rather than a #foo string for the underlying
tracepoint_probe_register() call, and not many tracepoints actually declare
EXPORT_TRACEPOINT_SYMBOL[_GPL].

The new, apparently preferred, option is to use for_each_kernel_tracepoint() to
iterate the built-in tracepoints, and use the new tracepoint module notifier to
examine mod->tracepoints_ptrs[] for the rest.  Clients are also responsible for
unregistering tracepoints in modules that are unloading.

See also https://bugzilla.redhat.com/show_bug.cgi?id=1087623

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]