X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Fust-core.c;h=f9c00ff07bda1d72bea3f42d1ad5d999023ca908;hb=7dd08bec735b428479201f9f84d59c78deabdf57;hp=7c17a76612297a0afc0ce3e468d79fbfbaa8d733;hpb=3f6fd224cc31bdab2e3d8430c3e5e9ff17862c14;p=lttng-ust.git diff --git a/liblttng-ust/ust-core.c b/liblttng-ust/ust-core.c index 7c17a766..f9c00ff0 100644 --- a/liblttng-ust/ust-core.c +++ b/liblttng-ust/ust-core.c @@ -22,7 +22,7 @@ #include #include -static CDS_LIST_HEAD(ltt_transport_list); +static CDS_LIST_HEAD(lttng_transport_list); void init_usterr(void) { @@ -37,11 +37,11 @@ void init_usterr(void) } } -struct ltt_transport *ltt_transport_find(const char *name) +struct lttng_transport *lttng_transport_find(const char *name) { - struct ltt_transport *transport; + struct lttng_transport *transport; - cds_list_for_each_entry(transport, <t_transport_list, node) { + cds_list_for_each_entry(transport, <tng_transport_list, node) { if (!strcmp(transport->name, name)) return transport; } @@ -49,23 +49,23 @@ struct ltt_transport *ltt_transport_find(const char *name) } /** - * ltt_transport_register - LTT transport registration + * lttng_transport_register - LTT transport registration * @transport: transport structure * * Registers a transport which can be used as output to extract the data out of * LTTng. Called with ust_lock held. */ -void ltt_transport_register(struct ltt_transport *transport) +void lttng_transport_register(struct lttng_transport *transport) { - cds_list_add_tail(&transport->node, <t_transport_list); + cds_list_add_tail(&transport->node, <tng_transport_list); } /** - * ltt_transport_unregister - LTT transport unregistration + * lttng_transport_unregister - LTT transport unregistration * @transport: transport structure * Called with ust_lock held. */ -void ltt_transport_unregister(struct ltt_transport *transport) +void lttng_transport_unregister(struct lttng_transport *transport) { cds_list_del(&transport->node); }