commit 8eb73cbcdc6c9f1486fba718435b1be8012f9bda
parent 9e8b5e1d2393ca4ab70b09d641798ef895eed791
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Tue, 21 Jun 2022 16:24:09 +0200
mv lttng to dir
Diffstat:
4 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -39,7 +39,7 @@ debug: $(SRC) lttng
# preloaded before the instrumented application starts.
# https://lttng.org/docs/v2.13/#doc-building-tracepoint-providers-and-user-application
lttng: $(SRC)
- $(CC) -I $(SRCDIR) -fpic -c src/diary-tp.c
+ $(CC) -I "$(SRCDIR)/lttng" -fpic -c $(SRCDIR)/lttng/diary-tp.c
$(CC) -shared -o libtpp.so diary-tp.o -llttng-ust -ldl
clean:
diff --git a/src/diary.h b/src/diary.h
@@ -28,7 +28,7 @@
#define LTTNG_UST_TRACEPOINT_DEFINE
#define LTTNG_UST_TRACEPOINT_PROBE_DYNAMIC_LINKAGE
-#include "diary-tp.h"
+#include "lttng/diary-tp.h"
#define XDG_CONFIG_HOME_FALLBACK "~/.config"
#define CONFIG_FILE_PATH "diary/diary.cfg"
diff --git a/src/diary-tp.c b/src/lttng/diary-tp.c
diff --git a/src/diary-tp.h b/src/lttng/diary-tp.h