[PATCH 0/2] perf/probe: verify instruction/offset in perf beforeadding a uprobe

From: Prashanth Nageshappa
Date: Thu Apr 12 2012 - 05:29:05 EST


This patch series is to augment Srikar's perf support for uprobes patch
(https://lkml.org/lkml/2012/4/11/191) with the following features:

a. Instruction verification for user space tracing
b. Function boundary validation support to uprobes as its kernel
counterpart (Commit-ID: 1c1bc922).

This will help in ensuring uprobe is placed at right location inside
the intended function.


--
Prashanth Nageshappa (1):
address build warnings/errors in insn.c
changes to perf code to verify instruction/offset before adding uprobe


arch/x86/lib/insn.c | 8 +++
tools/perf/arch/x86/Makefile | 4 ++
tools/perf/arch/x86/util/probe-event.c | 83 ++++++++++++++++++++++++++++++++
tools/perf/util/include/linux/string.h | 1
tools/perf/util/probe-event.c | 22 ++++++++
tools/perf/util/probe-event.h | 2 +
tools/perf/util/symbol.c | 2 +
tools/perf/util/symbol.h | 1
8 files changed, 122 insertions(+), 1 deletions(-)
create mode 100644 tools/perf/arch/x86/util/probe-event.c

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/