# find / -name binder
./sys/fs/selinux/class/binder
./sys/devices/virtual/misc/binder
./sys/class/misc/binder
./sys/kernel/debug/binder
./sys/kernel/debug/tracing/events/binder
./sys/module/binder
//binder下所有通信进程信息
# ls /sys/kernel/debug/binder/proc
1105 1660 1892 2106 2383 2411 2440 2467 2496 2526 2629 2813 2922 2975 3035 3170 3262 3314
3373 3409 3451 3484 3581 3666 3725 3860 512 529 541 571 608 611 614 616 618 633 637 641 770
1358 1675 1909 2302 2397 2426 2453 2482 2509 2596 2762 2908 2941 3021 3115 3195 3297 3330
3394 3433 3466 3562 3612 3698 3744 499 527 538 570 582 610 613 615 617 621 635 639 706
# cat /sys/kernel/debug/binder/proc/802
//可以看到Binder线程池、实体对象、引用对象、内核缓冲区等信息
binder proc state:
proc 802
thread 802: l 00
thread 848: l 00
thread 951: l 12
thread 952: l 11
node 184: u0000007f8722dee0 c0000007f8723d8c8 hs 1 hw 1 ls 0 lw 0 is 1 iw 1 proc 539
ref 179: desc 0 node 1 s 1 w 1 d 0000000000000000
ref 182: desc 1 node 6 s 1 w 1 d 0000000000000000
buffer 458: 0000000000000000 size 4:0 delivered
来源:CSDN
作者:慢慢的燃烧
链接:https://blog.csdn.net/u010164190/article/details/103788382