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 translator/14884] New: expose TRACE_SYSTEM for kernel.trace() probes


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.


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