diff options
author | 2024-09-19 00:31:16 +0200 | |
---|---|---|
committer | 2024-09-30 13:48:27 -0700 | |
commit | 4d1b305dc8d74114abd544b0c11397ceb9ded528 (patch) | |
tree | d29c42a267ab25d382e3019eec6d9c9e576d290e /tools/perf/util/session.c | |
parent | perf vender events arm64: Use "Topdown" as topdown metric group name (diff) | |
download | wireguard-linux-4d1b305dc8d74114abd544b0c11397ceb9ded528.tar.xz wireguard-linux-4d1b305dc8d74114abd544b0c11397ceb9ded528.zip |
perf evsel: Reduce a variables scope
In __evsel__config_callchain avoid computing arch until code path that
uses it.
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Dominique Martinet <asmadeus@codewreck.org>
Cc: Ze Gao <zegao2021@gmail.com>
Cc: Yang Jihong <yangjihong1@huawei.com>
Cc: Weilin Wang <weilin.wang@intel.com>
Link: https://lore.kernel.org/r/20240918223116.127386-1-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/session.c')
0 files changed, 0 insertions, 0 deletions