git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tracing: Fix comment typo and documentation example
[safe/jmp/linux-2.6]
/
Documentation
/
trace
/
ftrace.txt
diff --git
a/Documentation/trace/ftrace.txt
b/Documentation/trace/ftrace.txt
index
957b22f
..
8179692
100644
(file)
--- a/
Documentation/trace/ftrace.txt
+++ b/
Documentation/trace/ftrace.txt
@@
-1231,6
+1231,7
@@
something like this simple program:
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
+#include <string.h>
#define _STR(x) #x
#define STR(x) _STR(x)
@@
-1265,6
+1266,7
@@
const char *find_debugfs(void)
return NULL;
}
+ strcat(debugfs, "/tracing/");
debugfs_found = 1;
return debugfs;