diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-12-14 04:12:27 +0100 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-12-14 17:17:55 +0100 |
commit | eb9d58947d40699d93e5e69e1ddc54e41da7e132 (patch) | |
tree | ce01a8196883f264dd84c0911e807a62750a42a4 /tools/verification | |
parent | tracing: Improve panic/die notifiers (diff) | |
download | linux-eb9d58947d40699d93e5e69e1ddc54e41da7e132.tar.xz linux-eb9d58947d40699d93e5e69e1ddc54e41da7e132.zip |
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>
Diffstat (limited to 'tools/verification')
0 files changed, 0 insertions, 0 deletions