From: Peter Zijlstra <peterz@infradead.org>
To: Wojciech Kudla <wk.kernel@gmail.com>
Cc: linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Nadav Amit <namit@vmware.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] smp: generic ipi_raise tracepoint
Date: Wed, 20 May 2020 15:51:56 +0200 [thread overview]
Message-ID: <20200520135156.GO317569@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <a9fbbf7d-28cd-2119-8519-2f1cd045acda@gmail.com>
On Wed, May 20, 2020 at 02:42:10PM +0100, Wojciech Kudla wrote:
> On 20/05/2020 14:33, Peter Zijlstra wrote:
> > We have bright shiny links like: https://lkml.kernel.org/r/$MSG-ID for
> > that. they allow me to go find the email in my local archive without
> > having to use a browser.
>
> Apologies, beginner's mistake.
>
> >> +static const char *ipi_reason_missing __tracepoint_string = "";
> >
> > That is a pretty crap reason ;-)
> >
>
> I knew this was a long shot. There is no obvious way to
> get/infer ipi reason in generic smp code at the moment.
> Any suggestions what we can put here in the meantime?
> Would "none" be more appropriate?
Depends a bit on what you actually want to achieve here.
For actual proper debugging this stuff I think I'd find it more useful
to have tracepoints one level up. So instead of tracing the IPIs, trace
the actual remote function call requests.
And in that case, trace the mask and the symbol name from csd->func.
And if you have that, who cares about the actual IPIs.
next prev parent reply other threads:[~2020-05-20 13:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-20 13:17 Wojciech Kudla
2020-05-20 13:33 ` Peter Zijlstra
2020-05-20 13:42 ` Wojciech Kudla
2020-05-20 13:51 ` Peter Zijlstra [this message]
2020-05-21 10:45 ` kbuild test robot
2020-05-21 19:00 ` Nadav Amit
2020-05-21 20:11 ` Wojciech Kudla
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=20200520135156.GO317569@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=namit@vmware.com \
--cc=tglx@linutronix.de \
--cc=wk.kernel@gmail.com \
/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
Powered by JetHome