Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_unpin_context

Proto:static void perf_unpin_context(struct perf_event_context *ctx)

Type:void

Parameter:

TypeParameterName
struct perf_event_context *ctx
1442  raw_spin_lock_irqsave( & Protect the states of the events in the list,* nr_active, and the list:, flags)
1443  --pin_count
1444  raw_spin_unlock_irqrestore( & Protect the states of the events in the list,* nr_active, and the list:, flags)
Caller
NameDescribe
perf_event_create_kernel_counterperf_event_create_kernel_counter*@attr: attributes of the counter to create*@cpu: cpu in which the counter is bound*@task: task to profile (NULL for percpu)
perf_event_init_contextInitialize the perf_event context in task_struct