Implement LTTng-UST perf counters support on x86
[lttng-ust.git] / liblttng-ust / Makefile.am
index 569a701a3b1e343994a03986a381dfac564a3f94..e2e1baaab9b8a8e7e5c049948aaf1b8a7eaa0e46 100644 (file)
@@ -48,6 +48,11 @@ liblttng_ust_runtime_la_SOURCES = \
        tracef.c \
        lttng-ust-tracef-provider.h
 
+if HAVE_PERF_EVENT
+liblttng_ust_runtime_la_SOURCES += \
+       lttng-context-perf-counters.c
+endif
+
 liblttng_ust_support_la_SOURCES = \
        lttng-tracer.h \
        lttng-tracer-core.h \
@@ -72,6 +77,7 @@ liblttng_ust_la_LIBADD = \
        -lpthread \
        -lrt \
        -lurcu-cds \
+       -ldl \
        $(top_builddir)/snprintf/libustsnprintf.la \
        $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
        liblttng-ust-tracepoint.la \
This page took 0.02319 seconds and 4 git commands to generate.