summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/ide_sdk.py
diff options
context:
space:
mode:
authorHarish Sadineni <Harish.Sadineni@windriver.com>2024-11-20 04:19:23 -0800
committerSteve Sakoman <steve@sakoman.com>2025-01-29 06:20:43 -0800
commite87b459abc58c106a5347f57a1b7c48b6e991f3d (patch)
tree501d410fc17a4b3c1151c15e324a9ec0a027607b /scripts/lib/devtool/ide_sdk.py
parentdbb36a45f03af8b78073db1de1da908f8f9397b0 (diff)
downloadpoky-e87b459abc58c106a5347f57a1b7c48b6e991f3d.tar.gz
linux: Modify kernel configuration to fix runqlat issue
In Qemu Running "/usr/share/bcc/tools/runqlat 1 5" gives following error:- libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled? libbpf: failed to find valid kernel BTF modprobe: FATAL: Module kheaders not found in directory /lib/modules/6.10.14-yocto-standard Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel development package for your running kernel version. chdir(/lib/modules/6.10.14-yocto-standard/build): No such file or directory Traceback (most recent call last): File "/usr/share/bcc/tools/./runqlat", line 293, in <module> b = BPF(text=bpf_text) File "/usr/lib/python3.13/site-packages/bcc/__init__.py", line 479, in __init__ raise Exception("Failed to compile BPF module %s" % (src_file or "<text>")) the following patch fixes the error. BCC test summary for x86_64: Before applying the patch: TOTAL: 95 PASS: 29 FAIL: 66 After applying the patch: TOTAL: 95 PASS: 79 FAIL: 16 50 new test cases passed (From OE-Core rev: 97e6af0896d3d208bbbe0021a51706f59a662d77) Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> (cherry picked from commit 3e2f78fba9d259483311db5fa1101e3907549364) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/ide_sdk.py')
0 files changed, 0 insertions, 0 deletions