Revert "Update loglevel ABI"
[lttng-tools.git] / include / lttng / lttng.h
index 433d2d804829749b2909b2485213b1c06607377f..a791338c89d5948eea001d7624d585e02dd70bfb 100644 (file)
@@ -65,14 +65,7 @@ enum lttng_event_type {
        LTTNG_EVENT_FUNCTION_ENTRY            = 3,
        LTTNG_EVENT_NOOP                      = 4,
        LTTNG_EVENT_SYSCALL                   = 5,
-};
-
-/*
- * Loglevel information.
- */
-enum lttng_loglevel_type {
-       LTTNG_EVENT_LOGLEVEL                  = 0,
-       LTTNG_EVENT_LOGLEVEL_ONLY             = 1,
+       LTTNG_EVENT_TRACEPOINT_LOGLEVEL       = 6,
 };
 
 /*
@@ -148,13 +141,10 @@ struct lttng_event_function_attr {
  * Generic lttng event
  */
 struct lttng_event {
-       enum lttng_event_type type;
        char name[LTTNG_SYMBOL_NAME_LEN];
-
-       enum lttng_loglevel_type loglevel_type;
        char loglevel[LTTNG_SYMBOL_NAME_LEN];
-       int64_t loglevel_value;         /* for printing */
-
+       int64_t loglevel_value;
+       enum lttng_event_type type;
        uint32_t enabled;
        pid_t pid;
        /* Per event type configuration */
This page took 0.023204 seconds and 4 git commands to generate.