[lttng-dev] [PATCH lttng-ust] Report perf integration status at configure

Michael Jeanson mjeanson at efficios.com
Wed Mar 20 17:02:25 EDT 2019


Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 9ab76501..3e443132 100644
--- a/configure.ac
+++ b/configure.ac
@@ -615,6 +615,9 @@ PPRINT_PROP_BOOL_CUSTOM([JNI interface (JNI)], $value, [use --enable-jni-interfa
 test "x$python_agent" = xyes && value=1 || value=0
 PPRINT_PROP_BOOL_CUSTOM([Python agent], $value, [use --enable-python-agent])
 
+test "x$have_perf_event" = "xyes" && value=1 || value=0
+PPRINT_PROP_BOOL_CUSTOM([Perf event integration], $value)
+
 test "x$enable_numa" = xyes && value=1 || value=0
 PPRINT_PROP_BOOL([NUMA], $value)
 
-- 
2.17.1



More information about the lttng-dev mailing list