Re: Will smp_call_function_single(cpu, ...) broadcast IPI to all other cpus?

From: Steven Rostedt
Date: Thu Jun 27 2024 - 10:15:23 EST


On Thu, 27 Jun 2024 11:38:58 +0100
Marc Zyngier <maz@xxxxxxxxxx> wrote:

> You may want to enable stack trace recording and find out for yourself
> where these ipi_raise() calls are coming from.

Try trace-cmd:

# trace-cmd start -e ipi_raise -R 'stacktrace if reason=="Function call interrupts"'
# taskset -c 0 insmod /kmods/ipi_test.ko
# trace-cmd stop
# trace-cmd show

-- Steve