Comments (1)
On Android Q, bionic shared library is now symlink:
root@localhost:/# ls system/lib64/libc.so -l
lrw-r--r--. 1 root root 46 Jan 1 2009 system/lib64/libc.so -> /apex/com.android.runtime/lib64/bionic/libc.so
this will work fine:
root@localhost:/# bpftrace -e 'BEGIN { printf("%-10s %-6s %-16s %s\n", "TIME(ms)", "PID", "COMM", "FUNC");} uprobe:/system/apex/com.android.runtime.release/lib64/bionic/libc.so:pthread_create{ printf("%-10u %-6d %-16s %s\n", elapsed /1000000, pid, comm, usym(arg2));}'
Attaching 2 probes...
TIME(ms) PID COMM FUNC
4307 732 [email protected] __timer_thread_start(void*)
4354 11363 .android.camera art::Thread::CreateCallback(void*)
4364 11363 RxCachedThreadS art::Thread::CreateCallback(void*)
4390 11363 .android.camera art::Thread::CreateCallback(void*)
4406 732 [email protected] __timer_thread_start(void*)
4578 5250 pool-15-thread- art::Thread::CreateCallback(void*)
4777 1237 backlight-notif 0x75090b29a8
4811 701 HwBinder:701_5 0x7d510079c0
4842 701 HwBinder:701_5 0x7d5102c228
4856 602 netd 0x7644cd39a0
4859 701 HwBinder:701_5 0x7d5102c228
4897 701 HwBinder:701_5 0x7d510a0628
4996 701 HwBinder:701_5 0x7d773a89a8
5003 701 HwBinder:701_5 0x7d779554c0
5088 11363 RxSingleSchedul art::Thread::CreateCallback(void*)
5170 1237 backlight-notif 0x75090b29a8
5477 1237 backlight-notif 0x75090b29a8
from adeb.
Related Issues (20)
- Tracing user space functions outside the chroot
- eBPF C: cannot use strcmp and strncmp HOT 2
- `adeb prepare` or `adeb prepare --full` download failed HOT 1
- can not find /data/androdeb/run
- Got failed for building arm32 arch bcc HOT 3
- What is the "supported" Android kernel with `CONFIG_IKHEADERS`? HOT 1
- Exception: Failed to compile BPF module <text> HOT 1
- Failed to run some commands HOT 2
- why have aosp removed adeb?
- suggestion for supporting bpftrace HOT 2
- Question: Should I be able to execute AOSP binaries via the adeb shell? HOT 3
- Have this supported Android11 with kernel-5.4? HOT 1
- `/apex` isn't mounted HOT 1
- Why are there so many '[unknown]' address info while using uprobe?
- adeb prepare advertises --distro flag but doesn't accept it HOT 7
- Support Debian Bullseye HOT 3
- how to build with su environment? HOT 1
- /data/androdeb/run: can't execute: Permission denied
- i used ./adeb prepare --archive '/home/android/Downloads/androdeb-fs.tgz.zip' and run adeb shell error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adeb.