projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename sessiond comm lib into ust comm
[lttng-ust.git]
/
include
/
ust
/
lttng-ust-abi.h
diff --git
a/include/ust/lttng-ust-abi.h
b/include/ust/lttng-ust-abi.h
index ff76a710c6adac0c61ae0a230adca97525fb71f7..16c49d1665da1f059fe59ec8df4dee367906362c 100644
(file)
--- a/
include/ust/lttng-ust-abi.h
+++ b/
include/ust/lttng-ust-abi.h
@@
-11,22
+11,28
@@
* Dual LGPL v2.1/GPL v2 license.
*/
* Dual LGPL v2.1/GPL v2 license.
*/
+#include <stdint.h>
+
#define LTTNG_UST_SYM_NAME_LEN 128
#define LTTNG_UST_SYM_NAME_LEN 128
+#define LTTNG_UST_COMM_VERSION_MAJOR 0
+#define LTTNG_UST_COMM_VERSION_MINOR 1
+
enum lttng_ust_instrumentation {
LTTNG_UST_TRACEPOINT = 0,
enum lttng_ust_instrumentation {
LTTNG_UST_TRACEPOINT = 0,
+ LTTNG_UST_PROBE = 1,
+ LTTNG_UST_FUNCTION = 2,
};
};
-/*
- * LTTng consumer mode
- */
enum lttng_ust_output {
enum lttng_ust_output {
- LTTNG_UST_MMAP = 0,
+ LTTNG_UST_MMAP
= 0,
};
};
-/*
- * LTTng DebugFS ABI structures.
- */
+struct lttng_ust_tracer_version {
+ uint32_t version;
+ uint32_t patchlevel;
+ uint32_t sublevel;
+};
struct lttng_ust_channel {
int overwrite; /* 1: overwrite, 0: discard */
struct lttng_ust_channel {
int overwrite; /* 1: overwrite, 0: discard */
@@
-34,7
+40,7
@@
struct lttng_ust_channel {
uint64_t num_subbuf;
unsigned int switch_timer_interval; /* usecs */
unsigned int read_timer_interval; /* usecs */
uint64_t num_subbuf;
unsigned int switch_timer_interval; /* usecs */
unsigned int read_timer_interval; /* usecs */
- enum lttng_ust_output output; /*
mmap
*/
+ enum lttng_ust_output output; /*
output mode
*/
};
struct lttng_ust_event {
};
struct lttng_ust_event {
@@
-45,12
+51,6
@@
struct lttng_ust_event {
} u;
};
} u;
};
-struct lttng_ust_tracer_version {
- uint32_t version;
- uint32_t patchlevel;
- uint32_t sublevel;
-};
-
enum lttng_ust_context_type {
LTTNG_UST_CONTEXT_VTID = 0,
};
enum lttng_ust_context_type {
LTTNG_UST_CONTEXT_VTID = 0,
};
@@
-93,4
+93,6
@@
struct lttng_ust_context {
#define LTTNG_UST_ENABLE _UST_CMD(0x80)
#define LTTNG_UST_DISABLE _UST_CMD(0x81)
#define LTTNG_UST_ENABLE _UST_CMD(0x80)
#define LTTNG_UST_DISABLE _UST_CMD(0x81)
+void lttng_ust_abi_exit(void);
+
#endif /* _LTTNG_UST_ABI_H */
#endif /* _LTTNG_UST_ABI_H */
This page took
0.02492 seconds
and
4
git commands to generate.