mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
Some of the patches retained here may be out of scope now, such as those patches still adding a definition for NT_GNU_BUILD_ID. Changelog: https://git.lttng.org/?p=lttng-ust.git;a=blob_plain;f=ChangeLog;hb=ac8d9a90b1e9052d2dea77e0b0c92b779bceb4a8 PR: 263112
22 lines
711 B
C
22 lines
711 B
C
--- include/lttng/ust-tracepoint-event.h.orig 2022-03-25 15:37:17 UTC
|
|
+++ include/lttng/ust-tracepoint-event.h
|
|
@@ -14,6 +14,11 @@
|
|
#include <lttng/ust-arch.h>
|
|
#include <lttng/ust-compiler.h>
|
|
#include <lttng/tracepoint.h>
|
|
+#if defined(__FreeBSD__)
|
|
+#include <sys/types.h>
|
|
+#include <sys/endian.h>
|
|
+#define NT_GNU_BUILD_ID 3
|
|
+#endif
|
|
#include <lttng/ust-endian.h>
|
|
#include <lttng/ust-api-compat.h>
|
|
#include <string.h>
|
|
@@ -1033,6 +1038,7 @@ void lttng_ust__event_probe__##_provider##___##_name(L
|
|
|
|
/* Reset all macros within LTTNG_UST_TRACEPOINT_EVENT */
|
|
#include <lttng/ust-tracepoint-event-reset.h>
|
|
+#include <lttng/ust-events.h>
|
|
|
|
/*
|
|
* Declare _loglevel___##__provider##___##__name as non-static, with
|