Common Trace Format 2 generation
[lttng-tools.git] / src / lib / lttng-ctl / tracker.cpp
index b9c8ed8c38d63195bdb0693dfeff28bc41ce42e0..12d1f7787439abd1af57f473b759730959a83c0f 100644 (file)
@@ -5,12 +5,13 @@
  *
  */
 
-#include "lttng-ctl-helper.h"
+#include "lttng-ctl-helper.hpp"
 #include "lttng/domain.h"
 #include "lttng/lttng-error.h"
-#include <common/sessiond-comm/sessiond-comm.h>
-#include <common/tracker.h>
+#include <common/sessiond-comm/sessiond-comm.hpp>
+#include <common/tracker.hpp>
 #include <lttng/tracker.h>
+#include <type_traits>
 
 struct lttng_process_attr_tracker_handle {
        char *session_name;
@@ -217,7 +218,7 @@ end:
                                .value_type = (uint32_t)                                                             \
                                LTTNG_PROCESS_ATTR_VALUE_TYPE_##value_type_enum;                                     \
                                                                                                                      \
-               if (is_signed(value_type_c)) {                                                                       \
+               if (std::is_signed<value_type_c>::value) {                                                           \
                        lsm.u.process_attr_tracker_add_remove_include_value                                          \
                                        .integral_value.u._signed = value;                                           \
                } else {                                                                                             \
This page took 0.023879 seconds and 5 git commands to generate.