<div dir="ltr">This is most notably lacking -p and -f, and only covers a small subset<br>of system calls, but it's "useful" in the sense that you can strace<br>something like toybox date, say, and see everything.<br><br>There's a fundamental assumption here that we don't need to worry about<br>multiple personalities. (This is what makes "real" strace's build so<br>complex, and why Android has _never_ actually shipped a fully correct<br>strace build.) Given that the desktop's already been 64-bit only<br>for a while, microcontrollers are likely to stay 32-bit only for a<br>while, and the odd one out -- mobile -- is moving to be 64-bit only<br>(<a href="https://www.arm.com/blogs/blueprint/64-bit">https://www.arm.com/blogs/blueprint/64-bit</a>), so by the time this is<br>ready to graduate from pending, I'm assuming no-one will care!<br>---<br> lib/portability.h     |   2 +<br> toys/pending/strace.c | 618 ++++++++++++++++++++++++++++++++++++++++++<br> 2 files changed, 620 insertions(+)<br> create mode 100644 toys/pending/strace.c<br></div>