diff options
author | Jin Yao <[email protected]> | 2021-04-27 15:01:32 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-04-29 10:31:00 -0300 |
commit | afff9f312e37c64a789aad0fab1ec597404a500f (patch) | |
tree | 2c80da9a5484d7a37b03bc5ca9d53dd0c42f028c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2541cb63ac0c3dfbbe363dd09a16dfdd4096fc88 (diff) |
perf tests: Add hybrid cases for 'Roundtrip evsel->name' test
Since for one hw event, two hybrid events are created.
For example,
evsel->idx evsel__name(evsel)
0 cycles
1 cycles
2 instructions
3 instructions
...
So for comparing the evsel name on hybrid, the evsel->idx
needs to be divided by 2.
# ./perf test 14
14: Roundtrip evsel->name : Ok
Signed-off-by: Jin Yao <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions