summaryrefslogtreecommitdiff
path: root/application-devel/tracing/lttng-c/configure.ac
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2017-08-25 15:44:50 +0200
committerJohn Ogness <john.ogness@linutronix.de>2017-12-19 11:38:06 +0100
commit4d5f8223acb7ab90af7fc4b8aa1c391838c1af21 (patch)
tree63ee8b04ff3285c73832058fb064f883bdc15574 /application-devel/tracing/lttng-c/configure.ac
parent77a4d59ce232c27b63068390401e723488630c3c (diff)
add a userspace tracing example
using lttng-ust, perf and tshark traces can be shown in tracecompass Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'application-devel/tracing/lttng-c/configure.ac')
-rw-r--r--application-devel/tracing/lttng-c/configure.ac25
1 files changed, 25 insertions, 0 deletions
diff --git a/application-devel/tracing/lttng-c/configure.ac b/application-devel/tracing/lttng-c/configure.ac
new file mode 100644
index 0000000..8269e50
--- /dev/null
+++ b/application-devel/tracing/lttng-c/configure.ac
@@ -0,0 +1,25 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([hello-lttngust], [1.0], [manut@linutronix.de])
+AM_INIT_AUTOMAKE
+AC_CONFIG_SRCDIR([hello-tp.c])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_CC
+
+# Checks for libraries.
+# FIXME: Replace `main' with a function in `-ldl':
+AC_CHECK_LIB([dl], [dlopen])
+PKG_CHECK_MODULES(LTTNG, lttng-ust)
+
+# Checks for header files.
+
+# Checks for typedefs, structures, and compiler characteristics.
+
+# Checks for library functions.
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT