Commit 6e19839a authored by Ian Rogers's avatar Ian Rogers Committed by Namhyung Kim
Browse files

perf sort: Use perf_env to set arch sort keys and header



Previously arch_support_sort_key and arch_perf_header_entry used a
weak symbol to compile as appropriate for x86 and powerpc. A
limitation to this is that the handling of a data file could vary in
cross-platform development. Change to using the perf_env of the
current session to determine the architecture kind and set the sort
key and header entries as appropriate.

Signed-off-by: default avatarIan Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250724163302.596743-23-irogers@google.com


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent a563c9f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment