Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1720315lqe; Mon, 8 Apr 2024 19:34:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVGkus7d5DgNINUyRf85W6+u4irrPqdgBRHYugCjQfyD8zHgxIkS7dMF/6Cv4HI8RencEf6mRSI7fbfl9r6OfvUl9ZNm94O4tfNgQ80g== X-Google-Smtp-Source: AGHT+IHLKzZdDClRCBn1F0TMH0Dd7cApbzPcZ43QS9KMp1JgiM+6Sbrseem68HY4VuvW//8Wy6Rx X-Received: by 2002:a17:90a:4614:b0:2a4:ca45:ded1 with SMTP id w20-20020a17090a461400b002a4ca45ded1mr5194525pjg.28.1712630096772; Mon, 08 Apr 2024 19:34:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712630096; cv=pass; d=google.com; s=arc-20160816; b=UZtsQ5VI8a0948cUN4rC7kHqAgddjsuvMFKlpw+6xyuc97dnEUFDIFUnDF4QMSVVYq VUEm2ztv+Hdm+PDjtmc0Wn29h8a8FSSr7dtD8xTbu8qr7yCn5IqcitInuQ1Gfusd4psJ /1cUWLootcZxCcVOBGbOueg+kG2z8tGVnYzfmwnOPi15+V+2Y/p4YMw+dVNXHOA48IDT oJ/8roARD9VApViTLwgUncNJRYP2TO4LqjaFQiT0iTV+0fJXLBj1siq2pqJRYfJ7kunn GGRId+k3lqN8oaKWZEdTzQFeiS61SAErCwgA51Ro4MEP9dzMh/IyqDI6/b/B0Nqsjx6w XHmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:date:dkim-signature; bh=KUIS0MyTzJCVZ+gD/HZpV18hXpIYqV5o1vAPtPINFuE=; fh=OC/Dvm4lySltrbbAEg9RXQfQ6jUUtAHczmgrkQFB8zA=; b=HFhby6mDjTU0ZZKP00N1tx1NclqyjEQqtYKLAOZAl7zzTLBQ54dKnGnR0ugkbjk9ae AolcTjR3QtimnBh6XYizG1XdDzLY4BRolYliJjtK2ZHTEgZuiO5Yc2I7/MF0BDOmG5vz iYrbG0G7uCuF0iYhD10qHQG4b9fqM35dZHaUeVVnU2HhWxwGvDgkwZmF9RirYyOUQpsW OBXrSq9KIXxcZld55uy0w1W1FrnR5DCqh0EWQ2NEtdzQaRXuJ3GICA7MH56fPiziRc5U 6JDQ0r5k0nJZ8iAVWaYYj5QZh2TetPX5eieFuMEx1WepW8co7dKrtOqHWREglV+Aan51 yuXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=BWLA7b5x; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-136134-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s13-20020a17090aad8d00b002a291738b3fsi9628749pjq.172.2024.04.08.19.34.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 19:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136134-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=BWLA7b5x; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-136134-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 3BE99B23D75 for ; Tue, 9 Apr 2024 02:32:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4123E548F9; Tue, 9 Apr 2024 02:32:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="BWLA7b5x" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01E4B54792 for ; Tue, 9 Apr 2024 02:32:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712629942; cv=none; b=rB4szUkKn7iJeB7nQJ9X3K08dRS3YnPno6tewS7DzhsaeQ0qZCQNbesoAMrEmVPe6TRubPd6CRdVbegsAHvSGHs7j6J49sHpbvIUAgTLzpAJpsh6+vxej83TJeLO0LQXKKwS7vVF+LbYUZEhABMNF5SEwP48DSEKXfao2xDyfnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712629942; c=relaxed/simple; bh=Ig1KBbQC+Wey0nk2eqBsqNOecgBt4OBUm9yv3zQ5v3c=; h=Date:Message-Id:Mime-Version:Subject:From:To:Content-Type; b=XWQT+AAiuHlk1pgMyXxCGyCnZCZerP6TIDo1cH3igwdlEq8VYdgNok42aqZYV1K5vRjeLtRfiFw4iwyfIotcTJj+SUoSDVwNdAnV/D/V6ElEoThi/5B2R8Goukz3W+Ljhd0ZSqH8qrfJvbej/k3TR/3jlQRhRjqDshdNsvZOe5k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=BWLA7b5x; arc=none smtp.client-ip=209.85.219.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dd944567b6cso6726011276.2 for ; Mon, 08 Apr 2024 19:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712629940; x=1713234740; darn=vger.kernel.org; h=to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=KUIS0MyTzJCVZ+gD/HZpV18hXpIYqV5o1vAPtPINFuE=; b=BWLA7b5xa0LQOm1Oe+68LZhu6+oFcL6XB8p/nKFY1TzLW2nEoPYWoz+376MchTjJ+l 0WB5OPnEMRtzwzZVUTfLx6i6jBx0Zi24i6cj540T8gphGPu0/ohXkzKTIlutyUIpg58z CwCCpytxe+r9FkdRgBE2D7uP+RtU6txNEfVVck40ca7ul3C771pbjDcyPOl7JEpkajWo QBNQuobiNFun4EQVGinwvpnjvsj2qJj4/SvrVeYiwFIN7nsJeVpEu2To3iPIi34wXUB3 YEwhrLjCy4SN7RJ1SPcnVnW9RzOEbFeliqqJXy551/kxXEv2PnqckxrySx1kVTXjFXoa 5UgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712629940; x=1713234740; h=to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KUIS0MyTzJCVZ+gD/HZpV18hXpIYqV5o1vAPtPINFuE=; b=eKsGcRPGjRk1Y+3TDdrEq34V57BB5itFo7dqz/yVeeZyfO1FKiHgFAq1VERS9agnOJ 7D6St3xX7WKoz0qS0SKdna7UZlQRcjO/coINDqAqjL4+oc8h0p4Eh3rvZphmJpmJqKk6 mpNLBOIWFCi8Kmznp80d/n4sngT8iDrvZrQhGbwmrF2ZbR1z9M7c4NPlNcvSFc12hGcZ UBqk9wPOv1u8twei3dqHDDJp6tyfGxB+Dk0MN4KDLamouZ25Vj/FGH4njaaMeHgsBarC jlKDL52qVlHUAoO1shTY/dCqh04D7GK7BiHXD0K4Gafiy//jtgoIFw0y0lI1hgtolGpP 5fbA== X-Forwarded-Encrypted: i=1; AJvYcCWw/dUeSGxPV4L4eTH3HGsx4auzNAnJg5XlIDL/HNXWo8QrIK+tB2vcewkiYUVbeaBG8CDH38yUngi9vnG3aqsRwKdUxnH+t5mJ3ESk X-Gm-Message-State: AOJu0YyrgCgOBlB/bIf9Z/X7AMhM7EavhA3Dm4yia4kmkuD4wNvIUuUD iq98sBzoyDa2EEoBLy22Rr9B8FaKIgE3UsMc3OvWjjWzVK0v0o9KGwT+xLTJ9ES3OfA8kl20oZ+ aq+9ggw== X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:5520:7788:6b7d:7115]) (user=irogers job=sendgmr) by 2002:a25:c712:0:b0:dcc:4785:b51e with SMTP id w18-20020a25c712000000b00dcc4785b51emr811897ybe.12.1712629939984; Mon, 08 Apr 2024 19:32:19 -0700 (PDT) Date: Mon, 8 Apr 2024 19:32:12 -0700 Message-Id: <20240409023216.2342032-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog Subject: [PATCH v1 0/4] Add shellcheck beyond perf/tests From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Kan Liang , Ravi Bangoria , Kajol Jain , Athira Rajeev , Oliver Upton , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Add shellcheck to other locations of shell scripts, not just tools/perf/tests. Fix issues detected by shellcheck. Ian Rogers (4): perf build: Add shellcheck to tools/perf scripts perf arch x86: Add shellcheck to build perf util: Add shellcheck to generate-cmdlist.sh perf trace beauty: Add shellcheck to scripts tools/perf/Build | 14 +++++++++++ tools/perf/arch/x86/Build | 14 +++++++++++ tools/perf/arch/x86/tests/Build | 14 +++++++++++ tools/perf/arch/x86/tests/gen-insn-x86-dat.sh | 2 +- tools/perf/perf-archive.sh | 2 +- tools/perf/perf-completion.sh | 23 +++++++++++++------ tools/perf/trace/beauty/Build | 14 +++++++++++ tools/perf/trace/beauty/arch_errno_names.sh | 8 ++++--- tools/perf/util/Build | 14 +++++++++++ 9 files changed, 93 insertions(+), 12 deletions(-) -- 2.44.0.478.gd926399ef9-goog