diff options
author | 2020-12-07 20:21:42 +0800 | |
---|---|---|
committer | 2020-12-14 16:03:59 +0100 | |
commit | a8c0f1c634507a36ef87a23cfd93720f6142ad9a (patch) | |
tree | a779788ce49ed5fe0b14c34969539b7a645e2373 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mips: lib: uncached: fix non-standard usage of variable 'sp' (diff) | |
download | linux-dev-a8c0f1c634507a36ef87a23cfd93720f6142ad9a.tar.xz linux-dev-a8c0f1c634507a36ef87a23cfd93720f6142ad9a.zip |
MIPS: Select ARCH_KEEP_MEMBLOCK if DEBUG_KERNEL to enable sysfs memblock debug
In the current code, CONFIG_ARCH_KEEP_MEMBLOCK is not set for MIPS arch,
memblock_discard() will discard memory and reserved arrays if they were
allocated, select ARCH_KEEP_MEMBLOCK if DEBUG_KERNEL to give a chance to
track "memory" and "reserved" memblocks after early boot, with this patch,
we can see the following two sysfs interfaces under DEBUG_FS.
/sys/kernel/debug/memblock/memory
/sys/kernel/debug/memblock/reserved
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions