aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2012-10-30 23:01:57 +0100
committerArnaldo Carvalho de Melo <[email protected]>2012-11-05 14:02:18 -0300
commit2fa10f2fe370f2da6c48dae5a154bfcd74848538 (patch)
tree7c8f0b73d3e3245010e2e66117a66ebf816f12cb
parentf2e264ce36cbac642a63c23725da712bf00d508b (diff)
perf tests: Add attr record branch any test
Adding test to validate perf_event_attr data for command: 'record -b' Signed-off-by: Jiri Olsa <[email protected]> Cc: Corey Ashford <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/perf/tests/attr/test-record-branch-any8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-branch-any b/tools/perf/tests/attr/test-record-branch-any
new file mode 100644
index 000000000000..1421960ed4e9
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-branch-any
@@ -0,0 +1,8 @@
+[config]
+command = record
+args = -b kill >/dev/null 2>&1
+
+[event:base-record]
+sample_period=4000
+sample_type=2311
+branch_sample_type=8