projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Add a comment in libustctl function tests
[lttng-ust.git]
/
ustctl
/
trace_cmds.c
diff --git
a/ustctl/trace_cmds.c
b/ustctl/trace_cmds.c
index f6e11a7d4f437cbef630bc16cccf6045a2a0441a..020e5b29c55e829a2ec3db4248a68c6b45d999fa 100644
(file)
--- a/
ustctl/trace_cmds.c
+++ b/
ustctl/trace_cmds.c
@@
-17,7
+17,7
@@
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
-#include <ust/ustc
md
.h>
+#include <ust/ustc
tl
.h>
#include "scanning_functions.h"
#include "usterr.h"
#include "cli.h"
#include "scanning_functions.h"
#include "usterr.h"
#include "cli.h"
@@
-29,7
+29,7
@@
static int create_trace(int argc, char *argv[])
pid = parse_pid(argv[1]);
pid = parse_pid(argv[1]);
- if (ustc
md
_create_trace(argv[2], pid)) {
+ if (ustc
tl
_create_trace(argv[2], pid)) {
ERR("Failed to create trace %s for PID %u\n", argv[2], pid);
return -1;
}
ERR("Failed to create trace %s for PID %u\n", argv[2], pid);
return -1;
}
@@
-43,7
+43,7
@@
static int alloc_trace(int argc, char *argv[])
pid = parse_pid(argv[1]);
pid = parse_pid(argv[1]);
- if (ustc
md
_alloc_trace(argv[2], pid)) {
+ if (ustc
tl
_alloc_trace(argv[2], pid)) {
ERR("Failed to allocate trace %s for PID %u\n", argv[2], pid);
return -1;
}
ERR("Failed to allocate trace %s for PID %u\n", argv[2], pid);
return -1;
}
@@
-56,7
+56,7
@@
static int start_trace(int argc, char *argv[])
pid = parse_pid(argv[1]);
pid = parse_pid(argv[1]);
- if (ustc
md
_start_trace(argv[2], pid)) {
+ if (ustc
tl
_start_trace(argv[2], pid)) {
ERR("Failed to start trace %s for PID %u\n", argv[2], pid);
return -1;
}
ERR("Failed to start trace %s for PID %u\n", argv[2], pid);
return -1;
}
@@
-69,7
+69,7
@@
static int stop_trace(int argc, char *argv[])
pid = parse_pid(argv[1]);
pid = parse_pid(argv[1]);
- if (ustc
md
_stop_trace(argv[2], pid)) {
+ if (ustc
tl
_stop_trace(argv[2], pid)) {
ERR("Failed to stop trace %s for PID %u\n", argv[2], pid);
return -1;
}
ERR("Failed to stop trace %s for PID %u\n", argv[2], pid);
return -1;
}
@@
-82,7
+82,7
@@
static int destroy_trace(int argc, char *argv[])
pid = parse_pid(argv[1]);
pid = parse_pid(argv[1]);
- if (ustc
md
_destroy_trace(argv[2], pid)) {
+ if (ustc
tl
_destroy_trace(argv[2], pid)) {
ERR("Failed to destroy trace %s for PID %u\n", argv[2], pid);
return -1;
}
ERR("Failed to destroy trace %s for PID %u\n", argv[2], pid);
return -1;
}
@@
-95,7
+95,7
@@
static int force_subbuf_switch(int argc, char *argv[])
pid = parse_pid(argv[1]);
pid = parse_pid(argv[1]);
- if (ustc
md
_force_switch(pid)) {
+ if (ustc
tl
_force_switch(pid)) {
ERR("error while trying to force switch for PID %u\n", pid);
return -1;
}
ERR("error while trying to force switch for PID %u\n", pid);
return -1;
}
This page took
0.025167 seconds
and
4
git commands to generate.