aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorCédric Le Goater <[email protected]>2021-01-04 15:31:54 +0100
committerMichael Ellerman <[email protected]>2021-01-30 11:39:29 +1100
commitbb21e1b6c5352d62d866e9236ed427f632cd537b (patch)
tree37c46e704522de6e5d720c58030c07f851c56ed6 /tools/perf/scripts/python/stackcollapse.py
parentd47d307f1049be545d45cf0f2332495ec9a89cc0 (diff)
powerpc/optprobes: Make patch_imm64_load_insns() static
patch_imm64_load_insns() is only used locally in arch_prepare_optimized_kprobe() and does not need to be external. It fixes this W=1 compile error : ../arch/powerpc/kernel/optprobes.c:149:6: error: no previous prototype for ‘patch_imm64_load_insns’ [-Werror=missing-prototypes] 149 | void patch_imm64_load_insns(unsigned int val, kprobe_opcode_t *addr) Signed-off-by: Cédric Le Goater <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions