diff options
author | Kan Liang <[email protected]> | 2021-03-03 08:01:25 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-03-06 16:54:32 -0300 |
commit | 7d9d4c6edba93cd96899affe2fc60c3341df152c (patch) | |
tree | 3e55ffb00101a02c447ab2cc27c1e234dab42916 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | a8146d66ab0184ad1728eaeb59cfdf256f4b8fbf (diff) |
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 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions