函数逻辑报告

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

函数名称:reset_stat_session

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

返回类型:void

参数:

类型参数名称
struct stat_session *session
62  mutex_lock( & stat_mutex)
63  __reset_stat_session(session)
64  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.
调用者
名称描述
tracing_stat_openThe session stat is refilled and resorted at each stat file opening
tracing_stat_releaseAvoid consuming memory with our now useless rbtree.