Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756721AbbHZK60 (ORCPT ); Wed, 26 Aug 2015 06:58:26 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:3952 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755606AbbHZK6Z (ORCPT ); Wed, 26 Aug 2015 06:58:25 -0400 From: Wang Nan To: , , CC: , , , , , Wang Nan Subject: [PATCH v3 0/6] perf probe, tracing/uprobes: Support probing at absolute address Date: Wed, 26 Aug 2015 10:57:39 +0000 Message-ID: <1440586666-235233-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 X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.55DD9BCC.0042,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 4ea206bd665a24caaa0af2ed9988c122 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1519 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 v2 can be found from [1]. Following Masami's suggestion, v3 splits bugfixs into their own patches instead of merging with feature. In this series, patch 1/6 to 4/6 are small bugfix. Patch 5/6 is the main patch which support the new syntax. Patch 6/6 is a kernel side small bugfix. Patch 1/6 and 6/6 have already been acked by Masami Hiramatsu. [1] http://lkml.kernel.org/r/1440574825-221187-1-git-send-email-wangnan0@huawei.com Wang Nan (6): perf probe: Prevent segfault when reading probe point with absolute address perf probe: Fix list result when symbol can't be found perf probe: Fix list result when address is zero perf probe: Fix error reported when offset without function 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/