函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_trace_destroy

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

返回类型:void

参数:

类型参数名称
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.