|
|
Subscribe / Log in / New account

How to unbreak LTTng

How to unbreak LTTng

Posted Apr 28, 2020 21:35 UTC (Tue) by ecree (guest, #95790)
In reply to: How to unbreak LTTng by Paf
Parent article: How to unbreak LTTng

> It’s (in many cases) a huge amount of ongoing work

Maintaining an in-tree module is *way* less work than maintaining an out-of-tree one. Heck, most of the time you just have to say "Ack" on the patches that the person changing some kernel infrastructure _writes for you_ to keep your module working. Whereas out-of-tree you end up with elaborate compatibility scripts, that you have to keep updated without any outside help, unless you're happy for your module to either only build on the latest kernel, or be tied to 2.6.32 forever 'cos that's what was ubiquitous when you started the project.

If it's tight enough with the kernel to be a module (rather than a userspace executable, using the APIs that are actually designed to be stable), then it belongs in the upstream tree; and if it's not good enough quality to be upstream (even in staging or behind a 'default n' kconfig) then it doesn't belong anywhere.


to post comments

How to unbreak LTTng

Posted Apr 28, 2020 22:06 UTC (Tue) by mpr22 (subscriber, #60784) [Link]

Modules include things like "device driver to operate an FPGA payload that has less than one monkeysphere of users, most of whom know the driver author personally".


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds