Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:exclusive_event_installable

Proto:static bool exclusive_event_installable(struct perf_event *event, struct perf_event_context *ctx)

Type:bool

Parameter:

TypeParameterName
struct perf_event *event
struct perf_event_context *ctx
4565  pmu = pmu
4567  lockdep_assert_held( & Protect the list of events. Locking either mutex or lock* is sufficient to ensure the list doesn't change; to change* the list you need to lock both the mutex and the spinlock.)
4569  If Not is_exclusive_pmu(pmu) Then Return true
4573  If exclusive_event_match(iter_event, event) Then Return false
4577  Return true
Caller
NameDescribe
perf_install_in_contextAttach a performance event to a context.* Very similar to event_function_call, see comment there.
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)