<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/dynamic-layers, branch walnascar</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=walnascar</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=walnascar'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2025-07-14T16:57:07+00:00</updated>
<entry>
<title>bcc: include libbcc.so in ptest package</title>
<updated>2025-07-14T16:57:07+00:00</updated>
<author>
<name>Harish Sadineni</name>
<email>Harish.Sadineni@windriver.com</email>
</author>
<published>2025-07-14T09:23:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=003cba92e982bdd565a6889f28799f8bba14957e'/>
<id>urn:sha1:003cba92e982bdd565a6889f28799f8bba14957e</id>
<content type='text'>
Added ${libdir}/libbcc.so to FILES:${PN}-ptest to ensure it is included
during ptest execution. This is necessary for the test
"resolve symbol addresses for a given PID", which requires libbcc.so
to be available in the runtime environment.

Signed-off-by: Harish Sadineni &lt;Harish.Sadineni@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: Fix for test tools_memleak.py</title>
<updated>2025-07-14T16:57:07+00:00</updated>
<author>
<name>Harish Sadineni</name>
<email>Harish.Sadineni@windriver.com</email>
</author>
<published>2025-07-14T09:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=a9d580c88284b8b9c548c04abfc9d29d496cd62f'/>
<id>urn:sha1:a9d580c88284b8b9c548c04abfc9d29d496cd62f</id>
<content type='text'>
Fixes tools_memleak.py which is getting failed due to
"c_src_full = os.path.dirname(sys.argv[0]) + os.path.sep + c_src"
is giving "/'test_tools_memleak_leaker_app.c".

memleak.py and other test cases requires bcc tools so copying the tools to
image.

Upstream-Status: Backport [https://github.com/iovisor/bcc/pull/5355/commits/a36d733592f28ea3e46ba59c2b7a50903d57dd8c]

Signed-off-by: Harish Sadineni &lt;Harish.Sadineni@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: export BCC_KERNEL_SOURCE in run-ptest</title>
<updated>2025-07-14T16:57:07+00:00</updated>
<author>
<name>Harish Sadineni</name>
<email>Harish.Sadineni@windriver.com</email>
</author>
<published>2025-07-14T08:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=072524a27d300c6a8d065aa18abb707bb2b6e718'/>
<id>urn:sha1:072524a27d300c6a8d065aa18abb707bb2b6e718</id>
<content type='text'>
when running ptest for bcc we need to
export BCC_KERNEL_SOURCE to resolve test errors.

Signed-off-by: Harish Sadineni &lt;Harish.Sadineni@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: Backport fix tests to support finish_task_switch.isra.* suffix</title>
<updated>2025-07-14T16:57:07+00:00</updated>
<author>
<name>Harish Sadineni</name>
<email>Harish.Sadineni@windriver.com</email>
</author>
<published>2025-07-14T08:39:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=fc380893bc9785cb100b4cf9e0072fbfde1b9e42'/>
<id>urn:sha1:fc380893bc9785cb100b4cf9e0072fbfde1b9e42</id>
<content type='text'>
When running on kernels compiled with GCC 11.4, the py_test_clang and
 py_test_histogram tests fail because the finish_task_switch function
changed to finish_task_switch.isra.0.

Upstream-Status: Backport [https://github.com/iovisor/bcc/commit/5504a0529e0d21d48e4dd565b53b5cf05f88c1b5]

Signed-off-by: Harish Sadineni &lt;Harish.Sadineni@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: install opt dir to image to fix py_test_trace3_c</title>
<updated>2025-07-14T16:57:07+00:00</updated>
<author>
<name>Harish Sadineni</name>
<email>Harish.Sadineni@windriver.com</email>
</author>
<published>2025-07-14T08:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=5bd90031fe598b46d70f9e0b50f283416a9da3f2'/>
<id>urn:sha1:5bd90031fe598b46d70f9e0b50f283416a9da3f2</id>
<content type='text'>
This patch Fixes the following error:

ERROR: test_blk1 (__main__.TestBlkRequest.test_blk1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/bcc/ptest/tests/python/./test_trace3.py", line 38, in test_blk1
    os.unlink("/opt/trace3.txt")
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/opt/trace3.txt'

Signed-off-by: Harish Sadineni &lt;Harish.Sadineni@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: Fix for test bpf stack_id table</title>
<updated>2025-07-14T16:57:07+00:00</updated>
<author>
<name>Harish Sadineni</name>
<email>Harish.Sadineni@windriver.com</email>
</author>
<published>2025-07-14T08:30:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=7a223b5351d31a10414748e1e9cdf97f0bf3634b'/>
<id>urn:sha1:7a223b5351d31a10414748e1e9cdf97f0bf3634b</id>
<content type='text'>
The test for bpf_stack_id was failing due to the system being unable to locate libc.so.6.
Upon investigation using strace, the following error was observed:
 newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", 0x7ffdcd475420, 0) = -1 ENOENT (No such file or directory)
 newfstatat(AT_FDCWD, "/lib64/libc.so.6", 0x7ffdcd475420, 0) = -1 ENOENT (No such file or directory)

This issue occurs because libc.so.6 was not found in the expected locations.
To resolve this, the location of libc.so.6 in image has been added . It is now accessible at: /lib/libc.so.6

Upstream-Status: Backport [https://github.com/iovisor/bcc/pull/5292/commits/d23df413a1959e9dcb1446ec5a583b5a22307b70]

Signed-off-by: Harish Sadineni &lt;Harish.Sadineni@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: copy shared libs &amp; archive files to image</title>
<updated>2025-07-14T16:57:07+00:00</updated>
<author>
<name>Harish Sadineni</name>
<email>Harish.Sadineni@windriver.com</email>
</author>
<published>2025-07-14T08:24:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=105e05cb5cd4fc926b8fb434cf5ea57f1d565688'/>
<id>urn:sha1:105e05cb5cd4fc926b8fb434cf5ea57f1d565688</id>
<content type='text'>
Avoid stripping debuginfo.so to fix some tests.
ptest searches for shared libs and archive files in the build folder.
Hence, these files are copied to the image to fix some tests.

Signed-off-by: Harish Sadineni &lt;Harish.Sadineni@windriver.com&gt;
</content>
</entry>
<entry>
<title>bpftrace: fix an intermitent compile failure</title>
<updated>2025-05-12T05:16:30+00:00</updated>
<author>
<name>Changqing Li</name>
<email>changqing.li@windriver.com</email>
</author>
<published>2025-04-17T05:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=5260892ee10e86666d3a134bc7bb72118a04b829'/>
<id>urn:sha1:5260892ee10e86666d3a134bc7bb72118a04b829</id>
<content type='text'>
A missing dependency causes intermitent compile failure:
git/src/functions.h:9:10: fatal error: location.hh: No such file or directory
    9 | #include "location.hh"

This location.hh is generated by target parser

Signed-off-by: Changqing Li &lt;changqing.li@windriver.com&gt;
</content>
</entry>
<entry>
<title>bpftrace: update SRCREV to tag 0.23.0</title>
<updated>2025-04-11T15:17:37+00:00</updated>
<author>
<name>Changqing Li</name>
<email>changqing.li@windriver.com</email>
</author>
<published>2025-04-11T03:30:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=2c9678cce413fa6c6c84a8a631f4635a4f862f11'/>
<id>urn:sha1:2c9678cce413fa6c6c84a8a631f4635a4f862f11</id>
<content type='text'>
Update SRCREV to tag 0.23.0, refer [1]

[1] https://github.com/bpftrace/bpftrace/releases/tag/v0.23.0

Signed-off-by: Changqing Li &lt;changqing.li@windriver.com&gt;
</content>
</entry>
<entry>
<title>bpftrace: add systemd PACKAGECONFIG option</title>
<updated>2025-04-11T00:55:07+00:00</updated>
<author>
<name>Erik Schilling</name>
<email>erik@riscstar.com</email>
</author>
<published>2025-04-10T07:41:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=19aa6e951960ed17af4fe2575a0eb1ee276263a3'/>
<id>urn:sha1:19aa6e951960ed17af4fe2575a0eb1ee276263a3</id>
<content type='text'>
This option mostly enables sd_notify support and is useful when running
bpftrace as part of a systemd service [1].

Defaulting to the systemd DISTRO_FEATURES seems like a reasonable choice.
The official builds also now enable this by default [2].

[1] https://bpftrace.org/docs/latest#_systemd_support
[2] https://github.com/bpftrace/bpftrace/pull/3969

Signed-off-by: Erik Schilling &lt;erik@riscstar.com&gt;
</content>
</entry>
</feed>
