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
/
marker_cmds.c
diff --git
a/ustctl/marker_cmds.c
b/ustctl/marker_cmds.c
index 20222dd1cdb3678c7d2a2f792888431baf7c0c8c..6544669051bebb6d0e5109aa9945c71aa8d08ff8 100644
(file)
--- a/
ustctl/marker_cmds.c
+++ b/
ustctl/marker_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"
@@
-30,7
+30,7
@@
static int list_markers(int argc, char *argv[])
pid = parse_pid(argv[1]);
pid = parse_pid(argv[1]);
- if (ustc
md
_get_cmsf(&cmsf, pid)) {
+ if (ustc
tl
_get_cmsf(&cmsf, pid)) {
ERR("error while trying to list markers for PID %u\n", pid);
return -1;
}
ERR("error while trying to list markers for PID %u\n", pid);
return -1;
}
@@
-43,7
+43,7
@@
static int list_markers(int argc, char *argv[])
cmsf[i].state,
cmsf[i].fs);
}
cmsf[i].state,
cmsf[i].fs);
}
- ustc
md
_free_cmsf(cmsf);
+ ustc
tl
_free_cmsf(cmsf);
return 0;
}
return 0;
}
@@
-68,7
+68,7
@@
static int enable_marker(int argc, char *argv[])
if (marker)
free(marker);
}
if (marker)
free(marker);
}
- if (ustc
md
_set_marker_state(argv[2], channel, marker, 1, pid)) {
+ if (ustc
tl
_set_marker_state(argv[2], channel, marker, 1, pid)) {
PERROR("error while trying to enable marker %s with PID %u",
argv[i], pid);
result = -1;
PERROR("error while trying to enable marker %s with PID %u",
argv[i], pid);
result = -1;
@@
-101,7
+101,7
@@
static int disable_marker(int argc, char *argv[])
free(marker);
return -1;
}
free(marker);
return -1;
}
- if (ustc
md
_set_marker_state(argv[2], channel, marker, 0, pid)) {
+ if (ustc
tl
_set_marker_state(argv[2], channel, marker, 0, pid)) {
PERROR("error while trying to disable marker %s with PID %u",
argv[i], pid);
result = -1;
PERROR("error while trying to disable marker %s with PID %u",
argv[i], pid);
result = -1;
This page took
0.034097 seconds
and
4
git commands to generate.