Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_pmu_enable

Proto:void perf_pmu_enable(struct pmu *pmu)

Type:void

Parameter:

TypeParameterName
struct pmu *pmu
1141  count = this_cpu_ptr(pmu_disable_count)
1142  If Not --count Then pmu_enable(pmu)
Caller
NameDescribe
event_sched_out
group_sched_out
event_sched_in
ctx_reschedWe want to maintain the following priority of scheduling:* - CPU pinned (EVENT_CPU | EVENT_PINNED)* - task pinned (EVENT_PINNED)* - CPU flexible (EVENT_CPU | EVENT_FLEXIBLE)* - task flexible (EVENT_FLEXIBLE)
ctx_sched_out
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_adjust_freq_unthr_contextmbine freq adjustment with unthrottling to avoid two passes over the* events. At the same time, make sure, having freq events does not change* the rate of unthrottling as that would introduce bias.
perf_rotate_context
__perf_event_period
perf_pmu_commit_txn
perf_pmu_cancel_txn