Function report |
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 activity | Download SCCT | Chinese |
Name:_perf_event_period
Proto:static int _perf_event_period(struct perf_event *event, u64 value)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | event | |
| u64 | value |
| 5182 | If Not is_sampling_event(event) 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 |
| 5197 | event_function_call(event, __perf_event_period, & value) |
| 5199 | Return 0 |
| Name | Describe |
|---|---|
| perf_event_period | |
| _perf_ioctl |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |