Skip to content

s390: DYNAMIC_FTRACE_WITH_DIRECT_CALL support

Heiko Carstens linux-s390 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4s390/ftrace: add HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALL supportarch/s390/Kconfig arch/s390/include/asm/ftrace.h arch/s390/kernel/mcount.S+30 -60 replies
2/4s390: make STACK_FRAME_OVERHEAD available via asm-offsets.harch/s390/kernel/asm-offsets.c+1 -00 replies
3/4samples: add HAVE_SAMPLE_FTRACE_DIRECT config optionarch/x86/Kconfig samples/Kconfig+5 -10 replies
4/4samples: add s390 support for ftrace direct call samplesarch/s390/Kconfig samples/ftrace/ftrace-direct-modify.c samples/ftrace/ftrace-direct-too.c +1 more+101 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIlya LeoshkevichSven SchnelleSteven Rostedt (VMware)
SeriesA-b
1/4A-b R-b
2/4A-b R-b
3/4A-b R-b
4/4A-b R-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 v1 thread

Cover letter [PATCH 0/4] s390: DYNAMIC_FTRACE_WITH_DIRECT_CALL support

This small series adds DYNAMIC_FTRACE_WITH_DIRECT_CALL support for s390 and is based on linux-next 20211012.

Besides the architecture backend this also adds s390 ftrace direct call samples, and slightly changes config option handling a bit, so that options only have to be selected. This way also additional future architectures can easily add their trampolines to the samples.

If ok, I'd like to get this upstream via the s390 tree with the next merge window.

Heiko Carstens (4):
s390/ftrace: add HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALL support
s390: make STACK_FRAME_OVERHEAD available via asm-offsets.h
samples: add HAVE_SAMPLE_FTRACE_DIRECT config option
samples: add s390 support for ftrace direct call samples

 arch/s390/Kconfig                     |  2 ++
 arch/s390/include/asm/ftrace.h        | 12 ++++++++
 arch/s390/kernel/asm-offsets.c        |  1 +
 arch/s390/kernel/mcount.S             | 23 ++++++++++----
 arch/x86/Kconfig                      |  1 +
 samples/Kconfig                       |  5 ++-
 samples/ftrace/ftrace-direct-modify.c | 44 +++++++++++++++++++++++++++
 samples/ftrace/ftrace-direct-too.c    | 28 +++++++++++++++++
 samples/ftrace/ftrace-direct.c        | 28 +++++++++++++++++
 9 files changed, 137 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1