函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-27 12:59:05
Last Modify:2020-03-17 19:30:04 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:g_buffer_free - free a ring buffer.*@buffer: the buffer to free.

函数原型:void ring_buffer_free(struct ring_buffer *buffer)

返回类型:void

参数:

类型参数名称
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  释放CPU掩码
1462  kfree(buffer)
调用者
名称描述
ring_buffer_benchmark_init
ring_buffer_benchmark_exit
allocate_trace_buffer
free_trace_buffer
tracer_alloc_buffers