#include <wrapper/random.h>
#include <wrapper/tracepoint.h>
#include <wrapper/list.h>
#include <wrapper/random.h>
#include <wrapper/tracepoint.h>
#include <wrapper/list.h>
* Registers a transport which can be used as output to extract the data out of
* LTTng. The module calling this registration function must ensure that no
* trap-inducing code will be executed by the transport functions. E.g.
* Registers a transport which can be used as output to extract the data out of
* LTTng. The module calling this registration function must ensure that no
* trap-inducing code will be executed by the transport functions. E.g.
* after its registration must it synchronize the TLBs.
*/
void lttng_transport_register(struct lttng_transport *transport)
* after its registration must it synchronize the TLBs.
*/
void lttng_transport_register(struct lttng_transport *transport)
/*
* Make sure no page fault can be triggered by the module about to be
* registered. We deal with this here so we don't have to call
/*
* Make sure no page fault can be triggered by the module about to be
* registered. We deal with this here so we don't have to call
mutex_lock(&sessions_mutex);
list_add_tail(&transport->node, <tng_transport_list);
mutex_lock(&sessions_mutex);
list_add_tail(&transport->node, <tng_transport_list);