<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/dynamic-layers/openembedded-layer/recipes-devtools, branch hardknott</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=hardknott</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=hardknott'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2021-11-22T22:39:05+00:00</updated>
<entry>
<title>recipes: Specify branch and protocol in SRC_URI</title>
<updated>2021-11-22T22:39:05+00:00</updated>
<author>
<name>Devendra Tewari</name>
<email>devendra.tewari@gmail.com</email>
</author>
<published>2021-11-22T22:32:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=2207df98559afc19d6a0243027bbac18980fc764'/>
<id>urn:sha1:2207df98559afc19d6a0243027bbac18980fc764</id>
<content type='text'>
github has stopped supporting anonymous git protocol and bitbake now
warns about branch not being explicit, master is no more a viable
fallback

Signed-off-by: Devendra Tewari &lt;devendra.tewari@gmail.com&gt;
</content>
</entry>
<entry>
<title>bpftrace: Update to using master branch</title>
<updated>2021-04-01T06:27:34+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-03-31T00:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=dab00b24239cc43175b761b1c76516ba0b15f3f9'/>
<id>urn:sha1:dab00b24239cc43175b761b1c76516ba0b15f3f9</id>
<content type='text'>
This is needed for fixing builds with master since clang 12 has dropped
ORCv1 APIs

Add a patch to fix build with clang-12

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>bcc: link with dynamic libbpf</title>
<updated>2021-03-11T02:09:24+00:00</updated>
<author>
<name>Matteo Croce</name>
<email>mcroce@microsoft.com</email>
</author>
<published>2021-03-09T18:04:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=64386310b425bb6eb51c1f4c4590af5ed5435ea9'/>
<id>urn:sha1:64386310b425bb6eb51c1f4c4590af5ed5435ea9</id>
<content type='text'>
Link bcc dynamically against libbpf. This reduces the size of libbcc.so
from 68 MB to 3 MB.
Backport some patches from upstream which are needed for the actual
dynamic linking.

Signed-off-by: Matteo Croce &lt;mcroce@microsoft.com&gt;
</content>
</entry>
<entry>
<title>bcc: Disable luaJIT on ppc64</title>
<updated>2021-03-01T19:12:14+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-02-24T06:09:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=1a4116592f570d0e35736ed5e59cd5e372f76c4c'/>
<id>urn:sha1:1a4116592f570d0e35736ed5e59cd5e372f76c4c</id>
<content type='text'>
ppc64 port is not yet available, its proposed here
https://github.com/LuaJIT/LuaJIT/pull/54

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>bcc: Fix build with clang-12</title>
<updated>2021-02-14T08:10:36+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-02-06T20:19:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=fb9efbb0b6366620a16bd7ddacb7d027e938c506'/>
<id>urn:sha1:fb9efbb0b6366620a16bd7ddacb7d027e938c506</id>
<content type='text'>
bring-in needed patches from upstream

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>bpftrace: Update to 0.11.4 release</title>
<updated>2020-12-13T02:35:19+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-12-12T20:24:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=4edfb8e62052a7d31379223caa15726e736db804'/>
<id>urn:sha1:4edfb8e62052a7d31379223caa15726e736db804</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>bcc: Upgrade 0.15.0 -&gt; 0.17.0</title>
<updated>2020-11-04T19:42:44+00:00</updated>
<author>
<name>He Zhe</name>
<email>zhe.he@windriver.com</email>
</author>
<published>2020-11-03T06:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=61faae011fb95712064f2c58abe6293f0daeeab5'/>
<id>urn:sha1:61faae011fb95712064f2c58abe6293f0daeeab5</id>
<content type='text'>
To support kernel v5.9 and remove patches that have been merged upstream.

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: override the PY_CMD_ESCAPED</title>
<updated>2020-09-10T08:18:11+00:00</updated>
<author>
<name>Mingli Yu</name>
<email>mingli.yu@windriver.com</email>
</author>
<published>2020-09-09T05:55:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=5d763e17e7ca65fb8b2a88d45103518115995a7e'/>
<id>urn:sha1:5d763e17e7ca65fb8b2a88d45103518115995a7e</id>
<content type='text'>
Override the PY_CMD_ESCAPED as the PY_CMD_ESCAPED is constructed by
the full path of the python3. In some cases, the path is so long and
result in the PY_CMD_ESCAPED exceeds 255 characters and comes below
do_configure error:
 | CMake Error at src/python/CMakeLists.txt:18 (configure_file):
 |   configure_file Problem configuring file
 |
 | CMake Error: Could not open file for write in copy operation /buildarea1/test/wr_build/wr1020_20200909_bcc/bcc_long_Kernel/auto-standalone_next/200827/lxbuilds/Intel-Snow-Ridge-NS_platform_up/intel-x86-64-standard-glibc-std/wrlinux/build/tmp-glibc/work/corei7-64-wrs-linux/bcc/0.15.0-r0/build/src/python/bcc--buildarea1-test-wr_build-wr1020_20200909_bcc-bcc_long_Kernel-auto-standalone_next-200827-lxbuilds-Intel-Snow-Ridge-NS_platform_up-intel-x86-64-standard-glibc-std-wrlinux-build-tmp-glibc-work-corei7-64-wrs-linux-bcc-0.15.0-r0-recipe-sysroot-native-usr-bin-python3-native-python3/bcc/version.py.tmp

Signed-off-by: Mingli Yu &lt;mingli.yu@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: trace: Fix failing to exit loops</title>
<updated>2020-08-14T13:56:50+00:00</updated>
<author>
<name>He Zhe</name>
<email>zhe.he@windriver.com</email>
</author>
<published>2020-08-14T03:12:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=65297fede98499ff59b847a8119146817a36a9cb'/>
<id>urn:sha1:65297fede98499ff59b847a8119146817a36a9cb</id>
<content type='text'>
/usr/share/bcc/tools/trace do_sys_open -M 1
PID TID COMM FUNC
3740 3740 irqbalance do_sys_open
Exception ignored on calling ctypes callback function:
&lt;function PerfEventArray.open_perf_buffer.&lt;locals&gt;.raw_cb at 0x7f7c9efea280&gt;
Traceback (most recent call last):
File "/usr/lib64/python3.8/site-packages/bcc/table.py", line 685, in raw_cb_
callback(cpu, data, size)
File "/usr/share/bcc/tools/trace", line 630, in print_event
exit()
File "/usr/lib64/python3.8/sitebuiltins.py", line 26, in __call_
raise SystemExit(code)
SystemExit: None

Class Probe::print_event is used as a callback of a ctypes wrapper. With
Yocto latest python v3.8.5, the exception raised by exit() is ignored and
thus trace cannot exit. Use os._exit(0) instead.

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: biosnoop: Fix failing to attach to trace_req_completion</title>
<updated>2020-08-14T13:56:50+00:00</updated>
<author>
<name>He Zhe</name>
<email>zhe.he@windriver.com</email>
</author>
<published>2020-08-14T03:10:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=2353b178067522545cc0e892789d5b87c1213fdd'/>
<id>urn:sha1:2353b178067522545cc0e892789d5b87c1213fdd</id>
<content type='text'>
/usr/share/bcc/tools/biosnoop
cannot attach kprobe, probe entry may not exist
Traceback (most recent call last):
File "/usr/share/bcc/tools/biosnoop", line 162, in &lt;module&gt;
b.attach_kprobe(event="blk_account_io_completion",
File "/usr/lib64/python3.8/site-packages/bcc/_init_.py", line 660, in attach_kprobe
raise Exception("Failed to attach BPF program %s to kprobe %s" %
Exception: Failed to attach BPF program b'trace_req_completion' to kprobe b'blk_account_io_completion'

The kernel function "blk_account_io_completion" is not available anymore
as attach point of Kprobe as of kernel version 5.8.0. Therefore, after
discussions, we decided to use function "blk_account_io_done" instead in
every kprobe attachment to "blk_account_io_completion".

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
</content>
</entry>
</feed>
