kernel/samples/trace_events/trace-events-sample.c
.. .. @@ -1,3 +1,4 @@ 1 +// SPDX-License-Identifier: GPL-2.0-only1 2 #include <linux/module.h> 2 3 #include <linux/kthread.h> 3 4 .. .. @@ -33,7 +34,7 @@ 33 34 34 35 /* Silly tracepoints */ 35 36 trace_foo_bar("hello", cnt, array, random_strings[len], 36 - ¤t->cpus_allowed);37 + current->cpus_ptr);37 38 38 39 trace_foo_with_template_simple("HELLO", cnt); 39 40