Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Allow boot-time kmemleak disabling (enabled by default).

Proto:static int __init kmemleak_boot_config(char *str)

Type:int

Parameter:

TypeParameterName
char *str
1911  If Not str Then Return -EINVAL
1913  If strcmp(str, "off") == 0 Then kmemleak_disable()
1915  Else if strcmp(str, "on") == 0 Then setting kmemleak=on, will set this var, skipping the disable = 1
1917  Else Return -EINVAL
1919  Return 0