kernel-fxtec-pro1x/samples
Daniel T. Lee 7d5ad9fe2c samples: bpf: fix syscall_tp due to unused syscall
[ Upstream commit fe3300897cbfd76c6cb825776e5ac0ca50a91ca4 ]

Currently, open() is called from the user program and it calls the syscall
'sys_openat', not the 'sys_open'. This leads to an error of the program
of user side, due to the fact that the counter maps are zero since no
function such 'sys_open' is called.

This commit adds the kernel bpf program which are attached to the
tracepoint 'sys_enter_openat' and 'sys_enter_openat'.

Fixes: 1da236b6be ("bpf: add a test case for syscalls/sys_{enter|exit}_* tracepoints")
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-12 12:17:13 +01:00
..
auxdisplay
bpf samples: bpf: fix syscall_tp due to unused syscall 2020-01-12 12:17:13 +01:00
configfs
connector
hidraw
hw_breakpoint
kdb
kfifo
kobject
kprobes
livepatch
mei mei: samples: fix a signedness bug in amt_host_if_call() 2019-11-24 08:19:50 +01:00
mic/mpssd
pktgen samples: pktgen: fix proc_cmd command result check logic 2019-12-31 16:34:59 +01:00
qmi
rpmsg
seccomp
statx
timers
trace_events
trace_printk
uhid
v4l
vfio-mdev vfio-mdev/samples: Use u8 instead of char for handle functions 2019-12-05 09:20:28 +01:00
watchdog
Kconfig
Makefile