From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Steven Rostedt <rostedt@goodmis.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Steven Rostedt <rostedt@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Christoph Hellwig <hch@infradead.org>,
"Masami Hiramatsu (Google)" <mhiramat@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] LTTng upstreaming next steps
Date: Tue, 15 Jul 2025 08:50:08 -0400 [thread overview]
Message-ID: <9f6700d1fb62da8ce633f755b0c9e2d5c2704825.camel@HansenPartnership.com> (raw)
In-Reply-To: <20250715052459.0000e119@gandalf.local.home>
On Tue, 2025-07-15 at 05:24 -0400, Steven Rostedt wrote:
> On Mon, 14 Jul 2025 14:04:38 -0700
> Linus Torvalds <torvalds@linux-foundation.org> wrote:
[...]
> > If people can unify this and merge it incrementally, that's one
> > thing.
> >
> > Until then, you're just making stuff up.
> >
> > "Show me the code", in other words.
>
> We'd love to, but how is one to merge code in incremental steps when
> they are not allowed to use the current infrastructure?
>
> LTTng being out of tree means it is only allowed to use
> EXPORT_SYMBOL_GPL() functions as it must be a module. Perf, ftrace
> and BPF are all 100% in-tree and has no modules so they do not
> require any EXPORT_SYMBOL_GPL() to use the current infrastructure.
>
> This is the main difference between an external tracer and an
> external driver. That's because other in-tree drivers and file
> systems all have a module component. If ftrace, perf and BPF were
> modules, it would require the infrastructure they use to all be
> defined as EXPORT_SYMBOL_GPL(). This makes LTTng have a huge
> disadvantage as those are not modules and the interface they use are
> not exported. This makes LTTng have a huge disadvantage as those are
> not modules and the interface they use are not exported.
What's wrong with doing this the other way around? i.e. making ftrace
and perf modules? That way you could legitimately export the symbol
you're asking about and there would be way less out-of-tree
disadvantage to LTTng? I know a lot of cloud people who would be
really happy if the tracing infrastructure were modular because it
would save us from having to boot different kernels to do in depth
problem analysis for otherwise locked down environments, so they might
be willing to invest in upstream development to help you achieve this.
Regards,
James
next prev parent reply other threads:[~2025-07-15 12:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-14 19:41 Mathieu Desnoyers
2025-07-14 20:00 ` Linus Torvalds
2025-07-14 20:27 ` Steven Rostedt
2025-07-14 20:37 ` Steven Rostedt
2025-07-14 21:04 ` Linus Torvalds
2025-07-15 9:24 ` Steven Rostedt
2025-07-15 12:50 ` James Bottomley [this message]
2025-07-15 13:16 ` Steven Rostedt
2025-07-15 14:38 ` James Bottomley
2025-07-15 14:50 ` Steven Rostedt
2025-07-15 15:10 ` James Bottomley
2025-07-15 15:16 ` Steven Rostedt
2025-07-15 15:13 ` 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=9f6700d1fb62da8ce633f755b0c9e2d5c2704825.camel@HansenPartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=gregkh@linuxfoundation.org \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=rostedt@kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/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®