aboutsummaryrefslogtreecommitdiffstats
path: root/samples/ftrace/sample-trace-array.c
diff options
context:
space:
mode:
authorSami Tolvanen <[email protected]>2020-04-24 19:30:46 +0000
committerSteven Rostedt (VMware) <[email protected]>2020-06-17 01:21:00 +0000
commit4ef57b21d6fb49d2b25c47e4cff467a0c2c8b6b7 (patch)
tree320cdba222cf62d090ca9de798b058ff63be6316 /samples/ftrace/sample-trace-array.c
parentLinux 5.8-rc1 (diff)
downloadkernel-4ef57b21d6fb49d2b25c47e4cff467a0c2c8b6b7.tar.gz
kernel-4ef57b21d6fb49d2b25c47e4cff467a0c2c8b6b7.zip
recordmcount: support >64k sections
When compiling a kernel with Clang and LTO, we need to run recordmcount on vmlinux.o with a large number of sections, which currently fails as the program doesn't understand extended section indexes. This change adds support for processing binaries with >64k sections. Link: https://lkml.kernel.org/r/[email protected] Link: https://lore.kernel.org/lkml/CAK7LNARbZhoaA=Nnuw0=gBrkuKbr_4Ng_Ei57uafujZf7Xazgw@mail.gmail.com/ Cc: Kees Cook <[email protected]> Reviewed-by: Matt Helsley <[email protected]> Signed-off-by: Sami Tolvanen <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'samples/ftrace/sample-trace-array.c')
0 files changed, 0 insertions, 0 deletions