brendangregg / perf-tools

Performance analysis tools based on Linux perf_events (aka perf) and ftrace
GNU General Public License v2.0
9.9k stars 1.65k forks source link

Why use syscall/sys_enter_open & syscall/sys_enter_openat, and not just fs/do_sys_open? #95

Open elongl opened 4 years ago

elongl commented 4 years ago

Why does opensnoop traces the open syscall and not fs/do_sys_open? That covers both open and openat for you.