From patchwork Tue Nov 15 04:05:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Nan X-Patchwork-Id: 82221 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1340664qge; Mon, 14 Nov 2016 20:08:25 -0800 (PST) X-Received: by 10.98.89.129 with SMTP id k1mr42547937pfj.180.1479182905165; Mon, 14 Nov 2016 20:08:25 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q3si20820821paw.39.2016.11.14.20.08.24; Mon, 14 Nov 2016 20:08:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965893AbcKOEIQ (ORCPT + 26 others); Mon, 14 Nov 2016 23:08:16 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:54708 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755263AbcKOEIL (ORCPT ); Mon, 14 Nov 2016 23:08:11 -0500 Received: from 172.24.1.47 (EHLO SZXEML429-HUB.china.huawei.com) ([172.24.1.47]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DQQ94743; Tue, 15 Nov 2016 12:08:00 +0800 (CST) Received: from linux-4hy3.site (10.107.193.248) by SZXEML429-HUB.china.huawei.com (10.82.67.184) with Microsoft SMTP Server id 14.3.235.1; Tue, 15 Nov 2016 12:07:51 +0800 From: Wang Nan To: , CC: , , , , Wang Nan , "Naveen N . Rao" Subject: [PATCH 03/34] tools perf: Add missing struct defeinition in probe_event.h Date: Tue, 15 Nov 2016 04:05:46 +0000 Message-ID: <20161115040617.69788-4-wangnan0@huawei.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161115040617.69788-1-wangnan0@huawei.com> References: <20161115040617.69788-1-wangnan0@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.107.193.248] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 0b3c2264ae30 ("perf symbols: Fix kallsyms perf test on ppc64le") referes struct symbol in probe_event.h, but forget include its definition. Gcc will complain for it. Signed-off-by: Wang Nan Cc: Naveen N. Rao Cc: Arnaldo Carvalho de Melo --- tools/perf/util/probe-event.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.10.1 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) */