Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp854578pxk; Thu, 17 Sep 2020 19:11:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPRR5hWfN/JkwK7xtsQ7GpS4WZM7vnwVz7gdh68kWEV22GW4DwQSX2p6A1eDviEOTQzqET X-Received: by 2002:a17:906:c113:: with SMTP id do19mr32901973ejc.219.1600395068383; Thu, 17 Sep 2020 19:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600395068; cv=none; d=google.com; s=arc-20160816; b=Dj9SPAyT8nXnaJDPU6zjiUbOsyFs40FTSSm166Ypit/7V/ZRwVLLpKOpV4rINEr8BT kzNlgNpHLThaGgmHFwM8EwIwaiLMS7cMmePNazJCTu//6SUbZzmCdlh1nPQ3X5oTSmtN Imr15fR8lP2UjdsWZkTnZ2ByWLVXm0cqZIlS75GrcQXqPWfkSVWH2Iry0XOxwuz1UjmB xYcsAECClF4pxpyJT9iy7HThQn9VoG6ei+wfMMplKnv4ntGobnhddPzqXvYVyA4NgOCT +PQAXZysYq7l7oueBNnMJCQKjOInM5vvHJ+Tg/6I60MGkTyPAGxSZljdF29VWf/YWz9a lNiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nY/czaRWtiz0zy8Uf3+EHVgzE6XDgjGglDAuCMhE7/E=; b=XiE37/nE9ToNpVEobhzyqKikAJ/udkHSi0KYrNP1RUc50cqOOKirPBqZFDJvlAe2lQ F5s++AexvcvpvICoolxNk9Jc2MZXSgLmSQvfA0dizUlOtRvKBz7ztELj79G/u+xsdrKj cIL18EKRhVy40/pcDQgC5R45K8C4oeBh2jTILyHItd/616OUSl1GreYDWbdM+U3jHdR+ S2cHW2WkygNUhYBB0hhbHWcbNjqOhhsLLcZ2ktMBYAOgrDnGRm3L3Y9Dg5DB8XPPjRXt xJ9+Xa38FzBFey2upS5bhndY7VLuNdq7AAkHNknbC7oA8B29x2NvvM3FshXfPwvRN0Zp 0pDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Zfj5z7rl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo22si1092801edb.187.2020.09.17.19.10.44; Thu, 17 Sep 2020 19:11:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Zfj5z7rl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726970AbgIRCHQ (ORCPT + 99 others); Thu, 17 Sep 2020 22:07:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:57298 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbgIRCHM (ORCPT ); Thu, 17 Sep 2020 22:07:12 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 39825238E3; Fri, 18 Sep 2020 02:07:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600394831; bh=7gT6ozM3I5vn2TytL2fIvxIy5739xDMcFQvEshQMweQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zfj5z7rlE4FdQfDB70fcAaAWLI+dC6k2JKaADkTayH5fP7j+UYVIKbxaKWhOUmawN qqdd22tQBE7rnTq4ZBpfsgNpZo+tg+/YqgQRZs3slp6icFyLavFC+GRG/njiOdTORB yUDvZTcH3Twl/yctzAHSA5EjMFL3DvEkAbJ2rdBc= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Ian Rogers , Adrian Hunter , Alexander Shishkin , Alexios Zavras , Andi Kleen , Greg Kroah-Hartman , Igor Lubashev , Jiri Olsa , Kan Liang , Mark Rutland , Mathieu Poirier , Namhyung Kim , Nick Desaulniers , Peter Zijlstra , Stephane Eranian , Thomas Gleixner , Wei Li , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH AUTOSEL 5.4 293/330] perf trace: Fix the selection for architectures to generate the errno name tables Date: Thu, 17 Sep 2020 22:00:33 -0400 Message-Id: <20200918020110.2063155-293-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200918020110.2063155-1-sashal@kernel.org> References: <20200918020110.2063155-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ian Rogers [ Upstream commit 7597ce89b3ed239f7a3408b930d2a6c7a4c938a1 ] Make the architecture test directory agree with the code comment. Committer notes: This was split from a larger patch. The code was assuming the developer always worked from tools/perf/, so make sure we do the test -d having $toolsdir/perf/arch/$arch, to match the intent expressed in the comment, just above that loop. Signed-off-by: Ian Rogers Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Alexios Zavras Cc: Andi Kleen Cc: Greg Kroah-Hartman Cc: Igor Lubashev Cc: Jiri Olsa Cc: Kan Liang Cc: Mark Rutland Cc: Mathieu Poirier Cc: Namhyung Kim Cc: Nick Desaulniers Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Wei Li Link: http://lore.kernel.org/lkml/20200306071110.130202-4-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/perf/trace/beauty/arch_errno_names.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/trace/beauty/arch_errno_names.sh b/tools/perf/trace/beauty/arch_errno_names.sh index 22c9fc900c847..f8c44a85650be 100755 --- a/tools/perf/trace/beauty/arch_errno_names.sh +++ b/tools/perf/trace/beauty/arch_errno_names.sh @@ -91,7 +91,7 @@ EoHEADER # in tools/perf/arch archlist="" for arch in $(find $toolsdir/arch -maxdepth 1 -mindepth 1 -type d -printf "%f\n" | grep -v x86 | sort); do - test -d arch/$arch && archlist="$archlist $arch" + test -d $toolsdir/perf/arch/$arch && archlist="$archlist $arch" done for arch in x86 $archlist generic; do -- 2.25.1