Debugging - themactep/thingino-firmware GitHub Wiki

Using strace

A minimal, useful strace invocation example:

strace -ff -f -tt -T -s 128 -o /tmp/prudynt.strace /mnt/nfs/prudynt
  • -ff writes per-thread logs (/tmp/prudynt.strace.<pid>)
  • -tt adds timestamps; -T shows syscall durations
  • -s 128 increases string sizes

Enable libimp extra debugging

  • with output into logcat:

    touch /tmp/module; touch /tmp/encattr; touch /tmp/fsattr

  • with output into console:

    touch /tmp/rcattr

More flags checked by IMP:

/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
⚠️ **GitHub.com Fallback** ⚠️