In Android OS source code (Path: /drivers/staging/android/binder_trace.h
), we have a file named binder_trace.h
and also in /drivers/staging/android/binder.c
binder_trace
is included. As we can see in binder_trace.h
file, the binder transactions are traced with TP_printk
instruction.
Now my question is that how I can see these kernel logs in my phone with adb shell? Also there isn't any file related to binder tracing in /sys/kernel/debug/tracing
directory!