Message ID | 20211122234956.788401-5-rostedt@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 19d7fa4315e3f47edaf6a8f767fe116d0a344097 |
Headers | show |
Series | libtracefs: Have all man page examples be executable | expand |
diff --git a/Documentation/libtracefs-eprobes.txt b/Documentation/libtracefs-eprobes.txt index 65e5b13..4155544 100644 --- a/Documentation/libtracefs-eprobes.txt +++ b/Documentation/libtracefs-eprobes.txt @@ -62,8 +62,6 @@ static int callback(struct tep_event *event, struct tep_record *record, trace_seq_terminate(&seq); trace_seq_do_printf(&seq); - -out: trace_seq_destroy(&seq); return 0; @@ -89,7 +87,7 @@ int main (int argc, char **argv, char **env) struct tracefs_dynevent *eprobe; struct tracefs_instance *instance; struct tep_handle *tep; - const char *sysnames[] = { mykprobe, NULL }; + const char *sysnames[] = { myprobe, NULL }; pid_t pid; if (argc < 2) {