Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:38:44 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Generic event overflow handling, sampling.
Proto:static int __perf_event_overflow(struct perf_event *event, int throttle, struct perf_sample_data *data, struct pt_regs *regs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
int | throttle | |
struct perf_sample_data * | data | |
struct pt_regs * | regs |
8411 | events = atomic_read( & event_limit) |
8412 | ret = 0 |
8418 | If Value for the false possibility is greater at compile time(!is_sampling_event(event)) Then Return 0 |
8421 | ret = __perf_event_account_interrupt(event, throttle) |
8428 | pending_kill = data input available |
8429 | If events && atomic_dec_and_test( & event_limit) Then |
8436 | READ_ONCE(overflow_handler)(event, data, regs) |
8439 | pending_wakeup = 1 |
8443 | Return ret |
Name | Describe |
---|---|
perf_event_overflow | |
perf_swevent_overflow | |
perf_swevent_hrtimer | hrtimer based swevent callback |
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 |