Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756642AbbHZHkv (ORCPT ); Wed, 26 Aug 2015 03:40:51 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:2369 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756464AbbHZHkt (ORCPT ); Wed, 26 Aug 2015 03:40:49 -0400 From: Wang Nan To: , , CC: , , , Subject: [PATCH v2 0/4] perf probe, tracing/uprobes: Support probing at absolute address Date: Wed, 26 Aug 2015 07:40:21 +0000 Message-ID: <1440574825-221187-1-git-send-email-wangnan0@huawei.com> X-Mailer: git-send-email 1.8.3.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.193.248] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1418 Lines: 39 The goal of these 4 patches is to allow perf probing at absolute address for uprobes and kprobes. During the development several small problem in 'perf probe -l' is found and fixed. Patch 1 has already acked by Masami Hiramatsu. Patch 2 fixes a problem about zero address in perf side. Patch 3 is the main patch of these 4. It allows following command: # perf probe /lib/x86_64-linux-gnu/libc-2.19.so 0xeb860 Different from v1, no extra '+' is required. Patch 4 is a kernel side patch which fixes a small problem in uprobe_event that, if address is 0, uprobe_events reports '0x (null)'. It is independent from the other patches. Wang Nan (4): perf probe: Prevent segfault when reading probe point with absolute address perf probe: Fix list result when address is zero perf probe: Support probing at absolute address tracing/uprobes: Do not print '0x (null)' when offset is 0 kernel/trace/trace_uprobe.c | 17 +++- tools/perf/util/probe-event.c | 210 +++++++++++++++++++++++++++++++++++++---- tools/perf/util/probe-event.h | 4 + tools/perf/util/probe-finder.c | 21 +---- 4 files changed, 216 insertions(+), 36 deletions(-) -- 1.8.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/