summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch40
-rw-r--r--meta-oe/recipes-devtools/perfetto/libperfetto.bb2
-rw-r--r--meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch2
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto.bb10
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto.inc6
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch42
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch105
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch28
8 files changed, 34 insertions, 201 deletions
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch b/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch
deleted file mode 100644
index 3b7ca951ae..0000000000
--- a/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 485c21940eb0100a33b7efea40a83e7f79e765f8 Mon Sep 17 00:00:00 2001
2From: Etienne Cordonnier <ecordonnier@snap.com>
3Date: Sun, 22 Sep 2024 20:17:52 +0200
4Subject: [PATCH] fix musl build
5
6Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
7---
8Upstream-Status: Pending
9
10 sdk/perfetto.cc | 1 -
11 src/base/utils.cc | 1 -
12 2 files changed, 2 deletions(-)
13
14diff --git a/sdk/perfetto.cc b/sdk/perfetto.cc
15index b10dd5aa92..2eb90f0d15 100644
16--- a/sdk/perfetto.cc
17+++ b/sdk/perfetto.cc
18@@ -6558,7 +6558,6 @@ std::optional<int32_t> GetTimezoneOffsetMins() {
19
20 #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
21 PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
22-#include <linux/prctl.h>
23 #include <sys/prctl.h>
24
25 #ifndef PR_GET_TAGGED_ADDR_CTRL
26diff --git a/src/base/utils.cc b/src/base/utils.cc
27index 0d9318c136..419c7dbc1a 100644
28--- a/src/base/utils.cc
29+++ b/src/base/utils.cc
30@@ -40,7 +40,6 @@
31
32 #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
33 PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
34-#include <linux/prctl.h>
35 #include <sys/prctl.h>
36
37 #ifndef PR_GET_TAGGED_ADDR_CTRL
38--
392.43.0
40
diff --git a/meta-oe/recipes-devtools/perfetto/libperfetto.bb b/meta-oe/recipes-devtools/perfetto/libperfetto.bb
index 8383db3cc0..368d333145 100644
--- a/meta-oe/recipes-devtools/perfetto/libperfetto.bb
+++ b/meta-oe/recipes-devtools/perfetto/libperfetto.bb
@@ -1,5 +1,5 @@
1LICENSE = "Apache-2.0" 1LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://LICENSE;md5=d2572d98547d43906b53615f856a8c2d" 2LIC_FILES_CHKSUM = "file://LICENSE;md5=c0c9924c5c63b4834b8b1959816c8e3b"
3 3
4require perfetto.inc 4require perfetto.inc
5 5
diff --git a/meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch b/meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch
index 719663a802..9cfe636152 100644
--- a/meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch
+++ b/meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch
@@ -18,7 +18,7 @@ index 8fb1e26275..3ef3ebf27d 100644
18 project( 18 project(
19 'perfetto', 19 'perfetto',
20 ['cpp'], 20 ['cpp'],
21+ version: '47.0' 21+ version: '51.2'
22 ) 22 )
23 23
24+soversion = meson.project_version() 24+soversion = meson.project_version()
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto.bb b/meta-oe/recipes-devtools/perfetto/perfetto.bb
index e284ec8d1e..a560c5643c 100644
--- a/meta-oe/recipes-devtools/perfetto/perfetto.bb
+++ b/meta-oe/recipes-devtools/perfetto/perfetto.bb
@@ -1,12 +1,12 @@
1LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib" 1LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib"
2 2
3LIC_FILES_CHKSUM = "file://LICENSE;md5=d2572d98547d43906b53615f856a8c2d \ 3LIC_FILES_CHKSUM = "file://LICENSE;md5=c0c9924c5c63b4834b8b1959816c8e3b \
4 file://buildtools/libcxx/LICENSE.TXT;md5=55d89dd7eec8d3b4204b680e27da3953 \ 4 file://buildtools/libcxx/LICENSE.TXT;md5=55d89dd7eec8d3b4204b680e27da3953 \
5 file://buildtools/libcxxabi/LICENSE.TXT;md5=7b9334635b542c56868400a46b272b1e \ 5 file://buildtools/libcxxabi/LICENSE.TXT;md5=7b9334635b542c56868400a46b272b1e \
6 file://buildtools/libunwind/LICENSE.TXT;md5=f66970035d12f196030658b11725e1a1 \ 6 file://buildtools/libunwind/LICENSE.TXT;md5=f66970035d12f196030658b11725e1a1 \
7 file://buildtools/protobuf/LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \ 7 file://buildtools/protobuf/LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \
8 file://buildtools/zlib/LICENSE;md5=8c75f2b4df47a77f9445315a9500cd1c \ 8 file://buildtools/zlib/LICENSE;md5=8c75f2b4df47a77f9445315a9500cd1c \
9 file://debian/copyright;md5=4e08364c82141f181de69d0a2b89d612 \ 9 file://debian/copyright;md5=55b18749ff89714316c007d06f305c4a \
10 file://python/LICENSE;md5=c602a632c34ade9c78a976734077bce7" 10 file://python/LICENSE;md5=c602a632c34ade9c78a976734077bce7"
11 11
12# Dependencies from perfetto/tools/install-build-deps 12# Dependencies from perfetto/tools/install-build-deps
@@ -21,14 +21,12 @@ SRC_URI:append = " \
21 git://android.googlesource.com/platform/system/libprocinfo.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/android-libprocinfo;name=libprocinfo \ 21 git://android.googlesource.com/platform/system/libprocinfo.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/android-libprocinfo;name=libprocinfo \
22 git://android.googlesource.com/platform/system/core.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/android-core;name=core \ 22 git://android.googlesource.com/platform/system/core.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/android-core;name=core \
23 git://android.googlesource.com/platform/bionic.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/bionic;name=bionic \ 23 git://android.googlesource.com/platform/bionic.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/bionic;name=bionic \
24 git://android.googlesource.com/platform/external/zlib.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/zlib;name=zlib \ 24 git://chromium.googlesource.com/chromium/src/third_party/zlib.git;nobranch=1;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/zlib;name=zlib \
25 git://android.googlesource.com/platform/external/lzma.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/lzma;name=lzma \ 25 git://android.googlesource.com/platform/external/lzma.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/lzma;name=lzma \
26 git://android.googlesource.com/platform/external/zstd.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/zstd;name=zstd \ 26 git://android.googlesource.com/platform/external/zstd.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/zstd;name=zstd \
27 https://storage.googleapis.com/perfetto/gn-linux64-1968-0725d782;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/;name=gn \ 27 https://storage.googleapis.com/perfetto/gn-linux64-1968-0725d782;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/;name=gn \
28 \ 28 \
29 file://0001-Remove-check_build_deps-build-steps.patch \ 29 file://0001-Remove-check_build_deps-build-steps.patch \
30 file://0002-traced-fix-missing-include.patch \
31 file://0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch \
32 " 30 "
33 31
34SRCREV_bionic = "a0d0355105cb9d4a4b5384897448676133d7b8e2" 32SRCREV_bionic = "a0d0355105cb9d4a4b5384897448676133d7b8e2"
@@ -42,7 +40,7 @@ SRCREV_libbase = "78f1c2f83e625bdf66d55b48bdb3a301c20d2fb3"
42SRCREV_libcxx = "852bc6746f45add53fec19f3a29280e69e358d44" 40SRCREV_libcxx = "852bc6746f45add53fec19f3a29280e69e358d44"
43SRCREV_libcxxabi = "a37a3aa431f132b02a58656f13984d51098330a2" 41SRCREV_libcxxabi = "a37a3aa431f132b02a58656f13984d51098330a2"
44SRCREV_libunwind = "419b03c0b8f20d6da9ddcb0d661a94a97cdd7dad" 42SRCREV_libunwind = "419b03c0b8f20d6da9ddcb0d661a94a97cdd7dad"
45SRCREV_zlib = "6d3f6aa0f87c9791ca7724c279ef61384f331dfd" 43SRCREV_zlib = "6f9b4e61924021237d474569027cfb8ac7933ee6"
46SRCREV_zstd = "77211fcc5e08c781734a386402ada93d0d18d093" 44SRCREV_zstd = "77211fcc5e08c781734a386402ada93d0d18d093"
47 45
48SRCREV_FORMAT .= "_bionic_core_lzma_libprocinfo_logging_unwinding_protobuf_libbase_libcxx_libcxxabi_libunwind_zlib_zstd" 46SRCREV_FORMAT .= "_bionic_core_lzma_libprocinfo_logging_unwinding_protobuf_libbase_libcxx_libcxxabi_libunwind_zlib_zstd"
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto.inc b/meta-oe/recipes-devtools/perfetto/perfetto.inc
index 1c7e9144cc..5b4a942526 100644
--- a/meta-oe/recipes-devtools/perfetto/perfetto.inc
+++ b/meta-oe/recipes-devtools/perfetto/perfetto.inc
@@ -3,10 +3,8 @@ HOMEPAGE = "https://github.com/google/perfetto"
3 3
4# Add only patches here which are used by both perfetto and libperfetto 4# Add only patches here which are used by both perfetto and libperfetto
5SRC_URI = "git://github.com/google/perfetto.git;protocol=https;name=perfetto;nobranch=1 \ 5SRC_URI = "git://github.com/google/perfetto.git;protocol=https;name=perfetto;nobranch=1 \
6 file://0001-fix-musl-build.patch \
7 " 6 "
8 7
9SRCREV_perfetto = "c74251226a8caa0b43377902ee06d2570faa0c15" 8SRCREV_perfetto = "7a9a6a0587348bffd1796b66a1da33cc1ea421d8"
10SRCREV_FORMAT = "perfetto" 9SRCREV_FORMAT = "perfetto"
11PV = "47.0" 10PV = "51.2"
12
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch b/meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch
index 118c3aed4a..3a046f3d2a 100644
--- a/meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch
+++ b/meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch
@@ -1,4 +1,4 @@
1From 07ddc4b9b7a6fec73cdc295baba353944857212e Mon Sep 17 00:00:00 2001 1From 528887cd2c1ebcda1a788ed2f060ffd1b4887801 Mon Sep 17 00:00:00 2001
2From: Sui Chen <suichen6@gmail.com> 2From: Sui Chen <suichen6@gmail.com>
3Date: Mon, 13 Jun 2022 17:46:49 +0000 3Date: Mon, 13 Jun 2022 17:46:49 +0000
4Subject: [PATCH] Remove "check_build_deps" build steps 4Subject: [PATCH] Remove "check_build_deps" build steps
@@ -16,15 +16,15 @@ Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
16Upstream-Status: Pending 16Upstream-Status: Pending
17 17
18 gn/BUILD.gn | 1 - 18 gn/BUILD.gn | 1 -
19 gn/standalone/BUILD.gn | 12 ++++++------ 19 gn/standalone/BUILD.gn | 20 ++++++++++----------
20 gn/standalone/BUILDCONFIG.gn | 5 +++-- 20 gn/standalone/BUILDCONFIG.gn | 5 +++--
21 3 files changed, 9 insertions(+), 9 deletions(-) 21 3 files changed, 13 insertions(+), 13 deletions(-)
22 22
23diff --git a/gn/BUILD.gn b/gn/BUILD.gn 23diff --git a/gn/BUILD.gn b/gn/BUILD.gn
24index ed055ee700..ea79979ec5 100644 24index 9ce3145cac..67656b6648 100644
25--- a/gn/BUILD.gn 25--- a/gn/BUILD.gn
26+++ b/gn/BUILD.gn 26+++ b/gn/BUILD.gn
27@@ -117,7 +117,6 @@ group("default_deps") { 27@@ -127,7 +127,6 @@ group("default_deps") {
28 deps = [ ":gen_buildflags" ] 28 deps = [ ":gen_buildflags" ]
29 if (perfetto_build_standalone) { 29 if (perfetto_build_standalone) {
30 public_deps = [ 30 public_deps = [
@@ -33,31 +33,38 @@ index ed055ee700..ea79979ec5 100644
33 "//gn/standalone/sanitizers:deps", 33 "//gn/standalone/sanitizers:deps",
34 ] 34 ]
35diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn 35diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn
36index 36fb6371a5..f7bc97b1a6 100644 36index 2d0a4b2916..740266a964 100644
37--- a/gn/standalone/BUILD.gn 37--- a/gn/standalone/BUILD.gn
38+++ b/gn/standalone/BUILD.gn 38+++ b/gn/standalone/BUILD.gn
39@@ -469,10 +469,10 @@ config("android_liblog") { 39@@ -514,13 +514,13 @@ config("android_liblog") {
40 } 40 }
41 41
42 # Checks that tools/install-build-deps has been run since it last changed. 42 # Checks that tools/install-build-deps has been run since it last changed.
43-perfetto_check_build_deps("check_build_deps") { 43-perfetto_check_build_deps("check_build_deps") {
44- args = [] 44- args = [ "--no-dev-tools" ]
45-} 45-}
46+#perfetto_check_build_deps("check_build_deps") { 46-
47+# args = []
48+#}
49
50-perfetto_check_build_deps("check_build_deps_android") { 47-perfetto_check_build_deps("check_build_deps_android") {
51- args = [ "--android" ] 48- args = [
49- "--no-dev-tools",
50- "--android",
51- ]
52-} 52-}
53+#perfetto_check_build_deps("check_build_deps") {
54+# args = [ "--no-dev-tools" ]
55+#}
56+#
53+#perfetto_check_build_deps("check_build_deps_android") { 57+#perfetto_check_build_deps("check_build_deps_android") {
54+# args = [ "--android" ] 58+# args = [
59+# "--no-dev-tools",
60+# "--android",
61+# ]
55+#} 62+#}
56diff --git a/gn/standalone/BUILDCONFIG.gn b/gn/standalone/BUILDCONFIG.gn 63diff --git a/gn/standalone/BUILDCONFIG.gn b/gn/standalone/BUILDCONFIG.gn
57index 05ed548f9d..94db724b2b 100644 64index 8e2be2ae1b..0faff46e50 100644
58--- a/gn/standalone/BUILDCONFIG.gn 65--- a/gn/standalone/BUILDCONFIG.gn
59+++ b/gn/standalone/BUILDCONFIG.gn 66+++ b/gn/standalone/BUILDCONFIG.gn
60@@ -59,8 +59,9 @@ declare_args() { 67@@ -62,8 +62,9 @@ declare_args() {
61 # the ossfuzz sanitizer overrides this to true. In that config the 68 # the ossfuzz sanitizer overrides this to true. In that config the
62 # host/target cpu and arch are identical, but we want to build only the 69 # host/target cpu and arch are identical, but we want to build only the
63 # targets with the sanitizer/fuzzer flags 70 # targets with the sanitizer/fuzzer flags
@@ -69,3 +76,6 @@ index 05ed548f9d..94db724b2b 100644
69 } 76 }
70 default_configs = [ 77 default_configs = [
71 "//gn/standalone:default", 78 "//gn/standalone:default",
79--
802.43.0
81
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch b/meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch
deleted file mode 100644
index 225810e511..0000000000
--- a/meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch
+++ /dev/null
@@ -1,105 +0,0 @@
1From 3953f56f98420e2ecb0e1c4542e20bfbb81da965 Mon Sep 17 00:00:00 2001
2From: Takuto Ikuta <tikuta@google.com>
3Date: Mon, 9 Dec 2024 18:45:36 +0900
4Subject: [PATCH] add missing includes for the build with use_libcxx_modules
5
6This is to fix build error when we set use_libcxx_modules=true in
7chromium build.
8
9Bug: 40440396
10Change-Id: I0cca5190c2c3551cc62bafafd12da9283e4afdd4
11
12Upstream-Status: Backport [3953f56 add missing includes for the build with use_libcxx_modules]
13- Removed some patches for files that do not exist in the current version v47.0
14
15Signed-off-by: mark.yang <mark.yang@lge.com>
16---
17
18diff --git a/include/perfetto/base/flat_set.h b/include/perfetto/base/flat_set.h
19index 9390537b39..5be590ea6b 100644
20--- a/include/perfetto/base/flat_set.h
21+++ b/include/perfetto/base/flat_set.h
22@@ -17,7 +17,10 @@
23 #ifndef INCLUDE_PERFETTO_BASE_FLAT_SET_H_
24 #define INCLUDE_PERFETTO_BASE_FLAT_SET_H_
25
26+#include <stddef.h>
27+
28 #include <algorithm>
29+#include <utility>
30 #include <vector>
31
32 // A vector-based set::set-like container.
33diff --git a/include/perfetto/base/time.h b/include/perfetto/base/time.h
34index 6436503d20..8de7648267 100644
35--- a/include/perfetto/base/time.h
36+++ b/include/perfetto/base/time.h
37@@ -17,6 +17,7 @@
38 #ifndef INCLUDE_PERFETTO_BASE_TIME_H_
39 #define INCLUDE_PERFETTO_BASE_TIME_H_
40
41+#include <stdint.h>
42 #include <time.h>
43
44 #include <chrono>
45diff --git a/include/perfetto/ext/base/string_utils.h b/include/perfetto/ext/base/string_utils.h
46index c8264a2fb7..3b15e55771 100644
47--- a/include/perfetto/ext/base/string_utils.h
48+++ b/include/perfetto/ext/base/string_utils.h
49@@ -24,6 +24,7 @@
50 #include <cinttypes>
51 #include <optional>
52 #include <string>
53+#include <system_error>
54 #include <vector>
55
56 #include "perfetto/ext/base/string_view.h"
57diff --git a/include/perfetto/ext/base/subprocess.h b/include/perfetto/ext/base/subprocess.h
58index 12121e0284..4075169df1 100644
59--- a/include/perfetto/ext/base/subprocess.h
60+++ b/include/perfetto/ext/base/subprocess.h
61@@ -20,6 +20,7 @@
62 #include <condition_variable>
63 #include <functional>
64 #include <initializer_list>
65+#include <memory>
66 #include <mutex>
67 #include <optional>
68 #include <string>
69diff --git a/include/perfetto/ext/base/waitable_event.h b/include/perfetto/ext/base/waitable_event.h
70index 0e786196f8..a4b268a2f3 100644
71--- a/include/perfetto/ext/base/waitable_event.h
72+++ b/include/perfetto/ext/base/waitable_event.h
73@@ -17,6 +17,8 @@
74 #ifndef INCLUDE_PERFETTO_EXT_BASE_WAITABLE_EVENT_H_
75 #define INCLUDE_PERFETTO_EXT_BASE_WAITABLE_EVENT_H_
76
77+#include <stdint.h>
78+
79 #include <condition_variable>
80 #include <mutex>
81
82diff --git a/include/perfetto/ext/tracing/core/slice.h b/include/perfetto/ext/tracing/core/slice.h
83index 063043bdc6..cdabc39465 100644
84--- a/include/perfetto/ext/tracing/core/slice.h
85+++ b/include/perfetto/ext/tracing/core/slice.h
86@@ -18,6 +18,7 @@
87 #define INCLUDE_PERFETTO_EXT_TRACING_CORE_SLICE_H_
88
89 #include <stddef.h>
90+#include <stdint.h>
91 #include <string.h>
92
93 #include <memory>
94diff --git a/src/trace_processor/util/trace_blob_view_reader.h b/src/trace_processor/util/trace_blob_view_reader.h
95index c39ffaba7c..6ffa7ff050 100644
96--- a/src/trace_processor/util/trace_blob_view_reader.h
97+++ b/src/trace_processor/util/trace_blob_view_reader.h
98@@ -19,6 +19,7 @@
99
100 #include <cstddef>
101 #include <optional>
102+#include <vector>
103
104 #include "perfetto/ext/base/circular_queue.h"
105 #include "perfetto/trace_processor/trace_blob_view.h"
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch b/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch
deleted file mode 100644
index 49b7989359..0000000000
--- a/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From d005c0123b2f929b918359a53ffe61d7ca2212a0 Mon Sep 17 00:00:00 2001
2From: Lalit Maganti <lalitm@google.com>
3Date: Wed, 14 Aug 2024 11:56:47 +0100
4Subject: [PATCH] traced: fix missing include
5
6Change-Id: Ib9ce8ce5b057e89fa451ccef228228d607b36793
7Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
8---
9Upstream-Status: Backport [https://github.com/google/perfetto/commit/d005c0123b2f929b918359a53ffe61d7ca2212a0]
10
11 src/traced/probes/sys_stats/sys_stats_data_source.h | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/traced/probes/sys_stats/sys_stats_data_source.h b/src/traced/probes/sys_stats/sys_stats_data_source.h
15index e09cd8a2ca..7e4749bdcd 100644
16--- a/src/traced/probes/sys_stats/sys_stats_data_source.h
17+++ b/src/traced/probes/sys_stats/sys_stats_data_source.h
18@@ -21,6 +21,7 @@
19
20 #include <map>
21 #include <memory>
22+#include <optional>
23 #include <string>
24
25 #include "perfetto/ext/base/paged_memory.h"
26--
272.43.0
28