summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHari Bathini <hbathini@linux.ibm.com>2026-01-27 11:49:25 +0300
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-03-07 13:32:25 +0300
commit875612a7745013a43c67493cb0583ee3f7476344 (patch)
tree1196a3b6a16e8a009934f29d1a1aaa5623ebbef4 /include/linux
parent73cdf24e81e4eba52a40a6b10c6cf285d0ac23fd (diff)
downloadlinux-875612a7745013a43c67493cb0583ee3f7476344.tar.xz
powerpc64/ftrace: fix OOL stub count with clang
The total number of out-of-line (OOL) stubs required for function tracing is determined using the following command: $(OBJDUMP) -r -j __patchable_function_entries vmlinux.o While this works correctly with GNU objdump, llvm-objdump does not list the expected relocation records for this section. Fix this by using the -d option and counting R_PPC64_ADDR64 relocation entries. This works as desired with both objdump and llvm-objdump. Signed-off-by: Hari Bathini <hbathini@linux.ibm.com> Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260127084926.34497-3-hbathini@linux.ibm.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions