Create a dedicated test suite for Perf
[lttng-tools.git] / configure.ac
index fb2b0136f0dd0d5b0345783e26778e26383f5ea7..f96d25b7635842f7cb293c2286b8ebef1711b332 100644 (file)
@@ -467,6 +467,13 @@ AC_CHECK_LIB([c], [open_memstream],
 ]
 )
 
+# check for libpfm
+AC_CHECK_LIB([pfm], [pfm_initialize],
+            [
+             have_libpfm=yes
+             ])
+AM_CONDITIONAL([LTTNG_TOOLS_BUILD_WITH_LIBPFM], [test "x$have_libpfm" = "xyes"])
+
 AC_ARG_ENABLE([git-version],
               [AC_HELP_STRING([--disable-git-version],
                               [Do not use the git version for the build])],
@@ -1008,6 +1015,7 @@ AC_CONFIG_FILES([
        tests/stress/Makefile
        tests/unit/Makefile
        tests/unit/ini_config/Makefile
+       tests/perf/Makefile
        tests/utils/Makefile
        tests/utils/tap/Makefile
        tests/utils/testapp/Makefile
This page took 0.024867 seconds and 5 git commands to generate.