]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tracing: Report ipi_raise target CPUs as cpumask
authorCaoRuichuang <create0818@163.com>
Mon, 6 Apr 2026 16:24:34 +0000 (00:24 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 8 Apr 2026 20:26:22 +0000 (16:26 -0400)
commit0ec6be95351b00ca95b39e8f0c6bbe0a9615f990
treef2297f683db75adc3e12e0bdce27810b25584bb0
parent8053f49fed581c40fcc87fa54904f4fa473f46b7
tracing: Report ipi_raise target CPUs as cpumask

Bugzilla 217447 points out that ftrace bitmask fields still use the
legacy dynamic-array format, which makes trace consumers treat them
as unsigned long arrays instead of bitmaps.

This is visible in the ipi events today: ipi_send_cpumask already
reports its CPU mask as '__data_loc cpumask_t', but ipi_raise still
exposes target_cpus as '__data_loc unsigned long[]'.

Switch ipi_raise to __cpumask() and the matching helpers so its
tracefs format matches the existing cpumask representation used by
the other ipi event. The underlying storage size stays the same, but
trace data consumers can now recognize the field as a cpumask
directly.

Link: https://patch.msgid.link/20260406162434.40767-1-create0818@163.com
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217447
Signed-off-by: CaoRuichuang <create0818@163.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/trace/events/ipi.h