From nobody Sun Feb 8 12:32:31 2026 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 1BB9E360 for ; Mon, 6 Jan 2025 16:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736181819; cv=none; b=L3WpjJU7g4nC5ZACL1w+hqMHMclTOz9fLgTHZZnU3CFAghFAy43I8LOvp7BHyyx81L+sMAn6tCufFadwhvj7X8tv0YB0s+HmaVUgr2944wVlVziejnaF+njE05xqPkPjJv5bXxl6uW9KP/w1d0SJOEDvM2dBQahdpexB+HEDWec= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736181819; c=relaxed/simple; bh=TtyN2+z5LlFIe10Zsn9B1EQfthxpye3NQhfKkY61Lps=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=oYQ1QBFpclpEtFitg28yXnjGJHHNZG4gIojmtaV4qRtz9aykmPXKKjDZeqbnzoux0FSZG+94+GTyjAB0bEg6q9oEHwhQcNUoHjd6xEBWJsbslKnQ3tWIcCDIFR5fcWYvAcDLzEfKB5zXH651RbTPM1Jb01J84SuQkXug+kjRG1Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=L12dFIkD; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="L12dFIkD" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4361b0ec57aso145336225e9.0 for ; Mon, 06 Jan 2025 08:43:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736181815; x=1736786615; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SMUGHCBb0ppaxEHLWQn7OHwMJlFKEmQAiaAFgySReus=; b=L12dFIkDNU8VYkZqG/HFG53zhxkoZu2bTGdiwUNcPnoLf0pxbq13uTZRcpp5CPaeFT m+fNsjIiMXof5e1PgYwKHCDN6HXrWB5op1a77bWIBX1bCejhTTiXd1hKPGWBu71SiKnV OYDF6EZB1yJKavMz0krYKe/JGbbIxniJRAL4EXwxjOhp6+2kjSAnjSp4ry+E1olK10gS Q6EH7/yYVA7LfjcAsyPzNGayoD43yRkzAj+c47PiQr05grIhXY6akU4/kzL+BwY09ATi Y3XNgdzpwW5k5yvuYpcLQeEZsAXZCJSFyH0ksmnLqXhRt8rhgy6RQOY/TvJLWQrU4DLq sl9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736181815; x=1736786615; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SMUGHCBb0ppaxEHLWQn7OHwMJlFKEmQAiaAFgySReus=; b=lRNEagY8CMnZyYvnjc/PqYgtCwmH9YpJb/YJrNe35jErDqKI67pXXc/N39g1bwlGNI a9z9o4kjN8nLpk3zt/YPjPKDrgbZju9VlBuKn4sxUENb7UErO9Gsy0sZKLlXOI7B/02n hz48Jjp3rfcQ0BrIh4FuXHyrfTUIlLl4qboTUUI6j/UQh7htGDJ8zQJFqwjqfc9h9P9Z cuOkqIG6um1UIFZND8T7aa2QN3ztrjka12UGRFf+78Llem8Ufhh/ogC4YeQWsD80XL1d M+Fol/NgVLaXeNQkWU31fpo6J9qm0z9enzXsiZUTYDp9OTbkERGbUMOrE9CQ4tS5h153 2wBA== X-Forwarded-Encrypted: i=1; AJvYcCXipvfBS3KYG+daaxCMJgi+UmPZlyJ1S0HShZinbQCklls45YVeD71HxwLN8mX+LEnft0Zj1AFpNNguPsw=@vger.kernel.org X-Gm-Message-State: AOJu0YyBu/XYD1Fad/icustkiB0QzgZ8nOwQiJO0tkOvodvyKwZY3vgC hLa/60bYfl6itfG814u6HpSifcSvTM8y0qS/ghDqWa7NYDKaMbZHy+lE0yLtO0I= X-Gm-Gg: ASbGncsLR/QJWsKHUTcQXGzteX4eAwJy4cZF2/rDQCyeVjQE6bi+92tj1DqxzeLda8e 0QkF3txiyap0Sh0OskS3LdvYlm6W1uuLLe66XUTXObXaX+9sCbILkMARDPgz6PvtFl8ttiXYpCs aShqHgaNrzKnmmad3wDFGh08ILVIItCYC9fyt+I/pXFgbHDlMn0kS1WSZg10YRVAoBwYDk5qbNO hIX79B7NdKvBOtdZV5grbhmfrYibYAJaiq3lHj5C+2+/Ns9RMaycSaf X-Google-Smtp-Source: AGHT+IFHMZMx9rpG+W22u2mopwgsbt3ogFJyG4r1C2V4APK0buHzshmZEf55ewaupVi3mhJJ5P09Ww== X-Received: by 2002:a05:600c:4fd4:b0:436:1bbe:f686 with SMTP id 5b1f17b1804b1-43668b48084mr445238505e9.21.1736181815361; Mon, 06 Jan 2025 08:43:35 -0800 (PST) Received: from pop-os.. ([145.224.66.180]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8474b6sm48322701f8f.51.2025.01.06.08.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 08:43:35 -0800 (PST) From: James Clark To: linux-perf-users@vger.kernel.org, namhyung@kernel.org, acme@kernel.org Cc: James Clark , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , "Liang, Kan" , Howard Chu , linux-kernel@vger.kernel.org Subject: [PATCH] perf test trace_btf_general: Fix shellcheck warning Date: Mon, 6 Jan 2025 16:42:58 +0000 Message-Id: <20250106164300.734202-1-james.clark@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Shellcheck versions < v0.7.2 can't follow this path so add the helper to fix the following warning: tests/shell/trace_btf_general.sh line 8: . "$(dirname $0)"/lib/probe.sh ^--------------------------^ SC1090: Can't follow non-constant source. Use a directive to specify location. Fixes: 0255338d6975 ("perf trace: Add tests for BTF general augmentation") Signed-off-by: James Clark Acked-by: Namhyung Kim --- tools/perf/tests/shell/trace_btf_general.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/tests/shell/trace_btf_general.sh b/tools/perf/tests= /shell/trace_btf_general.sh index 005c93e6c770..e9ee727f3433 100755 --- a/tools/perf/tests/shell/trace_btf_general.sh +++ b/tools/perf/tests/shell/trace_btf_general.sh @@ -5,6 +5,7 @@ err=3D0 set -e =20 +# shellcheck source=3Dlib/probe.sh . "$(dirname $0)"/lib/probe.sh =20 file1=3D$(mktemp /tmp/file1_XXXX) --=20 2.34.1