X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng-sessiond%2Ftrace-ust.h;h=35683ebce6b95970694da76d7d74de34be36a8e0;hp=aea7e714f03b27b2909c29b225012d3774e19397;hb=74d0b6427faafd5f5d59b7e9d5f78ac52924a7a2;hpb=b5c5fc2947ec79834e054e0117414b717faeee4d diff --git a/lttng-sessiond/trace-ust.h b/lttng-sessiond/trace-ust.h index aea7e714f..35683ebce 100644 --- a/lttng-sessiond/trace-ust.h +++ b/lttng-sessiond/trace-ust.h @@ -110,7 +110,7 @@ struct ltt_ust_session { struct cds_lfht *domain_exec; }; -#ifdef CONFIG_LTTNG_TOOLS_HAVE_UST +#ifdef HAVE_LIBLTTNG_UST_CTL /* * Lookup functions. NULL is returned if not found. @@ -139,7 +139,7 @@ void trace_ust_destroy_metadata(struct ltt_ust_metadata *metadata); void trace_ust_destroy_channel(struct ltt_ust_channel *channel); void trace_ust_destroy_event(struct ltt_ust_event *event); -#else +#else /* HAVE_LIBLTTNG_UST_CTL */ static inline struct ltt_ust_event *trace_ust_find_event_by_name(struct cds_lfht *ht, @@ -198,6 +198,6 @@ void trace_ust_destroy_event(struct ltt_ust_event *event) { } -#endif /* CONFIG_CONFIG_LTTNG_TOOLS_HAVE_UST */ +#endif /* HAVE_LIBLTTNG_UST_CTL */ #endif /* _LTT_TRACE_UST_H */