hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/samples/trace_events/trace-events-sample.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/module.h>
23 #include <linux/kthread.h>
34
....@@ -33,7 +34,7 @@
3334
3435 /* Silly tracepoints */
3536 trace_foo_bar("hello", cnt, array, random_strings[len],
36
- &current->cpus_allowed);
37
+ current->cpus_ptr);
3738
3839 trace_foo_with_template_simple("HELLO", cnt);
3940