tools/opensnoop: Use do_sys_open for kprobe hook
Systems such as Android mostly use openat which makes us miss all
attempts to open. Instead use do_sys_open for the kprobe hook where
all the open calls finally end up, so that we don't miss anything.
Signed-off-by:
Joel Fernandes <joelaf@google.com>
Showing
Please register or sign in to comment