Binder杂记
1. Binder的系统日志文件
# ps -A | grep suspend system 699 1 2184444 4564 binder_ioctl_write_read 0 S android.system.suspend@1.0-service # ls /proc/699/fd -l ... lrwx------ 1 system system 64 2021-04-17 15:58 7 -> /dev/binderfs/hwbinder lrwx------ 1 system system 64 2021-04-17 15:58 8 -> /dev/binderfs/binder ... # cd /dev/binderfs/ /dev/binderfs # ls -l crw-rw-rw- 1 root root 487, 1 1970-04-23 22:13 binder crw------- 1 root root 487, 0 1970-04-23 22:13 binder-control drwxr-xr-x 3 root root 0 1970-04-23 22:13 binder_logs crw-rw-rw- 1 root root 487, 2 1970-04-23 22:13 hwbinder crw-rw-rw- 1 root root 487, 3 1970-04-23 22:13 vndbinder /dev/binderfs # cd binder_logs /dev/binderfs/binder_logs # ls -l -r--r--r-- 1 root root 0 1970-04-23 22:13 failed_transaction_log drwxr-xr-x 2 root root 0 2021-04-17 16:02 proc -r--r--r-- 1 root root 0 1970-04-23 22:13 state -r--r--r-- 1 root root 0 1970-04-23 22:13 stats -r--r--r-- 1 root root 0 1970-04-23 22:13 transaction_log -r--r--r-- 1 root root 0 1970-04-23 22:13 transactions
posted on 2021-04-17 16:14 Hello-World3 阅读(397) 评论(0) 编辑 收藏 举报