Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'trace-v6.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing fixes from Steven Rostedt:
"Two minor tracing fixes:

- Add "const" to "char *" in event structure field that gets assigned
literals.

- Check size of input passed into the tracing cpumask file.

If a too large of an input gets passed into the cpumask file, it
could trigger a warning in the bitmask parsing code"

* tag 'trace-v6.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tracing: Prevent bad count for tracing_cpumask_write
tracing: Constify string literal data member in struct trace_event_call

+4 -1
+1 -1
include/linux/trace_events.h
··· 364 364 struct list_head list; 365 365 struct trace_event_class *class; 366 366 union { 367 - char *name; 367 + const char *name; 368 368 /* Set TRACE_EVENT_FL_TRACEPOINT flag when using "tp" */ 369 369 struct tracepoint *tp; 370 370 };
+3
kernel/trace/trace.c
··· 5087 5087 cpumask_var_t tracing_cpumask_new; 5088 5088 int err; 5089 5089 5090 + if (count == 0 || count > KMALLOC_MAX_SIZE) 5091 + return -EINVAL; 5092 + 5090 5093 if (!zalloc_cpumask_var(&tracing_cpumask_new, GFP_KERNEL)) 5091 5094 return -ENOMEM; 5092 5095