mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 05:00:30 -04:00
LTTng stands for Linux Trace Toolkit: next generation. It's a modern toolkit for tracing Linux (And now FreeBSD, only userspace now) programs. PR: 216142 Submitted by: mmokhi Reported by: mmokhi Reviewed by: feld, mat Approved by: feld, mat (mentors) Differential Revision: https://reviews.freebsd.org/D9200
14 lines
426 B
C
14 lines
426 B
C
--- src/bin/lttng-sessiond/session.h.orig 2016-11-29 22:48:37 UTC
|
|
+++ src/bin/lttng-sessiond/session.h
|
|
@@ -60,7 +60,11 @@ struct ltt_session_list {
|
|
*/
|
|
struct ltt_session {
|
|
char name[NAME_MAX];
|
|
+#if defined(__FreeBSD__)
|
|
+ char hostname[256]; /* Local hostname. */
|
|
+#else
|
|
char hostname[HOST_NAME_MAX]; /* Local hostname. */
|
|
+#endif
|
|
struct ltt_kernel_session *kernel_session;
|
|
struct ltt_ust_session *ust_session;
|
|
/*
|