X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Flttng-ust-abi.h;h=90a0822f661bb187d96f3400b44bf1f6ab3d762f;hp=5b025aeac5b30e6e7a514b9cbe7ffc1f4d99f58f;hb=ba7f0ae55f6209514025bb538c6fe3faefc32f4b;hpb=322585731ced1adba36cddcb8bdd5d997d1b2e3e diff --git a/lttng-sessiond/lttng-ust-abi.h b/lttng-sessiond/lttng-ust-abi.h index 5b025aeac..90a0822f6 100644 --- a/lttng-sessiond/lttng-ust-abi.h +++ b/lttng-sessiond/lttng-ust-abi.h @@ -2,7 +2,7 @@ #define _LTTNG_UST_ABI_H /* - * lttng-ust-abi.h + * lttng/ust-abi.h * * Copyright 2010-2011 (c) - Mathieu Desnoyers * @@ -137,11 +137,14 @@ struct lttng_ust_object_data { #define LTTNG_UST_ENABLE _UST_CMD(0x80) #define LTTNG_UST_DISABLE _UST_CMD(0x81) +/* Tracepoint list commands */ +#define LTTNG_UST_TRACEPOINT_LIST_GET _UST_CMD(0x90) + #define LTTNG_UST_ROOT_HANDLE 0 -struct obj; +struct lttng_ust_obj; -struct objd_ops { +struct lttng_ust_objd_ops { long (*cmd)(int objd, unsigned int cmd, unsigned long arg); int (*release)(int objd); }; @@ -149,10 +152,10 @@ struct objd_ops { /* Create root handle. Always ID 0. */ int lttng_abi_create_root_handle(void); -const struct objd_ops *objd_ops(int id); -int objd_unref(int id); +const struct lttng_ust_objd_ops *objd_ops(int id); +int lttng_ust_objd_unref(int id); void lttng_ust_abi_exit(void); -void ltt_events_exit(void); +void lttng_ust_events_exit(void); #endif /* _LTTNG_UST_ABI_H */