Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:38:51 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_swevent_event
Proto:static void perf_swevent_event(struct perf_event *event, u64 nr, struct perf_sample_data *data, struct pt_regs *regs)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
u64 | nr | |
struct perf_sample_data * | data | |
struct pt_regs * | regs |
8530 | local64_add(nr, & count) |
8532 | If Not regs Then Return |
8535 | If Not is_sampling_event(event) Then Return |
8538 | If sample_type & PERF_SAMPLE_PERIOD && Not freq Then |
8541 | Else period = last_period |
8544 | If nr == 1 && sample_period == 1 && Not freq Then Return perf_swevent_overflow(event, 1, data, regs) |
8547 | If local64_add_negative(nr, & period_left) Then Return |
8550 | perf_swevent_overflow(event, 0, data, regs) |
Name | Describe |
---|---|
do_perf_sw_event |
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 |