函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_stat.c Create Date:2022-07-27 13:12:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:destroy_session

函数原型:static void destroy_session(struct stat_session *session)

返回类型:void

参数:

类型参数名称
struct stat_session *session
69  tracefs_remove(file)
70  __reset_stat_session(session)
71  mutex_destroy - mark a mutex unusable*@lock: the mutex to be destroyed* This function marks the mutex uninitialized, and any subsequent* use of the mutex is forbidden. The mutex must not be locked when* this function is called.
72  kfree(session)
调用者
名称描述
register_stat_tracer
unregister_stat_tracer