Cleanup: fix strict aliasing ion tests
[lttng-ust.git] / include / ust / lttng-events.h
index 005bf0d26013831a3295be6c0a5d65d7cdff6956..a7726f090fd465b17defa44afb8fe305d4a30372 100644 (file)
@@ -72,11 +72,14 @@ struct lttng_integer_type {
        enum lttng_string_encodings encoding;
 };
 
+/*
+ * Only float and double are supported. long double is not supported at
+ * the moment.
+ */
 #define _float_mant_dig(_type)                                         \
        (sizeof(_type) == sizeof(float) ? FLT_MANT_DIG                  \
                : (sizeof(_type) == sizeof(double) ? DBL_MANT_DIG       \
-               : (sizeof(_type) == sizeof(long double) ? LDBL_MANT_DIG \
-               : 0)))
+               : 0))
 
 #define __type_float(_type)                                    \
        {                                                       \
@@ -314,11 +317,12 @@ const struct lttng_event_desc *ltt_event_get(const char *name);
 void ltt_event_put(const struct lttng_event_desc *desc);
 int ltt_probes_init(void);
 void ltt_probes_exit(void);
-struct lttng_ctx_field *lttng_append_context(struct lttng_ctx **ctx);
-void lttng_remove_context_field(struct lttng_ctx **ctx,
+int lttng_find_context(struct lttng_ctx *ctx, const char *name);
+struct lttng_ctx_field *lttng_append_context(struct lttng_ctx **ctx_p);
+void lttng_remove_context_field(struct lttng_ctx **ctx_p,
                                struct lttng_ctx_field *field);
 void lttng_destroy_context(struct lttng_ctx *ctx);
-int lttng_add_vtid_to_ctx(struct lttng_ctx **ctx);
+int lttng_add_pthread_id_to_ctx(struct lttng_ctx **ctx);
 
 //extern const struct file_operations lttng_tracepoint_list_fops;
 
This page took 0.023493 seconds and 4 git commands to generate.