Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:31:39
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_event_set_state

Proto:static void perf_event_set_state(struct perf_event *event, enum perf_event_state state)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
enum perf_event_statestate
654  If state == state Then Return
657  perf_event_update_time(event)
662  If state < 0 ^ state < 0 Then perf_event_update_sibling_time(event)
665  WRITE_ONCE(state, state)
Caller
NameDescribe
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