函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_event_perf.c Create Date:2022-07-27 13:30:46
Last Modify:2020-03-17 20:20:33 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_trace_event_unreg

函数原型:static void perf_trace_event_unreg(struct perf_event *p_event)

返回类型:void

参数:

类型参数名称
struct perf_event *p_event
156  tp_event等于tp_event
159  如果perf_refcount先自减大于0则转到:out
162  reg(tp_event, TRACE_REG_PERF_UNREGISTER, NULL)
168  tracepoint_synchronize_unregister()
170  释放内存
171  perf_events = NULL
173  如果非Count the events in use (per event id, not per instance) 先自减则
175  释放内存
176  perf_trace_buf[i] = NULL
179  out :
180  module_put(mod)
调用者
名称描述
perf_trace_event_init
perf_trace_destroy