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/11739] New: alibi flag


For diagnosing problems where some kernel event-source facility
like kprobes or uprobes is implicated in a problem, it is a bit
tricky to reproduce the set of probes used by a systemtap script,
without also dragging in a bunch of the runtime & generated
handler code.

It may be nice to have a compile-time macro option, say -DSTAP_ALIBI,
which disables most of the code actually generated for probe handlers,
turning the kprobes pre_handlers into empty functions.  The resulting
script would of course not run correctly, but should trigger the same
set of probe events.  (Timers may need special treatment due to the
need to restart them, so can't be entirely empty handlers.)

With such a flag used, it may be possible to implicate or exculpate
the trickier parts of systemtap when investigating a crash.

-- 
           Summary: alibi flag
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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


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