X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ustctl%2Fmarker_cmds.c;fp=ustctl%2Fmarker_cmds.c;h=8bcab832dd10a59e2c181c11a47c0b230cd8e00b;hb=b521931e0000388ff9080d46719936be98af54c6;hp=da1435872c77149db9771ea6a168f455d3295b50;hpb=ad5c7b826145e951950bd1afa6fce17ea193bb48;p=ust.git diff --git a/ustctl/marker_cmds.c b/ustctl/marker_cmds.c index da14358..8bcab83 100644 --- a/ustctl/marker_cmds.c +++ b/ustctl/marker_cmds.c @@ -24,7 +24,7 @@ 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]); @@ -38,7 +38,7 @@ static int list_markers(int argc, char *argv[]) "state: %u, fmt: %s}\n", argv[1], cmsf[i].channel, - cmsf[i].marker, + cmsf[i].ust_marker, cmsf[i].state, cmsf[i].fs); } @@ -66,7 +66,7 @@ static int enable_marker(int argc, char *argv[]) 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; @@ -98,7 +98,7 @@ static int disable_marker(int argc, char *argv[]) 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; @@ -110,7 +110,7 @@ static int disable_marker(int argc, char *argv[]) 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",