Skip to content

function_graph: ftrace_graph_ret_addr(); there can be only one!

Steven Rostedt linux-arm-kernel linux-csky linux-doc linux-riscv linux-s390 linux-trace-kernel linuxppc-dev lkml loongarch 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2function_graph: Fix up ftrace_graph_ret_addr()kernel/trace/fgraph.c+20 -80 replies
2/2function_graph: Everyone uses HAVE_FUNCTION_GRAPH_RET_ADDR_PTR, remove itDocumentation/trace/ftrace-design.rst arch/arm64/include/asm/ftrace.h arch/csky/include/asm/ftrace.h +7 more+1 -680 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] function_graph: ftrace_graph_ret_addr(); there can be only one!

I noticed a slight bug in ftrace_graph_ret_addr() for when HAVE_FUNCTION_GRAPH_RET_ADDR_PTR was defined and fixed it up. I then noticed it was buggy when not defined. Looking for an architecture that did not have it defined, I couldn't find any. So I removed it.

Steven Rostedt (Google) (2):
function_graph: Fix up ftrace_graph_ret_addr()
function_graph: Everyone uses HAVE_FUNCTION_GRAPH_RET_ADDR_PTR, remove it

----

 Documentation/trace/ftrace-design.rst | 12 -------
 arch/arm64/include/asm/ftrace.h       | 11 -------
 arch/csky/include/asm/ftrace.h        |  2 --
 arch/loongarch/include/asm/ftrace.h   |  1 -
 arch/powerpc/include/asm/ftrace.h     |  2 --
 arch/riscv/include/asm/ftrace.h       |  1 -
 arch/s390/include/asm/ftrace.h        |  1 -
 arch/x86/include/asm/ftrace.h         |  2 --
 include/linux/ftrace.h                |  2 --
 kernel/trace/fgraph.c                 | 61 ++++++++++++-----------------------
 10 files changed, 20 insertions(+), 75 deletions(-)