Adding sysutils/lttng-ust and sysutils/lttng-tools.

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
This commit is contained in:
Mahdi Mokhtari 2017-02-11 15:36:17 +00:00
parent 7016b487cd
commit a8416c340c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433881
57 changed files with 1241 additions and 0 deletions

View file

@ -555,6 +555,8 @@
SUBDIR += lr
SUBDIR += lsof
SUBDIR += ltrace
SUBDIR += lttng-tools
SUBDIR += lttng-ust
SUBDIR += luckybackup
SUBDIR += lxinput
SUBDIR += lxsplit

View file

@ -0,0 +1,36 @@
# Created by: Mahdi Mokhtari <mokhi64@gmail.com>
# $FreeBSD$
PORTNAME= lttng-tools
PORTVERSION= 2.9.0
CATEGORIES= sysutils
MASTER_SITES= http://lttng.org/files/${PORTNAME}/
MAINTAINER= mokhi64@gmail.com
COMMENT= Set of tools to control LTTng tracing
LICENSE= LGPL21 GPLv2
LICENSE_COMB= dual
LICENSE_FILE_LGPL21= ${WRKSRC}/lgpl-2.1.txt
LICENSE_FILE_GPLv2= ${WRKSRC}/gpl-2.0.txt
LIB_DEPENDS= libpopt.so:devel/popt \
liburcu.so:sysutils/liburcu \
liblttng-ust-ctl.so:sysutils/lttng-ust
USES= autoreconf bison libtool localbase pathfix \
shebangfix tar:bzip2
USE_LDCONFIG= yes
USE_GNOME= libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lttng-ust-prefix=${LOCALBASE} \
--disable-maintainer-mode
INSTALL_TARGET= install-strip
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/doc/man/*.3 ${STAGEDIR}${MANPREFIX}/man/man3/
${INSTALL_MAN} ${WRKSRC}/doc/man/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1483798712
SHA256 (lttng-tools-2.9.0.tar.bz2) = eff3003f3c37ae8f2921ba76de777171405935eec48f4c1a15abdda8d0859422
SIZE (lttng-tools-2.9.0.tar.bz2) = 1150584

View file

@ -0,0 +1,11 @@
--- configure.ac.orig 2016-11-29 22:48:37 UTC
+++ configure.ac
@@ -443,7 +443,7 @@ AS_IF([test "x$lttng_ust_support" = "xye
lttng_ust_ctl_found=yes
],
[AC_MSG_ERROR([Cannot find LTTng-UST >= 2.2.x. Use --with-lttng-ust-prefix=PREFIX to specify its location, or specify --without-lttng-ust to build lttng-tools without LTTng-UST support.])],
- [-lurcu-common -lurcu-bp -lurcu-cds -lrt -ldl]
+ [-lurcu-common -lurcu-bp -lurcu-cds -lrt]
)
])
AM_CONDITIONAL([HAVE_LIBLTTNG_UST_CTL], [test "x$lttng_ust_ctl_found" = xyes])

View file

@ -0,0 +1,17 @@
--- include/Makefile.am.orig 2017-01-12 17:07:16 UTC
+++ include/Makefile.am
@@ -1,8 +1,8 @@
-if LTTNG_TOOLS_BUILD_GIT_SOURCE
-GIT_DESCRIBE_CMD = (cd $(top_srcdir); git describe)
-else
-GIT_DESCRIBE_CMD = /bin/true
-endif
+##if LTTNG_TOOLS_BUILD_GIT_SOURCE
+##GIT_DESCRIBE_CMD = (cd ${top_srcdir}; git describe)
+##else
+GIT_DESCRIBE_CMD = /usr/bin/true
+##endif
##
## The version.h file must be verified and generated or updated if the

View file

@ -0,0 +1,33 @@
--- src/bin/lttng-crash/lttng-crash.c.orig 2016-11-29 22:48:37 UTC
+++ src/bin/lttng-crash/lttng-crash.c
@@ -21,17 +21,29 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/stat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <sys/wait.h>
#include <unistd.h>
#include <ctype.h>
#include <dirent.h>
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <sys/endian.h>
+#include <inttypes.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#define bswap_64 bswap64
+#define __bswap_16 bswap16
+#define __bswap_32 bswap32
+#define __bswap_64 bswap64
+#define NT_GNU_BUILD_ID 3
+#else
#include <byteswap.h>
#include <inttypes.h>
+#endif
#include <stdbool.h>
#include <version.h>

View file

@ -0,0 +1,10 @@
--- src/bin/lttng-relayd/stream.c.orig 2016-11-29 22:48:37 UTC
+++ src/bin/lttng-relayd/stream.c
@@ -22,6 +22,7 @@
#include <common/utils.h>
#include <common/defaults.h>
#include <urcu/rculist.h>
+#include <sys/types.h>
#include <sys/stat.h>
#include "lttng-relayd.h"

View file

@ -0,0 +1,12 @@
--- src/bin/lttng-sessiond/consumer.c.orig 2016-11-29 22:48:37 UTC
+++ src/bin/lttng-sessiond/consumer.c
@@ -635,6 +635,9 @@ int consumer_set_network_uri(struct cons
{
int ret;
char tmp_path[PATH_MAX];
+#if defined(__FreeBSD__)
+ const size_t HOST_NAME_MAX = sysconf(_SC_HOST_NAME_MAX);
+#endif
char hostname[HOST_NAME_MAX];
struct lttng_uri *dst_uri = NULL;

View file

@ -0,0 +1,14 @@
--- 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;
/*

View file

@ -0,0 +1,11 @@
--- src/bin/lttng-sessiond/ust-consumer.c.orig 2016-11-29 22:48:37 UTC
+++ src/bin/lttng-sessiond/ust-consumer.c
@@ -21,6 +21,8 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include <inttypes.h>
#include <common/common.h>

View file

@ -0,0 +1,28 @@
--- src/bin/lttng-sessiond/ust-metadata.c.orig 2016-11-29 22:48:37 UTC
+++ src/bin/lttng-sessiond/ust-metadata.c
@@ -50,6 +50,7 @@ int _lttng_field_statedump(struct ust_re
const struct ustctl_field *fields, size_t nr_fields,
size_t *iter_field, size_t nesting);
+#if !defined(__FreeBSD__)
static inline
int fls(unsigned int x)
{
@@ -79,6 +80,7 @@ int fls(unsigned int x)
}
return r;
}
+#endif
static inline
int get_count_order(unsigned int count)
@@ -879,6 +881,9 @@ int ust_metadata_session_statedump(struc
char uuid_s[UUID_STR_LEN],
clock_uuid_s[UUID_STR_LEN];
int ret = 0;
+#if defined(__FreeBSD__)
+ const size_t HOST_NAME_MAX = sysconf(_SC_HOST_NAME_MAX);
+#endif
char hostname[HOST_NAME_MAX];
assert(session);

View file

@ -0,0 +1,12 @@
--- src/bin/lttng-sessiond/utils.h.orig 2016-11-29 22:48:37 UTC
+++ src/bin/lttng-sessiond/utils.h
@@ -18,6 +18,9 @@
#ifndef _LTT_UTILS_H
#define _LTT_UTILS_H
+#include <sys/types.h>
+#include <sys/stat.h>
+
struct lttng_ht;
const char *get_home_dir(void);

View file

@ -0,0 +1,12 @@
--- src/bin/lttng/commands/view.c.orig 2016-11-29 22:48:37 UTC
+++ src/bin/lttng/commands/view.c
@@ -269,6 +269,9 @@ static char *build_live_path(char *sessi
{
int ret;
char *path = NULL;
+#if defined(__FreeBSD__)
+ const size_t HOST_NAME_MAX = sysconf(_SC_HOST_NAME_MAX);
+#endif
char hostname[HOST_NAME_MAX];
ret = gethostname(hostname, sizeof(hostname));

View file

@ -0,0 +1,17 @@
--- src/common/common.h.orig 2016-11-29 22:48:37 UTC
+++ src/common/common.h
@@ -19,6 +19,14 @@
#ifndef _COMMON_H
#define _COMMON_H
+#if defined(__FreeBSD__)
+
+#include <sys/endian.h>
+
+#define ENODATA ENOATTR
+
+#endif
+
#include "error.h"
#include "macros.h"
#include "runas.h"

View file

@ -0,0 +1,34 @@
--- src/common/compat/compat-epoll.c.orig 2017-01-13 22:20:45 UTC
+++ src/common/compat/compat-epoll.c
@@ -31,7 +31,11 @@
#include "poll.h"
-unsigned int poll_max_size;
+unsigned int poll_max_size
+#if defined(__FreeBSD__)
+= DEFAULT_POLL_SIZE
+#endif
+;
/*
* Resize the epoll events structure of the new size.
@@ -258,6 +262,7 @@ int compat_epoll_set_max_size(void)
ssize_t size_ret;
char buf[64];
+#if !defined(__FreeBSD__)
fd = open(COMPAT_EPOLL_PROC_PATH, O_RDONLY);
if (fd < 0) {
retval = -1;
@@ -282,8 +287,10 @@ end_read:
PERROR("close");
}
end:
+#endif
if (!poll_max_size) {
poll_max_size = DEFAULT_POLL_SIZE;
+ retval = 0;
}
DBG("epoll set max size is %d", poll_max_size);
return retval;

View file

@ -0,0 +1,14 @@
--- src/common/compat/compat-poll.c.orig 2017-01-13 22:38:05 UTC
+++ src/common/compat/compat-poll.c
@@ -112,7 +112,11 @@ int compat_poll_create(struct lttng_poll
if (!poll_max_size) {
ERR("poll_max_size not initialized yet");
+#if defined(__FreeBSD__)
+ poll_max_size = DEFAULT_POLL_SIZE;
+#else
goto error;
+#endif
}
/* Don't bust the limit here */

View file

@ -0,0 +1,23 @@
--- src/common/compat/endian.h.orig 2016-11-29 22:48:37 UTC
+++ src/common/compat/endian.h
@@ -27,7 +27,19 @@
*/
#ifdef __USE_BSD
/* Conversion interfaces. */
-# include <byteswap.h>
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#define bswap_64 bswap64
+#define __bswap_16 bswap16
+#define __bswap_32 bswap32
+#define __bswap_64 bswap64
+#define NT_GNU_BUILD_ID 3
+#else
+#include <byteswap.h>
+#endif
# if __BYTE_ORDER == __LITTLE_ENDIAN
# ifndef htobe16

View file

@ -0,0 +1,35 @@
--- src/common/compat/fcntl.h.orig 2016-11-29 22:48:37 UTC
+++ src/common/compat/fcntl.h
@@ -22,11 +22,15 @@
#include <errno.h>
#include <sys/types.h>
#if (defined(__FreeBSD__) || defined(__CYGWIN__))
typedef long long off64_t;
#endif
-#if (defined(__FreeBSD__) || defined(__sun__))
+#if defined(__FreeBSD__)
+typedef off_t loff_t;
+#endif
+
+#if defined(__sun__)
typedef off64_t loff_t;
#endif
@@ -69,15 +73,6 @@ static inline ssize_t splice(int fd_in,
}
#endif
-#ifdef __FreeBSD__
-#define POSIX_FADV_DONTNEED 0
-
-static inline int posix_fadvise(int fd, off_t offset, off_t len, int advice)
-{
- return -ENOSYS;
-}
-#endif
-
#if !(defined(__linux__) || defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__) || defined(__APPLE__))
#error "Please add support for your OS."
#endif /* __linux__ , __FreeBSD__, __CYGWIN__, __sun__, __APPLE__ */

View file

@ -0,0 +1,12 @@
--- src/common/defaults.h.orig 2016-11-29 22:48:37 UTC
+++ src/common/defaults.h
@@ -366,6 +366,9 @@ size_t default_get_ust_uid_channel_subbu
* pthread_attr_t pointer where the thread stack size is set to the soft stack
* size limit.
*/
+#if defined(__FreeBSD__)
+#include <pthread.h>
+#endif
LTTNG_HIDDEN
pthread_attr_t *default_pthread_attr(void);

View file

@ -0,0 +1,11 @@
--- src/common/kernel-consumer/kernel-consumer.h.orig 2016-11-29 22:48:37 UTC
+++ src/common/kernel-consumer/kernel-consumer.h
@@ -19,6 +19,8 @@
#ifndef _LTTNG_KCONSUMER_H
#define _LTTNG_KCONSUMER_H
+#include <errno.h>
+
#include <common/consumer/consumer.h>
int lttng_kconsumer_take_snapshot(struct lttng_consumer_stream *stream);

View file

@ -0,0 +1,8 @@
--- src/common/testpoint/Makefile.am.orig 2017-01-12 17:07:16 UTC
+++ src/common/testpoint/Makefile.am
@@ -3,4 +3,4 @@ AM_CPPFLAGS =
noinst_LTLIBRARIES = libtestpoint.la
libtestpoint_la_SOURCES = testpoint.h testpoint.c
-libtestpoint_la_LIBADD = -ldl
+libtestpoint_la_LIBADD =

View file

@ -0,0 +1,10 @@
--- src/common/utils.h.orig 2016-11-29 22:48:37 UTC
+++ src/common/utils.h
@@ -19,6 +19,7 @@
#define _COMMON_UTILS_H
#include <sys/types.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <stdint.h>
#include <getopt.h>

View file

@ -0,0 +1,122 @@
--- tests/regression/kernel/select_poll_epoll.c.orig 2016-11-29 22:48:37 UTC
+++ tests/regression/kernel/select_poll_epoll.c
@@ -10,7 +10,9 @@
#include <string.h>
#include <stddef.h>
#include <sys/select.h>
+#if !defined(__FreeBSD__)
#include <sys/epoll.h>
+#endif
#include <popt.h>
#include <sys/time.h>
#include <sys/resource.h>
@@ -249,6 +251,7 @@ void test_ppoll_big(void)
return;
}
+#if !defined(__FreeBSD__)
void test_epoll(void)
{
int ret, epollfd;
@@ -332,6 +335,7 @@ void test_pepoll(void)
end:
return;
}
+#endif
void run_working_cases(void)
{
@@ -356,8 +360,10 @@ void run_working_cases(void)
test_select_big();
test_poll();
test_ppoll();
+#if !defined(__FreeBSD__)
test_epoll();
test_pepoll();
+#endif
if (timeout > 0) {
ret = close(pipe_fds[0]);
@@ -458,7 +464,11 @@ void pselect_fd_too_big(void)
}
FD_SET(fd2, (fd_set *) &rfds);
+#if defined(__FreeBSD__)
+ ret = __syscall(SYS_pselect, fd2 + 1, &rfds, NULL, NULL, NULL, NULL);
+#else
ret = syscall(SYS_pselect6, fd2 + 1, &rfds, NULL, NULL, NULL, NULL);
+#endif
if (ret == -1) {
perror("# pselect()");
@@ -487,9 +497,13 @@ void pselect_invalid_pointer(void)
FD_ZERO(&rfds);
FD_SET(wait_fd, &rfds);
-
+#if defined(__FreeBSD__)
+ ret = __syscall(SYS_pselect, 1, &rfds, (fd_set *) invalid, NULL, NULL,
+ NULL);
+#else
ret = syscall(SYS_pselect6, 1, &rfds, (fd_set *) invalid, NULL, NULL,
NULL);
+#endif
if (ret == -1) {
perror("# pselect()");
@@ -505,6 +519,7 @@ void pselect_invalid_pointer(void)
}
+#if !defined(__FreeBSD__)
/*
* Pass an invalid pointer to epoll_pwait, should fail with
* "Bad address", the event returns 0 FDs.
@@ -591,6 +606,7 @@ void epoll_pwait_int_max(void)
end:
return;
}
+#endif
void *ppoll_writer(void *arg)
{
@@ -700,6 +716,7 @@ void ppoll_concurrent_write(void)
return;
}
+#if !defined(__FreeBSD__)
void *epoll_pwait_writer(void *addr)
{
srand(time(NULL));
@@ -795,6 +812,7 @@ end_unmap:
end:
return;
}
+#endif
void usage(poptContext optCon, int exitcode, char *error, char *addl)
{
@@ -906,18 +924,20 @@ int main(int argc, const char **argv)
case 7:
ppoll_fds_ulong_max();
break;
+#if !defined(__FreeBSD__)
case 8:
epoll_pwait_invalid_pointer();
break;
case 9:
epoll_pwait_int_max();
break;
- case 10:
- ppoll_concurrent_write();
- break;
case 11:
epoll_pwait_concurrent_munmap();
break;
+#endif
+ case 10:
+ ppoll_concurrent_write();
+ break;
default:
poptPrintUsage(optCon, stderr, 0);
ret = -1;

View file

@ -0,0 +1,11 @@
--- tests/regression/ust/baddr-statedump/Makefile.am.orig 2017-01-12 17:10:21 UTC
+++ tests/regression/ust/baddr-statedump/Makefile.am
@@ -6,7 +6,7 @@ AM_CPPFLAGS = -I$(srcdir) -g
noinst_PROGRAMS = prog
prog_SOURCES = prog.c tp.c tp.h
-prog_LDADD = -llttng-ust -ldl
+prog_LDADD = -llttng-ust
noinst_SCRIPTS = test_baddr-statedump test_baddr-statedump.py
EXTRA_DIST = test_baddr-statedump test_baddr-statedump.py

View file

@ -0,0 +1,45 @@
--- tests/regression/ust/linking/Makefile.am.orig 2017-01-12 17:07:16 UTC
+++ tests/regression/ust/linking/Makefile.am
@@ -10,6 +10,8 @@ LIBS =
demo_builtin_SOURCES = demo.c tp.c tp2.c tp3.c ust_tests_demo.h \
ust_tests_demo2.h ust_tests_demo3.h
demo_builtin_LDADD = -llttng-ust
+demo_builtin_LDFLAGS = \
+ -L/usr/local/lib
demo_builtin_CFLAGS = -Werror=old-style-definition
# Build a version statically linked to the providers
@@ -22,12 +24,16 @@ liblttng_ust_provider_ust_tests_demo_sta
tp2.c ust_tests_demo2.h
liblttng_ust_provider_ust_tests_demo_static_la_LIBADD = \
-llttng-ust
+liblttng_ust_provider_ust_tests_demo_static_la_LDFLAGS = \
+ -L/usr/local/lib
# contains ust_tests_demo3.h provider probes
liblttng_ust_provider_ust_tests_demo3_static_la_SOURCES = \
tp3.c ust_tests_demo3.h
liblttng_ust_provider_ust_tests_demo3_static_la_LIBADD = \
-llttng-ust
+liblttng_ust_provider_ust_tests_demo3_static_la_LDFLAGS = \
+ -L/usr/local/lib
demo_static_SOURCES = demo.c
demo_static_LDADD = liblttng-ust-provider-ust-tests-demo-static.la \
@@ -68,14 +74,14 @@ liblttng_ust_provider_ust_tests_demo_la_
tp2.c ust_tests_demo2.h
liblttng_ust_provider_ust_tests_demo_la_LIBADD = -llttng-ust
liblttng_ust_provider_ust_tests_demo_la_LDFLAGS = \
- $(FORCE_SHARED_LIB_OPTIONS)
+ $(FORCE_SHARED_LIB_OPTIONS) -L/usr/local/lib
#contains ust_tests_demo3.h provider probes
liblttng_ust_provider_ust_tests_demo3_la_SOURCES = \
tp3.c ust_tests_demo3.h
liblttng_ust_provider_ust_tests_demo3_la_LIBADD = -llttng-ust
liblttng_ust_provider_ust_tests_demo3_la_LDFLAGS = \
- $(FORCE_SHARED_LIB_OPTIONS)
+ $(FORCE_SHARED_LIB_OPTIONS) -L/usr/local/lib
noinst_PROGRAMS += demo
demo_SOURCES = demo.c ust_tests_demo.h

View file

@ -0,0 +1,11 @@
--- tests/regression/ust/ust-dl/Makefile.am.orig 2017-01-12 17:21:10 UTC
+++ tests/regression/ust/ust-dl/Makefile.am
@@ -19,7 +19,7 @@ AM_CPPFLAGS = -I$(srcdir) -g
noinst_PROGRAMS = prog
prog_SOURCES = prog.c
-prog_LDADD = -ldl
+prog_LDADD =
noinst_LTLIBRARIES = libzzz.la libbar.la libfoo.la libtp.la

View file

@ -0,0 +1,14 @@
--- tests/regression/ust/ust-dl/prog.c.orig 2017-01-12 17:19:54 UTC
+++ tests/regression/ust/ust-dl/prog.c
@@ -21,7 +21,11 @@ int main(int argc, char **argv)
if (!h0) {
goto get_error;
}
+#if defined(__FreeBSD__)
+ h1 = dlopen("libfoo.so", RTLD_LAZY);
+#else
h1 = dlmopen(LM_ID_BASE, "libfoo.so", RTLD_LAZY);
+#endif
if (!h1) {
goto get_error;
}

View file

@ -0,0 +1,7 @@
LTTng-tools is a set of tools to control LTTng tracing.
The project includes the LTTng session daemon
consumer daemon and relay daemon, as well as liblttng-ctl,
a C library used to communicate with the session daemon
and lttng, a command line interface to liblttng-ctl.
WWW: http://lttng.org/

View file

@ -0,0 +1,61 @@
bin/lttng
bin/lttng-crash
bin/lttng-relayd
bin/lttng-sessiond
include/lttng/channel.h
include/lttng/constant.h
include/lttng/domain.h
include/lttng/event.h
include/lttng/handle.h
include/lttng/health.h
include/lttng/load.h
include/lttng/lttng-error.h
include/lttng/lttng.h
include/lttng/save.h
include/lttng/session.h
include/lttng/snapshot.h
include/lttng/version.h.tmpl
lib/liblttng-ctl.a
lib/liblttng-ctl.so
lib/liblttng-ctl.so.0
lib/liblttng-ctl.so.0.0.0
lib/lttng/libexec/lttng-consumerd
libdata/pkgconfig/lttng-ctl.pc
man/man1/lttng-add-context.1.gz
man/man1/lttng-crash.1.gz
man/man1/lttng-create.1.gz
man/man1/lttng-destroy.1.gz
man/man1/lttng-disable-channel.1.gz
man/man1/lttng-disable-event.1.gz
man/man1/lttng-enable-channel.1.gz
man/man1/lttng-enable-event.1.gz
man/man1/lttng-help.1.gz
man/man1/lttng-list.1.gz
man/man1/lttng-load.1.gz
man/man1/lttng-metadata.1.gz
man/man1/lttng-regenerate.1.gz
man/man1/lttng-save.1.gz
man/man1/lttng-set-session.1.gz
man/man1/lttng-snapshot.1.gz
man/man1/lttng-start.1.gz
man/man1/lttng-status.1.gz
man/man1/lttng-stop.1.gz
man/man1/lttng-track.1.gz
man/man1/lttng-untrack.1.gz
man/man1/lttng-version.1.gz
man/man1/lttng-view.1.gz
man/man1/lttng.1.gz
man/man3/lttng-health-check.3.gz
man/man8/lttng-relayd.8.gz
man/man8/lttng-sessiond.8.gz
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/live-reading-howto.txt
%%PORTDOCS%%%%DOCSDIR%%/live-reading-protocol.txt
%%PORTDOCS%%%%DOCSDIR%%/python-howto.txt
%%PORTDOCS%%%%DOCSDIR%%/quickstart.txt
%%PORTDOCS%%%%DOCSDIR%%/snapshot-howto.txt
%%PORTDOCS%%%%DOCSDIR%%/streaming-howto.txt
%%PORTDOCS%%%%DOCSDIR%%/valgrind-howto.txt
share/xml/lttng/session.xsd

View file

@ -0,0 +1,31 @@
# Created by: Mahdi Mokhtari <mokhi64@gmail.com>
# $FreeBSD$
PORTNAME= lttng-ust
PORTVERSION= 2.9.0
CATEGORIES= sysutils
MASTER_SITES= http://lttng.org/files/${PORTNAME}/
MAINTAINER= mokhi64@gmail.com
COMMENT= Libraries to instrument and trace user applications
LICENSE= LGPL21 MIT GPLv2
LICENSE_COMB= dual
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
LICENSE_FILE_MIT= ${WRKSRC}/COPYING
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LIB_DEPENDS= liburcu.so:sysutils/liburcu
USES= autoreconf libtool localbase pathfix python \
shebangfix tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
post-patch:
@${REINPLACE_CMD} -e 's|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g' \
${PATCH_WRKSRC}/tools/lttng-gen-tp
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1483807828
SHA256 (lttng-ust-2.9.0.tar.bz2) = 4d541a863f42dfc685ca05024027a442c70d03594c154a43e62bc109b1ea5daf
SIZE (lttng-ust-2.9.0.tar.bz2) = 764027

View file

@ -0,0 +1,15 @@
--- config/libtool.m4.orig 2016-05-12 15:26:58 UTC
+++ config/libtool.m4
@@ -1866,6 +1866,12 @@ else
lt_cv_dlopen_libs=
case $host_os in
+ FreeBSD*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=""
+ lt_cv_dlopen_self=yes
+ ;;
+
beos*)
lt_cv_dlopen="load_add_on"
lt_cv_dlopen_libs=

View file

@ -0,0 +1,17 @@
--- doc/examples/clock-override/Makefile.orig 2016-08-25 21:53:05 UTC
+++ doc/examples/clock-override/Makefile
@@ -15,12 +15,8 @@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
- CC = $(AM_CC)
-endif
-
-LIBS = -ldl # On Linux
-#LIBS = -lc # On BSD
+#LIBS = -ldl # On Linux
+LIBS = # On FreeBSD
LOCAL_CPPFLAGS += -I.
all: lttng-ust-clock-override-example.so

View file

@ -0,0 +1,26 @@
--- doc/examples/demo-tracef/Makefile.orig 2016-08-08 21:25:36 UTC
+++ doc/examples/demo-tracef/Makefile
@@ -15,12 +15,8 @@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
- CC = $(AM_CC)
-endif
-
-LIBS = -ldl -llttng-ust # On Linux
-#LIBS = -lc # On BSD
+#LIBS = -ldl -llttng-ust # On Linux
+LIBS = -llttng-ust # On FreeBSD
LOCAL_CPPFLAGS += -I.
all: demo-tracef
@@ -31,7 +27,7 @@ demo-tracef.o: demo-tracef.c
demo-tracef: demo-tracef.o
$(CC) $(LDFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(AM_CFLAGS) \
- -o $@ $< $(LIBS)
+ -o $@ demo-tracef.o $(LIBS)
.PHONY: clean
clean:

View file

@ -0,0 +1,26 @@
--- doc/examples/demo-tracelog/Makefile.orig 2016-08-25 21:53:05 UTC
+++ doc/examples/demo-tracelog/Makefile
@@ -15,12 +15,8 @@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
- CC = $(AM_CC)
-endif
-
-LIBS = -ldl -llttng-ust # On Linux
-#LIBS = -lc # On BSD
+#LIBS = -ldl -llttng-ust # On Linux
+LIBS = -llttng-ust # On FreeBSD
LOCAL_CPPFLAGS += -I.
all: demo-tracelog
@@ -31,7 +27,7 @@ demo-tracelog.o: demo-tracelog.c
demo-tracelog: demo-tracelog.o
$(CC) $(LDFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(AM_CFLAGS) \
- -o $@ $< $(LIBS)
+ -o $@ demo-tracelog.o $(LIBS)
.PHONY: clean
clean:

View file

@ -0,0 +1,17 @@
--- doc/examples/demo/Makefile.orig 2016-08-08 21:25:36 UTC
+++ doc/examples/demo/Makefile
@@ -14,12 +14,8 @@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
- CC = $(AM_CC)
-endif
-
-LIBS = -ldl # On Linux
-#LIBS = -lc # On BSD
+#LIBS = -ldl # On Linux
+LIBS = # On FreeBSD
LOCAL_CPPFLAGS += -I.
all: demo lttng-ust-provider-ust-tests-demo.so lttng-ust-provider-ust-tests-demo3.so

View file

@ -0,0 +1,17 @@
--- doc/examples/easy-ust/Makefile.orig 2016-08-08 21:25:36 UTC
+++ doc/examples/easy-ust/Makefile
@@ -16,12 +16,8 @@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
- CC = $(AM_CC)
-endif
-
-LIBS = -ldl -llttng-ust # On Linux
-#LIBS = -lc -llttng-ust # On BSD
+#LIBS = -ldl -llttng-ust # On Linux
+LIBS = -llttng-ust # On FreeBSD
LOCAL_CPPFLAGS += -I.
all: sample

View file

@ -0,0 +1,17 @@
--- doc/examples/gen-tp/Makefile.orig 2016-08-08 21:25:36 UTC
+++ doc/examples/gen-tp/Makefile
@@ -17,12 +17,8 @@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
- CC = $(AM_CC)
-endif
-
-LIBS = -ldl -llttng-ust #On Linux
-#LIBS = -lc -llttng-ust #On BSD
+#LIBS = -ldl -llttng-ust #On Linux
+LIBS = -llttng-ust #On FreeBSD
all: sample

View file

@ -0,0 +1,17 @@
--- doc/examples/getcpu-override/Makefile.orig 2016-08-25 21:53:05 UTC
+++ doc/examples/getcpu-override/Makefile
@@ -15,12 +15,8 @@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
- CC = $(AM_CC)
-endif
-
-LIBS = -ldl # On Linux
-#LIBS = -lc # On BSD
+#LIBS = -ldl # On Linux
+LIBS = # On FreeBSD
LOCAL_CPPFLAGS += -I.
all: lttng-ust-getcpu-override-example.so

View file

@ -0,0 +1,25 @@
--- doc/examples/hello-static-lib/Makefile.orig 2016-08-08 21:25:36 UTC
+++ doc/examples/hello-static-lib/Makefile
@@ -14,19 +14,15 @@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
- CC = $(AM_CC)
-endif
-
LOCAL_CPPFLAGS += -I.
-LIBS = -ldl -llttng-ust # On Linux
-#LIBS = -lc -llttng-ust # On BSD
+#LIBS = -ldl -llttng-ust # On Linux
+LIBS = -llttng-ust # On FreeBSD
all: hello
lttng-ust-provider-hello.o: tp.c ust_tests_hello.h
$(CC) $(CPPFLAGS) $(LOCAL_CPPFLAGS) $(CFLAGS) $(AM_CPPFLAGS) \
- $(AM_CFLAGS) -c -o $@ $<
+ $(AM_CFLAGS) -c -o $@ tp.c
lttng-ust-provider-hello.a: lttng-ust-provider-hello.o
ar -rc $@ lttng-ust-provider-hello.o

View file

@ -0,0 +1,38 @@
--- doc/man/lttng-ust.3.orig 2016-11-29 22:13:51 UTC
+++ doc/man/lttng-ust.3
@@ -88,7 +88,7 @@ lttng-ust \- LTTng user space tracing
#define \fBtracepoint_enabled\fR(\fIprov_name\fR, \fIt_name\fR)
.fi
.sp
-Link with \fB-llttng-ust -ldl\fR, following this man page\&.
+Link with \fB-llttng-ust\fR, following this man page\&.
.SH "DESCRIPTION"
.sp
The \fILinux Trace Toolkit: next generation\fR <http://lttng.org/> is an open source software package used for correlated tracing of the Linux kernel, user applications, and user libraries\&.
@@ -919,7 +919,7 @@ Then, link your application with this ob
.RS 4
.\}
.nf
-cc \-o app tp\&.o app\&.o \-llttng\-ust \-ldl
+cc \-o app tp\&.o app\&.o \-llttng\-ust
.fi
.if n \{\
.RE
@@ -1004,7 +1004,7 @@ This tracepoint provider shared object i
.RS 4
.\}
.nf
-cc \-o app app\&.o tp\-define\&.o \-ldl
+cc \-o app app\&.o tp\-define\&.o
.fi
.if n \{\
.RE
@@ -1544,7 +1544,7 @@ You can compile the source files and lin
.nf
cc \-c \-I\&. tp\&.c
cc \-c app\&.c
-cc \-o app tp\&.o app\&.o \-llttng\-ust \-ldl
+cc \-o app tp\&.o app\&.o \-llttng\-ust
.fi
.if n \{\
.RE

View file

@ -0,0 +1,38 @@
--- doc/man/lttng-ust.3.txt.orig 2016-11-29 21:06:58 UTC
+++ doc/man/lttng-ust.3.txt
@@ -65,7 +65,7 @@ SYNOPSIS
#define *tracepoint*('prov_name', 't_name', ...)
#define *tracepoint_enabled*('prov_name', 't_name')
-Link with `-llttng-ust -ldl`, following this man page.
+Link with `-llttng-ust`, following this man page.
DESCRIPTION
@@ -636,7 +636,7 @@ library containing it) and with `liblttn
[role="term"]
-------------------------------------
-cc -o app tp.o app.o -llttng-ust -ldl
+cc -o app tp.o app.o -llttng-ust
-------------------------------------
@@ -696,7 +696,7 @@ libdl:
[role="term"]
--------------------------------
-cc -o app app.o tp-define.o -ldl
+cc -o app app.o tp-define.o
--------------------------------
There are two ways to dynamically load the tracepoint provider shared
@@ -1036,7 +1036,7 @@ like this:
-------------------------------------
cc -c -I. tp.c
cc -c app.c
-cc -o app tp.o app.o -llttng-ust -ldl
+cc -o app tp.o app.o -llttng-ust
-------------------------------------
Using the man:lttng(1) tool, create an LTTng tracing session, enable

View file

@ -0,0 +1,11 @@
--- include/lttng/ust-dlfcn.h.orig 2016-11-29 01:46:24 UTC
+++ include/lttng/ust-dlfcn.h
@@ -27,6 +27,8 @@
* SOFTWARE.
*/
+typedef long Lmid_t;
+
#ifdef _DLFCN_H
#error "Please include lttng/ust-dlfcn.h before dlfcn.h."
#endif /* _DLFCN_H */

View file

@ -0,0 +1,22 @@
--- include/lttng/ust-elf.h.orig 2016-10-18 22:44:06 UTC
+++ include/lttng/ust-elf.h
@@ -21,7 +21,19 @@
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#define bswap_64 bswap64
+#define __bswap_16 bswap16
+#define __bswap_32 bswap32
+#define __bswap_64 bswap64
+#define NT_GNU_BUILD_ID 3
+#else
#include <byteswap.h>
+#endif
#include <elf.h>
#include <lttng/ust-endian.h>

View file

@ -0,0 +1,30 @@
--- include/lttng/ust-tracepoint-event.h.orig 2016-11-29 01:46:24 UTC
+++ include/lttng/ust-tracepoint-event.h
@@ -28,7 +28,19 @@
#include <lttng/ringbuffer-config.h>
#include <lttng/ust-compiler.h>
#include <lttng/tracepoint.h>
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#define bswap_64 bswap64
+#define __bswap_16 bswap16
+#define __bswap_32 bswap32
+#define __bswap_64 bswap64
+#define NT_GNU_BUILD_ID 3
+#else
#include <byteswap.h>
+#endif
#include <string.h>
#define __LTTNG_UST_NULL_STRING "(null)"
@@ -941,6 +950,7 @@ static const struct lttng_event_desc __e
/* Reset all macros within TRACEPOINT_EVENT */
#include <lttng/ust-tracepoint-event-reset.h>
+#include <lttng/ust-events.h>
#undef TRACEPOINT_EVENT_INSTANCE
#define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) \

View file

@ -0,0 +1,9 @@
--- liblttng-ust-ctl/Makefile.am.orig 2017-01-31 12:55:37 UTC
+++ liblttng-ust-ctl/Makefile.am
@@ -10,5 +10,4 @@ liblttng_ust_ctl_la_LDFLAGS = \
liblttng_ust_ctl_la_LIBADD = \
$(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
$(top_builddir)/liblttng-ust/liblttng-ust-support.la \
- $(top_builddir)/snprintf/libustsnprintf.la \
- -ldl
+ $(top_builddir)/snprintf/libustsnprintf.la

View file

@ -0,0 +1,11 @@
--- liblttng-ust-ctl/Makefile.in.orig 2016-11-29 22:25:14 UTC
+++ liblttng-ust-ctl/Makefile.in
@@ -375,8 +375,7 @@ liblttng_ust_ctl_la_LIBADD = \
$(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
$(top_builddir)/liblttng-ust/liblttng-ust-support.la \
- $(top_builddir)/snprintf/libustsnprintf.la \
- -ldl
+ $(top_builddir)/snprintf/libustsnprintf.la
all: all-am

View file

@ -0,0 +1,22 @@
--- liblttng-ust-ctl/ustctl.c.orig 2016-11-29 01:46:24 UTC
+++ liblttng-ust-ctl/ustctl.c
@@ -23,7 +23,19 @@
#include <lttng/ust-abi.h>
#include <lttng/ust-events.h>
#include <sys/mman.h>
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#define bswap_64 bswap64
+#define __bswap_16 bswap16
+#define __bswap_32 bswap32
+#define __bswap_64 bswap64
+#define NT_GNU_BUILD_ID 3
+#else
#include <byteswap.h>
+#endif
#include <usterr-signal-safe.h>
#include <ust-comm.h>

View file

@ -0,0 +1,10 @@
--- liblttng-ust-dl/ust_dl.h.orig 2016-11-29 01:46:24 UTC
+++ liblttng-ust-dl/ust_dl.h
@@ -36,6 +36,7 @@ extern "C" {
#define LTTNG_UST_DL_PROVIDER
#include <lttng/tracepoint.h>
+#include <lttng/ust-dlfcn.h>
TRACEPOINT_EVENT(lttng_ust_dl, dlopen,
TP_ARGS(void *, ip, void *, baddr, const char *, path,

View file

@ -0,0 +1,10 @@
--- liblttng-ust/Makefile.am.orig 2016-11-29 01:46:24 UTC
+++ liblttng-ust/Makefile.am
@@ -89,8 +89,7 @@ liblttng_ust_la_LIBADD = \
-lpthread \
-lrt \
-lurcu-cds \
- -ldl \
$(top_builddir)/snprintf/libustsnprintf.la \
$(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
liblttng-ust-tracepoint.la \

View file

@ -0,0 +1,10 @@
--- liblttng-ust/Makefile.in.orig 2016-11-29 22:25:14 UTC
+++ liblttng-ust/Makefile.in
@@ -482,8 +482,7 @@ liblttng_ust_la_LIBADD = \
-lpthread \
-lrt \
-lurcu-cds \
- -ldl \
$(top_builddir)/snprintf/libustsnprintf.la \
$(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
liblttng-ust-tracepoint.la \

View file

@ -0,0 +1,10 @@
--- lttng-ust.pc.in.orig 2015-06-01 11:38:44 UTC
+++ lttng-ust.pc.in
@@ -8,6 +8,6 @@ Description: The LTTng Userspace Tracer
Version: @PACKAGE_VERSION@
Requires:
Requires.private: liburcu-bp
-Libs: -L${libdir} -llttng-ust -ldl
+Libs: -L${libdir} -llttng-ust
Cflags: -I${includedir}

View file

@ -0,0 +1,22 @@
--- tests/gcc-weak-hidden/Makefile.am.orig 2016-10-18 22:44:06 UTC
+++ tests/gcc-weak-hidden/Makefile.am
@@ -1,17 +1,9 @@
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests/utils
-noinst_LTLIBRARIES = libgcc-wh.la
-libgcc_wh_la_SOURCES = c.c d.c
-
-noinst_PROGRAMS = test-gcc-wh
-test_gcc_wh_SOURCES = main.c b.c
-test_gcc_wh_LDADD = $(top_builddir)/tests/utils/libtap.a \
- $(builddir)/libgcc-wh.la
-
noinst_SCRIPTS = test_gcc_weak_hidden
CLEANFILES = $(noinst_SCRIPTS)
EXTRA_DIST = test_gcc_weak_hidden.in
-$(noinst_SCRIPTS): %: %.in
- sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $< > $@
+$(noinst_SCRIPTS): $(noinst_SCRIPTS).in *
+ sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $(noinst_SCRIPTS).in > $@
chmod +x $@

View file

@ -0,0 +1,11 @@
--- tests/ust-elf/Makefile.am.orig 2016-10-18 22:44:06 UTC
+++ tests/ust-elf/Makefile.am
@@ -23,6 +23,6 @@ EXTRA_DIST = test_ust_elf.in \
$(srcdir)/data/pic/hello.c \
$(srcdir)/data/pic/libhello.c
-$(noinst_SCRIPTS): %: %.in
- sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $< > $@
+$(noinst_SCRIPTS): $(noinst_SCRIPTS).in *
+ sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $(noinst_SCRIPTS).in > $@
chmod +x $@

View file

@ -0,0 +1,8 @@
--- tools/lttng-gen-tp.orig 2017-01-08 00:38:50 UTC
+++ tools/lttng-gen-tp
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env %%PYTHON_VERSION%%
#
# Copyright (c) 2012 Yannick Brosseau <yannick.brosseau@gmail.com>
#

View file

@ -0,0 +1,6 @@
LTTng-UST is the user space tracing component of the LTTng project.
It is a port to user space of the low-overhead tracing capabilities of
the LTTng Linux kernel tracer.
The liblttng-ust library is used to trace user applications and libraries.
WWW: https://github.com/lttng/lttng-ust

View file

@ -0,0 +1,126 @@
bin/lttng-gen-tp
include/lttng/align.h
include/lttng/bug.h
include/lttng/lttng-ust-tracef.h
include/lttng/lttng-ust-tracelog.h
include/lttng/ringbuffer-abi.h
include/lttng/ringbuffer-config.h
include/lttng/tracef.h
include/lttng/tracelog.h
include/lttng/tracepoint-event.h
include/lttng/tracepoint-rcu.h
include/lttng/tracepoint-types.h
include/lttng/tracepoint.h
include/lttng/ust-abi.h
include/lttng/ust-clock.h
include/lttng/ust-compiler.h
include/lttng/ust-config.h
include/lttng/ust-ctl.h
include/lttng/ust-elf.h
include/lttng/ust-endian.h
include/lttng/ust-error.h
include/lttng/ust-events.h
include/lttng/ust-getcpu.h
include/lttng/ust-tracepoint-event-nowrite.h
include/lttng/ust-tracepoint-event-reset.h
include/lttng/ust-tracepoint-event-write.h
include/lttng/ust-tracepoint-event.h
include/lttng/ust-tracer.h
include/lttng/ust-version.h
include/lttng/ust.h
lib/liblttng-ust-ctl.a
lib/liblttng-ust-ctl.so
lib/liblttng-ust-ctl.so.2
lib/liblttng-ust-ctl.so.2.0.0
lib/liblttng-ust-cyg-profile-fast.a
lib/liblttng-ust-cyg-profile-fast.so
lib/liblttng-ust-cyg-profile-fast.so.0
lib/liblttng-ust-cyg-profile-fast.so.0.0.0
lib/liblttng-ust-cyg-profile.a
lib/liblttng-ust-cyg-profile.so
lib/liblttng-ust-cyg-profile.so.0
lib/liblttng-ust-cyg-profile.so.0.0.0
lib/liblttng-ust-dl.a
lib/liblttng-ust-dl.so
lib/liblttng-ust-dl.so.0
lib/liblttng-ust-dl.so.0.0.0
lib/liblttng-ust-fd.a
lib/liblttng-ust-fd.so
lib/liblttng-ust-fd.so.0
lib/liblttng-ust-fd.so.0.0.0
lib/liblttng-ust-fork.a
lib/liblttng-ust-fork.so
lib/liblttng-ust-fork.so.0
lib/liblttng-ust-fork.so.0.0.0
lib/liblttng-ust-libc-wrapper.a
lib/liblttng-ust-libc-wrapper.so
lib/liblttng-ust-libc-wrapper.so.0
lib/liblttng-ust-libc-wrapper.so.0.0.0
lib/liblttng-ust-pthread-wrapper.a
lib/liblttng-ust-pthread-wrapper.so
lib/liblttng-ust-pthread-wrapper.so.0
lib/liblttng-ust-pthread-wrapper.so.0.0.0
lib/liblttng-ust-tracepoint.a
lib/liblttng-ust-tracepoint.so
lib/liblttng-ust-tracepoint.so.0
lib/liblttng-ust-tracepoint.so.0.0.0
lib/liblttng-ust.a
lib/liblttng-ust.so
lib/liblttng-ust.so.0
lib/liblttng-ust.so.0.0.0
libdata/pkgconfig/lttng-ust.pc
man/man3/do_tracepoint.3.gz
man/man3/tracepoint.3.gz
man/man3/tracepoint_enabled.3.gz
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/examples/README
%%PORTDOCS%%%%DOCSDIR%%/examples/clock-override/Makefile
%%PORTDOCS%%%%DOCSDIR%%/examples/clock-override/README
%%PORTDOCS%%%%DOCSDIR%%/examples/clock-override/lttng-ust-clock-override-example.c
%%PORTDOCS%%%%DOCSDIR%%/examples/clock-override/run-clock-override
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/CMakeLists.txt
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/FindLTTngUST.cmake
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/README.md
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/aligner-lib.cpp
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/aligner-lib.h
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/aligner.cpp
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/tester-lib.cpp
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/tester-lib.h
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/tester.cpp
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/trace.sh
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/tracepoint-provider.cpp
%%PORTDOCS%%%%DOCSDIR%%/examples/cmake-multiple-shared-libraries/tracepoint-provider.h
%%PORTDOCS%%%%DOCSDIR%%/examples/demo-tracef/Makefile
%%PORTDOCS%%%%DOCSDIR%%/examples/demo-tracef/README
%%PORTDOCS%%%%DOCSDIR%%/examples/demo-tracef/demo-tracef.c
%%PORTDOCS%%%%DOCSDIR%%/examples/demo-tracelog/Makefile
%%PORTDOCS%%%%DOCSDIR%%/examples/demo-tracelog/README
%%PORTDOCS%%%%DOCSDIR%%/examples/demo-tracelog/demo-tracelog.c
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/Makefile
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/README
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/demo-trace
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/demo.c
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/tp.c
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/tp2.c
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/tp3.c
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/ust_tests_demo.h
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/ust_tests_demo2.h
%%PORTDOCS%%%%DOCSDIR%%/examples/demo/ust_tests_demo3.h
%%PORTDOCS%%%%DOCSDIR%%/examples/easy-ust/Makefile
%%PORTDOCS%%%%DOCSDIR%%/examples/easy-ust/sample.c
%%PORTDOCS%%%%DOCSDIR%%/examples/easy-ust/sample_component_provider.h
%%PORTDOCS%%%%DOCSDIR%%/examples/easy-ust/tp.c
%%PORTDOCS%%%%DOCSDIR%%/examples/gen-tp/Makefile
%%PORTDOCS%%%%DOCSDIR%%/examples/gen-tp/sample.c
%%PORTDOCS%%%%DOCSDIR%%/examples/gen-tp/sample_tracepoint.tp
%%PORTDOCS%%%%DOCSDIR%%/examples/getcpu-override/Makefile
%%PORTDOCS%%%%DOCSDIR%%/examples/getcpu-override/README
%%PORTDOCS%%%%DOCSDIR%%/examples/getcpu-override/lttng-ust-getcpu-override-example.c
%%PORTDOCS%%%%DOCSDIR%%/examples/getcpu-override/run-getcpu-override
%%PORTDOCS%%%%DOCSDIR%%/examples/hello-static-lib/Makefile
%%PORTDOCS%%%%DOCSDIR%%/examples/hello-static-lib/README
%%PORTDOCS%%%%DOCSDIR%%/examples/hello-static-lib/hello.c
%%PORTDOCS%%%%DOCSDIR%%/examples/hello-static-lib/tp.c
%%PORTDOCS%%%%DOCSDIR%%/examples/hello-static-lib/ust_tests_hello.h
%%PORTDOCS%%%%DOCSDIR%%/java-agent.txt