[PATCH 4/6 v2] tools lib api fs: Add DEBUGFS_DEFAULT_PATH macro

2015-02-02 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Instead of hard coding "/sys/kernel/debug" everywhere, create a macro to hold where the default path exists. Signed-off-by: Steven Rostedt --- tools/lib/api/fs/debugfs.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[PATCH 4/6 v2] tools lib api fs: Add DEBUGFS_DEFAULT_PATH macro

2015-02-02 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Instead of hard coding /sys/kernel/debug everywhere, create a macro to hold where the default path exists. Signed-off-by: Steven Rostedt rost...@goodmis.org --- tools/lib/api/fs/debugfs.c | 10 +++--- 1 file changed, 7 insertions(+), 3