From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755970AbcHXJYL (ORCPT ); Wed, 24 Aug 2016 05:24:11 -0400 Received: from terminus.zytor.com ([198.137.202.10]:44070 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755921AbcHXJXp (ORCPT ); Wed, 24 Aug 2016 05:23:45 -0400 Date: Wed, 24 Aug 2016 02:23:06 -0700 From: tip-bot for Mathieu Poirier Message-ID: Cc: tglx@linutronix.de, vince@deater.net, jolsa@kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org, acme@redhat.com, mathieu.poirier@linaro.org, mingo@kernel.org, hpa@zytor.com Reply-To: mathieu.poirier@linaro.org, mingo@kernel.org, hpa@zytor.com, vince@deater.net, tglx@linutronix.de, peterz@infradead.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, acme@redhat.com In-Reply-To: <1470932464-726-2-git-send-email-mathieu.poirier@linaro.org> References: <1470932464-726-2-git-send-email-mathieu.poirier@linaro.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] tools: Copy coresight-pmu.h header file needed by perf tools Git-Commit-ID: 39ff526350059e61234d58676c13bcfcaac3a451 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: 39ff526350059e61234d58676c13bcfcaac3a451 Gitweb: http://git.kernel.org/tip/39ff526350059e61234d58676c13bcfcaac3a451 Author: Mathieu Poirier AuthorDate: Thu, 11 Aug 2016 10:20:56 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 23 Aug 2016 15:37:33 -0300 tools: Copy coresight-pmu.h header file needed by perf tools Directly accessing kernel files is not allowed anymore. As such making file coresight-pmu.h accessible by the perf tools and complain if this copy strays from the one found in the main kernel tree. Signed-off-by: Mathieu Poirier Cc: Jiri Olsa Cc: Peter Zijlstra Cc: Vince Weaver Link: http://lkml.kernel.org/r/1470932464-726-2-git-send-email-mathieu.poirier@linaro.org Signed-off-by: Arnaldo Carvalho de Melo --- {include => tools/include}/linux/coresight-pmu.h | 0 tools/perf/MANIFEST | 1 + tools/perf/Makefile.perf | 3 +++ 3 files changed, 4 insertions(+) diff --git a/include/linux/coresight-pmu.h b/tools/include/linux/coresight-pmu.h similarity index 100% copy from include/linux/coresight-pmu.h copy to tools/include/linux/coresight-pmu.h diff --git a/tools/perf/MANIFEST b/tools/perf/MANIFEST index f23a5e7..ff200c6 100644 --- a/tools/perf/MANIFEST +++ b/tools/perf/MANIFEST @@ -60,6 +60,7 @@ tools/include/asm-generic/bitops.h tools/include/linux/atomic.h tools/include/linux/bitops.h tools/include/linux/compiler.h +tools/include/linux/coresight-pmu.h tools/include/linux/filter.h tools/include/linux/hash.h tools/include/linux/kernel.h diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 2d90875..aa7ab23 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -429,6 +429,9 @@ $(PERF_IN): prepare FORCE @(test -f ../../include/asm-generic/bitops/fls64.h && ( \ (diff -B ../include/asm-generic/bitops/fls64.h ../../include/asm-generic/bitops/fls64.h >/dev/null) \ || echo "Warning: tools/include/asm-generic/bitops/fls64.h differs from kernel" >&2 )) || true + @(test -f ../../include/linux/coresight-pmu.h && ( \ + (diff -B ../include/linux/coresight-pmu.h ../../include/linux/coresight-pmu.h >/dev/null) \ + || echo "Warning: tools/include/linux/coresight-pmu.h differs from kernel" >&2 )) || true $(Q)$(MAKE) $(build)=perf $(OUTPUT)perf: $(PERFLIBS) $(PERF_IN) $(LIBTRACEEVENT_DYNAMIC_LIST)