Skip to content

ftrace: Add dynamic trampoline support

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ftrace/x86: Add dynamic allocated trampoline for ftrace_opsarch/x86/kernel/ftrace.c arch/x86/kernel/mcount_64.S include/linux/ftrace.h +1 more+254 -147 replies
2/4ftrace/x86: Show trampoline call function in enabled_functionsarch/x86/kernel/ftrace.c kernel/trace/ftrace.c+106 -143 replies
3/4ftrace/x86: Allow !CONFIG_PREEMPT dynamic ops to use allocated trampolinesarch/x86/kernel/ftrace.c kernel/trace/ftrace.c+26 -02 replies
4/4ftrace: Add more information to ftrace_bug() outputarch/powerpc/kernel/ftrace.c arch/x86/kernel/ftrace.c include/linux/ftrace.h +1 more+34 -122 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchMasami HiramatsuBorislav Petkov
SeriesT-b
1/4
2/4
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [for-next][PATCH 0/4] ftrace: Add dynamic trampoline support

This adds the allocation of dynamic trampolines. It still does not allow for dynamic ftrace_ops to use them on CONFIG_PREEMPT systems. That will come in 3.20, as I want to test out call_rcu_tasks() for a bit first on my own boxes.

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next

Head SHA1: 9fd7caf67913fbf35d834beaa8f9764d733a9236

Steven Rostedt (Red Hat) (4):
ftrace/x86: Add dynamic allocated trampoline for ftrace_ops ftrace/x86: Show trampoline call function in enabled_functions ftrace/x86: Allow !CONFIG_PREEMPT dynamic ops to use allocated trampolines
ftrace: Add more information to ftrace_bug() output

----

 arch/powerpc/kernel/ftrace.c |   2 +-
 arch/x86/kernel/ftrace.c     | 281 +++++++++++++++++++++++++++++++++++++++++--
 arch/x86/kernel/mcount_64.S  |  25 +++-
 include/linux/ftrace.h       |  12 +-
 kernel/trace/ftrace.c        | 118 +++++++++++++++---
 5 files changed, 409 insertions(+), 29 deletions(-)