summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorWill Cohen <wcohen@redhat.com>2010-02-17 10:30:15 -0500
committerJosh Stone <jistone@redhat.com>2010-03-17 11:50:34 -0700
commit5d8efa6b59a399815e065d4f29ed64d01bdb6182 (patch)
tree7f70b243a56c9a88b0f339d3b0beae0630c26178 /session.h
parent6ccb243c59eff3ac89072b112414c50d6ef6cf3b (diff)
downloadsystemtap-steved-5d8efa6b59a399815e065d4f29ed64d01bdb6182.tar.gz
systemtap-steved-5d8efa6b59a399815e065d4f29ed64d01bdb6182.tar.xz
systemtap-steved-5d8efa6b59a399815e065d4f29ed64d01bdb6182.zip
PR909: Runtime for Performance Event Sampling
Implements a very simple sampling runtime to using the performance events kernel API. An perf event attribute describing the setup and a function to handle the counter overflows are passed into _stp_perf_init(). This function sets up the event on each processor. If successfully initialized, a pointer data structure is returned. When the sampling is no longer needed _stp_perf_del() is called to shutdown the sampling. * runtime/perf.h: Add declarations for data structures and functions * runtime/perf.c: Remove old perfmon runtime runtime. Add _stp_perf_init() and _stp_perf_del() functions.
Diffstat (limited to 'session.h')
0 files changed, 0 insertions, 0 deletions