Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_event_perf.c Create Date:2022-07-28 12:23:19
Last Modify:2020-03-17 20:20:33 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_trace_event_unreg

Proto:static void perf_trace_event_unreg(struct perf_event *p_event)

Type:void

Parameter:

TypeParameterName
struct perf_event *p_event
156  tp_event = tp_event
159  If --perf_refcount > 0 Then Go to out
162  reg(tp_event, TRACE_REG_PERF_UNREGISTER, NULL)
168  tracepoint_synchronize_unregister()
170  free previously allocated percpu memory
171  perf_events = NULL
173  If Not --Count the events in use (per event id, not per instance) Then
176  perf_trace_buf[i] = NULL
179  out :
180  module_put(mod)
Caller
NameDescribe
perf_trace_event_init
perf_trace_destroy