函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\nmi_selftest.c Create Date:2022-07-27 09:43:10
Last Modify:2020-03-16 21:34:46 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:nmi_selftest

函数原型:void __init nmi_selftest(void)

返回类型:void

参数:

145  init_nmi_testsuite()
150  printk("----------------\n")
151  printk("| NMI testsuite:\n")
152  printk("--------------------\n")
154  print_testname("remote IPI")
155  dotest(remote_ipi, SUCCESS)
156  printk(Annotation for a "continued" line of log printout (only done after a* line that had no enclosing \n). Only to be used by core/arch code* during early bootup (a continued line is not SMP-safe otherwise)."\n")
157  print_testname("local IPI")
158  dotest(local_ipi, SUCCESS)
159  printk(Annotation for a "continued" line of log printout (only done after a* line that had no enclosing \n). Only to be used by core/arch code* during early bootup (a continued line is not SMP-safe otherwise)."\n")
161  cleanup_nmi_testsuite()
163  如果unexpected_testcase_failures
164  printk("--------------------\n")
165  printk("BUG: %3d unexpected failures (out of %3d) - debugging disabled! |\n", unexpected_testcase_failures, testcase_total)
167  printk("-----------------------------------------------------------------\n")
168  否则如果expected_testcase_failurestestcase_successes
169  printk("--------------------\n")
170  printk("%3d out of %3d testcases failed, as expected. |\n", expected_testcase_failures, testcase_total)
172  printk("----------------------------------------------------\n")
173  否则如果expected_testcase_failures且非testcase_successes
174  printk("--------------------\n")
175  printk("All %3d testcases failed, as expected. |\n", expected_testcase_failures)
177  printk("----------------------------------------\n")
178  否则
179  printk("--------------------\n")
180  printk("Good, all %3d testcases passed! |\n", testcase_successes)
182  printk("---------------------------------\n")
调用者
名称描述
native_smp_cpus_done