Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_ctx_unlock

Proto:static void perf_event_ctx_unlock(struct perf_event *event, struct perf_event_context *ctx)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
struct perf_event_context *ctx
1298  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
1299  put_ctx(ctx)
Caller
NameDescribe
perf_event_disableStrictly speaking kernel users cannot create groups and therefore this* interface does not need the perf_event_ctx_lock() magic.
perf_event_enableSee perf_event_disable();
perf_event_refreshSee perf_event_disable()
perf_event_release_kernelKill an event dead; while event:refcount will preserve the event* object, it will not preserve its functionality. Once the last 'user'* gives up the object, we'll destroy the thing.
perf_event_read_value
perf_read
perf_event_pauseAssume it's not an event with inherit set.
perf_event_period
perf_ioctl
perf_event_task_enable
perf_event_task_disable
perf_try_init_event