kernel_optimize_test/drivers/oprofile
Gustavo A. R. Silva 0a418cd117 oprofile: Replace zero-length array with flexible-array
There is a regular need in the kernel to provide a way to declare having a
dynamically sized set of trailing elements in a structure. Kernel code should
always use “flexible array members”[1] for these cases. The older style of
one-element or zero-length arrays should no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://github.com/KSPP/linux/issues/21

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
2020-06-15 23:08:32 -05:00
..
buffer_sync.c mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00
buffer_sync.h
cpu_buffer.c tracing: Make struct ring_buffer less ambiguous 2020-01-13 13:19:38 -05:00
cpu_buffer.h oprofile: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
event_buffer.c drivers/oprofile: Open access for CAP_PERFMON privileged process 2020-04-16 12:19:09 -03:00
event_buffer.h
nmi_timer_int.c
oprof.c
oprof.h
oprofile_files.c
oprofile_perf.c
oprofile_stats.c
oprofile_stats.h
oprofilefs.c
timer_int.c