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:23
Last Modify:2020-03-17 20:20:33 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_trace_destroy

Proto:void perf_trace_destroy(struct perf_event *p_event)

Type:void

Parameter:

TypeParameterName
struct perf_event *p_event
241  mutex_lock( & event_mutex)
242  perf_trace_event_close(p_event)
243  perf_trace_event_unreg(p_event)
244  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.