tests: compile all unit tests as C++
[lttng-tools.git] / include / lttng / kernel-probe-internal.h
index 2a655fb806b3259cb8d4a03553a6d439e22feff2..87d0ab9aad0cd70be0bb8b2b756367cbd5a48284 100644 (file)
 
 #include <common/fd-handle.h>
 #include <common/macros.h>
+#include <lttng/lttng-error.h>
 #include <lttng/kernel-probe.h>
+#include <lttng/lttng-error.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <sys/types.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct lttng_payload;
 struct lttng_payload_view;
 struct lttng_dynamic_buffer;
@@ -84,32 +90,30 @@ struct lttng_kernel_probe_location_address {
        uint64_t address;
 };
 
-LTTNG_HIDDEN
 int lttng_kernel_probe_location_serialize(
                const struct lttng_kernel_probe_location *location,
                struct lttng_payload *payload);
 
-LTTNG_HIDDEN
 ssize_t lttng_kernel_probe_location_create_from_payload(
                struct lttng_payload_view *view,
                struct lttng_kernel_probe_location **probe_location);
 
-LTTNG_HIDDEN
 bool lttng_kernel_probe_location_is_equal(
                const struct lttng_kernel_probe_location *a,
                const struct lttng_kernel_probe_location *b);
 
-LTTNG_HIDDEN
 struct lttng_kernel_probe_location *lttng_kernel_probe_location_copy(
                const struct lttng_kernel_probe_location *location);
 
-LTTNG_HIDDEN
 unsigned long lttng_kernel_probe_location_hash(
                const struct lttng_kernel_probe_location *location);
 
-LTTNG_HIDDEN
 enum lttng_error_code lttng_kernel_probe_location_mi_serialize(
                const struct lttng_kernel_probe_location *location,
                struct mi_writer *writer);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_KERNEL_PROBE_INTERNAL_H */
This page took 0.024361 seconds and 4 git commands to generate.