From: Andrew Morton <akpm@linux-foundation.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: "David Hildenbrand (Arm)" <david@kernel.org>,
Borislav Petkov <bp@alien8.de>,
"Zhuo, Qiuxu" <qiuxu.zhuo@intel.com>,
"mchehab+huawei@kernel.org" <mchehab+huawei@kernel.org>,
"Luck, Tony" <tony.luck@intel.com>,
"linmiaohe@huawei.com" <linmiaohe@huawei.com>,
"xieyuanbin1@huawei.com" <xieyuanbin1@huawei.com>,
"Lai, Yi1" <yi1.lai@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"linux-trace-kernel@vger.kernel.org"
<linux-trace-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: mm/memory-failure tracepoint change breaks userspace rasdaemon
Date: Wed, 3 Jun 2026 12:54:36 -0700 [thread overview]
Message-ID: <20260603125436.22a4d5763052f8f4933be91b@linux-foundation.org> (raw)
In-Reply-To: <20260603130006.7d2c4a62@gandalf.local.home>
On Wed, 3 Jun 2026 13:00:06 -0400 Steven Rostedt <rostedt@goodmis.org> wrote:
> On Wed, 3 Jun 2026 18:26:24 +0200
> "David Hildenbrand (Arm)" <david@kernel.org> wrote:
>
> > Yeah, I was fearing that when I read in [2]:
> >
> > "It has become clear in the past that this promise extends to
> > tracepoints, most notably in 2011 when a tracepoint change broke
> > powertop and had to be reverted."
>
> Technically the issue is with trace events and not tracepoints. The
> difference is that a trace event is created via the TRACE_EVENT() macro
> which defines what is to be collected from the tracepoint and exposes that
> information to tracefs which applications can easily see.
>
> A tracepoint is simply the hook in the code that you can attach to. Trace
> events create a callback from that hook to extract the data from the
> tracepoint to fill in the fields.
The problem here appears to be that "ras:memory_failure_event" became
"memory_failure:memory_failure_event".
Perhaps we can add infrastructure to permit aliasing "ras" onto
"memory_failure". So if we make these namespace alterations we can
easily preserve back-compatibility?
prev parent reply other threads:[~2026-06-03 19:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CY8PR11MB7134346A3E4BB28ECA28D6E989132@CY8PR11MB7134.namprd11.prod.outlook.com>
2026-06-03 13:44 ` David Hildenbrand (Arm)
2026-06-03 16:17 ` Steven Rostedt
2026-06-03 16:19 ` Borislav Petkov
2026-06-03 16:26 ` David Hildenbrand (Arm)
2026-06-03 17:00 ` Steven Rostedt
2026-06-03 19:13 ` David Hildenbrand (Arm)
2026-06-03 19:30 ` Steven Rostedt
2026-06-03 19:31 ` Steven Rostedt
2026-06-05 8:52 ` David Hildenbrand (Arm)
2026-06-05 14:13 ` Steven Rostedt
2026-06-04 1:46 ` Xie Yuanbin
2026-06-04 6:42 ` David Hildenbrand (Arm)
2026-06-04 13:42 ` Xie Yuanbin
2026-06-04 15:48 ` Zhuo, Qiuxu
2026-06-04 15:43 ` Zhuo, Qiuxu
2026-06-03 19:54 ` Andrew Morton [this message]
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=20260603125436.22a4d5763052f8f4933be91b@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=bp@alien8.de \
--cc=david@kernel.org \
--cc=linmiaohe@huawei.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mchehab+huawei@kernel.org \
--cc=qiuxu.zhuo@intel.com \
--cc=rostedt@goodmis.org \
--cc=tony.luck@intel.com \
--cc=torvalds@linux-foundation.org \
--cc=xieyuanbin1@huawei.com \
--cc=yi1.lai@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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
all inboxes | Powered by JetHome®