linux/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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
oprof.c
oprof.h
oprofile_files.c
oprofile_perf.c oprofile: Use pr_warn instead of pr_warning 2019-10-18 15:00:23 +02:00
oprofile_stats.c
oprofile_stats.h
oprofilefs.c vfs: Convert oprofilefs to use the new mount API 2019-07-04 22:01:59 -04:00
timer_int.c oprofile/timer: Convert to hotplug state machine 2016-09-19 21:44:28 +02:00