diff options
| author | Kan Liang <[email protected]> | 2021-03-03 16:01:25 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-03-06 19:54:32 +0000 |
| commit | 7d9d4c6edba93cd96899affe2fc60c3341df152c (patch) | |
| tree | 3e55ffb00101a02c447ab2cc27c1e234dab42916 /drivers/net/wan/lapbether.c | |
| parent | perf test: Fix sample-parsing failure on non-x86 platforms (diff) | |
| download | kernel-7d9d4c6edba93cd96899affe2fc60c3341df152c.tar.gz kernel-7d9d4c6edba93cd96899affe2fc60c3341df152c.zip | |
perf test: Support the ins_lat check in the X86 specific test
The ins_lat of PERF_SAMPLE_WEIGHT_STRUCT stands for the instruction
latency, which is only available for X86. Add a X86 specific test for
the ins_lat and PERF_SAMPLE_WEIGHT_STRUCT type.
The test__x86_sample_parsing() uses the same way as the
test__sample_parsing() to verify a sample type. Since the ins_lat and
PERF_SAMPLE_WEIGHT_STRUCT are the only X86 specific sample type for now,
the test__x86_sample_parsing() only verify the PERF_SAMPLE_WEIGHT_STRUCT
type. Other sample types are still verified in the generic test.
$ perf test 77 -v
77: x86 Sample parsing :
--- start ---
test child forked, pid 102370
test child finished with 0
---- end ----
x86 Sample parsing: Ok
Signed-off-by: Kan Liang <[email protected]>
Cc: Athira Jajeev <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Sumanth Korikkar <[email protected]>
Cc: Sven Schnelle <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions
