Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753409AbbFWDHe (ORCPT ); Mon, 22 Jun 2015 23:07:34 -0400 Received: from mail4.hitachi.co.jp ([133.145.228.5]:45888 "EHLO mail4.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750941AbbFWDHd (ORCPT ); Mon, 22 Jun 2015 23:07:33 -0400 Message-ID: <5588CD6D.80503@hitachi.com> Date: Tue, 23 Jun 2015 12:07:25 +0900 From: Masami Hiramatsu Organization: Hitachi, Ltd., Japan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Arnaldo Carvalho de Melo , He Kuang CC: a.p.zijlstra@chello.nl, mingo@redhat.com, namhyung@kernel.org, wangnan0@huawei.com, linux-kernel@vger.kernel.org Subject: Re: Re: [PATCH v2] perf probe: Fix failure to probe events on arm References: <5581578A.9060208@hitachi.com> <1434595750-129791-1-git-send-email-hekuang@huawei.com> <20150619210832.GB28405@kernel.org> In-Reply-To: <20150619210832.GB28405@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1126 Lines: 29 On 2015/06/20 6:08, Arnaldo Carvalho de Melo wrote: > Em Thu, Jun 18, 2015 at 02:49:10AM +0000, He Kuang escreveu: >> Fix failure to probe events on arm, problem is introduced by commit >> 5a51fcd1f30c ("perf probe: Skip kernel symbols which is out of >> .text"). For some architectures, label '_etext' is not in the .text >> section(in .notes section for arm/arm64). Label out of .text section is >> not loaded as symbols and we got a zero value when look up its address, >> which causes all events be wrongly skiped. >> >> This patch skip checking text address range when failed to get the >> address of '_etext' and fixes the problem. > > Masami, since you guys discussed this patch, can I have your Acked-by? Oops, I missed the mails.. OK I'll send it. Thanks! -- Masami HIRAMATSU Linux Technology Research Center, System Productivity Research Dept. Center for Technology Innovation - Systems Engineering Hitachi, Ltd., Research & Development Group E-mail: masami.hiramatsu.pt@hitachi.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/