All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] s390: DYNAMIC_FTRACE_WITH_DIRECT_CALL support
@ 2021-10-12 13:37 Heiko Carstens
  2021-10-12 13:37 ` [PATCH 1/4] s390/ftrace: add HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALL support Heiko Carstens
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Heiko Carstens @ 2021-10-12 13:37 UTC (permalink / raw)
  To: Steven Rostedt, Thomas Gleixner, Ingo Molnar, Borislav Petkov
  Cc: linux-s390, linux-kernel

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(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-10-19  2:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 13:37 [PATCH 0/4] s390: DYNAMIC_FTRACE_WITH_DIRECT_CALL support Heiko Carstens
2021-10-12 13:37 ` [PATCH 1/4] s390/ftrace: add HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALL support Heiko Carstens
2021-10-12 13:38 ` [PATCH 2/4] s390: make STACK_FRAME_OVERHEAD available via asm-offsets.h Heiko Carstens
2021-10-12 13:38 ` [PATCH 3/4] samples: add HAVE_SAMPLE_FTRACE_DIRECT config option Heiko Carstens
2021-10-12 13:38 ` [PATCH 4/4] samples: add s390 support for ftrace direct call samples Heiko Carstens
2021-10-12 13:48 ` [PATCH 0/4] s390: DYNAMIC_FTRACE_WITH_DIRECT_CALL support Steven Rostedt
2021-10-12 14:59   ` Heiko Carstens
2021-10-12 15:34     ` Steven Rostedt
2021-10-12 17:18       ` Heiko Carstens
2021-10-12 17:04     ` Jiri Olsa
2021-10-12 18:25       ` Heiko Carstens
2021-10-13  8:48         ` Heiko Carstens
2021-10-19  2:06           ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.