Bcc: Is bcc already support arm/arm64 ?

Created on 10 May 2017  Â·  6Comments  Â·  Source: iovisor/bcc

Seems all the example is for x86/64. I'm working on kernel-4.4 linaro branch . It would be great to have bcc toolkit on my phone to do perf work

Most helpful comment

I'm still interested in this issue. Has there been any progress since May?

All 6 comments

Some work has been done, but doesn't work out of the box. This PR ( #998 ) needs some attention before we can claim that it works cleanly.

@drzaeus77 I checked the code seems the bcc jit is already
on the android common Kernel :https://android.googlesource.com/kernel/common/+/android-4.4/arch/arm64/net/Except .

I'd have a try to see if it's good for the Android branch

Except for Kernel CONFIG to set, do I need cross compile the tools in bcc for bcc byte code? Most tools are written in .py script, for ARM/ARM64 board usually don't have a python runner to run a . py script

I'm still interested in this issue. Has there been any progress since May?

any progress on Android @ARM/ARM64?

@applevipjiang it should already work on arm64. But please try with latest bcc (or bcc 6.0.0) and a recent llvm compiler (llvm 6.0.0 or the trunk).

Not sure about other arm64 boards but I recently ran some of the bcc scripts on a Raspberry Pi 3 and they worked fine. I was using upstream bcc built from source on Fedora 28 with Kernel 4.16.x and Clang/LLVM 6.0.x from distro-provided packages.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paipanka picture paipanka  Â·  6Comments

avgsg picture avgsg  Â·  6Comments

ChaosData picture ChaosData  Â·  4Comments

a0viedo picture a0viedo  Â·  7Comments

brendangregg picture brendangregg  Â·  4Comments