函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_stop_sched_switch

函数原型:static void tracing_stop_sched_switch(int ops)

返回类型:void

参数:

类型参数名称
intops
114  mutex_lock( & sched_register_mutex)
117  :ops恒等于RECORD_CMDLINE
118  sched_cmdline_ref自减
119  退出
121  :ops恒等于RECORD_TGID
122  sched_tgid_ref自减
123  退出
126  如果非sched_cmdline_ref且非sched_tgid_reftracing_sched_unregister()
128  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_stop_cmdline_record
tracing_stop_tgid_record