From nobody Mon Nov 25 17:26:39 2024 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 87F2C21441F for ; Fri, 25 Oct 2024 17:23:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729876994; cv=none; b=VIjc2cJUPNn2TXEsIYg4qEjAeOPGexiOoOIids5QDbQPbungVuWCiqUsnB+/Ho3CT8u/Le6UIydzNY2GcOZOhZAw4+zhPsEzhYmAvDI7/NyvbsFkoLhlS4UA2jXkwyi8IjZCilsVGfZSPbj/527cHxo/Kom5vNSrvWniGAXP6i8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729876994; c=relaxed/simple; bh=Fd8jVS+hLHl/V1z7KbwDNJkWMfJHuFyuDP/XkZOLB5U=; h=Date:In-Reply-To:Message-Id:Mime-Version:References:Subject:From: To:Content-Type; b=JTi0FFRNmAiNU+C06qPqaVq/ssgFSU+bVbJZ1ES7hi7w5LvSE5RSV4BwKNqcpXrnfZvHa64jIgKu9dT5bfO/MRRxJZA0jypZtAe5JciZrqOld9AvXK2sZjE3m8IyyC38xCcJ0mc6V+5JBBB3zY3SUwZq+zxBWG3GbuoI/yKMuy4= 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=cuXNRi8C; arc=none smtp.client-ip=209.85.128.201 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="cuXNRi8C" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-6e31e5d1739so45722107b3.1 for ; Fri, 25 Oct 2024 10:23:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1729876991; x=1730481791; darn=vger.kernel.org; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=ZdPRzam7s3Ef71ekAYeKidwnjChTJkDNv4lJBksWIAI=; b=cuXNRi8CeW/H+u42vqhOTJttdgHoLhYZOUf1mJHjWJEn7O6o7SGdfqCH0GENuJS70D kkIZSyxWwUre4rkmmNWrWV6C1LRrhujhBtxCrNq/6SDMmJcivnSwnEPVe3HROJyMG0Tp QJG8akT+1J5ZnogfYAUsNJovbCezN3mXzLLu/0idcfx7QAgy1fTEAJcX+r+4zVM8qWvE DfBnt0YF25B89KxeUa6nyjOSxFAWmWqcMR8E8jDBNQGkmwViD6OAAH0vabr/lQXTjvag nm8YsyPe3z0X4Hc5plADaPoDTp6YY99bdIWMLZTWBmTmNHts2nUM5CiioiEtMbJY5JHz WmnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729876991; x=1730481791; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZdPRzam7s3Ef71ekAYeKidwnjChTJkDNv4lJBksWIAI=; b=e6SVq3ZwNqGktvXloLBOD6FkCDEF4XaGBsrP0vjcylNqHhuPTQkMozF/R+t/Ya2cZn aSYWs4cTeasjo5l0ycotETTUMNyDwzHgUCiEeSU17iAxO1bwZOqNkA2R60KGIhBVFDsK rcOSeYI+dAEOVbnvdJEUbK52EoHomkk7+TFtBmmqEipO3ZNmdZ59QQJmIqBgPcDN7zSX 7nN6k0oFeNlm/I8Iz1cbI6AsGk07dDFcxbnd0O6xlSzeC56SgEfVsViOZGCxMBDxjO4Y POZ3YJJRnmKaR/CcF4CVadA9qaUKQxyc0vfdT2w7KEIq8u4K+dLWB77wPYSaQxhPgRCy Itnw== X-Forwarded-Encrypted: i=1; AJvYcCVc3Yb2eU8XWHFw/Uz/61euSAhf2A+Sakq1rMDaIdgQrTl+NPcwM5HWpXk2eiPS4+qogGwuUiT+enUO8i0=@vger.kernel.org X-Gm-Message-State: AOJu0YzbeSN0REqR2YntcpQXF6ewxYg5b5sHUKXzpKYXhTlDTqmK8QH1 p9SPMa8iXj3hLm9wtiIazmbfcy954yu5vHX97yzve/JPVcEziAHonpy+v2p0QDjesSGJbqu84EO xRsYC8Q== X-Google-Smtp-Source: AGHT+IFOK4STJ52RU7m0gtk0HaVDIgUqJIt7KWYDbxaiFvjDsXA+L+1VhnFiXQ5cu4cgUOLCgF9HAYvfaaHx X-Received: from irogers.svl.corp.google.com ([2620:15c:2c5:11:5d42:c43e:5e08:3a85]) (user=irogers job=sendgmr) by 2002:a05:690c:23c6:b0:6db:c34f:9e4f with SMTP id 00721157ae682-6e9d8b5bda4mr102277b3.8.1729876991559; Fri, 25 Oct 2024 10:23:11 -0700 (PDT) Date: Fri, 25 Oct 2024 10:22:59 -0700 In-Reply-To: <20241025172303.77538-1-irogers@google.com> Message-Id: <20241025172303.77538-3-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20241025172303.77538-1-irogers@google.com> X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog Subject: [PATCH v1 2/6] perf build: Rename TEST_LOGS to SHELL_TEST_LOGS 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 , James Clark , John Garry , Athira Jajeev , Veronika Molnarova , Ze Gao , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Rename TEST_LOGS to SHELL_TEST_LOGS as later changes will add more kinds of test logs. Minor comment tweak in Makefile.perf as more than just test shell tests are checked. Signed-off-by: Ian Rogers --- tools/perf/Build | 6 +++--- tools/perf/Makefile.perf | 2 +- tools/perf/arch/x86/Build | 6 +++--- tools/perf/arch/x86/tests/Build | 6 +++--- tools/perf/tests/Build | 6 +++--- tools/perf/trace/beauty/Build | 6 +++--- tools/perf/util/Build | 6 +++--- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/tools/perf/Build b/tools/perf/Build index 3e486f7df94b..5e385f370dd7 100644 --- a/tools/perf/Build +++ b/tools/perf/Build @@ -65,14 +65,14 @@ gtk-y +=3D ui/gtk/ =20 ifdef SHELLCHECK SHELL_TESTS :=3D $(wildcard *.sh) - TEST_LOGS :=3D $(SHELL_TESTS:%=3D%.shellcheck_log) + SHELL_TEST_LOGS :=3D $(SHELL_TESTS:%=3D%.shellcheck_log) else SHELL_TESTS :=3D - TEST_LOGS :=3D + SHELL_TEST_LOGS :=3D endif =20 $(OUTPUT)%.shellcheck_log: % $(call rule_mkdir) $(Q)$(call echo-cmd,test)shellcheck -s bash -a -S warning "$<" > $@ || (c= at $@ && rm $@ && false) =20 -perf-y +=3D $(TEST_LOGS) +perf-y +=3D $(SHELL_TEST_LOGS) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index b4dee7c20ed1..a9f2a9f6ebf0 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -260,7 +260,7 @@ else force_fixdep :=3D $(config) endif =20 -# Runs shellcheck on perf test shell scripts +# Runs shellcheck on perf shell scripts ifeq ($(NO_SHELLCHECK),1) SHELLCHECK :=3D else diff --git a/tools/perf/arch/x86/Build b/tools/perf/arch/x86/Build index 87d057491343..1d91c46ad031 100644 --- a/tools/perf/arch/x86/Build +++ b/tools/perf/arch/x86/Build @@ -3,14 +3,14 @@ perf-test-y +=3D tests/ =20 ifdef SHELLCHECK SHELL_TESTS :=3D entry/syscalls/syscalltbl.sh - TEST_LOGS :=3D $(SHELL_TESTS:%=3D%.shellcheck_log) + SHELL_TEST_LOGS :=3D $(SHELL_TESTS:%=3D%.shellcheck_log) else SHELL_TESTS :=3D - TEST_LOGS :=3D + SHELL_TEST_LOGS :=3D endif =20 $(OUTPUT)%.shellcheck_log: % $(call rule_mkdir) $(Q)$(call echo-cmd,test)shellcheck -a -S warning "$<" > $@ || (cat $@ &&= rm $@ && false) =20 -perf-test-y +=3D $(TEST_LOGS) +perf-test-y +=3D $(SHELL_TEST_LOGS) diff --git a/tools/perf/arch/x86/tests/Build b/tools/perf/arch/x86/tests/Bu= ild index 3227053f3355..86262c720857 100644 --- a/tools/perf/arch/x86/tests/Build +++ b/tools/perf/arch/x86/tests/Build @@ -13,14 +13,14 @@ perf-test-y +=3D amd-ibs-via-core-pmu.o =20 ifdef SHELLCHECK SHELL_TESTS :=3D gen-insn-x86-dat.sh - TEST_LOGS :=3D $(SHELL_TESTS:%=3D%.shellcheck_log) + SHELL_TEST_LOGS :=3D $(SHELL_TESTS:%=3D%.shellcheck_log) else SHELL_TESTS :=3D - TEST_LOGS :=3D + SHELL_TEST_LOGS :=3D endif =20 $(OUTPUT)%.shellcheck_log: % $(call rule_mkdir) $(Q)$(call echo-cmd,test)shellcheck -a -S warning "$<" > $@ || (cat $@ &&= rm $@ && false) =20 -perf-test-y +=3D $(TEST_LOGS) +perf-test-y +=3D $(SHELL_TEST_LOGS) diff --git a/tools/perf/tests/Build b/tools/perf/tests/Build index 03cbdf7c50a0..a51d28c7431c 100644 --- a/tools/perf/tests/Build +++ b/tools/perf/tests/Build @@ -80,14 +80,14 @@ perf-test-y +=3D workloads/ =20 ifdef SHELLCHECK SHELL_TESTS :=3D $(shell find tests/shell -executable -type f -name '*.s= h') - TEST_LOGS :=3D $(SHELL_TESTS:tests/shell/%=3Dshell/%.shellcheck_log) + SHELL_TEST_LOGS :=3D $(SHELL_TESTS:tests/shell/%=3Dshell/%.shellcheck_lo= g) else SHELL_TESTS :=3D - TEST_LOGS :=3D + SHELL_TEST_LOGS :=3D endif =20 $(OUTPUT)%.shellcheck_log: % $(call rule_mkdir) $(Q)$(call echo-cmd,test)shellcheck -a -S warning "$<" > $@ || (cat $@ &&= rm $@ && false) =20 -perf-test-y +=3D $(TEST_LOGS) +perf-test-y +=3D $(SHELL_TEST_LOGS) diff --git a/tools/perf/trace/beauty/Build b/tools/perf/trace/beauty/Build index cb3c1399ff40..f50ebdc445b8 100644 --- a/tools/perf/trace/beauty/Build +++ b/tools/perf/trace/beauty/Build @@ -23,14 +23,14 @@ perf-y +=3D tracepoints/ =20 ifdef SHELLCHECK SHELL_TESTS :=3D $(wildcard trace/beauty/*.sh) - TEST_LOGS :=3D $(SHELL_TESTS:trace/beauty/%=3D%.shellcheck_log) + SHELL_TEST_LOGS :=3D $(SHELL_TESTS:trace/beauty/%=3D%.shellcheck_log) else SHELL_TESTS :=3D - TEST_LOGS :=3D + SHELL_TEST_LOGS :=3D endif =20 $(OUTPUT)%.shellcheck_log: % $(call rule_mkdir) $(Q)$(call echo-cmd,test)shellcheck -s bash -a -S warning "$<" > $@ || (c= at $@ && rm $@ && false) =20 -perf-y +=3D $(TEST_LOGS) +perf-y +=3D $(SHELL_TEST_LOGS) diff --git a/tools/perf/util/Build b/tools/perf/util/Build index 1eedead5f2f2..18cd02ccd3ff 100644 --- a/tools/perf/util/Build +++ b/tools/perf/util/Build @@ -398,14 +398,14 @@ $(OUTPUT)util/list_sort.o: ../lib/list_sort.c FORCE =20 ifdef SHELLCHECK SHELL_TESTS :=3D generate-cmdlist.sh - TEST_LOGS :=3D $(SHELL_TESTS:%=3D%.shellcheck_log) + SHELL_TEST_LOGS :=3D $(SHELL_TESTS:%=3D%.shellcheck_log) else SHELL_TESTS :=3D - TEST_LOGS :=3D + SHELL_TEST_LOGS :=3D endif =20 $(OUTPUT)%.shellcheck_log: % $(call rule_mkdir) $(Q)$(call echo-cmd,test)shellcheck -a -S warning "$<" > $@ || (cat $@ &&= rm $@ && false) =20 -perf-util-y +=3D $(TEST_LOGS) +perf-util-y +=3D $(SHELL_TEST_LOGS) --=20 2.47.0.163.g1226f6d8fa-goog