aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch
blob: 49b79893594e283a445eb74378c926148856424e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From d005c0123b2f929b918359a53ffe61d7ca2212a0 Mon Sep 17 00:00:00 2001
From: Lalit Maganti <lalitm@google.com>
Date: Wed, 14 Aug 2024 11:56:47 +0100
Subject: [PATCH] traced: fix missing include

Change-Id: Ib9ce8ce5b057e89fa451ccef228228d607b36793
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
Upstream-Status: Backport [https://github.com/google/perfetto/commit/d005c0123b2f929b918359a53ffe61d7ca2212a0]

 src/traced/probes/sys_stats/sys_stats_data_source.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/traced/probes/sys_stats/sys_stats_data_source.h b/src/traced/probes/sys_stats/sys_stats_data_source.h
index e09cd8a2ca..7e4749bdcd 100644
--- a/src/traced/probes/sys_stats/sys_stats_data_source.h
+++ b/src/traced/probes/sys_stats/sys_stats_data_source.h
@@ -21,6 +21,7 @@
 
 #include <map>
 #include <memory>
+#include <optional>
 #include <string>
 
 #include "perfetto/ext/base/paged_memory.h"
-- 
2.43.0