X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Finfo%2Fust.texi;h=60c73c1804a08bd8658aa0ac46fc8e3c6c691f10;hb=686debc34cf055ffcb1f98a06df9fbaf27eeb441;hp=73a8bcd3faf65eef72457db1a9120b4498ccc0a3;hpb=eb78cc5f9e75f620e9037708874f88b0a17e4ed8;p=ust.git diff --git a/doc/info/ust.texi b/doc/info/ust.texi index 73a8bcd..60c73c1 100644 --- a/doc/info/ust.texi +++ b/doc/info/ust.texi @@ -91,7 +91,7 @@ Components licensed as LGPL v2.1: Components licensed as GPL v2: @itemize @bullet @item ustctl -@item libustcmd +@item libustctl @item ust-consumerd @end itemize @@ -162,10 +162,10 @@ int main(int argc, char **argv) /* ... set values of v and st ... */ /* a marker: */ - trace_mark(ust, myevent, "firstarg %d secondarg %s", v, st); + ust_marker(ust, myevent, "firstarg %d secondarg %s", v, st); /* a marker without arguments: */ - trace_mark(ust, myotherevent, MARK_NOARGS); + ust_marker(ust, myotherevent, MARK_NOARGS); return 0; } @@ -240,17 +240,17 @@ int main(int argc, char **argv) /* ... set values of v and st ... */ /* a marker: */ - trace_mark(main, myevent, "firstarg %d secondarg %s", v, st); + ust_marker(main, myevent, "firstarg %d secondarg %s", v, st); /* another marker without arguments: */ - trace_mark(main, myotherevent, MARK_NOARGS); + ust_marker(main, myotherevent, MARK_NOARGS); return 0; } @end verbatim @end example -The invocation of the trace_mark() macro requires at least 3 arguments. The +The invocation of the ust_marker() macro requires at least 3 arguments. The first, here "main", is the name of the event category. It is also the name of the channel the event will go in. The second, here "myevent" is the name of the event. The third is a format string that announces the names and the types of @@ -318,7 +318,7 @@ DEFINE_TRACE(mychannel_myevent); void mychannel_myevent_probe(int v, char *st) { - trace_mark(mychannel, myevent, "v %d st %s", v, st); + ust_marker(mychannel, myevent, "v %d st %s", v, st); } static void __attribute__((constructor)) init()