[Bug translator/14884] New: expose TRACE_SYSTEM for kernel.trace() probes

fche at redhat dot com sourceware-bugzilla@sourceware.org
Tue Nov 27 20:28:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=14884

             Bug #: 14884
           Summary: expose TRACE_SYSTEM for kernel.trace() probes
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


In kernel tracepoint headers, #define TRACE_SYSTEM gives a baby namespace
prefix for the tracepoints defined therein.  These are in turn used as FOO:
prefixes for "perf list | grep Tracepoint", and serve to group them.  stap
ignores TRACE_SYSTEM, so only the basic tracepoint names are exposed.

We should suck out the marrow from the femurs life - or at least the
TRACE_SYSTEM from these headers.  We should expose that string for probe
points, as kernel.trace("foo:bar") or perhaps
kernel.trace("bar").system("foo"), and as appropriate $$-variables.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Systemtap mailing list