[PATCH] Default debugfs path to /sys/kernel/debug
authorJens Axboe <jens.axboe@oracle.com>
Mon, 30 Oct 2006 09:38:34 +0000 (10:38 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 30 Oct 2006 09:38:34 +0000 (10:38 +0100)
This seems to be where distros put it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
blktrace.c

index 8eadc7528b035a03e08807fb1040a593c7b57be3..1ff4d0813e7cd4b437b68fb41102076abfaf9a03 100644 (file)
@@ -1773,7 +1773,7 @@ static void show_usage(char *program)
 
 int main(int argc, char *argv[])
 {
-       static char default_debugfs_path[] = "/debug";
+       static char default_debugfs_path[] = "/sys/kernel/debug";
        struct statfs st;
        int i, c;
        int stop_watch = 0;