Move perf counter symbols to private header
[lttng-ust.git] / liblttng-ust / lttng-tracer-core.h
index 9042a3036ac890c6b733ca6ecf7ca0d6048dca7a..392325f30f8d8273926a35dc343d16a97e043242 100644 (file)
@@ -86,11 +86,11 @@ void lttng_counter_transport_register(struct lttng_counter_transport *transport)
 LTTNG_HIDDEN
 void lttng_counter_transport_unregister(struct lttng_counter_transport *transport);
 
-#ifdef LTTNG_UST_HAVE_PERF_EVENT
+#ifdef HAVE_PERF_EVENT
 void lttng_ust_fixup_perf_counter_tls(void);
 void lttng_perf_lock(void);
 void lttng_perf_unlock(void);
-#else /* #ifdef LTTNG_UST_HAVE_PERF_EVENT */
+#else /* #ifdef HAVE_PERF_EVENT */
 static inline
 void lttng_ust_fixup_perf_counter_tls(void)
 {
@@ -103,6 +103,6 @@ static inline
 void lttng_perf_unlock(void)
 {
 }
-#endif /* #else #ifdef LTTNG_UST_HAVE_PERF_EVENT */
+#endif /* #else #ifdef HAVE_PERF_EVENT */
 
 #endif /* _LTTNG_TRACER_CORE_H */
This page took 0.028907 seconds and 4 git commands to generate.