aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <[email protected]>2021-09-29 12:16:04 +0900
committerJonathan Cameron <[email protected]>2021-10-17 10:55:01 +0100
commitfeff17a550c7120009d8ba9431426135661a731b (patch)
tree8cb59727e09272b6ac5ddd75b7e00df961d5d758 /scripts/gcc-plugins/structleak_plugin.c
parent4bdec61d927b5db25f75fa377504d4e127c3682b (diff)
counter: Implement events_queue_size sysfs attribute
The events_queue_size sysfs attribute provides a way for users to dynamically configure the Counter events queue size for the Counter character device interface. The size is in number of struct counter_event data structures. The number of elements will be rounded-up to a power of 2 due to a requirement of the kfifo_alloc function called during reallocation of the queue. Cc: Oleksij Rempel <[email protected]> Signed-off-by: William Breathitt Gray <[email protected]> Link: https://lore.kernel.org/r/c914b2db2ea0a2637633bcc3e86ded3c94783f2e.1632884256.git.vilhelm.gray@gmail.com Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions