From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E8C1138334 for ; Sun, 5 Jan 2020 02:04:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DC44E09BF; Sun, 5 Jan 2020 02:04:17 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D696E09BF for ; Sun, 5 Jan 2020 02:04:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 259FA34DDB1 for ; Sun, 5 Jan 2020 02:04:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F5E4AC for ; Sun, 5 Jan 2020 02:04:14 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1578189807.2f0984a4ca63a39961bf113bb2b7bdbfe0442ea8.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/perf/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/perf/files/perf-5.4.7-propagate-cflags.patch X-VCS-Directories: dev-util/perf/files/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 2f0984a4ca63a39961bf113bb2b7bdbfe0442ea8 X-VCS-Branch: master Date: Sun, 5 Jan 2020 02:04:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3fa3154c-e219-4a73-8a9b-db74e72f864d X-Archives-Hash: 96ece7e9b978ae74fd54d74f018ccd60 commit: 2f0984a4ca63a39961bf113bb2b7bdbfe0442ea8 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Jan 5 02:01:53 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jan 5 02:03:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f0984a4 dev-util/perf: add missing patch for 5.4.7 Closes: https://bugs.gentoo.org/704798 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev gentoo.org> .../perf/files/perf-5.4.7-propagate-cflags.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-util/perf/files/perf-5.4.7-propagate-cflags.patch b/dev-util/perf/files/perf-5.4.7-propagate-cflags.patch new file mode 100644 index 00000000000..b1a9bcc25a1 --- /dev/null +++ b/dev-util/perf/files/perf-5.4.7-propagate-cflags.patch @@ -0,0 +1,44 @@ +From 55542113c690a567e728e40d4181d7d037fc21b0 Mon Sep 17 00:00:00 2001 +From: Jiri Olsa +Date: Fri, 11 Oct 2019 14:21:55 +0200 +Subject: perf tools: Propagate CFLAGS to libperf + +Andi reported that 'make DEBUG=1' does not propagate to the libbperf +code. It's true also for the other flags. Changing the code to propagate +the global build flags to libperf compilation. + +Reported-by: Andi Kleen +Signed-off-by: Jiri Olsa +Cc: Alexander Shishkin +Cc: Michael Petlan +Cc: Namhyung Kim +Cc: Peter Zijlstra +Link: http://lore.kernel.org/lkml/20191011122155.15738-1-jolsa@kernel.org +Signed-off-by: Arnaldo Carvalho de Melo +--- + tools/perf/lib/core.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +(limited to 'tools/perf/lib/core.c') + +diff --git a/tools/perf/lib/core.c b/tools/perf/lib/core.c +index d0b9ae422b9f..58fc894b76c5 100644 +--- a/tools/perf/lib/core.c ++++ b/tools/perf/lib/core.c +@@ -5,11 +5,12 @@ + #include + #include + #include ++#include + #include + #include + #include "internal.h" + +-static int __base_pr(enum libperf_print_level level, const char *format, ++static int __base_pr(enum libperf_print_level level __maybe_unused, const char *format, + va_list args) + { + return vfprintf(stderr, format, args); +-- +cgit 1.2-0.3.lf.el7 +