Messages in this thread | | | Date | Thu, 12 Apr 2012 14:58:26 +0530 | From | Prashanth Nageshappa <> | Subject | [PATCH 0/2] perf/probe: verify instruction/offset in perf before adding a uprobe |
| |
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
| |