mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-24 08:16:10 +00:00
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).
This commit is contained in:
parent
48888093b2
commit
660a20f611
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user