Replies: 1 comment
-
|
I searched some guide for this and found out the way forward. So answer my question here in case someone else met the same issue as me.
The offcputime under libbpf-tools is now arm based and can be run on my ARM embedded system. BTF kernel config should be enabled. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am a software developer for an embedded Linux system. I recently study how to improve the process of some key procedure and want to use bcc tools to understand the on cpu and off cpu behaviors from kernel trace. But I don't know how to deploy this bcc tool in an embedded system. I am sure libbpf-tools with BTF and CO-RE is the solution. But how can I include this tool in my embedded system?
Should I download the libbpf-tools souce code and modify my embedded system source code yocto build script to build libbpf together?
But my embedded system source code is built with gcc while libbpf-tools requires Clang, how to solve this ?
Or should I create a separate build environment to build libbpf-tools then with BTF and CO-RE, the output elf can run directly on my embedded system?
a step by step guide for deploying libbpf-tools in am embedded system is really appreciated.
I am not quite familiar with build system, really need help here. Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions