Received: by 10.192.165.156 with SMTP id m28csp1110783imm; Wed, 11 Apr 2018 12:37:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+TtiCHKaMsx6rDFCxAVB65fXqZM4HOYhoyiEpVkRW6LxFhAWJ2SGnX2TAAk62Noov7T0Dz X-Received: by 2002:a17:902:2d24:: with SMTP id o33-v6mr6603548plb.143.1523475433030; Wed, 11 Apr 2018 12:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523475433; cv=none; d=google.com; s=arc-20160816; b=kGNGZgtEppQtAxXiE4Y1yjCbDz43+bAAivRhu9Kve8FG8ZMlxjDZwCwqz5Pw1XtPvC IyiIkQitXk92vfUvQEuF/j6Q+qMJnpKYLTBDfVr3Hinwk8rlY7zUh55iVGws6H44KtE+ f8Rc2HDo9O5ESz/zv9pqy44mpmb0asrnECn3m7j2La0EQymfVOUnmRqlGNG9c3a3A2F5 LPbhsCyvJwobSc69FeRjg/EKxyATTmgekRgaJqq0oPnlaYC4vC8UeRaJQiYHMuGODM2Z W690qWVOWFl0t5nDWBa8XWY0BfFAgzD/+xVuzIm+4b/cTJNbFauPaqUGuZwMjaTCEUnj mKTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=91ZMEFNO8orEtncJRC9wk5ZvvvighFEA/ZKMu2Kqhqg=; b=ApE5tPh+TNWaDVxe97y5yeX0bNjXjk51APXJd1E6yJoWrACksXpCmPd48IIlqni+G0 cCYZzzIw1eZ1Zadd7iJ9n0JaZCm3cufySg21UeTC4RGhH0hgpCnkWMGNNUSCTi9CkIJw VGHlZ0qS3ir52IvnGMxEcIQnQ3edqqrxnV0uX9tkz3EbnwvZ/TBOdluAAVvCF8pa33TF 3u29Sr36L0a+MVQp6kouVznhjhVwVT8FzVjF6iMIihONXea/orIKJFoIamsx0BSL8B6z 7GRwsvjX2lkB4FiT9d91PzjuwmeY0rTPPzxLDltW0wdosHKf+xeSxpg+TfvXcQr97xJe WMdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11-v6si1710715pls.422.2018.04.11.12.36.36; Wed, 11 Apr 2018 12:37:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757278AbeDKTeD (ORCPT + 99 others); Wed, 11 Apr 2018 15:34:03 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48448 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756593AbeDKTeC (ORCPT ); Wed, 11 Apr 2018 15:34:02 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 23100DCF; Wed, 11 Apr 2018 19:34:01 +0000 (UTC) Date: Wed, 11 Apr 2018 21:33:53 +0200 From: Greg Kroah-Hartman To: Murilo Opsfelder Araujo Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Alexander Shishkin , Andi Kleen , Arnaldo Carvalho de Melo , David Carrillo-Cisneros , He Kuang , Ingo Molnar , Jiri Olsa , Masami Hiramatsu , Paul Mackerras , Paul Turner , Peter Zijlstra , Sasha Levin , Simon Que , Stephane Eranian , Wang Nan Subject: Re: [PATCH] perf session: Fix undeclared 'oe' Message-ID: <20180411193353.GA5656@kroah.com> References: <20180411184135.27664-1-muriloo@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180411184135.27664-1-muriloo@linux.ibm.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 11, 2018 at 03:41:35PM -0300, Murilo Opsfelder Araujo wrote: > Using linux-3.18.y branch, perf build fails with the following: > > $ make -s -j16 -C tools/perf V=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_LIBNUMA=1 NO_STRLCPY=1 NO_BIONIC=1 prefix=/usr DESTDIR=/tmp/builddir/build all > [...] > util/session.c: In function ‘__perf_session__process_pipe_events’: > util/session.c:1093:36: error: ‘oe’ undeclared (first use in this function) > ordered_events__set_copy_on_queue(oe, true); > ^ > util/session.c:1093:36: note: each undeclared identifier is reported only once for each function it appears in > > This patch fixes it for linux-3.18.y branch. Why is this failing now? Has it always been broken? Is there an upstream patch that fixed this instead? > Fixes: 95b33b99cdd6 ("perf inject: Copy events when reordering events in pipe mode") Was this just a bad backport? thanks, greg k-h