Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933679AbbFSVJA (ORCPT ); Fri, 19 Jun 2015 17:09:00 -0400 Received: from mail.kernel.org ([198.145.29.136]:52045 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933658AbbFSVIh (ORCPT ); Fri, 19 Jun 2015 17:08:37 -0400 Date: Fri, 19 Jun 2015 18:08:32 -0300 From: Arnaldo Carvalho de Melo To: He Kuang Cc: a.p.zijlstra@chello.nl, mingo@redhat.com, masami.hiramatsu.pt@hitachi.com, namhyung@kernel.org, wangnan0@huawei.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] perf probe: Fix failure to probe events on arm Message-ID: <20150619210832.GB28405@kernel.org> References: <5581578A.9060208@hitachi.com> <1434595750-129791-1-git-send-email-hekuang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434595750-129791-1-git-send-email-hekuang@huawei.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 786 Lines: 17 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? - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/