diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-19 15:01:55 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-20 15:29:01 +0000 |
| commit | 98729005649547b66e0c5dd8d1f469305ba9f0a4 (patch) | |
| tree | dc8773b55264ac3a07b1a33941cf6917fc52becb /meta | |
| parent | 370fd9b3fb87ae8f623384fcaa85b8dd4029a449 (diff) | |
| download | poky-98729005649547b66e0c5dd8d1f469305ba9f0a4.tar.gz | |
lttng-tools: Upgrade 2.13.1 -> 2.13.2
Drop backported patches.
(From OE-Core rev: 313279ffa9054718696ded085d3b88e2ab2972ea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch | 41 | ||||
| -rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools/87250ba19aec78f36e301494a03f5678fcb6fbb4.patch | 218 | ||||
| -rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools/8f0646a03fbf31c19b85ec367dc2c3db56e6dbf7.patch | 113 | ||||
| -rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb (renamed from meta/recipes-kernel/lttng/lttng-tools_2.13.1.bb) | 5 |
4 files changed, 1 insertions, 376 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch b/meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch deleted file mode 100644 index 24fcce41cb..0000000000 --- a/meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | From 790ef313364d1f1efb6f283705bb324eea2979ba Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Sun, 5 Sep 2021 10:13:08 +0200 | ||
| 4 | Subject: [PATCH] src/common: correct header location | ||
| 5 | |||
| 6 | sys/unistd.h is not guaranteed to exist, and does not with | ||
| 7 | e.g. musl C library. | ||
| 8 | |||
| 9 | Upstream-Status: Backport [http://git.lttng.org/?p=lttng-tools.git;a=commitdiff;h=8f14767d33f786d895e50633fb46b880249b6c54] | ||
| 10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 11 | --- | ||
| 12 | src/common/kernel-probe.c | 2 +- | ||
| 13 | src/common/userspace-probe.c | 2 +- | ||
| 14 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/src/common/kernel-probe.c b/src/common/kernel-probe.c | ||
| 17 | index 2beb53f..44100bc 100644 | ||
| 18 | --- a/src/common/kernel-probe.c | ||
| 19 | +++ b/src/common/kernel-probe.c | ||
| 20 | @@ -20,7 +20,7 @@ | ||
| 21 | #include <lttng/kernel-probe.h> | ||
| 22 | #include <sys/stat.h> | ||
| 23 | #include <sys/types.h> | ||
| 24 | -#include <sys/unistd.h> | ||
| 25 | +#include <unistd.h> | ||
| 26 | |||
| 27 | static | ||
| 28 | int lttng_kernel_probe_location_address_serialize( | ||
| 29 | diff --git a/src/common/userspace-probe.c b/src/common/userspace-probe.c | ||
| 30 | index 67b0ee6..66afc6f 100644 | ||
| 31 | --- a/src/common/userspace-probe.c | ||
| 32 | +++ b/src/common/userspace-probe.c | ||
| 33 | @@ -20,7 +20,7 @@ | ||
| 34 | #include <lttng/userspace-probe-internal.h> | ||
| 35 | #include <sys/stat.h> | ||
| 36 | #include <sys/types.h> | ||
| 37 | -#include <sys/unistd.h> | ||
| 38 | +#include <unistd.h> | ||
| 39 | |||
| 40 | static | ||
| 41 | int lttng_userspace_probe_location_function_set_binary_fd_handle( | ||
diff --git a/meta/recipes-kernel/lttng/lttng-tools/87250ba19aec78f36e301494a03f5678fcb6fbb4.patch b/meta/recipes-kernel/lttng/lttng-tools/87250ba19aec78f36e301494a03f5678fcb6fbb4.patch deleted file mode 100644 index f4db4f86fe..0000000000 --- a/meta/recipes-kernel/lttng/lttng-tools/87250ba19aec78f36e301494a03f5678fcb6fbb4.patch +++ /dev/null | |||
| @@ -1,218 +0,0 @@ | |||
| 1 | Upstream-Status: Backport | ||
| 2 | |||
| 3 | From 87250ba19aec78f36e301494a03f5678fcb6fbb4 Mon Sep 17 00:00:00 2001 | ||
| 4 | From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Galarneau?= | ||
| 5 | <jeremie.galarneau@efficios.com> | ||
| 6 | Date: Mon, 1 Nov 2021 15:43:55 -0400 | ||
| 7 | Subject: [PATCH] Fix: relayd: live: mishandled initial null trace chunk | ||
| 8 | MIME-Version: 1.0 | ||
| 9 | Content-Type: text/plain; charset=UTF-8 | ||
| 10 | Content-Transfer-Encoding: 8bit | ||
| 11 | |||
| 12 | Observed issue | ||
| 13 | ============== | ||
| 14 | |||
| 15 | As reported in #1323 (https://bugs.lttng.org/issues/1323), crashes of | ||
| 16 | the relay daemon are observed when running the user space clear tests. | ||
| 17 | |||
| 18 | The crash occurs with the following stack trace: | ||
| 19 | #0 0x000055fbb861d6ae in urcu_ref_get_unless_zero (ref=0x28) at /usr/local/include/urcu/ref.h:85 | ||
| 20 | #1 lttng_trace_chunk_get (chunk=0x0) at trace-chunk.c:1836 | ||
| 21 | #2 0x000055fbb86051e2 in make_viewer_streams (relay_session=relay_session@entry=0x7f6ea002d540, viewer_session=<optimized out>, seek_t=seek_t@entry=LTTNG_VIEWER_SEEK_BEGINNING, nb_total=nb_total@entry=0x7f6ea9607b00, nb_unsent=nb_unsent@entry=0x7f6ea9607aec, nb_created=nb_created@entry=0x7f6ea9607ae8, closed=<optimized out>) at live.c:405 | ||
| 22 | #3 0x000055fbb86061d9 in viewer_get_new_streams (conn=0x7f6e94000fc0) at live.c:1155 | ||
| 23 | #4 process_control (conn=0x7f6e94000fc0, recv_hdr=0x7f6ea9607af0) at live.c:2353 | ||
| 24 | #5 thread_worker (data=<optimized out>) at live.c:2515 | ||
| 25 | #6 0x00007f6eae86a609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 | ||
| 26 | #7 0x00007f6eae78f293 in clone () from /lib/x86_64-linux-gnu/libc.so.6 | ||
| 27 | |||
| 28 | The race window during which this occurs seems very small as it can take | ||
| 29 | hours to reproduce this crash. However, a minimal reproducer could be | ||
| 30 | identified, as stated in the bug report. | ||
| 31 | |||
| 32 | Essentially, the same crash can be reproduced by attaching a live viewer | ||
| 33 | to a session that has seen events being produced, been stopped and been | ||
| 34 | cleared. | ||
| 35 | |||
| 36 | Cause | ||
| 37 | ===== | ||
| 38 | |||
| 39 | The crash occurs as an attempt is made to take a reference to a viewer | ||
| 40 | session’s trace chunk as viewer streams are created. The crux of the | ||
| 41 | problem is that the code doesn’t expect a viewer session’s trace chunk | ||
| 42 | to be NULL. | ||
| 43 | |||
| 44 | The viewer session’s current trace chunk is initially set, when a viewer | ||
| 45 | attaches to the viewer session, to a copy the corresponding | ||
| 46 | relay_session’s current trace chunk. | ||
| 47 | |||
| 48 | A live session always attempts to "catch-up" to the newest available | ||
| 49 | trace chunk. This means that when a viewer reaches the end of a trace | ||
| 50 | chunk, the viewer session may not transition to the "next" one: it jumps | ||
| 51 | to the most recent trace chunk available (the one being produced by the | ||
| 52 | relay_session). Hence, if the producer performs multiple rotations | ||
| 53 | before a viewer completes the consumption of a trace chunk, it will skip | ||
| 54 | over those "intermediary" trace chunks. | ||
| 55 | |||
| 56 | A viewer session updates its current trace chunk when: | ||
| 57 | 1) new viewer streams are created, | ||
| 58 | 2) a new index is requested, | ||
| 59 | 3) metadata is requested. | ||
| 60 | |||
| 61 | Hence, as a general principle, the viewer session will reference the | ||
| 62 | most recent trace chunk available _even if its streams do not point to | ||
| 63 | it_. It indicates which trace chunk viewer streams should transition to | ||
| 64 | when the end of their current trace chunk is reached. | ||
| 65 | |||
| 66 | The live code properly handles transitions to a null chunk. This can be | ||
| 67 | verified by attaching a viewer to a live session, stopping the session, | ||
| 68 | clearing it (thus entering a null trace chunk), and resuming tracing. | ||
| 69 | |||
| 70 | The only issue is that the case where the first trace chunk of a viewer | ||
| 71 | session is "null" (no active trace chunk) is mishandled in two places: | ||
| 72 | 1) in make_viewer_streams(), where the crash is observed, | ||
| 73 | 2) in viewer_get_metadata(). | ||
| 74 | |||
| 75 | Solution | ||
| 76 | ======== | ||
| 77 | |||
| 78 | In make_viewer_streams(), it is assumed that a viewer session will have | ||
| 79 | a non-null trace chunk whenever a rotation is not ongoing. This is | ||
| 80 | reflected by the fact that a reference is always acquired on the viewer | ||
| 81 | session’s trace chunk. | ||
| 82 | |||
| 83 | That code is one of the three places that can cause a viewer session’s | ||
| 84 | trace chunk to be updated. We still want to update the viewer session to | ||
| 85 | the most recently seen trace chunk (null, in this case). However, there | ||
| 86 | is no reference to acquire and the trace chunk to use for the creation | ||
| 87 | of the viewer stream is NULL. This is properly handled by | ||
| 88 | viewer_stream_create(). | ||
| 89 | |||
| 90 | The second site to change is viewer_get_metadata() which doesn’t handle | ||
| 91 | a viewer metadata stream not having an active trace chunk at all. | ||
| 92 | Thankfully, the protocol allows us to express this condition by | ||
| 93 | returning the LTTNG_VIEWER_NO_NEW_METADATA status code when a viewer | ||
| 94 | metadata stream doesn’t have an open file and doesn’t have a current | ||
| 95 | trace chunk. | ||
| 96 | |||
| 97 | Surprisingly, this bug didn’t trigger in the case where a transition to | ||
| 98 | a null chunk occurred _after_ attaching to a viewer session. | ||
| 99 | |||
| 100 | This is because viewers will typically ask for metadata as a result of an | ||
| 101 | LTTNG_VIEWER_FLAG_NEW_METADATA reply to the GET_NEXT_INDEX command. When | ||
| 102 | a session is stopped and all data was consumed, this command returns | ||
| 103 | that no new data is available, causing the viewers to wait and ask again | ||
| 104 | later. | ||
| 105 | |||
| 106 | However, when attaching, babeltrace2 (at least, and probably babeltrace 1.x) | ||
| 107 | always asks for an initial segment of metadata before asking for an | ||
| 108 | index. | ||
| 109 | |||
| 110 | Known drawbacks | ||
| 111 | =============== | ||
| 112 | |||
| 113 | None. | ||
| 114 | |||
| 115 | Fixes: #1323 | ||
| 116 | |||
| 117 | Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com> | ||
| 118 | Change-Id: I516fca60755e6897f6b7170c12d706ef57ad61a5 | ||
| 119 | --- | ||
| 120 | src/bin/lttng-relayd/live.c | 47 ++++++++++++++++++++++++----------- | ||
| 121 | src/bin/lttng-relayd/stream.h | 5 ++++ | ||
| 122 | 2 files changed, 38 insertions(+), 14 deletions(-) | ||
| 123 | |||
| 124 | Index: lttng-tools-2.13.1/src/bin/lttng-relayd/live.c | ||
| 125 | =================================================================== | ||
| 126 | --- lttng-tools-2.13.1.orig/src/bin/lttng-relayd/live.c | ||
| 127 | +++ lttng-tools-2.13.1/src/bin/lttng-relayd/live.c | ||
| 128 | @@ -384,8 +384,6 @@ static int make_viewer_streams(struct re | ||
| 129 | goto error_unlock; | ||
| 130 | } | ||
| 131 | } else { | ||
| 132 | - bool reference_acquired; | ||
| 133 | - | ||
| 134 | /* | ||
| 135 | * Transition the viewer session into the newest trace chunk available. | ||
| 136 | */ | ||
| 137 | @@ -402,11 +400,26 @@ static int make_viewer_streams(struct re | ||
| 138 | } | ||
| 139 | } | ||
| 140 | |||
| 141 | - reference_acquired = lttng_trace_chunk_get( | ||
| 142 | - viewer_session->current_trace_chunk); | ||
| 143 | - assert(reference_acquired); | ||
| 144 | - viewer_stream_trace_chunk = | ||
| 145 | - viewer_session->current_trace_chunk; | ||
| 146 | + if (relay_stream->trace_chunk) { | ||
| 147 | + /* | ||
| 148 | + * If the corresponding relay | ||
| 149 | + * stream's trace chunk is set, | ||
| 150 | + * the viewer stream will be | ||
| 151 | + * created under it. | ||
| 152 | + * | ||
| 153 | + * Note that a relay stream can | ||
| 154 | + * have a NULL output trace | ||
| 155 | + * chunk (for instance, after a | ||
| 156 | + * clear against a stopped | ||
| 157 | + * session). | ||
| 158 | + */ | ||
| 159 | + const bool reference_acquired = lttng_trace_chunk_get( | ||
| 160 | + viewer_session->current_trace_chunk); | ||
| 161 | + | ||
| 162 | + assert(reference_acquired); | ||
| 163 | + viewer_stream_trace_chunk = | ||
| 164 | + viewer_session->current_trace_chunk; | ||
| 165 | + } | ||
| 166 | } | ||
| 167 | |||
| 168 | viewer_stream = viewer_stream_create( | ||
| 169 | @@ -2016,8 +2029,9 @@ int viewer_get_metadata(struct relay_con | ||
| 170 | } | ||
| 171 | } | ||
| 172 | |||
| 173 | - if (conn->viewer_session->current_trace_chunk != | ||
| 174 | - vstream->stream_file.trace_chunk) { | ||
| 175 | + if (conn->viewer_session->current_trace_chunk && | ||
| 176 | + conn->viewer_session->current_trace_chunk != | ||
| 177 | + vstream->stream_file.trace_chunk) { | ||
| 178 | bool acquired_reference; | ||
| 179 | |||
| 180 | DBG("Viewer session and viewer stream chunk differ: " | ||
| 181 | @@ -2034,11 +2048,16 @@ int viewer_get_metadata(struct relay_con | ||
| 182 | |||
| 183 | len = vstream->stream->metadata_received - vstream->metadata_sent; | ||
| 184 | |||
| 185 | - /* | ||
| 186 | - * Either this is the first time the metadata file is read, or a | ||
| 187 | - * rotation of the corresponding relay stream has occurred. | ||
| 188 | - */ | ||
| 189 | - if (!vstream->stream_file.handle && len > 0) { | ||
| 190 | + if (!vstream->stream_file.trace_chunk) { | ||
| 191 | + reply.status = htobe32(LTTNG_VIEWER_NO_NEW_METADATA); | ||
| 192 | + len = 0; | ||
| 193 | + goto send_reply; | ||
| 194 | + } else if (vstream->stream_file.trace_chunk && | ||
| 195 | + !vstream->stream_file.handle && len > 0) { | ||
| 196 | + /* | ||
| 197 | + * Either this is the first time the metadata file is read, or a | ||
| 198 | + * rotation of the corresponding relay stream has occurred. | ||
| 199 | + */ | ||
| 200 | struct fs_handle *fs_handle; | ||
| 201 | char file_path[LTTNG_PATH_MAX]; | ||
| 202 | enum lttng_trace_chunk_status status; | ||
| 203 | Index: lttng-tools-2.13.1/src/bin/lttng-relayd/stream.h | ||
| 204 | =================================================================== | ||
| 205 | --- lttng-tools-2.13.1.orig/src/bin/lttng-relayd/stream.h | ||
| 206 | +++ lttng-tools-2.13.1/src/bin/lttng-relayd/stream.h | ||
| 207 | @@ -174,6 +174,11 @@ struct relay_stream { | ||
| 208 | /* | ||
| 209 | * The trace chunk to which the file currently being produced (if any) | ||
| 210 | * belongs. | ||
| 211 | + * | ||
| 212 | + * Note that a relay stream can have no output trace chunk. For | ||
| 213 | + * instance, after a session stop followed by a session clear, | ||
| 214 | + * streams will not have an output trace chunk until the session | ||
| 215 | + * is resumed. | ||
| 216 | */ | ||
| 217 | struct lttng_trace_chunk *trace_chunk; | ||
| 218 | LTTNG_OPTIONAL(struct relay_stream_rotation) ongoing_rotation; | ||
diff --git a/meta/recipes-kernel/lttng/lttng-tools/8f0646a03fbf31c19b85ec367dc2c3db56e6dbf7.patch b/meta/recipes-kernel/lttng/lttng-tools/8f0646a03fbf31c19b85ec367dc2c3db56e6dbf7.patch deleted file mode 100644 index db2fca03fe..0000000000 --- a/meta/recipes-kernel/lttng/lttng-tools/8f0646a03fbf31c19b85ec367dc2c3db56e6dbf7.patch +++ /dev/null | |||
| @@ -1,113 +0,0 @@ | |||
| 1 | Upstream-Status: Backport | ||
| 2 | |||
| 3 | From 8f0646a03fbf31c19b85ec367dc2c3db56e6dbf7 Mon Sep 17 00:00:00 2001 | ||
| 4 | From: Francis Deslauriers <francis.deslauriers@efficios.com> | ||
| 5 | Date: Mon, 25 Oct 2021 11:32:24 -0400 | ||
| 6 | Subject: [PATCH] Typo: occurences -> occurrences | ||
| 7 | MIME-Version: 1.0 | ||
| 8 | Content-Type: text/plain; charset=UTF-8 | ||
| 9 | Content-Transfer-Encoding: 8bit | ||
| 10 | |||
| 11 | Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com> | ||
| 12 | Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com> | ||
| 13 | Change-Id: I719e26febd639f3b047b6aa6361fc6734088e871 | ||
| 14 | --- | ||
| 15 | configure.ac | 2 +- | ||
| 16 | src/bin/lttng-relayd/live.c | 2 +- | ||
| 17 | src/bin/lttng-sessiond/event-notifier-error-accounting.c | 2 +- | ||
| 18 | src/bin/lttng-sessiond/ust-app.c | 2 +- | ||
| 19 | tests/utils/utils.sh | 8 ++++---- | ||
| 20 | 5 files changed, 8 insertions(+), 8 deletions(-) | ||
| 21 | |||
| 22 | diff --git a/configure.ac b/configure.ac | ||
| 23 | index 12cc7a17e..27148c105 100644 | ||
| 24 | --- a/configure.ac | ||
| 25 | +++ b/configure.ac | ||
| 26 | @@ -253,7 +253,7 @@ AS_IF([test "x$libtool_fixup" = "xyes"], | ||
| 27 | [ | ||
| 28 | libtool_m4="$srcdir/m4/libtool.m4" | ||
| 29 | libtool_flag_pattern=".*link_all_deplibs\s*,\s*\$1\s*)" | ||
| 30 | - AC_MSG_CHECKING([for occurence(s) of link_all_deplibs = no in $libtool_m4]) | ||
| 31 | + AC_MSG_CHECKING([for occurrence(s) of link_all_deplibs = no in $libtool_m4]) | ||
| 32 | libtool_flag_pattern_count=$($GREP -c "$libtool_flag_pattern\s*=\s*no" $libtool_m4) | ||
| 33 | AS_IF([test $libtool_flag_pattern_count -ne 0], | ||
| 34 | [ | ||
| 35 | diff --git a/src/bin/lttng-relayd/live.c b/src/bin/lttng-relayd/live.c | ||
| 36 | index 13078026b..42b0d947e 100644 | ||
| 37 | --- a/src/bin/lttng-relayd/live.c | ||
| 38 | +++ b/src/bin/lttng-relayd/live.c | ||
| 39 | @@ -2036,7 +2036,7 @@ int viewer_get_metadata(struct relay_connection *conn) | ||
| 40 | |||
| 41 | /* | ||
| 42 | * Either this is the first time the metadata file is read, or a | ||
| 43 | - * rotation of the corresponding relay stream has occured. | ||
| 44 | + * rotation of the corresponding relay stream has occurred. | ||
| 45 | */ | ||
| 46 | if (!vstream->stream_file.handle && len > 0) { | ||
| 47 | struct fs_handle *fs_handle; | ||
| 48 | diff --git a/src/bin/lttng-sessiond/event-notifier-error-accounting.c b/src/bin/lttng-sessiond/event-notifier-error-accounting.c | ||
| 49 | index d3e3692f5..1488d801c 100644 | ||
| 50 | --- a/src/bin/lttng-sessiond/event-notifier-error-accounting.c | ||
| 51 | +++ b/src/bin/lttng-sessiond/event-notifier-error-accounting.c | ||
| 52 | @@ -488,7 +488,7 @@ struct ust_error_accounting_entry *ust_error_accounting_entry_create( | ||
| 53 | lttng_ust_ctl_destroy_counter(daemon_counter); | ||
| 54 | error_create_daemon_counter: | ||
| 55 | error_shm_alloc: | ||
| 56 | - /* Error occured before per-cpu SHMs were handed-off to ustctl. */ | ||
| 57 | + /* Error occurred before per-cpu SHMs were handed-off to ustctl. */ | ||
| 58 | if (cpu_counter_fds) { | ||
| 59 | for (i = 0; i < entry->nr_counter_cpu_fds; i++) { | ||
| 60 | if (cpu_counter_fds[i] < 0) { | ||
| 61 | diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c | ||
| 62 | index b18988560..28c63e70c 100644 | ||
| 63 | --- a/src/bin/lttng-sessiond/ust-app.c | ||
| 64 | +++ b/src/bin/lttng-sessiond/ust-app.c | ||
| 65 | @@ -1342,7 +1342,7 @@ static struct ust_app_event_notifier_rule *alloc_ust_app_event_notifier_rule( | ||
| 66 | case LTTNG_EVENT_RULE_GENERATE_EXCLUSIONS_STATUS_NONE: | ||
| 67 | break; | ||
| 68 | default: | ||
| 69 | - /* Error occured. */ | ||
| 70 | + /* Error occurred. */ | ||
| 71 | ERR("Failed to generate exclusions from trigger while allocating an event notifier rule"); | ||
| 72 | goto error_put_trigger; | ||
| 73 | } | ||
| 74 | diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh | ||
| 75 | index e463e4fe3..42d99444f 100644 | ||
| 76 | --- a/tests/utils/utils.sh | ||
| 77 | +++ b/tests/utils/utils.sh | ||
| 78 | @@ -1921,7 +1921,7 @@ function validate_trace | ||
| 79 | pass "Validate trace for event $i, $traced events" | ||
| 80 | else | ||
| 81 | fail "Validate trace for event $i" | ||
| 82 | - diag "Found $traced occurences of $i" | ||
| 83 | + diag "Found $traced occurrences of $i" | ||
| 84 | fi | ||
| 85 | done | ||
| 86 | ret=$? | ||
| 87 | @@ -1949,7 +1949,7 @@ function validate_trace_count | ||
| 88 | pass "Validate trace for event $i, $traced events" | ||
| 89 | else | ||
| 90 | fail "Validate trace for event $i" | ||
| 91 | - diag "Found $traced occurences of $i" | ||
| 92 | + diag "Found $traced occurrences of $i" | ||
| 93 | fi | ||
| 94 | cnt=$(($cnt + $traced)) | ||
| 95 | done | ||
| 96 | @@ -1979,7 +1979,7 @@ function validate_trace_count_range_incl_min_excl_max | ||
| 97 | pass "Validate trace for event $i, $traced events" | ||
| 98 | else | ||
| 99 | fail "Validate trace for event $i" | ||
| 100 | - diag "Found $traced occurences of $i" | ||
| 101 | + diag "Found $traced occurrences of $i" | ||
| 102 | fi | ||
| 103 | cnt=$(($cnt + $traced)) | ||
| 104 | done | ||
| 105 | @@ -2013,7 +2013,7 @@ function validate_trace_exp() | ||
| 106 | pass "Validate trace for expression '${event_exp}', $traced events" | ||
| 107 | else | ||
| 108 | fail "Validate trace for expression '${event_exp}'" | ||
| 109 | - diag "Found $traced occurences of '${event_exp}'" | ||
| 110 | + diag "Found $traced occurrences of '${event_exp}'" | ||
| 111 | fi | ||
| 112 | ret=$? | ||
| 113 | return $ret | ||
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.13.1.bb b/meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb index 7ae02d92d2..d6ce2c7e32 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.13.1.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb | |||
| @@ -36,13 +36,10 @@ SRC_URI = "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \ | |||
| 36 | file://run-ptest \ | 36 | file://run-ptest \ |
| 37 | file://lttng-sessiond.service \ | 37 | file://lttng-sessiond.service \ |
| 38 | file://determinism.patch \ | 38 | file://determinism.patch \ |
| 39 | file://0001-src-common-correct-header-location.patch \ | ||
| 40 | file://8f0646a03fbf31c19b85ec367dc2c3db56e6dbf7.patch \ | ||
| 41 | file://87250ba19aec78f36e301494a03f5678fcb6fbb4.patch \ | ||
| 42 | file://disable-tests.patch \ | 39 | file://disable-tests.patch \ |
| 43 | " | 40 | " |
| 44 | 41 | ||
| 45 | SRC_URI[sha256sum] = "cfe6df7da831fc07fd07ce46b442c2ec1074c167af73f3a1b1d2fba0c453c8b5" | 42 | SRC_URI[sha256sum] = "ced2ba00020da77fd17ac92b5a53825502409a07e3aeca28f9515d4a844fd7bd" |
| 46 | 43 | ||
| 47 | inherit autotools ptest pkgconfig useradd python3-dir manpages systemd | 44 | inherit autotools ptest pkgconfig useradd python3-dir manpages systemd |
| 48 | 45 | ||
