diff options
author | Jiri Olsa <jolsa@redhat.com> | 2012-10-30 23:01:55 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-11-05 14:02:07 -0300 |
commit | 813105858a85c9a98fc686fbe6788dc217cc9ab3 (patch) | |
tree | 934ca8309914c92006d48e83e5dfc6e290a60762 /tools/perf/tests/attr | |
parent | 23823641ff8415ef500483af06a58069f7470d23 (diff) |
perf tests: Add attr record raw test
Adding test to validate perf_event_attr data for command:
'record -R'
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1351634526-1516-15-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr')
-rw-r--r-- | tools/perf/tests/attr/test-record-raw | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-raw b/tools/perf/tests/attr/test-record-raw new file mode 100644 index 000000000000..4a8ef25b5f49 --- /dev/null +++ b/tools/perf/tests/attr/test-record-raw @@ -0,0 +1,7 @@ +[config] +command = record +args = -R kill >/dev/null 2>&1 + +[event:base-record] +sample_period=4000 +sample_type=1415 |