From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1428380AbdDXVIL (ORCPT ); Mon, 24 Apr 2017 17:08:11 -0400 Received: from terminus.zytor.com ([65.50.211.136]:40621 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967462AbdDXVIE (ORCPT ); Mon, 24 Apr 2017 17:08:04 -0400 Date: Mon, 24 Apr 2017 14:06:54 -0700 From: tip-bot for Arnaldo Carvalho de Melo Message-ID: Cc: mingo@kernel.org, hpa@zytor.com, tglx@linutronix.de, acme@redhat.com, linux-kernel@vger.kernel.org Reply-To: tglx@linutronix.de, acme@redhat.com, linux-kernel@vger.kernel.org, mingo@kernel.org, hpa@zytor.com To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf unwind: Provide only forward declarations for pointer types Git-Commit-ID: 3dfed9102694227aa763b9984c50d72de796d39b 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 Commit-ID: 3dfed9102694227aa763b9984c50d72de796d39b Gitweb: http://git.kernel.org/tip/3dfed9102694227aa763b9984c50d72de796d39b Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 19 Apr 2017 13:28:30 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 20 Apr 2017 13:22:43 -0300 perf unwind: Provide only forward declarations for pointer types No need to drag the headers, helps in untangling them and reducing build time. Link: http://lkml.kernel.org/n/tip-l8soqph92duyw5jdha0fij8b@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/unwind.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/unwind.h b/tools/perf/util/unwind.h index 61fb1e9..bfbdcc6 100644 --- a/tools/perf/util/unwind.h +++ b/tools/perf/util/unwind.h @@ -1,10 +1,13 @@ #ifndef __UNWIND_H #define __UNWIND_H +#include #include -#include "event.h" -#include "symbol.h" -#include "thread.h" + +struct map; +struct perf_sample; +struct symbol; +struct thread; struct unwind_entry { struct map *map;