1

How do you use FTRACE to debug software hang issue? I assume we can't even type anything on the busybox shell after software hangs. Is there any way it can save the traces into sdcard or something?

Thanks

user1804788
  • 187
  • 1
  • 3
  • 12
  • What do you mean by hang? do you see a kernel-panic? There exists an option to automatically dump to a file on a kernel-panic . Add `ftrace=function ftrace_dump_on_oops` to the kernel cmd-line during boot. – TheCodeArtist Jul 25 '13 at 08:30
  • Thanks. Hang means if there is chip or hardware issue, sometimes software can just hang. No kernel panic. Just froze. Trying to trace where the last few calls were. Maybe it tried to access bad registers or ... – user1804788 Jul 29 '13 at 07:12

0 Answers0