ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Steven Rostedt <rostedt@goodmis.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 18:38:11 -0700	[thread overview]
Message-ID: <CA+55aFxzkwj8R+oqyw4ZpJf6Sm1Ubzy_LjSNi2_-LfcDE6bRuw@mail.gmail.com> (raw)
In-Reply-To: <20170629211641.5aeb3af7@gandalf.local.home>

On Thu, Jun 29, 2017 at 6:16 PM, Steven Rostedt <rostedt@goodmis.org> wrote:
>
> I didn't realize you even used the tracepoints.

I don't.

But I absolutely refuse to see this kind of idiotic churn, and even
more the idiotic "let's discuss it at ksummit" when we've had those
tracing discussions for years and they apparently didn't result in
anything workable.

Dammit, this stupid tracing issue really has been discussed for too
long, and the answer hasn't changed. You can have a static tracepoint,
but only for GENERIC stuff. Not random internal stuff that only makes
sense to one scheduler implementation. We've made that mistake too
many times before, we're not making it again.

Didn't that useless 'prio' field teach you anything? Instead, now you
want to add new fields that are not generic, but specific to one very
particular scheduling class. EXACTLTY like "prio" was/is.

> You mean kprobes? Or perhaps eBPF?
>
> The information about SCHED_DEADLINE is not trivial enough to extract
> with them.

You clearly shouldn't extract it unless you are a scheduler developer,
and then you can damn well instrument that thing yourself with your
own private tracepoints that you don't try to claim are generic and
useful to anybody else.

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

I said "like powertop".

I did not say "only powertop".

The fact is, no generic scheduler tracing tool that is run by real
people is ever going to care about some esoteric field that isn't even
relevant to most schedulers out there.

> 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.

Yeah, and apparently it was a complete failure, if extending a single
breakpoint isn't possible without breaking stuff, and if people STILL
talk about the idiotic "oh, but it has that argument that doesn't make
sense" issue.

And dammit, having that same stupid argument _again_ isn't going to
improve things.

Why can't you just attach some eBPF script to the one tracepoint you
already have? I know that has been at least discussed, and it seems to
be the only reasonable way forward, since the existing thing clearly
isn't working.

                  Linus

  parent reply	other threads:[~2017-06-30  1:38 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
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 [this message]
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=CA+55aFxzkwj8R+oqyw4ZpJf6Sm1Ubzy_LjSNi2_-LfcDE6bRuw@mail.gmail.com \
    --to=torvalds@linux-foundation.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=rostedt@goodmis.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