[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250711142130.041b951e@batman.local.home>
Date: Fri, 11 Jul 2025 14:21:30 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: <dan.j.williams@...el.com>
Cc: Greg KH <gregkh@...uxfoundation.org>, Christoph Hellwig
<hch@...radead.org>, Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
<linux-kernel@...r.kernel.org>, "Josh Poimboeuf" <jpoimboe@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>, Peter Zijlstra
<peterz@...radead.org>, Ingo Molnar <mingo@...nel.org>, "Jiri Olsa"
<jolsa@...nel.org>, Namhyung Kim <namhyung@...nel.org>, Thomas Gleixner
<tglx@...utronix.de>, Andrii Nakryiko <andrii@...nel.org>, Indu Bhagat
<indu.bhagat@...cle.com>, "Jose E. Marchesi" <jemarch@....org>, Beau
Belgrave <beaub@...ux.microsoft.com>, Jens Remus <jremus@...ux.ibm.com>,
"Linus Torvalds" <torvalds@...ux-foundation.org>, Andrew Morton
<akpm@...ux-foundation.org>, <tech-board-discuss@...ts.linuxfoundation.org>
Subject: Re: [RFC PATCH 2/5] unwind: Export unwind_user symbol to GPL
modules
On Fri, 11 Jul 2025 11:10:06 -0700
<dan.j.williams@...el.com> wrote:
> > The huge advantage that LTTng has over perf and ftrace for being out of
> > tree is that it controls the ABI between the LTTng kernel side and the user
> > space side. LTTng can experiment with new interfaces, and if something
> > breaks, it can simply change it and deliver a new tool that includes the
> > new module with the update.
>
> It is odd to read this claimed benefit when viewing it from the wider
> Linux kernel project. Upstream maintenance of ABI contracts is the
> fundamental struggle of subsystems. The request, "can we get the kernel
> out of the way and maintain our own ABI to our users?" is a consistent
> refrain, and it consistently receives a qualified "no" for regression,
> security, and other interface evolution concerns.
Well I think the history matters a bit here. Mathieu tried to get LTTng
upstream several times. There was never a "Can I keep it out of tree so
I have this flexibility". Only after he gave up trying to get it
upstream, did this advantage play a role. There's been a few times
LTTng was able to take advantage of this "feature".
Note, as Mathieu has stated, LTTng now has a "stable ABI" similar to
what Linux has to make it easier for distributions to maintain LTTng.
But he also said that he can deprecate older interfaces much easier
than he would if it was upstream in Linux.
My comment wasn't to advocate such a approach, it was to counter Greg's
comment of "and living outside of the tree has it's penalities, both
economic and technical.
The main penalty that LTTng has being out of tree is the lack of access
to these functions. But it's been doing very well outside of that.
-- Steve
Powered by blists - more mailing lists