Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\watchdog_hld.c Create Date:2022-07-28 11:45:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hardlockup_detector_perf_init - Probe whether NMI event is available at all

Proto:int __init hardlockup_detector_perf_init(void)

Type:int

Parameter:Nothing

287  ret = hardlockup_detector_event_create()
289  If ret Then
290  pr_info("Perf NMI watchdog permanently disabled\n")
291  Else
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  this_cpu_write(watchdog_ev, NULL)
295  Return ret