Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932476AbbDHPPO (ORCPT ); Wed, 8 Apr 2015 11:15:14 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40398 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754608AbbDHPPK (ORCPT ); Wed, 8 Apr 2015 11:15:10 -0400 Date: Wed, 8 Apr 2015 08:14:47 -0700 From: tip-bot for Wang Nan Message-ID: Cc: namhyung@kernel.org, jolsa@kernel.org, acme@redhat.com, wangnan0@huawei.com, masami.hiramatsu.pt@hitachi.com, lizefan@huawei.com, mingo@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, tglx@linutronix.de Reply-To: mingo@kernel.org, lizefan@huawei.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com, namhyung@kernel.org, jolsa@kernel.org, acme@redhat.com, masami.hiramatsu.pt@hitachi.com, wangnan0@huawei.com In-Reply-To: <1428459274-138470-1-git-send-email-wangnan0@huawei.com> References: <1428459274-138470-1-git-send-email-wangnan0@huawei.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf probe: Fix ARM 32 building error Git-Commit-ID: f6c15621f04b97ce882c66e5055f0ac325fb8eb8 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1840 Lines: 46 Commit-ID: f6c15621f04b97ce882c66e5055f0ac325fb8eb8 Gitweb: http://git.kernel.org/tip/f6c15621f04b97ce882c66e5055f0ac325fb8eb8 Author: Wang Nan AuthorDate: Wed, 8 Apr 2015 02:14:34 +0000 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 8 Apr 2015 10:49:48 -0300 perf probe: Fix ARM 32 building error Commit 9b118acae310f57baee770b5db402500d8695e50 ("perf probe: Fix to handle aliased symbols in glibc") uses an absolute format '%lx' to print u64 argument, which causes compiling error on ARM 32. This patch replaces it with PRIx64. Signed-off-by: Wang Nan Acked-by: Masami Hiramatsu Cc: Jiri Olsa Cc: Namhyung Kim Cc: Zefan Li Cc: pi3orama@163.com Link: http://lkml.kernel.org/r/1428459274-138470-1-git-send-email-wangnan0@huawei.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/probe-event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index 4fd49f0..b788517 100644 --- a/tools/perf/util/probe-event.c +++ b/tools/perf/util/probe-event.c @@ -322,7 +322,8 @@ static int find_alternative_probe_point(struct debuginfo *dinfo, ret = -ENOENT; goto out; } - pr_debug("Symbol %s address found : %lx\n", pp->function, address); + pr_debug("Symbol %s address found : %" PRIx64 "\n", + pp->function, address); ret = debuginfo__find_probe_point(dinfo, (unsigned long)address, result); -- 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/