Patches: 1. Fix bpf prologue generation. bpf_probe_read is unavailable for arch with overlapping address space. If uaccess, use bpf_probe_read_user. Otherwise, use bpf_probe_read_kernel. 2. Fix uaccess in kprobes. Now perf probe add with @user attribute works v1->v2: - Split the patches and add Acked-By Thank you. Sumanth Korikkar (2): perf: Fix user attribute access in kprobes perf: Fix bpf prologue generation tools/perf/util/bpf-prologue.c | 14 ++++++++++---- tools/perf/util/probe-event.c | 7 +++++-- tools/perf/util/probe-file.c | 2 +- 3 files changed, 16 insertions(+), 7 deletions(-) -- 2.17.1