Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:53:42
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:g_buffer_free - free a ring buffer.*@buffer: the buffer to free.

Proto:void ring_buffer_free(struct ring_buffer *buffer)

Type:void

Parameter:

TypeParameterName
struct ring_buffer *buffer
1454  puhp_state_remove_instance - Remove hotplug instance from state and invoke* the teardown callback*@state: The state from which the instance is removed*@node: The node for this individual state
1456  for_each_buffer_cpu(buffer, cpu)
1457  rb_free_cpu_buffer(buffers[cpu])
1459  kfree(buffers)
1460  free_cpumask_var(cpumask)
1462  kfree(buffer)
Caller
NameDescribe
ring_buffer_benchmark_init
ring_buffer_benchmark_exit
allocate_trace_buffer
free_trace_buffer
tracer_alloc_buffers