<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/dynamic-layers/openembedded-layer, branch gatesgarth</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=gatesgarth</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=gatesgarth'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2020-12-13T02:35:19+00:00</updated>
<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>
<entry>
<title>bpftrace: upgrade 0.9.4 -&gt; 0.11.0</title>
<updated>2020-08-06T17:21:32+00:00</updated>
<author>
<name>Ovidiu Panait</name>
<email>ovidiu.panait@windriver.com</email>
</author>
<published>2020-08-06T09:35:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=edd7e22b0db5bf24ccbdf79557907a66cb615ee0'/>
<id>urn:sha1:edd7e22b0db5bf24ccbdf79557907a66cb615ee0</id>
<content type='text'>
Uprev bpftrace to v0.11.0:
* Add patch to fix compilation with LLVM 11
* Add cmake option CMAKE_ENABLE_EXPORTS=1 to prevent stripping, in order to fix
  the following error:
    root@qemux86-64:~# bpftrace /usr/share/bpftrace/tools/biosnoop.bt
    Attaching 4 probes...
    Could not resolve symbol: /proc/self/exe:BEGIN_trigger

Signed-off-by: Ovidiu Panait &lt;ovidiu.panait@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: upgrade 0.13.0 -&gt; 0.15.0</title>
<updated>2020-08-06T17:21:32+00:00</updated>
<author>
<name>Ovidiu Panait</name>
<email>ovidiu.panait@windriver.com</email>
</author>
<published>2020-08-05T17:14:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=0cce4d348dcdd3408e18885a6c32e6f3ac84f7a9'/>
<id>urn:sha1:0cce4d348dcdd3408e18885a6c32e6f3ac84f7a9</id>
<content type='text'>
Uprev bcc to v0.15.0:
* drop backports:
  https://github.com/iovisor/bcc/commit/68abb51ed067c4317b991cec0bbc2ea4e7f6ddab
  https://github.com/iovisor/bcc/commit/1c843e2c0f7570844a2c955436455132936eae47
* refresh patches

Fixes: #348

Signed-off-by: Ovidiu Panait &lt;ovidiu.panait@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: Fix KBUILD_MODNAME errors for kernel 5.7 and latter</title>
<updated>2020-06-30T15:13:36+00:00</updated>
<author>
<name>He Zhe</name>
<email>zhe.he@windriver.com</email>
</author>
<published>2020-06-30T08:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=14a52c3633e8f32fdf8bb5a259a41f5cfb8cc535'/>
<id>urn:sha1:14a52c3633e8f32fdf8bb5a259a41f5cfb8cc535</id>
<content type='text'>
Backport two patches to fix the following runtime failures.

Networking tools fail with include/net/flow_offload.h:304:4: error: use of
undeclared identifier 'KBUILD_MODNAME'.

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc: Make opensnoop compatible with kernel v5.6 and later</title>
<updated>2020-06-16T18:57:26+00:00</updated>
<author>
<name>He Zhe</name>
<email>zhe.he@windriver.com</email>
</author>
<published>2020-06-15T09:57:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=deaba90e3122e4c4b3849b384cb7a251a0e07ed4'/>
<id>urn:sha1:deaba90e3122e4c4b3849b384cb7a251a0e07ed4</id>
<content type='text'>
Since kernel v5.6, fddb5d430ad9 ("open: introduce openat2(2) syscall"),
do_sys_openat2 instead of do_sys_open has been used as entry function for open.

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
</content>
</entry>
<entry>
<title>bcc bpftrace: Add xz to RDEPENDS</title>
<updated>2020-04-28T18:15:05+00:00</updated>
<author>
<name>He Zhe</name>
<email>zhe.he@windriver.com</email>
</author>
<published>2020-04-28T13:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=76bca8285e1f9def4e390334aafcd8da8c4b34c7'/>
<id>urn:sha1:76bca8285e1f9def4e390334aafcd8da8c4b34c7</id>
<content type='text'>
bcc and bpftrace require xz to extract /sys/kernel/kheaders.tar.xz,
otherwise the tools would fail as below.

tar (child): xz: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

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