diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-12-27 10:33:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-12-27 10:33:21 -0800 |
commit | 2c2b3d906c88a40b75f8d258119400a047e587de (patch) | |
tree | 55113c7a0e56d06193ffb1a4fcb98e54076e2552 /include/linux/trace_events.h | |
parent | d6ef8b40d075c425f548002d2f35ae3f06e9cf96 (diff) | |
parent | 98feccbf32cfdde8c722bc4587aaa60ee5ac33f0 (diff) | |
download | linux-2c2b3d906c88a40b75f8d258119400a047e587de.tar.gz linux-2c2b3d906c88a40b75f8d258119400a047e587de.tar.bz2 linux-2c2b3d906c88a40b75f8d258119400a047e587de.zip |
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
Diffstat (limited to 'include/linux/trace_events.h')
-rw-r--r-- | include/linux/trace_events.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index 91b8ffbdfa8c..58ad4ead33fc 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -364,7 +364,7 @@ struct trace_event_call { struct list_head list; struct trace_event_class *class; union { - char *name; + const char *name; /* Set TRACE_EVENT_FL_TRACEPOINT flag when using "tp" */ struct tracepoint *tp; }; |