-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support build on Android (AOSP) #433
Comments
@gigony thanks for kind words. Currently uftrace is tested on glibc-based systems only so I'm not sure it works well on Android too. Unfortunately I'm not familiar with the Android code base.. For argp errors, it looks like there's a standalone argp library. Is it possible for you to try to build with it? |
@namhyung Thanks for the reply! It seems that there were similar issues with v4l-utils. I think I can try to build library with https://github.com/jahrome/argp-standalone on Android. |
google offer the strace that has compiled statically by trace tool. |
In termux project, they maintain some local patches for Android porting. Maybe we can apply some of their local patches into uftrace. One of the major obstacles for porting uftrace to Android is to provide @namhyung What do you think about having our custom |
We can have an abstraction layer for shmem. On posix, we can use |
Note that we already got rid of |
Thank you for developing a great tool!
It would be very nice if makefile of uftrace is applicable for Android platform.
Current uftrace source code heavily depends on argp.
Unfortunately, Android's bionic doesn't implement argp so uftrace is not buildable for arm-based Android, showing argp-related error messages (attached build error messages: build_failure.txt).
https://android.googlesource.com/platform/external/elfutils/+/master/bionic-fixup/argp.h
I wonder if you have any idea on making uftrace available on Android.
The text was updated successfully, but these errors were encountered: