linux/samples
Yonghong Song 34745aed51 samples/bpf: fix kprobe attachment issue on x64
Commit d5a00528b5 ("syscalls/core, syscalls/x86: Rename
struct pt_regs-based sys_*() to __x64_sys_*()") renamed a lot
of syscall function sys_*() to __x64_sys_*().
This caused several kprobe based samples/bpf tests failing.

This patch fixed the problem in bpf_load.c.
For x86_64 architecture, function name __x64_sys_*() will be
first used for kprobe event creation. If the creation is successful,
it will be used. Otherwise, function name sys_*() will be used
for kprobe event creation.

Fixes: d5a00528b5 ("syscalls/core, syscalls/x86: Rename struct pt_regs-based sys_*() to __x64_sys_*()")
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-04-29 20:36:53 -07:00
..
auxdisplay
bpf samples/bpf: fix kprobe attachment issue on x64 2018-04-29 20:36:53 -07:00
configfs
connector
hidraw
hw_breakpoint
kdb
kfifo
kobject
kprobes arch: remove tile port 2018-03-16 10:56:03 +01:00
livepatch livepatch: Allow to call a custom callback when freeing shadow variables 2018-04-17 13:42:48 +02:00
mei
mic/mpssd
pktgen
qmi samples: Introduce Qualcomm QMI sample client 2018-02-12 16:57:22 -08:00
rpmsg
seccomp samples/seccomp: do not compile when cross compiled 2018-02-22 09:31:43 -08:00
statx
timers
trace_events
trace_printk
uhid
v4l
vfio-mdev vfio-mdev/samples: change RDI interrupt condition 2018-03-22 13:18:18 -06:00
watchdog
Kconfig remoteproc updates for v4.17 2018-04-10 12:09:27 -07:00
Makefile remoteproc updates for v4.17 2018-04-10 12:09:27 -07:00