<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-devtools/perfetto, branch master</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2026-03-18T21:33:29+00:00</updated>
<entry>
<title>perfetto: Don't copy gn native binary</title>
<updated>2026-03-18T21:33:29+00:00</updated>
<author>
<name>Willi Ye</name>
<email>zye2@snap.com</email>
</author>
<published>2026-03-11T09:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=701a1df07c6e3347535266bf13ce50cf314eac20'/>
<id>urn:sha1:701a1df07c6e3347535266bf13ce50cf314eac20</id>
<content type='text'>
With the current recipe I am getting
```
gn: error while loading shared libraries: libc++abi.so.1: cannot open shared object file: No such file or directory
```
on my aarch64 machine
This is due to gn having a relative library runpath causing the interpreter not finding the shared libraries
Instead of copying the binary just directly execute it

Additionally remove the unnecessary download of the prebuilt gn binary

Signed-off-by: Willi Ye &lt;zye2@snap.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>perfetto: Use gn from native sysroot</title>
<updated>2025-10-02T17:17:48+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2025-09-27T05:51:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=4d6f772ff10695816781985f41e818efe8ec0e8c'/>
<id>urn:sha1:4d6f772ff10695816781985f41e818efe8ec0e8c</id>
<content type='text'>
Prebuilts shipped with sources is a x86_64 binary which works ok
on x86_64 build hosts, but we do have arm64 hosts quite commonly
used to build OE these days, where this fails miserably. Therefore
use the gn from gn-native, so we can get it targtted correctly for
build host architecture.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Cc: Ross Burton &lt;ross.burton@arm.com&gt;
</content>
</entry>
<entry>
<title>perfetto: enabled traced_perf by compiling with clang</title>
<updated>2025-08-18T14:50:01+00:00</updated>
<author>
<name>Etienne Cordonnier</name>
<email>ecordonnier@snap.com</email>
</author>
<published>2025-08-09T13:12:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=ab5cd440b38f704bd45fd5b9944158c0f2fd35c8'/>
<id>urn:sha1:ab5cd440b38f704bd45fd5b9944158c0f2fd35c8</id>
<content type='text'>
traced_perf is required for using e.g. callstack_sampling, see https://perfetto.dev/docs/getting-started/cpu-profiling

Tested on qemu:

Starting perfetto using a configuration which uses `callstack_sampling` starts traced_perf as a side-effect when perfetto is compiled with clang:

```
root@qemux86-64:~#  tracebox --txt -c /tmp/config.pbtxt -o /tmp/perfetto-trace.pb &amp;
root@qemux86-64:~# ps -eo pid,cmd | grep tracebox
  529 tracebox --txt -c /tmp/config.pbtxt -o /tmp/perfetto-trace.pb
  530 /usr/bin/tracebox traced
  533 /usr/bin/tracebox traced_probes --reset-ftrace
  536 /usr/bin/tracebox traced_perf
```

Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>perfetto: upgrade 47.0 -&gt; 51.2</title>
<updated>2025-08-18T14:50:01+00:00</updated>
<author>
<name>Etienne Cordonnier</name>
<email>ecordonnier@snap.com</email>
</author>
<published>2025-08-06T15:31:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=1b2ebce563169ef68042d8bc1dbaff079c3440b8'/>
<id>urn:sha1:1b2ebce563169ef68042d8bc1dbaff079c3440b8</id>
<content type='text'>
Release Notes: https://github.com/google/perfetto/releases/tag/v51.2

Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta-openembedded/all: adapt to UNPACKDIR changes</title>
<updated>2025-06-25T13:44:52+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex@linutronix.de</email>
</author>
<published>2025-06-20T14:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3'/>
<id>urn:sha1:fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3</id>
<content type='text'>
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>perfetto: fix error with gcc-15</title>
<updated>2025-04-10T15:31:03+00:00</updated>
<author>
<name>mark.yang</name>
<email>mark.yang@lge.com</email>
</author>
<published>2025-04-09T11:16:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=8afcf6a70df65c080a56c41a34df3a512dad3afa'/>
<id>urn:sha1:8afcf6a70df65c080a56c41a34df3a512dad3afa</id>
<content type='text'>
  * Backport fix from:
    https://github.com/google/perfetto/commit/3953f56f98420e2ecb0e1c4542e20bfbb81da965
  * To fix the error with gcc-15.
  http://errors.yoctoproject.org/Errors/Details/851189/
    ../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
    47 |   static Slice TakeOwnership(std::unique_ptr&lt;uint8_t[]&gt; buf, size_t size) {
        |                                              ^~~~~~~
    ../git/include/perfetto/ext/tracing/core/slice.h:25:1: note: 'uint8_t' is defined in header '&lt;cstdint&gt;'; this is probably fixable by adding '#include &lt;cstdint&gt;'
    24 | #include &lt;string&gt;
    +++ |+#include &lt;cstdint&gt;

Signed-off-by: mark.yang &lt;mark.yang@lge.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>recipes: Fix variable assignment whitespace</title>
<updated>2025-03-20T15:46:56+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2025-03-19T20:07:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=eac1f5b9c0b1b81aa24827be94e4a1a91cd49eee'/>
<id>urn:sha1:eac1f5b9c0b1b81aa24827be94e4a1a91cd49eee</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>perfetto: drop unnecessary FILESEXTRAPATHS</title>
<updated>2024-10-31T15:13:24+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2024-10-31T13:41:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=b7a096064b1d8d3970dc5e5eecfc49136d0e3607'/>
<id>urn:sha1:b7a096064b1d8d3970dc5e5eecfc49136d0e3607</id>
<content type='text'>
* we already have a common directory in default FILESPATH called 'files'

Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>perfetto: upgrade 31.0 -&gt; 47.0</title>
<updated>2024-09-26T13:58:28+00:00</updated>
<author>
<name>Etienne Cordonnier</name>
<email>ecordonnier@snap.com</email>
</author>
<published>2024-09-20T12:41:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a2bd05f9ecd77150d0949f27397453f949d7362e'/>
<id>urn:sha1:a2bd05f9ecd77150d0949f27397453f949d7362e</id>
<content type='text'>
Release Notes: https://github.com/google/perfetto/releases/tag/v47.0

Test procedure:
Tested with TOOLCHAIN="clang" and MACHINE="qemux86-64" (using ARGS="is_debug=false enable_perfetto_x64_cpu_opt=false" in perfetto.bb because of missing SSE4.2,BMI2,AVX2 inside qemu):

```
root@qemux86-64:~# tracebox --out /tmp/perfetto dmesg sched freq idle am wm gfx view binder_driver hal dalvik camera input res memory
[100.634]          service.cc:232 Started traced, listening on @traced-p-310 @traced-c-310
[100.804]           probes.cc:104 Starting traced_probes service
[100.852]  probes_producer.cc:332 Connected to the service
[100.957]   perf_producer.cc:1201 Connected to the service
[100.979]    perfetto_cmd.cc:1100 Connected to the Perfetto traced service, TTL: 10s
[101.029] ng_service_impl.cc:1125 Configured tracing session 1, #sources:4, duration:10000 ms, #buffers:1, total buffer size:32768 KB, total sessions:1, uid:0 session name: ""
[101.571]  probes_producer.cc:132 Ftrace setup (target_buf=1)
[101.574]    ftrace_procfs.cc:441 disabled ftrace in /sys/kernel/tracing/
[101.679]    ftrace_procfs.cc:295 Failed to setup event triggers for synthetic:rss_stat_throttled (errno: 22, Invalid argument)
[101.682]   atrace_wrapper.cc:196 Atrace only supported on Android.
[101.757]    ftrace_procfs.cc:438 enabled ftrace in /sys/kernel/tracing/
[111.091] ng_service_impl.cc:2103 FlushAndDisableTracing(1) done, success=1
[111.097]  probes_producer.cc:445 Producer stop (id=1)
[111.168]    ftrace_procfs.cc:441 disabled ftrace in /sys/kernel/tracing/
[111.181]    ftrace_procfs.cc:441 disabled ftrace in /sys/kernel/tracing/
[111.194]  probes_producer.cc:445 Producer stop (id=2)
[111.200]  probes_producer.cc:445 Producer stop (id=3)
[111.308]    perfetto_cmd.cc:1263 Wrote 390764 bytes into /tmp/perfetto

root@qemux86-64:~# ls -l /tmp/perfetto
-rw------- 1 root root 390764 Sep 24 09:25 /tmp/perfetto
```
I then manually verified the file using https://ui.perfetto.dev/

Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>perfetto: Fix contains reference to TMPDIR [buildpaths] warning</title>
<updated>2024-08-09T21:25:26+00:00</updated>
<author>
<name>alperak</name>
<email>alperyasinak1@gmail.com</email>
</author>
<published>2024-08-08T11:20:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=cede104355cef49d8c2dd3bb5732377de9575817'/>
<id>urn:sha1:cede104355cef49d8c2dd3bb5732377de9575817</id>
<content type='text'>
WARNING:perfetto-31.0-r0 do_package_qa: QA Issue: File /usr/bin/.debug/tracebox in package perfetto-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: alperak &lt;alperyasinak1@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
