Function report |
Source Code:kernel\watchdog_hld.c |
Create Date:2022-07-28 11:45:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Callback function for perf event subsystem
Proto:static void watchdog_overflow_callback(struct perf_event *event, struct perf_sample_data *data, struct pt_regs *regs)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | event | |
| struct perf_sample_data * | data | |
| struct pt_regs * | regs |
| 115 | interrupts = 0 |
| 118 | __this_cpu_write(watchdog_nmi_touch, false) |
| 119 | Return |
| 122 | If Not watchdog_check_timestamp() Then Return |
| 131 | If is_hardlockup() Then |
| 132 | this_cpu = smp_processor_id() |
| 135 | If (Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(hard_watchdog_warn) == true) Then Return |
| 144 | Else dump_stack() |
| 158 | __this_cpu_write(hard_watchdog_warn, true) |
| 159 | Return |
| 162 | __this_cpu_write(hard_watchdog_warn, false) |
| 163 | Return |
| 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 |