Message ID | 20211122234956.788401-4-rostedt@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 7ebc2053268001713daeb6d10224d0c173cc5c5b |
Headers | show |
Series | libtracefs: Have all man page examples be executable | expand |
diff --git a/Documentation/libtracefs-dynevents.txt b/Documentation/libtracefs-dynevents.txt index 503bd7e..89b2e92 100644 --- a/Documentation/libtracefs-dynevents.txt +++ b/Documentation/libtracefs-dynevents.txt @@ -101,7 +101,7 @@ EXAMPLE #include <unistd.h> #include <sys/wait.h> -#include <tracefs/tracefs.h> +#include <tracefs.h> static struct tep_event *open_event; static struct tep_format_field *file_field; diff --git a/Documentation/libtracefs-eprobes.txt b/Documentation/libtracefs-eprobes.txt index 3baaea3..65e5b13 100644 --- a/Documentation/libtracefs-eprobes.txt +++ b/Documentation/libtracefs-eprobes.txt @@ -41,7 +41,7 @@ EXAMPLE #include <unistd.h> #include <sys/wait.h> -#include <tracefs/tracefs.h> +#include <tracefs.h> static struct tep_event *open_event; static struct tep_format_field *file_field; diff --git a/Documentation/libtracefs-error.txt b/Documentation/libtracefs-error.txt index 3f6a154..33af074 100644 --- a/Documentation/libtracefs-error.txt +++ b/Documentation/libtracefs-error.txt @@ -48,7 +48,7 @@ EXAMPLE #include <unistd.h> #include <errno.h> -#include <tracefs/tracefs.h> +#include <tracefs.h> int main (int argc, char **argv, char **env) { diff --git a/Documentation/libtracefs-hist-cont.txt b/Documentation/libtracefs-hist-cont.txt index 2ee830d..778b8ee 100644 --- a/Documentation/libtracefs-hist-cont.txt +++ b/Documentation/libtracefs-hist-cont.txt @@ -51,7 +51,7 @@ EXAMPLE [source,c] -- #include <stdlib.h> -#include <tracefs/tracefs.h> +#include <tracefs.h> enum commands { START, diff --git a/Documentation/libtracefs-hist.txt b/Documentation/libtracefs-hist.txt index cc6b859..c07fe6f 100644 --- a/Documentation/libtracefs-hist.txt +++ b/Documentation/libtracefs-hist.txt @@ -222,7 +222,7 @@ EXAMPLE [source,c] -- #include <stdlib.h> -#include <tracefs/tracefs.h> +#include <tracefs.h> enum commands { START, diff --git a/Documentation/libtracefs-kprobes.txt b/Documentation/libtracefs-kprobes.txt index 4a4bf01..e488f9a 100644 --- a/Documentation/libtracefs-kprobes.txt +++ b/Documentation/libtracefs-kprobes.txt @@ -89,7 +89,7 @@ EXAMPLE #include <unistd.h> #include <sys/wait.h> -#include <tracefs/tracefs.h> +#include <tracefs.h> static struct tep_event *open_event; static struct tep_format_field *file_field;