X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libustcmd%2Fustcmd.c;h=d573a7fe2ef84ae845c698053322808252d2778d;hb=50c5f5af871d1e70cf020d2225febd29c931b00f;hp=bbb6928c3bff3fda77e02b380d93305d75b9e9cb;hpb=08230db7e2e536bddf0015fa663b6d10abea30f1;p=lttng-ust.git diff --git a/libustcmd/ustcmd.c b/libustcmd/ustcmd.c index bbb6928c..d573a7fe 100644 --- a/libustcmd/ustcmd.c +++ b/libustcmd/ustcmd.c @@ -111,7 +111,7 @@ int ustcmd_destroy_trace(pid_t pid) { int result; - result = ustcmd_send_cmd("destroy", pid, NULL); + result = ustcmd_send_cmd("trace_destroy", pid, NULL); if (result) { return USTCMD_ERR_GEN; } @@ -255,7 +255,7 @@ int ustcmd_get_cmsf(struct marker_status **cmsf, const pid_t pid) while (big_str[i] != '\0') { char state; - sscanf(big_str + i, "%a[^/]/%a[^ ] %c %a[^\n]", + sscanf(big_str + i, "marker: %a[^/]/%a[^ ] %c %a[^\n]", &tmp_cmsf[cmsf_ind].channel, &tmp_cmsf[cmsf_ind].marker, &state,