samples/bpf: Add openat2() enter/exit tracepoint to syscall_tp sample
authorRong Tao <rongtao@cestc.cn>
Wed, 8 Feb 2023 01:04:41 +0000 (09:04 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 9 Feb 2023 00:50:42 +0000 (16:50 -0800)
commit06744f24696e1e7598412c3df61a538b57ebec22
tree95c89e3cdd0a616abcdab444f8ebe2c8231945e3
parentab8684b8cecf711cc9e47c1cbb1a8f4b549f8893
samples/bpf: Add openat2() enter/exit tracepoint to syscall_tp sample

Commit fe3300897cbf("samples: bpf: fix syscall_tp due to unused syscall")
added openat() syscall tracepoints. This patch adds support for
openat2() as well.

Signed-off-by: Rong Tao <rongtao@cestc.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/tencent_9381CB1A158ED7ADD12C4406034E21A3AC07@qq.com
samples/bpf/syscall_tp_kern.c