Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp48230imu; Thu, 8 Nov 2018 14:32:36 -0800 (PST) X-Google-Smtp-Source: AJdET5f/lxbO46x/ms455DZ7WSj460zxUrc7EkAPtsnG0yaZRnn49W3Sps9LFKzoZb7FU6bnaKok X-Received: by 2002:a63:e001:: with SMTP id e1mr5361029pgh.39.1541716356899; Thu, 08 Nov 2018 14:32:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541716356; cv=none; d=google.com; s=arc-20160816; b=dnbIO7RxeasMq1t7imNogD2xXar1lVk4bGaWsUkLt1fXjz3XfxtTEB/imquzzkCZmh Jofc/zqcMHbTcGxduK4QaDeHt1tZsPIw4CKMWKBR9y66/Tr56URChTEVC8oFs9rU90/O rMUbWxVt6KhHJB8XVAIeTCxnBokTmr1NizMmuLVcSpTh5HqXOJt9enaznsnvvHeWeEFR dZYPKeBqmtvlHgc0leDmZgkGh+Dv7cGR+k4DgEsAmA1qTi5wM76gOjJIc385FBxRVJkP lIN5szxrgMHN9s46l0LP48LqMiGFXbYJ+3LXPrra2jUnrwCOciDxqtImP8HUvXRmHqvZ V4Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=C3ElCdA6XKDwBaRrNFvIXpzw+1Wfz4k3rHJGtDQvaSo=; b=uTKqYwL27vQT32qvwzRMaxED7PU/0zVu7jpGQFmmXaHC+ZZ7BncIDNZ5vMO8meURMq VWfMG6RYOYyx068hGsfn0VXUIJYfIVT4dKazLkgvVVQGCeewacJyPXN+ZQIIgFVLjHEW UNQBisJ+8PEPrm8XPtbEwSVZlofK6Abi/MT3gXfrezH2TzbRwk7C7m29vAli2E5h52w9 Of4UYHwRKKdoaeK9WCDRtleggtBdKbJnthU/ixuZijY/BbrKJPcbzhJ6KZSYYv/XK9j4 lovMHW79T8RrRbrdAmi9LKDQMdxadYhBnFN8X2yUdhUGBQvqd7k20q5/Kk0j1Uaso/in Y6Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fcjqgWbk; 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 z3-v6si4570486pgh.250.2018.11.08.14.32.21; Thu, 08 Nov 2018 14:32:36 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=fcjqgWbk; 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 S1730567AbeKIHiA (ORCPT + 99 others); Fri, 9 Nov 2018 02:38:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:56936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729667AbeKIHiA (ORCPT ); Fri, 9 Nov 2018 02:38:00 -0500 Received: from localhost (unknown [208.72.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F093721019; Thu, 8 Nov 2018 22:00:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541714431; bh=dLFzDPWsAQrfV3gppys7r7tTgX37b7/29jpJSQ6SQc0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fcjqgWbkXkVMJSFlzfP26McKAOwC+yTag3aNk28hacdMXqw3Atj7mpthQzWzxkhLO KZup8wItq46DrungMvQhTi898XYJnvcnSlCzezM7Xkw51pephxRlVQskrY0xYmmb76 Ch3nLziC+NoZG2ETxVwEdRTCmVs+PepI2ZhSmtkk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rasmus Villemoes , Jiri Olsa , Alexander Shishkin , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 4.4 087/114] perf tools: Disable parallelism for make clean Date: Thu, 8 Nov 2018 13:51:42 -0800 Message-Id: <20181108215108.727184288@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108215059.051093652@linuxfoundation.org> References: <20181108215059.051093652@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit da15fc2fa9c07b23db8f5e479bd8a9f0d741ca07 ] The Yocto build system does a 'make clean' when rebuilding due to changed dependencies, and that consistently fails for me (causing the whole BSP build to fail) with errors such as | find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory | find: '[...]/perf/1.0-r9/perf-1.0/plugin_mac80211.so': No such file or directory | find: find: '[...]/perf/1.0-r9/perf-1.0/libtraceevent.a''[...]/perf/1.0-r9/perf-1.0/libtraceevent.a': No such file or directory: No such file or directory | [...] | find: cannot delete '/mnt/xfs/devel/pil/yocto/tmp-glibc/work/wandboard-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/util/.pstack.o.cmd': No such file or directory Apparently (despite the comment), 'make clean' ends up launching multiple sub-makes that all want to remove the same things - perhaps this only happens in combination with a O=... parameter. In any case, we don't lose much by explicitly disabling the parallelism for the clean target, and it makes automated builds much more reliable. Signed-off-by: Rasmus Villemoes Acked-by: Jiri Olsa Cc: Alexander Shishkin Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20180705131527.19749-1-linux@rasmusvillemoes.dk Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/perf/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -69,10 +69,10 @@ all tags TAGS: $(make) # -# The clean target is not really parallel, don't print the jobs info: +# Explicitly disable parallelism for the clean target. # clean: - $(make) + $(make) -j1 # # The build-test target is not really parallel, don't print the jobs info: