summaryrefslogtreecommitdiffstats
path: root/doc/Tapset_Reference_Guide
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-03-04 20:32:22 -0800
committerJosh Stone <jistone@redhat.com>2009-03-06 18:47:01 -0800
commit6fb70fb7915c3f5f7352e5393efb859b70e6f3fc (patch)
tree0039f1ca8bfede4654310c904acedf58d6cc7ac7 /doc/Tapset_Reference_Guide
parent79189b84b112484901e5ee6b84a334da24791128 (diff)
downloadsystemtap-steved-6fb70fb7915c3f5f7352e5393efb859b70e6f3fc.tar.gz
systemtap-steved-6fb70fb7915c3f5f7352e5393efb859b70e6f3fc.tar.xz
systemtap-steved-6fb70fb7915c3f5f7352e5393efb859b70e6f3fc.zip
Emit code to hook up tracepoint probes
* tapsets.cxx (tracepoint_arg): New (tracepoint_derived_probe): Add declaring header name and arg vector (dwarf_type_name): Build a type string for a given type DIE (tracepoint_derived_probe::build_args): Scan the function DIE for the name and type of formal parameters required by the tracepoint. (tracepoint_derived_probe::tracepoint_derived_probe): Call build_args and determine the relevant header to include. (tracepoint_derived_probe_group::emit_module_decls): For each tracepoint, include its header and declare a probe entry point with the right function signature. (tracepoint_derived_probe_group::emit_module_init): Call the registration for each tracepoint, and handle error unwinding. (tracepoint_derived_probe_group::emit_module_exit): Unregister each.
Diffstat (limited to 'doc/Tapset_Reference_Guide')
0 files changed, 0 insertions, 0 deletions