X-Git-Url: http://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=tests%2Ftracepoint%2Ftracepoint_test.c;h=6a5f691498a0be344c31a52bde1eb9bae5f787db;hp=cd3939c7b2625b72728a1c4669cc6f1b6aa6fb87;hb=37ee34e4d9b9363c758aa43255d71661900e89b0;hpb=30ffe2794fc413035208cdd2a7a061bc208e210f diff --git a/tests/tracepoint/tracepoint_test.c b/tests/tracepoint/tracepoint_test.c index cd3939c..6a5f691 100644 --- a/tests/tracepoint/tracepoint_test.c +++ b/tests/tracepoint/tracepoint_test.c @@ -47,7 +47,7 @@ void tp_probe4(void *data, unsigned int p4) { int i; for (i = 0; i < 100; i++) { - trace_mark_tp(ust, event2, ust_event2, tp_probe4, "probe4 %u", p4); + trace_mark_tp(event2, ust_event2, tp_probe4, "probe4 %u", p4); } } @@ -60,7 +60,7 @@ void tp_probe3(void *data, unsigned int p3) { struct message *msg; msg = (struct message*) data; - trace_mark_tp(ust, event_msg, ust_event_msg, + trace_mark_tp(event_msg, ust_event_msg, tp_probe3, "probe %s", msg->payload); } @@ -72,7 +72,7 @@ void tp_probe2(void *data, unsigned int p2) { int i; for (i = 0; i < 5; i++) { - trace_mark_tp(ust, event, ust_event, tp_probe2, "probe %u", 13); + trace_mark_tp(event, ust_event, tp_probe2, "probe %u", 13); } } @@ -84,7 +84,7 @@ void tp_probe(void *data, unsigned int p1) { int i; for (i = 0; i < 5; i++) { - trace_mark_tp(ust, event, ust_event, tp_probe, "probe %u", p1); + trace_mark_tp(event, ust_event, tp_probe, "probe %u", p1); } }