From: Wojciech Kudla <wk.kernel@gmail.com>
To: Thomas Gleixner <tglx@linutronix.de>, linux-kernel@vger.kernel.org
Cc: mingo@redhat.com, hpa@zytor.com, x86@kernel.org,
Steven Rostedt <rostedt@goodmis.org>,
Will Deacon <will@kernel.org>
Subject: Re: x86/smp: adding new trace points
Date: Wed, 13 May 2020 19:42:57 +0100 [thread overview]
Message-ID: <56b36edb-1ff8-a154-d3c5-d2304e3554c0@gmail.com> (raw)
In-Reply-To: <87sgg323bf.fsf@nanos.tec.linutronix.de>
On 13/05/2020 17:43, Thomas Gleixner wrote:
> Wojciech Kudla <wk.kernel@gmail.com> writes:
>> On 13/05/2020 13:24, Thomas Gleixner wrote:
>>
>>> Why would the SMP call function single interrupt go through the
>>> PLATFORM_IPI_VECTOR? It goes as the name says through the
>>> CALL_FUNCTION_SINGLE_VECTOR.
>>>
>>
>> Wrong vector, my bad.
>>
>> However 2) still stands in my opinion. We don't have "ipi raise" trace
>> point for x86. RESCHEDULE_VECTOR, CALL_FUNCTION_SINGLE_VECTOR, as
>> well as TLB invalidation vectors are essentially
>> inter-processor-interrupts if I'm not mistaken. Would a patch adding
>> such trace point be considered here?
>
> Maybe.
>
> Though that IPI tracing is inconsistent across architectures. I'm not
> really interested to have yet another x86 variant which is slightly
> different than anything else.
>
> ARM and ARM64 share generic tracepoints for that, though the actual
> tracepoint invocation is in the architecture specific code.
>
> If at all we really want to have the common IPIs which are required for
> SMP support covered by generic tracepoints and have them in the generic
> code and not sprinkled all over arch/*
How about we add ipi:ipi_raise trace points before:
- arch_send_call_function_single_ipi(), and
- arch_send_call_function_ipi_mask()
Would that be a good starting point to introduce more generic IPI tracing?
Thanks,
Wojtek
prev parent reply other threads:[~2020-05-13 18:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4d54953b-f968-63f5-569f-9e09bc0f361c@gmail.com>
2020-05-12 11:39 ` x86/smp: adding new trace points Wojciech Kudla
2020-05-13 12:24 ` Thomas Gleixner
2020-05-13 14:42 ` Wojciech Kudla
2020-05-13 16:43 ` Thomas Gleixner
2020-05-13 18:42 ` Wojciech Kudla [this message]
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=56b36edb-1ff8-a154-d3c5-d2304e3554c0@gmail.com \
--to=wk.kernel@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=will@kernel.org \
--cc=x86@kernel.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