Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_stat.c Create Date:2022-07-28 12:06:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:destroy_session

Proto:static void destroy_session(struct stat_session *session)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
register_stat_tracer
unregister_stat_tracer