Skip to content

perf: Fix bpf prologue generation, uaccess

Sumanth Korikkar bpf linux-perf-users lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

- Split the patches and add Acked-By

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf: Fix user attribute access in kprobestools/perf/util/probe-event.c tools/perf/util/probe-file.c+6 -32 replies
2/2perf: Fix bpf prologue generationtools/perf/util/bpf-prologue.c+10 -41 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchThomas RichterMasami Hiramatsu
1/2R-b A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.17.1