Re: [RFC PATCH 1/1] smp: Add tracepoints for functions called with smp_call_function*()

From: Peter Zijlstra
Date: Thu Apr 06 2023 - 05:57:50 EST


On Thu, Apr 06, 2023 at 04:57:18AM -0300, Leonardo Bras wrote:
> When running RT workloads in isolated CPUs, many cases of deadline misses
> are caused by remote CPU requests such as smp_call_function*().
>
> For those cases, having the names of those functions running around the
> deadline miss moment could help finding a target for the next improvements.
>
> Add tracepoints for acquiring the funtion name & argument before entry and
> after exitting the called function.
>
> Signed-off-by: Leonardo Bras <leobras@xxxxxxxxxx>

How are the patches queued there not sufficient?

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=smp/core