diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-04 00:16:20 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-04 00:32:06 -0200 |
commit | d854861c4292a4e675a5d3bfd862c5f7421c81e8 (patch) | |
tree | 59a4012085b68bb302c61a9ebb8bb81477b59d98 /net/unix/af_unix.c | |
parent | 4eed11d5e24540dc133003b6e8f904cb747ac4bb (diff) |
perf test: Add test for counting open syscalls
To test the use of the perf_evsel class on something other than
the tools from where we refactored code to create it.
It calls open() N times and then checks if the event created to
monitor it returns N events.
[acme@felicio linux]$ perf test
1: vmlinux symtab matches kallsyms: Ok
2: detect open syscall event: Ok
[acme@felicio linux]$
It does.
Cc: Frederic Weisbecker <[email protected]>
Cc: Han Pingtian <[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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions