youtube image
From YouTube: Using Strace to Understand GitLab - Part 1: Intro

Description

Start of a series describing how to use Strace to understand how programs work internally.

0:00 Intro
0:28 What is strace
1:50 When not to use strace
3:08 Tracing 'ls -la'
5:25 execve
7:33 open
9:00 stat
9:48 mmap
14:18 mprotect
21:05 Summary

Strace man page: https://man7.org/linux/man-pages/man1/strace.1.html

Brendan Gregg article on performance impacts of strace: http://www.brendangregg.com/blog/2014-05-11/strace-wow-much-syscall.html

Part 2: https://www.youtube.com/watch?v=tThs8QeP2qY
Part 3: https://www.youtube.com/watch?v=J-GkU7Mmqy4
Part 4: https://www.youtube.com/watch?v=dgJH4wpR5OE