Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_pmu_commit_txn

Proto:static int perf_pmu_commit_txn(struct pmu *pmu)

Type:int

Parameter:

TypeParameterName
struct pmu *pmu
10080  flags = Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(nop_txn_flags)
10082  __this_cpu_write(nop_txn_flags, 0)
10084  If flags & ~xn to add/schedule event on PMU Then Return 0
10087  perf_pmu_enable(pmu)
10088  Return 0