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:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:reset_stat_session

Proto:static void reset_stat_session(struct stat_session *session)

Type:void

Parameter:

TypeParameterName
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.
Caller
NameDescribe
tracing_stat_openThe session stat is refilled and resorted at each stat file opening
tracing_stat_releaseAvoid consuming memory with our now useless rbtree.