linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] function_graph: ftrace_graph_ret_addr(); there can be only one!
@ 2024-06-11  3:09 Steven Rostedt
  2024-06-11  3:09 ` [PATCH 1/2] function_graph: Fix up ftrace_graph_ret_addr() Steven Rostedt
  2024-06-11  3:09 ` [PATCH 2/2] function_graph: Everyone uses HAVE_FUNCTION_GRAPH_RET_ADDR_PTR, remove it Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2024-06-11  3:09 UTC (permalink / raw)
  To: linux-kernel, linux-trace-kernel, linux-doc, linux-arm-kernel,
	linux-csky, loongarch, linuxppc-dev, linux-riscv, linux-s390
  Cc: Mark Rutland, x86, Catalin Marinas, Dave Hansen, Guo Ren,
	H. Peter Anvin, Alexander Gordeev, Will Deacon, WANG Xuerui,
	Jonathan Corbet, Huacai Chen, Ingo Molnar, Naveen N. Rao,
	Christian Borntraeger, Sven Schnelle, Albert Ou, Vasily Gorbik,
	Heiko Carstens, Nicholas Piggin, Mathieu Desnoyers, Paul Walmsley,
	Thomas Gleixner, Palmer Dabbelt, Masami Hiramatsu,
	Borislav Petkov


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

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

end of thread, other threads:[~2024-06-11  3:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-11  3:09 [PATCH 0/2] function_graph: ftrace_graph_ret_addr(); there can be only one! Steven Rostedt
2024-06-11  3:09 ` [PATCH 1/2] function_graph: Fix up ftrace_graph_ret_addr() Steven Rostedt
2024-06-11  3:09 ` [PATCH 2/2] function_graph: Everyone uses HAVE_FUNCTION_GRAPH_RET_ADDR_PTR, remove it Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).