aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMadhavan Srinivasan <[email protected]>2020-06-14 14:06:04 +0530
committerMichael Ellerman <[email protected]>2020-07-22 00:03:06 +1000
commit3c9450c053f88e525b2db1e6990cdf34d14e7696 (patch)
tree00a2f06cb77894aa7ddb38122ef156213e7d40b9 /tools/perf/scripts/python/bin
parent63396ada804c676e070bd1b8663046f18698ab27 (diff)
powerpc/perf: Fix missing is_sier_aviable() during build
Compilation error: arch/powerpc/perf/perf_regs.c:80:undefined reference to `.is_sier_available' Currently is_sier_available() is part of core-book3s.c, which is added to build based on CONFIG_PPC_PERF_CTRS. A config with CONFIG_PERF_EVENTS and without CONFIG_PPC_PERF_CTRS will have a build break because of missing is_sier_available(). In practice it only breaks when CONFIG_FSL_EMB_PERF_EVENT=n because that also guards the usage of is_sier_available(). That only happens with CONFIG_PPC_BOOK3E_64=y and CONFIG_FSL_SOC_BOOKE=n. Patch adds is_sier_available() in asm/perf_event.h to fix the build break for configs missing CONFIG_PPC_PERF_CTRS. Fixes: 333804dc3b7a ("powerpc/perf: Update perf_regs structure to include SIER") Reported-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> [mpe: Add detail about CONFIG_FSL_SOC_BOOKE] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions