tracing / arch: Remove direct use of curr_ret_stack
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | fgraph: Add comment to describe ftrace_graph_get_ret_stackkernel/ | +11 | 0 replies | |
| 2/6 | x86/ftrace: Do not call function graph from dynamic trampolinesarch/ arch/ | +26 | 0 replies | |
| 3/6 | powerpc/frace: Use ftrace_graph_get_ret_stack() instead of curr_ret_stackarch/ | +9 | 0 replies | |
| 4/6 | sparc64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stackarch/ arch/ arch/ | +14 | 0 replies | |
| 5/6 | sh: ftrace: Use ftrace_graph_get_ret_stack() instead of curr_ret_stackarch/ arch/ | +12 | 0 replies | |
| 6/6 | arm64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stackarch/ arch/ arch/ +3 more | +12 | 3 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by.
| Patch | James Morse |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] tracing / arch: Remove direct use of curr_ret_stack
Folks, I'm working on rewriting the function graph tracer. In order to do so, some changes need to be done that affect architecture specific code. I'm only able to compile test these changes. I would like to have folks check out my repo and give them a test.
The shadow stack of ret_stack is going to be modified to allow multiple users of function graph tracer. It can no longer be referenced directly as an array. A new utility "ftrace_graph_ret_stack()" is available to get the ret_stack entry of a given frame of the shadow stack that architectures can now use. This series converts all users to use the new interface.
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
ftrace/core
Head SHA1: 51584396cff54aaf57ed0bd353767d71429f77b4
Steven Rostedt (VMware) (6):
fgraph: Add comment to describe ftrace_graph_get_ret_stack x86/ftrace: Do not call function graph from dynamic trampolines powerpc/frace: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack
sparc64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack
sh: ftrace: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack
arm64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack
----
arch/arm64/kernel/perf_callchain.c | 2 +- arch/arm64/kernel/process.c | 2 +- arch/arm64/kernel/return_address.c | 2 +- arch/arm64/kernel/stacktrace.c | 12 +++++++----- arch/arm64/kernel/time.c | 2 +- arch/arm64/kernel/traps.c | 2 +- arch/powerpc/kernel/process.c | 13 +++++++++---- arch/sh/kernel/dumpstack.c | 11 +++++++---- arch/sh/kernel/dwarf.c | 9 +++++---- arch/sparc/kernel/perf_event.c | 8 +++++--- arch/sparc/kernel/stacktrace.c | 8 +++++--- arch/sparc/kernel/traps_64.c | 7 ++++--- arch/x86/kernel/ftrace.c | 40 +++++++++++++++++++++----------------- arch/x86/kernel/ftrace_64.S | 8 ++++---- kernel/trace/fgraph.c | 11 +++++++++++ 15 files changed, 84 insertions(+), 53 deletions(-)