Revision 5e98e916f95bdc50e90f3199d7f3d74b94fa5976 authored by Linus Torvalds on 12 February 2023, 21:52:17 UTC, committed by Linus Torvalds on 12 February 2023, 21:52:17 UTC
Pull tracing fix from Steven Rostedt: "Fix showing of TASK_COMM_LEN instead of its value The TASK_COMM_LEN was converted from a macro into an enum so that BTF would have access to it. But this unfortunately caused TASK_COMM_LEN to display in the format fields of trace events, as they are created by the TRACE_EVENT() macro and such, macros convert to their values, where as enums do not. To handle this, instead of using the field itself to be display, save the value of the array size as another field in the trace_event_fields structure, and use that instead. Not only does this fix the issue, but also converts the other trace events that have this same problem (but were not breaking tooling). With this change, the original work around b3bc8547d3be6 ("tracing: Have TRACE_DEFINE_ENUM affect trace event types as well") could be reverted (but that should be done in the merge window)" * tag 'trace-v6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: tracing: Fix TASK_COMM_LEN in trace event format file
File | Mode | Size |
---|---|---|
test | ||
.gitignore | -rw-r--r-- | 106 bytes |
Makefile | -rw-r--r-- | 3.3 KB |
algos.c | -rw-r--r-- | 6.1 KB |
altivec.uc | -rw-r--r-- | 3.3 KB |
avx2.c | -rw-r--r-- | 16.9 KB |
avx512.c | -rw-r--r-- | 17.8 KB |
int.uc | -rw-r--r-- | 3.7 KB |
mktables.c | -rw-r--r-- | 3.9 KB |
mmx.c | -rw-r--r-- | 3.6 KB |
neon.c | -rw-r--r-- | 2.0 KB |
neon.uc | -rw-r--r-- | 3.8 KB |
recov.c | -rw-r--r-- | 3.3 KB |
recov_avx2.c | -rw-r--r-- | 8.8 KB |
recov_avx512.c | -rw-r--r-- | 9.4 KB |
recov_neon.c | -rw-r--r-- | 2.6 KB |
recov_neon_inner.c | -rw-r--r-- | 2.3 KB |
recov_s390xc.c | -rw-r--r-- | 2.7 KB |
recov_ssse3.c | -rw-r--r-- | 9.0 KB |
s390vx.uc | -rw-r--r-- | 3.8 KB |
sse1.c | -rw-r--r-- | 4.6 KB |
sse2.c | -rw-r--r-- | 15.8 KB |
unroll.awk | -rw-r--r-- | 423 bytes |
vpermxor.uc | -rw-r--r-- | 2.7 KB |
x86.h | -rw-r--r-- | 2.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...