Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:38:41 |
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_account_interrupt
Proto:static int __perf_event_account_interrupt(struct perf_event *event, int throttle)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
int | throttle |
8366 | ret = 0 |
8369 | seq = Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(perf_throttled_seq) |
8370 | If seq != interrupts_seq Then |
8371 | interrupts_seq = seq |
8372 | interrupts = 1 |
8373 | Else |
8385 | If freq Then |
8386 | now = perf_clock() |
8387 | delta = now - freq_time_stamp |
8389 | freq_time_stamp = now |
8391 | If delta > 0 && delta < 2 * TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ Then perf_adjust_period(event, delta, last_period, true) |
8395 | Return ret |
Name | Describe |
---|---|
perf_event_account_interrupt | |
__perf_event_overflow | Generic event overflow handling, sampling. |
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 |