summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-04-13 14:02:04 -0700
committerCarl Worth <cworth@cworth.org>2009-04-13 14:02:04 -0700
commit660a20f611adb0a176cecce1b2abfe9ec5accd05 (patch)
tree9fcd1224593cfe38e97b0f1094151e02d6c3e324 /tools
parent48888093b2da0b7809d465d111e9c0cc92bb6c5e (diff)
Add example command for mounting debugfs
This is a nice opportunity to teach the user something, (and help our users to actually succeed in creating useful bug reports for us).
Diffstat (limited to 'tools')
-rw-r--r--tools/intel_gpu_dump.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/intel_gpu_dump.c b/tools/intel_gpu_dump.c
index 23af24fe..8ddfbd30 100644
--- a/tools/intel_gpu_dump.c
+++ b/tools/intel_gpu_dump.c
@@ -1953,7 +1953,10 @@ main (int argc, char *argv[])
path = "/sys/kernel/debug/dri/0";
err = stat(path, &st);
if (err != 0) {
- errx(1, "Couldn't find i915 debugfs directory\n");
+ errx(1,
+ "Couldn't find i915 debugfs directory.\n\n"
+ "Is debugfs mounted? You might try mounting it with a command such as:\n\n"
+ "\tsudo mount -t debugfs debugfs /sys/kernel/debug\n");
}
}
} else {