Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933076AbcKYRXb (ORCPT ); Fri, 25 Nov 2016 12:23:31 -0500 Received: from terminus.zytor.com ([198.137.202.10]:50012 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932436AbcKYRWG (ORCPT ); Fri, 25 Nov 2016 12:22:06 -0500 Date: Fri, 25 Nov 2016 09:21:53 -0800 From: tip-bot for Wang Nan Message-ID: Cc: mingo@kernel.org, ast@fb.com, lizefan@huawei.com, linux-kernel@vger.kernel.org, naveen.n.rao@linux.vnet.ibm.com, hpa@zytor.com, hekuang@huawei.com, acme@redhat.com, tglx@linutronix.de, wangnan0@huawei.com Reply-To: wangnan0@huawei.com, tglx@linutronix.de, acme@redhat.com, hekuang@huawei.com, hpa@zytor.com, naveen.n.rao@linux.vnet.ibm.com, lizefan@huawei.com, ast@fb.com, linux-kernel@vger.kernel.org, mingo@kernel.org In-Reply-To: <20161115040617.69788-4-wangnan0@huawei.com> References: <20161115040617.69788-4-wangnan0@huawei.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Add missing struct definition in probe_event.h Git-Commit-ID: d6be16719e0b65f586ae4a301f02407422e6b5dd 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: 1535 Lines: 40 Commit-ID: d6be16719e0b65f586ae4a301f02407422e6b5dd Gitweb: http://git.kernel.org/tip/d6be16719e0b65f586ae4a301f02407422e6b5dd Author: Wang Nan AuthorDate: Tue, 15 Nov 2016 04:05:46 +0000 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 25 Nov 2016 11:25:46 -0300 perf tools: Add missing struct definition in probe_event.h Commit 0b3c2264ae30 ("perf symbols: Fix kallsyms perf test on ppc64le") refers struct symbol in probe_event.h, but forgets to include its definition. Gcc will complain about it when that definition is not added, by sheer luck, by some other header included before probe_event.h. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: He Kuang Cc: Naveen N. Rao Cc: Zefan Li Cc: pi3orama@163.com Link: http://lkml.kernel.org/r/20161115040617.69788-4-wangnan0@huawei.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/probe-event.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/util/probe-event.h b/tools/perf/util/probe-event.h index 8091d15..5d4e940 100644 --- a/tools/perf/util/probe-event.h +++ b/tools/perf/util/probe-event.h @@ -18,6 +18,8 @@ struct probe_conf { extern struct probe_conf probe_conf; extern bool probe_event_dry_run; +struct symbol; + /* kprobe-tracer and uprobe-tracer tracing point */ struct probe_trace_point { char *realname; /* function real name (if needed) */