Bug 10521 - Add support for DECLARE_TRACE_WITH_CALLBACK
Summary: Add support for DECLARE_TRACE_WITH_CALLBACK
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: tapsets (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Josh Stone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 21:00 UTC by Josh Stone
Modified: 2009-08-26 19:08 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Stone 2009-08-13 21:00:57 UTC
In tip/master, commit 63fbdab3 adds DECLARE_TRACE_WITH_CALLBACK underneath the
normal DECLARE_TRACE, in order to support extra setup for the syscall tracepoints.

We should still be fine for tracepoints going through DECLARE_TRACE, but we
should hook into the CALLBACK macro too so we get the syscall tracepoints too.
Comment 1 Josh Stone 2009-08-15 00:12:51 UTC
I'm currently talking with Jason Baron about moving the callbacks into
DEFINE_TRACE_WITH_CALLBACK instead.  We won't need any SystemTap change if that
happens.
Comment 2 Josh Stone 2009-08-26 19:08:56 UTC
My changes are now in tip/master, so no changes are needed in stap.