ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: ksummit <ksummit-discuss@lists.linuxfoundation.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Julien Desfossez <jdesfossez@efficios.com>,
	daolivei <daolivei@redhat.com>, bristot <bristot@redhat.com>,
	Ingo Molnar <mingo@kernel.org>
Subject: Re: [Ksummit-discuss] [TECH TOPIC] Pulling away from the tracing ABI quicksands
Date: Thu, 29 Jun 2017 21:16:41 -0400	[thread overview]
Message-ID: <20170629211641.5aeb3af7@gandalf.local.home> (raw)
In-Reply-To: <CA+55aFyQE_T7Rp7ay_EbAZNDqLE6ffJ-6xkL6B_961oZ0+aSpA@mail.gmail.com>

On Thu, 29 Jun 2017 18:00:42 -0700
Linus Torvalds <torvalds@linux-foundation.org> wrote:

> On Thu, Jun 29, 2017 at 5:52 PM, Steven Rostedt <rostedt@goodmis.org> wrote:
> >
> > Just to explain what Mathieu was talking about with echo and such, is
> > that Peter Zijlstra has been against multiple tracepoints for that one
> > sched switch location.  
> 
> I am too.

I didn't realize you even used the tracepoints.

> 
> Dammit, if somebody cares about one partiocular scheduler, then that
> person can add dynamic tracepoints.

You mean kprobes? Or perhaps eBPF?

The information about SCHED_DEADLINE is not trivial enough to extract
with them.

> 
> Leave the existing one alone. Really. Zero out any fields that no
> longer make sense. Really. Don't beat this damn horse again. It's been
> dead for three years, and it's not just smelling bad, it's bloating in
> some scary ways.
> 
> The only reason for static tracepoints are for major tools like
> powertop. There is no way in hell such a tool will care about fields
> that only exist for one particular scheduler implementation. Don't add
> new random crap.

Well, the world does have people that use tools besides powertop.

> 
> If somebody is interested in *one* particular odd low-level scheduler,
> he damn well can add the dynamic points.

Again, not a trivial task. It's much easier to patch the kernel. Which,
I guess is what will be needed from now on.

> 
> This is the last I want to ever hear about it, and I particularly do
> not want to have this be a kernel summit discussion. We've had it
> before. Get over it.

OK, this is my last email on the subject. Too bad you feel this way.

Just one last note. I've tried very hard to keep tracing as contained
as possible. That is, not to let implementation details and such creep
into the rest of the kernel. I worked on making it as robust as
possible. All solutions to this had one major requirement. That is, it
must be contained, and not something that would cause any disruption in
any other part of the kernel or even other tracepoints. But oh well,
this idea is now dead. Well, at least until the demand for it boils up
into your visibility.

-- Steve

  reply	other threads:[~2017-06-30  1:16 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-29 21:20 Mathieu Desnoyers
2017-06-29 23:55 ` Steven Rostedt
2017-06-30  0:03   ` Linus Torvalds
2017-06-30  0:32     ` Steven Rostedt
2017-06-30  0:41       ` Linus Torvalds
2017-06-30  0:59         ` Steven Rostedt
2017-06-30  0:52       ` Steven Rostedt
2017-06-30  1:00         ` Linus Torvalds
2017-06-30  1:16           ` Steven Rostedt [this message]
2017-06-30  1:27             ` Steven Rostedt
2017-06-30  1:51               ` Linus Torvalds
2017-06-30  2:12                 ` Steven Rostedt
2017-06-30  2:34                   ` Linus Torvalds
2017-06-30  2:48                     ` Steven Rostedt
2017-06-30  2:58                     ` Alexei Starovoitov
2017-06-30  3:02                       ` Steven Rostedt
2017-06-30  3:20                         ` Steven Rostedt
2017-07-27 14:35                           ` Mathieu Desnoyers
2017-07-27 15:57                             ` Steven Rostedt
2017-06-30 18:24                         ` Josef Bacik
2017-06-30 18:29                           ` Steven Rostedt
2017-06-30 18:30                             ` Steven Rostedt
2017-06-30 18:37                               ` Josef Bacik
2017-07-06 19:10                                 ` Steven Rostedt
2017-07-21 21:45                                   ` Mathieu Desnoyers
2017-07-21 23:15                                     ` James Bottomley
2017-07-22  2:18                                     ` Steven Rostedt
2017-07-23 16:24                                       ` Josef Bacik
2017-07-23 21:25                                         ` Steven Rostedt
2017-07-04 14:51                   ` Peter Zijlstra
2017-06-30  1:38             ` Linus Torvalds
2017-06-30  1:45               ` 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=20170629211641.5aeb3af7@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=bristot@redhat.com \
    --cc=daolivei@redhat.com \
    --cc=jdesfossez@efficios.com \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --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