Skip to content

RFC tracing/x86_32: Remove non DYNAMIC_FTRACE and mcount support

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 RFC Latest2 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ftrace/x86_32: Remove support for non DYNAMIC_FTRACEarch/x86/Kconfig arch/x86/kernel/ftrace_32.S+11 -390 replies
2/2ftrace/x86: Remove mcount supportarch/x86/include/asm/ftrace.h arch/x86/include/asm/livepatch.h arch/x86/kernel/ftrace_32.S +1 more+9 -660 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Zijlstra (Intel)Jiri KosinaJosh Poimboeuf
SeriesA-b
1/2
2/2A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [RFC][PATCH 0/2 v2] tracing/x86_32: Remove non DYNAMIC_FTRACE and mcount support

There's no need to support either DYNAMIC_FTRACE=n or mcount (non fentry) in x86_32. As the static tracing (DYNAMIC_FTRACE=n) does not support fentry, we can just remove it, as the static tracing is only around to test the static tracing in generic code as other architectures have it but not DYNAMIC_FTRACE.

This will allow also allow us to remove klp_check_compiler_support() in later patches.

Steven Rostedt (VMware) (2):
ftrace/x86_32: Remove support for non DYNAMIC_FTRACE ftrace/x86: Remove mcount support

----

 arch/x86/Kconfig                 | 11 ++++++
 arch/x86/include/asm/ftrace.h    |  8 ++---
 arch/x86/include/asm/livepatch.h |  3 --
 arch/x86/kernel/ftrace_32.S      | 75 +++-------------------------------------
 arch/x86/kernel/ftrace_64.S      | 28 +--------------
 5 files changed, 20 insertions(+), 105 deletions(-)