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

Name:unregister_stat_tracer

Proto:void unregister_stat_tracer(struct tracer_stat *trace)

Type:void

Parameter:

TypeParameterName
struct tracer_stat *trace
355  mutex_lock( & all_stat_sessions_mutex)
357  If ts == trace Then
358  deletes entry from list
359  destroy_session(node)
360  Break
363  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.