]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib api debugfs: Add DEBUGFS_DEFAULT_PATH macro
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 2 Feb 2015 19:35:05 +0000 (14:35 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 7 Feb 2015 12:56:32 +0000 (13:56 +0100)
commita749de0e75a5dcd4e7f15daa6528c895fa256657
tree2df8eea85646c7555ad0003fcbbc3e30b9c130ce
parente87e4f88e2fdd5e37b9f0ae9baf6d935ab013bec
tools lib api debugfs: Add DEBUGFS_DEFAULT_PATH macro

Instead of hard coding "/sys/kernel/debug" everywhere, create a macro to
hold where the default path exists.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20150202193553.032117017@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/api/fs/debugfs.c