This post is a walk-through of the simple strace implementation I wrote during my GopherCon talk, A Go Programmer’s Guide to Syscalls. You’ll find the code here. To explore some of the features of the Linux ptrace syscall I thought it would be fun to write my own implementation of a basic strace — a tool that shows which syscalls an executable uses. This article is a quick breakdown of how the pro
![Strace in 60 lines of Go](https://cdn-ak-scissors.b.st-hatena.com/image/square/91cb277f544e2ec7fef0321a3fbef7858987c12c/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2AS_ziYnlCu8GXW0aCp30fhA.png)