<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/dynamic-layers/meta-python/recipes-devtools/bcc, 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>bcc: Upgrade to 0.33.0+</title>
<updated>2025-03-22T04:30:56+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2025-03-12T07:00:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8e2d5d6e689c392a5cfa23935f89a83ec1591a21'/>
<id>urn:sha1:8e2d5d6e689c392a5cfa23935f89a83ec1591a21</id>
<content type='text'>
Fix version string and add missing dependencies for ptests

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>bcc: lower buildpaths from ERROR_QA to WARN_QA when ptest is enabled</title>
<updated>2024-09-04T07:18:50+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2024-09-03T11:43:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=6523bcaefc3be49d4aae96a84eca20efcc914d3d'/>
<id>urn:sha1:6523bcaefc3be49d4aae96a84eca20efcc914d3d</id>
<content type='text'>
WARNING: bcc-0.30.0+git-r0 do_package_qa: QA Issue: File /usr/lib/bcc/ptest/tests/cc/test_libbcc_no_libbpf in package bcc-ptest contains reference to TMPDIR [buildpaths]

This one is difficult to resolve, because the tests use CMAKE_CURRENT_BINARY_DIR directly in .cc e.g.:
https://github.com/iovisor/bcc/commit/7271bfc946a19413761be2e3c60c48bf72c5eea1#diff-233a0bfa490f3d7466c49935b64c86dd93956bbc0461f5af703b344cf6601461
we would probably need to use separate variable for "runtime" path for test assets from the standard CMAKE_CURRENT_BINARY_DIR variable or use relative
path from the test binary

Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>bcc: Upgrade to 0.30.0+</title>
<updated>2024-07-15T18:47:38+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-06-13T19:52:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=1fdde55d951b7a8f1e537ccf56aca2dc90c40091'/>
<id>urn:sha1:1fdde55d951b7a8f1e537ccf56aca2dc90c40091</id>
<content type='text'>
This will fix build on clang19+

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