mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 [[email protected]: make functions static] [[email protected]: fix debugfs_mount() signature] Signed-off-by: Chen Gong <[email protected]> Reviewed-by: KOSAKI Motohiro <[email protected]> Reviewed-by: Wu Fengguang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>