Debugging - themactep/thingino-firmware GitHub Wiki
A minimal, useful strace invocation example:
strace -ff -f -tt -T -s 128 -o /tmp/prudynt.strace /mnt/nfs/prudynt
-
-ffwrites per-thread logs (/tmp/prudynt.strace.<pid>) -
-ttadds timestamps;-Tshows syscall durations -
-s 128increases string sizes
-
with output into logcat:
touch /tmp/module; touch /tmp/encattr; touch /tmp/fsattr -
with output into console:
touch /tmp/rcattr
/dev/shm/imp_deubg_sem_tos
/dev/shm/imp_deubg_sem_toc
/tmp/closesimd
/tmp/dumpFrameTime
/tmp/dumpEncTime
/tmp/dumpEncParam
/tmp/mountdir/ispsnap0.nv12
/tmp/mountdir/encsnap0.nv12
/tmp/mountdir/encsnap1.nv12