函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\watchdog_hld.c Create Date:2022-07-27 12:50:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hardlockup_detector_perf_init - Probe whether NMI event is available at all

函数原型:int __init hardlockup_detector_perf_init(void)

返回类型:int

参数:

287  ret等于hardlockup_detector_event_create()
289  如果ret
290  打印信息("Perf NMI watchdog permanently disabled\n")
291  否则
292  Kill an event dead; while event:refcount will preserve the event* object, it will not preserve its functionality. Once the last 'user'* gives up the object, we'll destroy the thing.
293  抢占保护下的写CPU(watchdog_ev, NULL)
295  返回:ret