From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S944835AbdDTLP6 (ORCPT ); Thu, 20 Apr 2017 07:15:58 -0400 Received: from terminus.zytor.com ([65.50.211.136]:60105 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942313AbdDTLP4 (ORCPT ); Thu, 20 Apr 2017 07:15:56 -0400 Date: Thu, 20 Apr 2017 04:13:43 -0700 From: tip-bot for Arnaldo Carvalho de Melo Message-ID: Cc: adrian.hunter@intel.com, dsahern@gmail.com, linux-kernel@vger.kernel.org, acme@redhat.com, wangnan0@huawei.com, hpa@zytor.com, jolsa@kernel.org, tglx@linutronix.de, mingo@kernel.org, namhyung@kernel.org Reply-To: acme@redhat.com, adrian.hunter@intel.com, dsahern@gmail.com, linux-kernel@vger.kernel.org, namhyung@kernel.org, wangnan0@huawei.com, hpa@zytor.com, jolsa@kernel.org, mingo@kernel.org, tglx@linutronix.de To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Use api/fs/tracing_path.h where needed Git-Commit-ID: 20a9ed280dde6292c529dfdaaf9ce743ef71bb1f 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: 20a9ed280dde6292c529dfdaaf9ce743ef71bb1f Gitweb: http://git.kernel.org/tip/20a9ed280dde6292c529dfdaaf9ce743ef71bb1f Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 18 Apr 2017 11:44:58 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 19 Apr 2017 13:01:54 -0300 perf tools: Use api/fs/tracing_path.h where needed Instead of getting it out of luck from util.h, where it isn't needed at all. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-0bqugg5lc5ksla1v4m0dnmc1@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/builtin-ftrace.c | 1 + tools/perf/tests/parse-events.c | 1 + tools/perf/util/util.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-ftrace.c b/tools/perf/builtin-ftrace.c index 67d1403..0f34ab7 100644 --- a/tools/perf/builtin-ftrace.c +++ b/tools/perf/builtin-ftrace.c @@ -16,6 +16,7 @@ #include "debug.h" #include +#include #include "evlist.h" #include "target.h" #include "cpumap.h" diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c index 66ecc3f..f5b77f5 100644 --- a/tools/perf/tests/parse-events.c +++ b/tools/perf/tests/parse-events.c @@ -9,6 +9,7 @@ #include #include #include +#include #define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \ PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD) diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 423ed7f..d4910e4 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -34,7 +34,6 @@ #include #include #include -#include extern char buildid_dir[];