All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] perf: Fix bpf prologue generation, uaccess
@ 2020-06-09  8:10 Sumanth Korikkar
  2020-06-09  8:10 ` [PATCH v2 1/2] perf: Fix user attribute access in kprobes Sumanth Korikkar
  2020-06-09  8:10 ` [PATCH v2 2/2] perf: Fix bpf prologue generation Sumanth Korikkar
  0 siblings, 2 replies; 6+ messages in thread
From: Sumanth Korikkar @ 2020-06-09  8:10 UTC (permalink / raw)
  To: linux-perf-users, acme
  Cc: bpf, jolsa, tmricht, heiko.carstens, mhiramat, iii,
	Sumanth Korikkar

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-09 15:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-09  8:10 [PATCH v2 0/2] perf: Fix bpf prologue generation, uaccess Sumanth Korikkar
2020-06-09  8:10 ` [PATCH v2 1/2] perf: Fix user attribute access in kprobes Sumanth Korikkar
2020-06-09 15:09   ` Arnaldo Carvalho de Melo
2020-06-09 15:13     ` Arnaldo Carvalho de Melo
2020-06-09  8:10 ` [PATCH v2 2/2] perf: Fix bpf prologue generation Sumanth Korikkar
2020-06-09 15:27   ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.