From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932656AbdJXKT0 (ORCPT ); Tue, 24 Oct 2017 06:19:26 -0400 Received: from terminus.zytor.com ([65.50.211.136]:56333 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932270AbdJXKTU (ORCPT ); Tue, 24 Oct 2017 06:19:20 -0400 Date: Tue, 24 Oct 2017 03:17:06 -0700 From: tip-bot for Arnaldo Carvalho de Melo Message-ID: Cc: dsahern@gmail.com, jolsa@kernel.org, wangnan0@huawei.com, linux-kernel@vger.kernel.org, lizhijian@cn.fujitsu.com, adrian.hunter@intel.com, tglx@linutronix.de, acme@redhat.com, hpa@zytor.com, namhyung@kernel.org, mingo@kernel.org Reply-To: adrian.hunter@intel.com, acme@redhat.com, tglx@linutronix.de, hpa@zytor.com, namhyung@kernel.org, mingo@kernel.org, dsahern@gmail.com, jolsa@kernel.org, wangnan0@huawei.com, linux-kernel@vger.kernel.org, lizhijian@cn.fujitsu.com To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf namespaces: Add more appropriate set of headers Git-Commit-ID: b1f03ca4ee784390457dfb2009601cd7dcac025e 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: b1f03ca4ee784390457dfb2009601cd7dcac025e Gitweb: https://git.kernel.org/tip/b1f03ca4ee784390457dfb2009601cd7dcac025e Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 19 Oct 2017 15:11:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 23 Oct 2017 16:30:54 -0300 perf namespaces: Add more appropriate set of headers We don't need perf.h, that is a kitchen sink, all we need is perf_events.h for perf_ns_link_info, sys/types.h for pid_t and linux/types.h for u64, list_head. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Li Zhijian Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-f2uxyaj4s2hmntkrezpa6dqz@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/namespaces.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/namespaces.h b/tools/perf/util/namespaces.h index 05d8260..760558d 100644 --- a/tools/perf/util/namespaces.h +++ b/tools/perf/util/namespaces.h @@ -9,9 +9,10 @@ #ifndef __PERF_NAMESPACES_H #define __PERF_NAMESPACES_H -#include "../perf.h" -#include +#include +#include #include +#include struct namespaces_event;