public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* Question about the ipi_raise filter usage and output
@ 2024-02-05  9:57 richard clark
  2024-02-05 10:28 ` Mark Rutland
  2024-02-05 10:38 ` Steven Rostedt
  0 siblings, 2 replies; 11+ messages in thread
From: richard clark @ 2024-02-05  9:57 UTC (permalink / raw)
  To: nico, Steven Rostedt, Mark Rutland, mhiramat
  Cc: linux-arm-kernel, linux-trace-kernel, linux-kernel, richard clark

Hi guys,

With the ipi_raise event enabled and filtered with:
echo 'reason == "Function call interrupts"' > filter, then the 'cat
trace' output below messages:
...
insmod-3355    [010] ....1.. 24479.230381: ipi_raise:
target_mask=00000000,00000bff (Function call interrupts)
...
The above output is triggered by my kernel module where it will smp
cross call a remote function from cpu#10 to cpu#11, for the
'target_mask' value, what does the '00000000,00000bff' mean?
 ~~~~~~~~~~~~~~

Another question is for the filter, I'd like to catch the IPI only
happening on cpu#11 *AND* a remote function call, so how to write the
'target_cpus' in the filter expression?

I try to write below:
echo 'target_cpus == 11 && reason == "Function call interrupts"' >
events/ipi/ipi_raise/filter

But the 'cat trace' doesn't show anything about cpu#11 IPI info,
although both the /proc/interrupts and the smp_processor_id() in the
remote function shows there's IPI sent to the cpu#11.

Any suggestions?

Thank you!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-02-07  2:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-05  9:57 Question about the ipi_raise filter usage and output richard clark
2024-02-05 10:28 ` Mark Rutland
2024-02-05 13:06   ` Steven Rostedt
2024-02-05 14:39     ` Mark Rutland
2024-02-05 16:05       ` Valentin Schneider
2024-02-06  8:42         ` richard clark
2024-02-06  9:39           ` Valentin Schneider
2024-02-07  2:28             ` richard clark
2024-02-07  2:33               ` richard clark
2024-02-05 10:38 ` Steven Rostedt
2024-02-06  2:47   ` richard clark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox