From 83ea76b1c27ffd25dfcec5805f54cc5e29d80bf7 Mon Sep 17 00:00:00 2001 From: Will Cohen Date: Wed, 17 Mar 2010 11:15:24 -0400 Subject: Start of perf tapset parsing --- tapsets.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tapsets.cxx') 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); -- cgit