public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis•org>
To: linux-kernel@vger•kernel.org, linux-trace-kernel@vger•kernel.org,
	linux-doc@vger•kernel.org, linux-arm-kernel@lists•infradead.org,
	linux-csky@vger•kernel.org, loongarch@lists•linux.dev,
	linuxppc-dev@lists•ozlabs.org, linux-riscv@lists•infradead.org,
	linux-s390@vger•kernel.org
Cc: Mark Rutland <mark.rutland@arm•com>,
	x86@kernel•org, Catalin Marinas <catalin.marinas@arm•com>,
	Dave Hansen <dave.hansen@linux•intel.com>,
	Guo Ren <guoren@kernel•org>, "H. Peter Anvin" <hpa@zytor•com>,
	Alexander Gordeev <agordeev@linux•ibm.com>,
	Will Deacon <will@kernel•org>, WANG Xuerui <kernel@xen0n•name>,
	Jonathan Corbet <corbet@lwn•net>,
	Huacai Chen <chenhuacai@kernel•org>,
	Ingo Molnar <mingo@redhat•com>,
	"Naveen N. Rao" <naveen.n.rao@linux•ibm.com>,
	Christian Borntraeger <borntraeger@linux•ibm.com>,
	Sven Schnelle <svens@linux•ibm.com>,
	Albert Ou <aou@eecs•berkeley.edu>,
	Vasily Gorbik <gor@linux•ibm.com>,
	Heiko Carstens <hca@linux•ibm.com>,
	Nicholas Piggin <npiggin@gmail•com>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios•com>,
	Paul Walmsley <paul.walmsley@sifive•com>,
	Thomas Gleixner <tglx@linutronix•de>,
	Palmer Dabbelt <palmer@dabbelt•com>,
	Masami Hiramatsu <mhiramat@kernel•org>,
	Borislav Petkov <bp@alien8•de>
Subject: [PATCH 0/2] function_graph: ftrace_graph_ret_addr(); there can be only one!
Date: Mon, 10 Jun 2024 23:09:34 -0400	[thread overview]
Message-ID: <20240611030934.162955582@goodmis.org> (raw)


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

             reply	other threads:[~2024-06-11  3:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11  3:09 Steven Rostedt [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240611030934.162955582@goodmis.org \
    --to=rostedt@goodmis$(echo .)org \
    --cc=agordeev@linux$(echo .)ibm.com \
    --cc=aou@eecs$(echo .)berkeley.edu \
    --cc=borntraeger@linux$(echo .)ibm.com \
    --cc=bp@alien8$(echo .)de \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=chenhuacai@kernel$(echo .)org \
    --cc=corbet@lwn$(echo .)net \
    --cc=dave.hansen@linux$(echo .)intel.com \
    --cc=gor@linux$(echo .)ibm.com \
    --cc=guoren@kernel$(echo .)org \
    --cc=hca@linux$(echo .)ibm.com \
    --cc=hpa@zytor$(echo .)com \
    --cc=kernel@xen0n$(echo .)name \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-csky@vger$(echo .)kernel.org \
    --cc=linux-doc@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-riscv@lists$(echo .)infradead.org \
    --cc=linux-s390@vger$(echo .)kernel.org \
    --cc=linux-trace-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=loongarch@lists$(echo .)linux.dev \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=mathieu.desnoyers@efficios$(echo .)com \
    --cc=mhiramat@kernel$(echo .)org \
    --cc=mingo@redhat$(echo .)com \
    --cc=naveen.n.rao@linux$(echo .)ibm.com \
    --cc=npiggin@gmail$(echo .)com \
    --cc=palmer@dabbelt$(echo .)com \
    --cc=paul.walmsley@sifive$(echo .)com \
    --cc=svens@linux$(echo .)ibm.com \
    --cc=tglx@linutronix$(echo .)de \
    --cc=will@kernel$(echo .)org \
    --cc=x86@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox