[lkml]   [2013]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/7] uprobes/perf: pre-filtering

Based on git:// uprobes/core,
on top of "[PATCH 0/5] uprobes: kill uprobe_trace_consumer and other cleanups"

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.


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(-)

 \ /
  Last update: 2013-02-04 20:43    [W:0.167 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site