linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ftrace/recordmcount: Handle object files without section symbols
@ 2022-04-28 17:19 Naveen N. Rao
  2022-04-28 17:19 ` [PATCH v2 1/2] ftrace: Drop duplicate mcount locations Naveen N. Rao
  2022-04-28 17:19 ` [PATCH v2 2/2] ftrace: recordmcount: Handle sections with no non-weak symbols Naveen N. Rao
  0 siblings, 2 replies; 8+ messages in thread
From: Naveen N. Rao @ 2022-04-28 17:19 UTC (permalink / raw)
  To: Michael Ellerman, Steven Rostedt
  Cc: Nathan Chancellor, Nick Desaulniers, linux-kernel, linuxppc-dev, llvm

This is v2 of the series posted at:
http://lkml.kernel.org/r/cover.1651047542.git.naveen.n.rao@linux.vnet.ibm.com

For v2, the first patch is slightly modified to skip the loop, rather 
than depending on addr == 0 to do so. The second patch is updated to 
make this behavior be opt-in by architectures so that they can validate 
the read mcount locations.

- Naveen


Naveen N. Rao (2):
  ftrace: Drop duplicate mcount locations
  ftrace: recordmcount: Handle sections with no non-weak symbols

 Makefile                           |  4 ++
 arch/powerpc/Kconfig               |  1 +
 arch/powerpc/include/asm/ftrace.h  |  8 +--
 arch/powerpc/kernel/trace/ftrace.c | 11 ++++
 kernel/trace/Kconfig               |  6 ++
 kernel/trace/ftrace.c              | 13 ++++-
 scripts/Makefile.build             |  3 +
 scripts/recordmcount.c             |  6 +-
 scripts/recordmcount.h             | 94 ++++++++++++++++++++++++++----
 9 files changed, 125 insertions(+), 21 deletions(-)


base-commit: 83d8a0d166119de813cad27ae7d61f54f9aea707
-- 
2.35.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-04-29 19:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 17:19 [PATCH v2 0/2] ftrace/recordmcount: Handle object files without section symbols Naveen N. Rao
2022-04-28 17:19 ` [PATCH v2 1/2] ftrace: Drop duplicate mcount locations Naveen N. Rao
2022-04-28 17:19 ` [PATCH v2 2/2] ftrace: recordmcount: Handle sections with no non-weak symbols Naveen N. Rao
2022-04-28 22:42   ` Steven Rostedt
2022-04-29 17:39     ` Naveen N. Rao
2022-04-29 17:59       ` Steven Rostedt
2022-04-29 19:33         ` Naveen N. Rao
2022-04-29 19:47           ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).