Skip to content
Commit 4d52d491 authored by Leo Yan's avatar Leo Yan Committed by James Clark
Browse files

perf c2c: Use 'peer' as default display for Arm64



Since Arm64 arch doesn't support HITMs flags, this patch changes to use
'peer' as default display if user doesn't specify any type; for other
arches, it still uses 'tot' as default display type if user doesn't
specify it.

This patch changes to call perf_session__new() in an earlier place, so
session environment can be initialized ahead and arch info can be used
for setting display type.

Suggested-by: default avatarAli Saidi <alisaidi@amazon.com>
Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
Acked-by: Ian Rogers's avatarIan Rogers <irogers@google.com>
Tested-by: default avatarAli Saidi <alisaidi@amazon.com>
Reviewed-by: default avatarAli Saidi <alisaidi@amazon.com>
parent 4f1e72a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment