函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_start_sched_switch

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

返回类型:void

参数:

类型参数名称
intops
94  mutex_lock( & sched_register_mutex)
95  sched_register等于非sched_cmdline_ref且非sched_tgid_ref
98  :ops恒等于RECORD_CMDLINE
99  sched_cmdline_ref自加
100  退出
102  :ops恒等于RECORD_TGID
103  sched_tgid_ref自加
104  退出
107  如果sched_registersched_cmdline_refsched_tgid_ref的值则tracing_sched_register()
109  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_start_cmdline_record
tracing_start_tgid_record