Function report |
Source Code:kernel\watchdog_hld.c |
Create Date:2022-07-28 11:45:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hardlockup_detector_event_create
Proto:static int hardlockup_detector_event_create(void)
Type:int
Parameter:Nothing
| 168 | cpu = smp_processor_id() |
| 172 | wd_attr = wd_hw_attr |
| 176 | evt = perf_event_create_kernel_counter*@attr: attributes of the counter to create*@cpu: cpu in which the counter is bound*@task: task to profile (NULL for percpu) |
| 183 | this_cpu_write(watchdog_ev, evt) |
| 184 | Return 0 |
| Name | Describe |
|---|---|
| hardlockup_detector_perf_enable | hardlockup_detector_perf_enable - Enable the local event |
| hardlockup_detector_perf_init | hardlockup_detector_perf_init - Probe whether NMI event is available at all |
| 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 |