diff options
author | Will Cohen <wcohen@redhat.com> | 2010-03-17 11:15:24 -0400 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2010-03-17 12:07:15 -0700 |
commit | 83ea76b1c27ffd25dfcec5805f54cc5e29d80bf7 (patch) | |
tree | c79b32282224889f13ac0170500bdd7d5eac5d82 /tapsets.cxx | |
parent | 28c8b46a9fe4de0d5fc1f5a8b54760f5f8081fa5 (diff) | |
download | systemtap-steved-83ea76b1c27ffd25dfcec5805f54cc5e29d80bf7.tar.gz systemtap-steved-83ea76b1c27ffd25dfcec5805f54cc5e29d80bf7.tar.xz systemtap-steved-83ea76b1c27ffd25dfcec5805f54cc5e29d80bf7.zip |
Start of perf tapset parsing
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 73959768..a1474617 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -6722,6 +6722,11 @@ register_standard_tapsets(systemtap_session & s) s.pattern_root->bind(TOK_KERNEL)->bind_num(TOK_HWBKPT) ->bind_num(TOK_LENGTH)->bind(TOK_HWBKPT_RW)->bind(new hwbkpt_builder()); // length supported with address only, not symbol names + + //perf event based probe + if (s.kernel_config["CONFIG_PERF_EVENTS"] == string("y") ) { + register_tapset_perf(s); + } } @@ -6749,6 +6754,7 @@ all_session_groups(systemtap_session& s) DOONE(tracepoint); DOONE(kprobe); DOONE(hwbkpt); + DOONE(perf); DOONE(hrtimer); DOONE(procfs); |