projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix lttng-gen-tp: Template file must end in .tp
[lttng-ust.git]
/
liblttng-ust
/
ust-core.c
diff --git
a/liblttng-ust/ust-core.c
b/liblttng-ust/ust-core.c
index 67e016007dd8bbb540d874b639f19738f7c6ef13..f9c00ff07bda1d72bea3f42d1ad5d999023ca908 100644
(file)
--- a/
liblttng-ust/ust-core.c
+++ b/
liblttng-ust/ust-core.c
@@
-18,11
+18,11
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <lttng/usterr-signal-safe.h>
-#include <lttng/ust-events.h>
#include <stdlib.h>
#include <stdlib.h>
+#include <lttng/ust-events.h>
+#include <usterr-signal-safe.h>
-
CDS_LIST_HEAD(ltt
_transport_list);
+
static CDS_LIST_HEAD(lttng
_transport_list);
void init_usterr(void)
{
void init_usterr(void)
{
@@
-37,11
+37,11
@@
void init_usterr(void)
}
}
}
}
-struct ltt
_transport *ltt
_transport_find(const char *name)
+struct ltt
ng_transport *lttng
_transport_find(const char *name)
{
{
- struct ltt_transport *transport;
+ struct ltt
ng
_transport *transport;
- cds_list_for_each_entry(transport, <t_transport_list, node) {
+ cds_list_for_each_entry(transport, <t
ng
_transport_list, node) {
if (!strcmp(transport->name, name))
return transport;
}
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
+ * ltt
ng
_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.
*/
* @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 ltt
ng_transport_register(struct lttng
_transport *transport)
{
{
- cds_list_add_tail(&transport->node, <t_transport_list);
+ cds_list_add_tail(&transport->node, <t
ng
_transport_list);
}
/**
}
/**
- * ltt_transport_unregister - LTT transport unregistration
+ * ltt
ng
_transport_unregister - LTT transport unregistration
* @transport: transport structure
* Called with ust_lock held.
*/
* @transport: transport structure
* Called with ust_lock held.
*/
-void ltt
_transport_unregister(struct ltt
_transport *transport)
+void ltt
ng_transport_unregister(struct lttng
_transport *transport)
{
cds_list_del(&transport->node);
}
{
cds_list_del(&transport->node);
}
This page took
0.025593 seconds
and
4
git commands to generate.