Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_ctx_unlock

Proto:static void perf_ctx_unlock(struct perf_cpu_context *cpuctx, struct perf_event_context *ctx)

Type:void

Parameter:

TypeParameterName
struct perf_cpu_context *cpuctx
struct perf_event_context *ctx
162  If ctx Then raw_spin_unlock( & Protect the states of the events in the list,* nr_active, and the list:)
164  raw_spin_unlock( & Protect the states of the events in the list,* nr_active, and the list:)
Caller
NameDescribe
event_function
event_function_localSimilar to event_function_call() + event_function(), but hard assumes IRQs* are already disabled and we're on the right CPU.
perf_pmu_resched
__perf_install_in_contextCross CPU call to install and enable a performance event* Very similar to remote_function() + event_function() but cannot assume that* things like ctx->is_active and cpuctx->task_ctx are set.
perf_pmu_sched_taskThis function provides the context switch callback to the lower code* layer. It is invoked ONLY when the context switch callback is enabled.* This callback is relevant even to per-cpu events; for example multi event
perf_event_context_sched_in
perf_rotate_context
perf_event_enable_on_execEnable all of a task's events that have been marked enable-on-exec.* This expects task == current.