[PATCH v2 0/2] perf: Fix bpf prologue generation, uaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux