X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftracepoint%2Ftracepoint_test.c;fp=tests%2Ftracepoint%2Ftracepoint_test.c;h=88fa10b00916877b328ec4240e26ea96e0937483;hb=686debc34cf055ffcb1f98a06df9fbaf27eeb441;hp=6a5f691498a0be344c31a52bde1eb9bae5f787db;hpb=b64d025089c6d40963e029cff23efed4ed1f2f22;p=ust.git diff --git a/tests/tracepoint/tracepoint_test.c b/tests/tracepoint/tracepoint_test.c index 6a5f691..88fa10b 100644 --- a/tests/tracepoint/tracepoint_test.c +++ b/tests/tracepoint/tracepoint_test.c @@ -16,7 +16,7 @@ */ /* - * This test is aimed at testing tracepoint *with* trace_mark : + * This test is aimed at testing tracepoint *with* ust_marker : * * 1) tracepoint named : "ust_event" * -) Probe 1 registered and recording the value 13 (x5) @@ -47,7 +47,7 @@ void tp_probe4(void *data, unsigned int p4) { int i; for (i = 0; i < 100; i++) { - trace_mark_tp(event2, ust_event2, tp_probe4, "probe4 %u", p4); + ust_marker_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(event_msg, ust_event_msg, + ust_marker_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(event, ust_event, tp_probe2, "probe %u", 13); + ust_marker_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(event, ust_event, tp_probe, "probe %u", p1); + ust_marker_tp(event, ust_event, tp_probe, "probe %u", p1); } }