When I run trace 'p:c:write (arg1 == 1) "writing %d bytes to STDOUT" I see traces of any writes to stdout happening inside the chroot but nothing outside of it is traced. For example, if I have an adb shell open and I do a echo hello there it is not traced but anything happening on the stdout of another adeb shell is traced. Is this the intended behavior for user space tracing? Is there any way to trace user events outside the chroot?
When I run
trace 'p:c:write (arg1 == 1) "writing %d bytes to STDOUT"
I see traces of any writes tostdout
happening inside the chroot but nothing outside of it is traced. For example, if I have anadb shell
open and I do aecho hello
there it is not traced but anything happening on thestdout
of anotheradeb shell
is traced. Is this the intended behavior for user space tracing? Is there any way to trace user events outside the chroot?