函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:53:58
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_sched_events : >0 events exist* perf_cgroup_events: >0 per-cpu cgroup events exist on this cpu

函数原型:static void perf_sched_delayed(struct work_struct *work)

返回类型:void

参数:

类型参数名称
struct work_struct *work
4488  mutex_lock( & perf_sched_mutex)
4489  如果atomic_dec_and_test( & perf_sched_count)则static_branch_disable( & perf_sched_events)
4491  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.