uprobes/perf: pre-filtering
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | perf: Ensure we do not free event->parent before eventkernel/ | +12 | 1 reply | |
| 2/7 | perf: Introduce hw_perf_event->tp_target and ->tp_listinclude/ kernel/ | +11 | 1 reply | |
| 3/7 | uprobes: Introduce uprobe_apply()include/ kernel/ | +41 | 1 reply | |
| 4/7 | uprobes/perf: Teach trace_uprobe/perf code to track the active perf_event'skernel/ | +55 | 1 reply | |
| 5/7 | uprobes/perf: Teach trace_uprobe/perf code to pre-filterkernel/ | +43 | 1 reply | |
| 6/7 | uprobes/perf: Teach trace_uprobe/perf code to use UPROBE_HANDLER_REMOVEkernel/ | +14 | 1 reply | |
| 7/7 | uprobes/perf: Avoid uprobe_apply() whenever possiblekernel/ | +36 | 1 reply |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Srikar Dronamraju |
|---|---|
| 1/7 | |
| 2/7 | A-b |
| 3/7 | A-b |
| 4/7 | A-b |
| 5/7 | A-b |
| 6/7 | A-b |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] uprobes/perf: pre-filtering
Hello.
Based on git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core, on top of "[PATCH 0/5] uprobes: kill uprobe_trace_consumer and other cleanups" series.
With this series 'perf record -e uprobe ...' does not install the breakpoints into the processes it doesn't want to probe.
Probably this all needs more testing (the last patch for sure) but please review. I'll try to do more testing tomorrow.
A special note about 1/7. It was actually needed for initial implementation, this version doesn't need it. Still I am sending it at least for review, it looks "natural" and potentially useful, and I would like to know if it is correct or not.
Oleg.
include/linux/perf_event.h | 9 ++- include/linux/uprobes.h | 6 ++ kernel/events/core.c | 29 +++++---- kernel/events/uprobes.c | 39 ++++++++++- kernel/trace/trace_uprobe.c | 152 ++++++++++++++++++++++++++++++++++++++++--- 5 files changed, 206 insertions(+), 29 deletions(-)