diff options
author | Peter Zijlstra <[email protected]> | 2011-11-21 14:42:47 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-12-21 12:21:42 +0100 |
commit | 08aa0d1f376e9b966568316bd2019b3c1274d885 (patch) | |
tree | 494c1ef502a8c9258a89a6a6c3d95c6137728e64 /net/lapb/lapb_timer.c | |
parent | e3f3541c19c89a4daae39300defba68943301949 (diff) |
perf tools: Add x86 RDPMC, RDTSC test
Implement a simple test for the self-monitoring data from the
perf mmap data area control page:
6: x86 rdpmc test:
0: 6053
1: 60053
2: 600059
3: 6000059
4: 60000075
5: 600000247
Ok
The counts are expected to increase monotonically - these
are recovered via RDPMC, without calling into the kernel.
It might be nice to add logic to automagically turn these numbers into OK/FAIL.
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Arun Sharma <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
[ various small improvements ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions