函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_event_set_state

函数原型:static void perf_event_set_state(struct perf_event *event, enum perf_event_state state)

返回类型:void

参数:

类型参数名称
struct perf_event *event
enum perf_event_statestate
654  如果state恒等于state则返回
657  perf_event_update_time(event)
662  如果state小于0按位异或state小于0则perf_event_update_sibling_time(event)
665  WRITE_ONCE(state, state)
调用者
名称描述
list_del_eventRemove an event from the lists for its context.* Must be called with ctx->mutex and ctx->lock held.
perf_put_aux_event
event_sched_out
__perf_event_disableCross CPU call to disable a performance event
event_sched_in
__perf_event_enableCross CPU call to enable a performance event
pinned_sched_in
event_enable_on_exec
perf_event_exit_event