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
auxdisplay: Replace licenses with SPDX identifiers
2018-04-12 19:02:45 +02:00
bpf
samples: bpf: fix syscall_tp due to unused syscall
2020-01-12 12:17:13 +01:00
configfs
configfs: make config_item_type const
2017-10-19 16:15:15 +02:00
connector
A relatively calm cycle for the docs tree again.
2017-11-13 08:25:06 -08:00
hidraw
kbuild: remove all dummy assignments to obj-
2017-11-18 11:46:06 +09:00
hw_breakpoint
perf: Add context field to perf_event
2011-07-01 11:06:38 +02:00
kdb
kdb: Add kdb kernel module sample
2010-10-29 13:14:39 -05:00
kfifo
kfifo: clean up example to not use page_link
2017-07-12 16:26:01 -07:00
kobject
kobject: Remove redundant license text
2017-12-07 18:36:43 +01:00
kprobes
arch: remove tile port
2018-03-16 10:56:03 +01:00
livepatch
livepatch: check kzalloc return values
2019-02-12 19:47:12 +01:00
mei
mei: samples: fix a signedness bug in amt_host_if_call()
2019-11-24 08:19:50 +01:00
mic /mpssd
Merge branch 'linus' into locking/core, to resolve conflicts
2017-11-07 10:32:44 +01:00
pktgen
samples: pktgen: fix proc_cmd command result check logic
2019-12-31 16:34:59 +01:00
qmi
samples: Introduce Qualcomm QMI sample client
2018-02-12 16:57:22 -08:00
rpmsg
rpmsg: Allow callback to return errors
2016-09-08 22:15:25 -07:00
seccomp
kbuild: Rename HOST_LOADLIBES to KBUILD_HOSTLDLIBS
2018-07-18 01:18:05 +09:00
statx
kbuild: remove all dummy assignments to obj-
2017-11-18 11:46:06 +09:00
timers
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
trace_events
Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-11-15 10:14:11 -08:00
trace_printk
tracing: Add trace_printk sample code
2016-06-20 09:54:21 -04:00
uhid
kbuild: remove all dummy assignments to obj-
2017-11-18 11:46:06 +09:00
v4l
[media] media: v4l2-pci-skeleton: Fix error handling path in 'skeleton_probe()'
2017-10-04 16:55:02 -03:00
vfio-mdev
vfio-mdev/samples: Use u8 instead of char for handle functions
2019-12-05 09:20:28 +01:00
watchdog
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
Kconfig
samples: disable CONFIG_SAMPLES for UML
2018-10-11 02:15:46 +09:00
Makefile
remoteproc updates for v4.17
2018-04-10 12:09:27 -07:00