X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fust%2Flttng-events.h;h=a7726f090fd465b17defa44afb8fe305d4a30372;hb=8173ec7c273a8f083f35bbcd850718a4e6a1f253;hp=ea7b87e655c244fbcc900c93fa31e80e0bf22336;hpb=9937f480245ef53f3e6000c09bbbf4fa0fce9404;p=lttng-ust.git diff --git a/include/ust/lttng-events.h b/include/ust/lttng-events.h index ea7b87e6..a7726f09 100644 --- a/include/ust/lttng-events.h +++ b/include/ust/lttng-events.h @@ -317,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;