Remove connect/disconnect sessiond from lttng API
[lttng-tools.git] / include / lttng / lttng.h
index 448bd9fdcf944f432a757a7622286a3c3323bdaf..687a898a1711df0b6d2d09862bd5b391ee53ccf0 100644 (file)
@@ -94,9 +94,9 @@ struct lttng_kernel_context {
 };
 
 /*
- * Either addr is used or symbol_name and offset.
+ * Kernel Kprobe. Either addr is used or symbol_name and offset.
  */
-struct lttng_event_kprobe_attr {
+struct lttng_kernel_kprobe_attr {
        uint64_t addr;
 
        uint64_t offset;
@@ -118,7 +118,7 @@ struct lttng_event {
        enum lttng_event_type type;
        /* Per event type configuration */
        union {
-               struct lttng_event_kprobe_attr kprobe;
+               struct lttng_kernel_kprobe_attr kprobe;
                struct lttng_event_function_attr ftrace;
        } attr;
 };
@@ -132,7 +132,7 @@ struct lttng_channel_attr {
        uint64_t num_subbuf;                /* power of 2 */
        unsigned int switch_timer_interval; /* usec */
        unsigned int read_timer_interval;   /* usec */
-       enum lttng_event_output output;    /* splice, mmap */
+       enum lttng_event_output output;     /* splice, mmap */
 };
 
 /*
@@ -159,14 +159,10 @@ struct lttng_session {
 /*
  * Session daemon control
  */
-extern int lttng_connect_sessiond(void);
-
 extern int lttng_create_session(char *name, char *path);
 
 extern int lttng_destroy_session(char *name);
 
-extern int lttng_disconnect_sessiond(void);
-
 /*
  * Return a "lttng_session" array. Caller must free(3) the returned data.
  */
This page took 0.023467 seconds and 4 git commands to generate.