diff options
author | Athira Rajeev <[email protected]> | 2021-03-22 10:57:27 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-03-26 08:50:00 -0300 |
commit | 50fa3a531e8e4b58550171fb159d0aa578c6b52d (patch) | |
tree | 57ea03453347658234cef636d97b35deb3844adb /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 06e5ca746c07380dfe0e4c3e10c34a6daa69eae6 (diff) |
perf sort: Display sort dimension p_stage_cyc only on supported archs
The sort dimension "p_stage_cyc" is used to represent pipeline
stage cycle information. Presently, this is used only in powerpc.
For unsupported platforms, we don't want to display it
in the perf report output columns. Hence add check in sort_dimension__add()
and skip the sort key incase it is not applicable for the particular arch.
Signed-off-by: Athira Rajeev <[email protected]>
Reviewed-by: Madhavan Srinivasan <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi Bangoria <[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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions