Skip to content

ftrace/x86: Updated mcount cleanup for 3.19

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ftrace/x86: Have static tracing also use ftrace_caller_setuparch/x86/kernel/mcount_64.S+7 -150 replies
2/9ftrace/x86: Move MCOUNT_SAVE_FRAME out of header filearch/x86/include/asm/ftrace.h arch/x86/kernel/mcount_64.S+29 -330 replies
3/9ftrace/x86: Rename MCOUNT_SAVE_FRAME and add more detailed commentsarch/x86/kernel/mcount_64.S+24 -80 replies
4/9ftrace/x86: Have save_mcount_regs store RIP in %rdi for first parameterarch/x86/kernel/mcount_64.S+3 -40 replies
5/9ftrace/x86: Simplify save_mcount_regs on getting RIParch/x86/kernel/mcount_64.S+18 -190 replies
6/9ftrace/x86: Add macro MCOUNT_REG_SIZE for amount of stack used to save mcount regsarch/x86/kernel/mcount_64.S+12 -120 replies
7/9ftrace/x86: Have save_mcount_regs macro also save stack frames if neededarch/x86/kernel/mcount_64.S+67 -510 replies
8/9ftrace/x86: Get rid of ftrace_caller_setuparch/x86/kernel/mcount_64.S+42 -290 replies
9/9ftrace/fgraph/x86: Have prepare_ftrace_return() take ip as first parameterarch/x86/kernel/ftrace.c arch/x86/kernel/mcount_64.S+6 -90 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchThomas Gleixner
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-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/9] ftrace/x86: Updated mcount cleanup for 3.19

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

Head SHA1: 6a06bdbf7f9c669743f58084991ba280f2925586

Steven Rostedt (Red Hat) (9):
ftrace/x86: Have static tracing also use ftrace_caller_setup ftrace/x86: Move MCOUNT_SAVE_FRAME out of header file
ftrace/x86: Rename MCOUNT_SAVE_FRAME and add more detailed comments ftrace/x86: Have save_mcount_regs store RIP in %rdi for first parameter ftrace/x86: Simplify save_mcount_regs on getting RIP
ftrace/x86: Add macro MCOUNT_REG_SIZE for amount of stack used to save mcount regs ftrace/x86: Have save_mcount_regs macro also save stack frames if needed ftrace/x86: Get rid of ftrace_caller_setup
ftrace/fgraph/x86: Have prepare_ftrace_return() take ip as first parameter

----

 arch/x86/include/asm/ftrace.h |  33 ------
 arch/x86/kernel/ftrace.c      |   4 +-
 arch/x86/kernel/mcount_64.S   | 233 ++++++++++++++++++++++++++----------------
 3 files changed, 149 insertions(+), 121 deletions(-)