linux-stable/samples/trace_events
Steven Rostedt (Google) eb9d58947d tracing: Fix cpumask() example typo
The sample code for using cpumask used the wrong field for the
__get_cpumask() helper. It used "cpus" which is the bitmask (but would
still give a proper example) instead of the "cpum" that was there to be
used.

Although it produces the same output, fix it, because it's an example and
is confusing in how to properly use the cpumask() macro.

Link: https://lore.kernel.org/linux-trace-kernel/20221213221227.56560374@gandalf.local.home

Cc: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2022-12-14 11:17:55 -05:00
..
Makefile tracing: Add TRACE_CUSTOM_EVENT() macro 2022-03-11 11:49:24 -05:00
trace-events-sample.c tracing: Add __cpumask to denote a trace event field that is a cpumask_t 2022-11-23 19:08:30 -05:00
trace-events-sample.h tracing: Fix cpumask() example typo 2022-12-14 11:17:55 -05:00
trace_custom_sched.c tracing: Add TRACE_CUSTOM_EVENT() macro 2022-03-11 11:49:24 -05:00
trace_custom_sched.h sched/tracing: Append prev_state to tp args instead 2022-05-12 00:37:11 +02:00