Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934064AbbDWL3W (ORCPT ); Thu, 23 Apr 2015 07:29:22 -0400 Received: from foss.arm.com ([217.140.101.70]:50951 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933774AbbDWL3V (ORCPT ); Thu, 23 Apr 2015 07:29:21 -0400 Date: Thu, 23 Apr 2015 12:29:17 +0100 From: Will Deacon To: david.ahern@oracle.com Cc: linux-kernel@vger.kernel.org, mark.rutland@arm.com, jolsa@kernel.org, namhyung@kernel.org, acme@redhat.com Subject: arm/arm64 perf build issue with mainline Message-ID: <20150423112916.GF1652@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 806 Lines: 26 Hi all, Commit 6428c59a97de ("perf tools: Set JOBS based on CPU or processor") causes weird behaviour on arm/arm64 platforms because we use the "CPU" prefix for things like: CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 0 in /proc/cpuinfo. Consequently, a 6 core machine ends up doing: will@confinement-loaf:~/linux/tools/perf$ make BUILD: Doing 'make -j36' parallel build which is a little overwhelming. Any chance we can predicate the extra part of the regex on $(ARCH) being sparc? Will -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/