12da58b0c8
page-types.c doesn't supply a way to specify the debugfs path and the original debugfs path is not usual on most machines. This patch supplies a way to auto mount debugfs if needed. This patch is heavily inspired by tools/perf/utils/debugfs.c [akpm@linux-foundation.org: make functions static] [akpm@linux-foundation.org: fix debugfs_mount() signature] Signed-off-by: Chen Gong <gong.chen@linux.intel.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Reviewed-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
.gitignore | ||
00-INDEX | ||
active_mm.txt | ||
balance | ||
highmem.txt | ||
hugepage-mmap.c | ||
hugepage-shm.c | ||
hugetlbpage.txt | ||
hwpoison.txt | ||
ksm.txt | ||
locking | ||
Makefile | ||
map_hugetlb.c | ||
numa | ||
numa_memory_policy.txt | ||
overcommit-accounting | ||
page_migration | ||
page-types.c | ||
pagemap.txt | ||
slub.txt | ||
transhuge.txt | ||
unevictable-lru.txt |