aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2011-01-15 10:42:46 -0200
committerArnaldo Carvalho de Melo <[email protected]>2011-01-22 19:56:31 -0200
commitde5fa3a8a05cd60f59622e88cfeb90416760d78e (patch)
treeaeafb466ef056e17c8cf043e396e9e5fcf348a7e /tools/perf/scripts
parent04391debc3e1195222a4dbb162ace6542dd89c1c (diff)
perf test: Add test for the evlist mmap routines
This test will generate random numbers of calls to some getpid syscalls, then establish an mmap for a group of events that are created to monitor these syscalls. It will receive the events, using mmap, use its PERF_SAMPLE_ID generated sample.id field to map back to its respective perf_evsel instance. Then it checks if the number of syscalls reported as perf events by the kernel corresponds to the number of syscalls made. Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom Zanussi <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions