projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Markers: Namespace cleanup, with API change.
[ust.git]
/
ustctl
/
marker_cmds.c
diff --git
a/ustctl/marker_cmds.c
b/ustctl/marker_cmds.c
index da1435872c77149db9771ea6a168f455d3295b50..8bcab832dd10a59e2c181c11a47c0b230cd8e00b 100644
(file)
--- a/
ustctl/marker_cmds.c
+++ b/
ustctl/marker_cmds.c
@@
-24,7
+24,7
@@
static int list_markers(int argc, char *argv[])
{
static int list_markers(int argc, char *argv[])
{
- struct marker_status *cmsf = NULL;
+ struct
ust_
marker_status *cmsf = NULL;
int i, sock;
sock = parse_and_connect_pid(argv[1]);
int i, sock;
sock = parse_and_connect_pid(argv[1]);
@@
-38,7
+38,7
@@
static int list_markers(int argc, char *argv[])
"state: %u, fmt: %s}\n",
argv[1],
cmsf[i].channel,
"state: %u, fmt: %s}\n",
argv[1],
cmsf[i].channel,
- cmsf[i].marker,
+ cmsf[i].
ust_
marker,
cmsf[i].state,
cmsf[i].fs);
}
cmsf[i].state,
cmsf[i].fs);
}
@@
-66,7
+66,7
@@
static int enable_marker(int argc, char *argv[])
if (marker)
free(marker);
}
if (marker)
free(marker);
}
- if (ustctl_set_marker_state(sock, argv[2], channel, marker, 1)) {
+ if (ustctl_set_
ust_
marker_state(sock, argv[2], channel, marker, 1)) {
PERROR("error while trying to enable marker %s with PID %s",
argv[i], argv[1]);
result = -1;
PERROR("error while trying to enable marker %s with PID %s",
argv[i], argv[1]);
result = -1;
@@
-98,7
+98,7
@@
static int disable_marker(int argc, char *argv[])
free(marker);
return -1;
}
free(marker);
return -1;
}
- if (ustctl_set_marker_state(sock, argv[2], channel, marker, 0)) {
+ if (ustctl_set_
ust_
marker_state(sock, argv[2], channel, marker, 0)) {
PERROR("error while trying to disable marker %s with PID %s",
argv[i], argv[1]);
result = -1;
PERROR("error while trying to disable marker %s with PID %s",
argv[i], argv[1]);
result = -1;
@@
-110,7
+110,7
@@
static int disable_marker(int argc, char *argv[])
return result;
}
return result;
}
-struct cli_cmd __cli_cmds marker_cmds[] = {
+struct cli_cmd __cli_cmds
ust_
marker_cmds[] = {
{
.name = "list-markers",
.description = "List markers for a given pid",
{
.name = "list-markers",
.description = "List markers for a given pid",
This page took
0.023822 seconds
and
4
git commands to generate.