Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysutils/lttng-ust: Update version 2.9.0=>2.13.2
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
- Loading branch information
Showing
33 changed files
with
391 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1483807828 | ||
SHA256 (lttng-ust-2.9.0.tar.bz2) = 4d541a863f42dfc685ca05024027a442c70d03594c154a43e62bc109b1ea5daf | ||
SIZE (lttng-ust-2.9.0.tar.bz2) = 764027 | ||
TIMESTAMP = 1649309595 | ||
SHA256 (lttng-ust-2.13.2.tar.bz2) = 08679a1dfc2c9428885273861628aa5d828972f389a38bb08fdce39adee589b7 | ||
SIZE (lttng-ust-2.13.2.tar.bz2) = 1327075 |
This file was deleted.
Oops, something went wrong.
10 changes: 3 additions & 7 deletions
10
sysutils/lttng-ust/files/patch-doc_examples_clock-override_Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
--- doc/examples/clock-override/Makefile.orig 2016-08-25 21:53:05 UTC | ||
--- doc/examples/clock-override/Makefile.orig 2022-03-25 15:37:17 UTC | ||
+++ doc/examples/clock-override/Makefile | ||
@@ -15,12 +15,8 @@ | ||
@@ -8,8 +8,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. | ||
AM_V_P := : | ||
|
||
all: lttng-ust-clock-override-example.so |
18 changes: 18 additions & 0 deletions
18
...tng-ust/files/patch-doc_examples_cmake-multiple-shared-libraries_cmake_FindLTTngUST.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- doc/examples/cmake-multiple-shared-libraries/cmake/FindLTTngUST.cmake.orig 2022-01-27 20:18:46 UTC | ||
+++ doc/examples/cmake-multiple-shared-libraries/cmake/FindLTTngUST.cmake | ||
@@ -97,13 +97,13 @@ if(LTTNGUST_INCLUDE_DIRS AND LTTNGUST_INCLUDE_DIRS_GEN | ||
add_library(LTTng::UST UNKNOWN IMPORTED) | ||
set_target_properties(LTTng::UST PROPERTIES | ||
INTERFACE_INCLUDE_DIRECTORIES "${LTTNGUST_INCLUDE_DIRS};${LTTNGUST_INCLUDE_DIRS_GENERATED}" | ||
- INTERFACE_LINK_LIBRARIES ${CMAKE_DL_LIBS} | ||
+ INTERFACE_LINK_LIBRARIES "${CMAKE_DL_LIBS}" | ||
IMPORTED_LINK_INTERFACE_LANGUAGES "C" | ||
IMPORTED_LOCATION "${LTTNGUST_LIBRARIES}") | ||
endif() | ||
|
||
# add libdl to required libraries | ||
- set(LTTNGUST_LIBRARIES ${LTTNGUST_LIBRARIES} ${CMAKE_DL_LIBS}) | ||
+ set(LTTNGUST_LIBRARIES ${LTTNGUST_LIBRARIES} "${CMAKE_DL_LIBS}") | ||
endif() | ||
|
||
# handle the QUIETLY and REQUIRED arguments and set LTTNGUST_FOUND to |
10 changes: 3 additions & 7 deletions
10
sysutils/lttng-ust/files/patch-doc_examples_demo-tracef_Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
--- doc/examples/demo-tracef/Makefile.orig 2016-08-08 21:25:36 UTC | ||
--- doc/examples/demo-tracef/Makefile.orig 2022-03-25 15:37:17 UTC | ||
+++ doc/examples/demo-tracef/Makefile | ||
@@ -15,12 +15,8 @@ | ||
@@ -8,8 +8,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. | ||
AM_V_P := : | ||
|
||
all: demo-tracef |
10 changes: 3 additions & 7 deletions
10
sysutils/lttng-ust/files/patch-doc_examples_demo-tracelog_Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
--- doc/examples/demo-tracelog/Makefile.orig 2016-08-25 21:53:05 UTC | ||
--- doc/examples/demo-tracelog/Makefile.orig 2022-03-25 15:37:17 UTC | ||
+++ doc/examples/demo-tracelog/Makefile | ||
@@ -15,12 +15,8 @@ | ||
@@ -8,8 +8,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. | ||
AM_V_P := : | ||
|
||
all: demo-tracelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
--- doc/examples/demo/Makefile.orig 2016-08-08 21:25:36 UTC | ||
--- doc/examples/demo/Makefile.orig 2022-03-25 15:37:17 UTC | ||
+++ doc/examples/demo/Makefile | ||
@@ -14,12 +14,8 @@ | ||
@@ -7,8 +7,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. | ||
AM_V_P := : | ||
|
||
all: demo lttng-ust-provider-ust-tests-demo.so lttng-ust-provider-ust-tests-demo3.so |
10 changes: 3 additions & 7 deletions
10
sysutils/lttng-ust/files/patch-doc_examples_easy-ust_Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
--- doc/examples/easy-ust/Makefile.orig 2016-08-08 21:25:36 UTC | ||
--- doc/examples/easy-ust/Makefile.orig 2022-03-25 15:37:17 UTC | ||
+++ doc/examples/easy-ust/Makefile | ||
@@ -16,12 +16,8 @@ | ||
@@ -9,8 +9,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. | ||
AM_V_P := : | ||
|
||
all: sample |
14 changes: 5 additions & 9 deletions
14
sysutils/lttng-ust/files/patch-doc_examples_gen-tp_Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
--- doc/examples/gen-tp/Makefile.orig 2016-08-08 21:25:36 UTC | ||
--- doc/examples/gen-tp/Makefile.orig 2022-03-25 15:37:17 UTC | ||
+++ doc/examples/gen-tp/Makefile | ||
@@ -17,12 +17,8 @@ | ||
# | ||
# This makefile is purposefully kept simple to support GNU and BSD make. | ||
@@ -12,8 +12,8 @@ | ||
|
||
PYTHON := python | ||
|
||
-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 | ||
AM_V_P := : | ||
|
||
all: sample | ||
|
10 changes: 3 additions & 7 deletions
10
sysutils/lttng-ust/files/patch-doc_examples_getcpu-override_Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
--- doc/examples/getcpu-override/Makefile.orig 2016-08-25 21:53:05 UTC | ||
--- doc/examples/getcpu-override/Makefile.orig 2022-03-25 15:37:17 UTC | ||
+++ doc/examples/getcpu-override/Makefile | ||
@@ -15,12 +15,8 @@ | ||
@@ -8,8 +8,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. | ||
AM_V_P := : | ||
|
||
all: lttng-ust-getcpu-override-example.so |
13 changes: 4 additions & 9 deletions
13
sysutils/lttng-ust/files/patch-doc_examples_hello-static-lib_Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
--- doc/examples/hello-static-lib/Makefile.orig 2016-08-08 21:25:36 UTC | ||
--- doc/examples/hello-static-lib/Makefile.orig 2022-03-25 15:37:17 UTC | ||
+++ doc/examples/hello-static-lib/Makefile | ||
@@ -14,13 +14,9 @@ | ||
# | ||
@@ -8,8 +8,8 @@ | ||
# 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 | ||
AM_V_P := : | ||
AR ?= ar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,53 @@ | ||
--- doc/man/lttng-ust.3.orig 2016-11-29 22:13:51 UTC | ||
--- doc/man/lttng-ust.3.orig 2022-03-25 17:53:42 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" | ||
@@ -2,12 +2,12 @@ | ||
.\" Title: lttng-ust | ||
.\" Author: [see the "AUTHORS" section] | ||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> | ||
-.\" Date: 03/25/2022 | ||
+.\" Date: 04/07/2022 | ||
.\" Manual: LTTng Manual | ||
.\" Source: LTTng 2.13.2 | ||
.\" Language: English | ||
.\" | ||
-.TH "LTTNG\-UST" "3" "03/25/2022" "LTTng 2\&.13\&.2" "LTTng Manual" | ||
+.TH "LTTNG\-UST" "3" "04/07/2022" "LTTng 2\&.13\&.2" "LTTng Manual" | ||
.\" ----------------------------------------------------------------- | ||
.\" * Define some portability stuff | ||
.\" ----------------------------------------------------------------- | ||
@@ -114,7 +114,7 @@ Link with, following this manual page: | ||
.sp -1 | ||
.IP \(bu 2.3 | ||
.\} | ||
-\fB-llttng-ust -ldl\fR | ||
+\fB-llttng-ust\fR | ||
.RE | ||
.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 | ||
@@ -1066,7 +1066,7 @@ Then, link your application with this object file (or | ||
.RS 4 | ||
.\} | ||
.nf | ||
-cc \-o app tp\&.o app\&.o \-llttng\-ust \-ldl | ||
+cc \-o app tp\&.o app\&.o \-llttng\-ust | ||
-$ 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 | ||
@@ -1151,7 +1151,7 @@ This tracepoint provider shared object isn\(cqt linked | ||
.RS 4 | ||
.\} | ||
.nf | ||
-cc \-o app app\&.o tp\-define\&.o \-ldl | ||
+cc \-o app app\&.o tp\-define\&.o | ||
-$ 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 | ||
@@ -1823,7 +1823,7 @@ You can compile the source files and link them togethe | ||
.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 | ||
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
--- doc/man/lttng-ust.3.txt.orig 2016-11-29 21:06:58 UTC | ||
--- doc/man/lttng-ust.3.txt.orig 2022-03-25 15:37:17 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') | ||
@@ -83,7 +83,7 @@ SYNOPSIS | ||
|
||
-Link with `-llttng-ust -ldl`, following this man page. | ||
+Link with `-llttng-ust`, following this man page. | ||
Link with, following this manual page: | ||
|
||
-* `-llttng-ust -ldl` | ||
+* `-llttng-ust` | ||
* If you define `_LGPL_SOURCE` before including | ||
`<lttng/tracepoint.h>` (directly or indirectly): `-llttng-ust-common` | ||
|
||
DESCRIPTION | ||
@@ -636,7 +636,7 @@ library containing it) and with `liblttn | ||
@@ -737,7 +737,7 @@ BSD system): | ||
|
||
[role="term"] | ||
------------------------------------- | ||
-cc -o app tp.o app.o -llttng-ust -ldl | ||
+cc -o app tp.o app.o -llttng-ust | ||
------------------------------------- | ||
---- | ||
-$ cc -o app tp.o app.o -llttng-ust -ldl | ||
+$ cc -o app tp.o app.o -llttng-ust | ||
---- | ||
|
||
|
||
@@ -696,7 +696,7 @@ libdl: | ||
@@ -797,7 +797,7 @@ libdl: | ||
|
||
[role="term"] | ||
-------------------------------- | ||
-cc -o app app.o tp-define.o -ldl | ||
+cc -o app app.o tp-define.o | ||
-------------------------------- | ||
---- | ||
-$ 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 | ||
------------------------------------- | ||
@@ -1221,7 +1221,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 |
Oops, something went wrong.