diff options
author | Jiri Olsa <[email protected]> | 2012-10-31 15:52:47 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-10-31 16:20:58 -0200 |
commit | 52502bf201a85b5b51a384037a002d0b39093df0 (patch) | |
tree | c4d2bcbc4c1f7c10693b132ad70951c06c2cee86 /sound/pci/trident/trident_main.c | |
parent | 945aea220bb8f4bb37950549cc0b93bbec24c460 (diff) |
perf tests: Add framework for automated perf_event_attr tests
The idea is run perf session with kidnapping sys_perf_event_open
function. For each sys_perf_event_open call we store the perf_event_attr
data to the file to be checked later against what we expect.
You can run this by:
$ python ./tests/attr.py -d ./tests/attr/ -p ./perf -v
v2 changes:
- preserve errno value in the hook
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[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]>
Diffstat (limited to 'sound/pci/trident/trident_main.c')
0 files changed, 0 insertions, 0 deletions