Re: [RFC PATCH 2/5] unwind: Export unwind_user symbol to GPL modules
Steven Rostedt <[email protected]> Fri, 11 Jul 2025 14:21:30 -0400
| Newsgroups | dev.linux.lists.tech-board-discuss,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 11 Jul 2025 11:10:06 -0700 <[email protected]> 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