X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ust%2Fust.c;h=3f6bf1d0110aebea01c7f1bb01b15faeb22a8344;hb=82b1a169790ffaa20bcc0b338d0c4e8cf68bf73c;hp=766a2fa2c01e20d20c4b3acd8c921a1aa135db0e;hpb=6cb88bc04f67ebc3264d3832f4ce5cca2c642ab4;p=ust.git diff --git a/ust/ust.c b/ust/ust.c index 766a2fa..3f6bf1d 100644 --- a/ust/ust.c +++ b/ust/ust.c @@ -51,7 +51,10 @@ int main(int argc, char *argv[]) char *msg = argv[2]; - send_message(pid, msg, NULL); + struct ustcomm_connection conn; + + ustcomm_connect_app(pid, &conn); + ustcomm_send_request(&conn, msg, NULL); return 0; }