Change API to support exporting loglevel in event listing
[lttng-ust.git] / include / lttng / ust-abi.h
index ae95af6b222b494a3bc3c7eb350b4e793eede7af..2567ceb8a7e179e89e0673a5b6565478956511f9 100644 (file)
@@ -98,10 +98,10 @@ struct lttng_ust_channel_attr {
        enum lttng_ust_output output;           /* splice, mmap */
 };
 
-struct lttng_ust_loglevel {
-       char provider[LTTNG_UST_SYM_NAME_LEN];
-       char loglevel[LTTNG_UST_SYM_NAME_LEN];
-       int64_t value;
+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 {
@@ -127,7 +127,6 @@ struct lttng_ust_object_data {
 #define LTTNG_UST_TRACEPOINT_LIST              _UST_CMD(0x42)
 #define LTTNG_UST_WAIT_QUIESCENT               _UST_CMD(0x43)
 #define LTTNG_UST_REGISTER_DONE                        _UST_CMD(0x44)
-#define LTTNG_UST_LOGLEVEL_LIST                        _UST_CMD(0x45)
 
 /* Session FD commands */
 #define LTTNG_UST_METADATA                     \
@@ -155,9 +154,6 @@ struct lttng_ust_object_data {
 /* Tracepoint list commands */
 #define LTTNG_UST_TRACEPOINT_LIST_GET          _UST_CMD(0x90)
 
-/* Loglevel list commands */
-#define LTTNG_UST_LOGLEVEL_LIST_GET            _UST_CMD(0xA0)
-
 #define LTTNG_UST_ROOT_HANDLE  0
 
 struct lttng_ust_obj;
This page took 0.027648 seconds and 4 git commands to generate.