]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
Add probe_type to common probe context.
authorMark Wielaard <mjw@redhat.com>
Tue, 2 Aug 2011 14:42:38 +0000 (16:42 +0200)
committerMark Wielaard <mjw@redhat.com>
Wed, 3 Aug 2011 09:21:29 +0000 (11:21 +0200)
commit6eefe9428f47a767f6a504dddb8f385d6896ccf3
tree94d860c176197fc7149c00f6b3a4bc8ac1cfb6b2
parentce83ff5765bc2e37d74ccbd46aabd80f06368bf4
Add probe_type to common probe context.

This exposes the type of probe handler for use in runtime functions,
so they can better anticipate which common probe context is valid at
runtime. Also introduces a new context tapset function probe_type()
that exposes a (informational) probe handler string to scripts. Mainly
useful for debugging, when the user wants to find out which kind of
low level probe handler a high-level probe translates to for a particular
kernel/systemtap version.
13 files changed:
runtime/common_probe_context.h
runtime/runtime_defines.h
tapset-been.cxx
tapset-itrace.cxx
tapset-mark.cxx
tapset-perfmon.cxx
tapset-procfs.cxx
tapset-timers.cxx
tapset-utrace.cxx
tapset/context.stp
tapsets.cxx
tapsets.h
testsuite/buildok/context-embedded.stp
This page took 0.031556 seconds and 5 git commands to generate.