Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_perf_event_period

Proto:static int _perf_event_period(struct perf_event *event, u64 value)

Type:int

Parameter:

TypeParameterName
struct perf_event *event
u64value
5182  If Not is_sampling_event(event) Then Return -EINVAL
5185  If Not value Then Return -EINVAL
5188  If freq && value > sysctl_perf_event_sample_rate Then Return -EINVAL
5191  If perf_event_check_period(event, value) Then Return -EINVAL
5194  If Not freq && value & 1ULL << 63 Then Return -EINVAL
5197  event_function_call(event, __perf_event_period, & value)
5199  Return 0
Caller
NameDescribe
perf_event_period
_perf_ioctl