projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded fields assignments (should not use those UST-internal fields)
[lttng-tools.git]
/
lttng-sessiond
/
lttng-ust-abi.h
diff --git
a/lttng-sessiond/lttng-ust-abi.h
b/lttng-sessiond/lttng-ust-abi.h
index 5b025aeac5b30e6e7a514b9cbe7ffc1f4d99f58f..cac431307c0150316edec5ec199f307bfe5a880d 100644
(file)
--- a/
lttng-sessiond/lttng-ust-abi.h
+++ b/
lttng-sessiond/lttng-ust-abi.h
@@
-2,7
+2,7
@@
#define _LTTNG_UST_ABI_H
/*
#define _LTTNG_UST_ABI_H
/*
- * lttng
-
ust-abi.h
+ * lttng
/
ust-abi.h
*
* Copyright 2010-2011 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
*
* Copyright 2010-2011 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
@@
-13,15
+13,16
@@
#include <stdint.h>
#include <stdint.h>
-#define LTTNG_UST_SYM_NAME_LEN
128
+#define LTTNG_UST_SYM_NAME_LEN
256
#define LTTNG_UST_COMM_VERSION_MAJOR 0
#define LTTNG_UST_COMM_VERSION_MINOR 1
enum lttng_ust_instrumentation {
#define LTTNG_UST_COMM_VERSION_MAJOR 0
#define LTTNG_UST_COMM_VERSION_MINOR 1
enum lttng_ust_instrumentation {
- LTTNG_UST_TRACEPOINT = 0,
- LTTNG_UST_PROBE = 1,
- LTTNG_UST_FUNCTION = 2,
+ LTTNG_UST_TRACEPOINT = 0,
+ LTTNG_UST_PROBE = 1,
+ LTTNG_UST_FUNCTION = 2,
+ LTTNG_UST_TRACEPOINT_LOGLEVEL = 3,
};
enum lttng_ust_output {
};
enum lttng_ust_output {
@@
-90,6
+91,12
@@
struct lttng_ust_channel_attr {
enum lttng_ust_output output; /* splice, mmap */
};
enum lttng_ust_output output; /* splice, mmap */
};
+struct lttng_ust_tracepoint_iter {
+ char name[LTTNG_UST_SYM_NAME_LEN]; /* provider:name */
+ char loglevel[LTTNG_UST_SYM_NAME_LEN]; /* loglevel */
+ int64_t loglevel_value;
+};
+
struct lttng_ust_object_data {
int handle;
int shm_fd;
struct lttng_ust_object_data {
int handle;
int shm_fd;
@@
-137,11
+144,14
@@
struct lttng_ust_object_data {
#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)
+/* Tracepoint list commands */
+#define LTTNG_UST_TRACEPOINT_LIST_GET _UST_CMD(0x90)
+
#define LTTNG_UST_ROOT_HANDLE 0
#define LTTNG_UST_ROOT_HANDLE 0
-struct obj;
+struct
lttng_ust_
obj;
-struct objd_ops {
+struct
lttng_ust_
objd_ops {
long (*cmd)(int objd, unsigned int cmd, unsigned long arg);
int (*release)(int objd);
};
long (*cmd)(int objd, unsigned int cmd, unsigned long arg);
int (*release)(int objd);
};
@@
-149,10
+159,10
@@
struct objd_ops {
/* Create root handle. Always ID 0. */
int lttng_abi_create_root_handle(void);
/* Create root handle. Always ID 0. */
int lttng_abi_create_root_handle(void);
-const struct objd_ops *objd_ops(int id);
-int objd_unref(int id);
+const struct
lttng_ust_
objd_ops *objd_ops(int id);
+int
lttng_ust_
objd_unref(int id);
void lttng_ust_abi_exit(void);
void lttng_ust_abi_exit(void);
-void ltt_events_exit(void);
+void ltt
ng_ust
_events_exit(void);
#endif /* _LTTNG_UST_ABI_H */
#endif /* _LTTNG_UST_ABI_H */
This page took
0.025746 seconds
and
5
git commands to generate.