Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp49484lqj; Wed, 10 Apr 2024 03:46:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsXmQoDNqnqUo+Tq5Acyw7l6JURXuEiidxs61FN22A/lPyiUWEQORtdk+2CSBQuxzHCogbBo0qhssVr9pV7hpf8mYEFmbLEwnWf+VWFg== X-Google-Smtp-Source: AGHT+IHI+XQ6jbqarUB7puyOX6/IcBqVoEg1VpV9kb+VxoFYHTRVa/6GJT1L5HJPJ6Gm0l7CVjIC X-Received: by 2002:a05:6830:1052:b0:6ea:107c:cf99 with SMTP id b18-20020a056830105200b006ea107ccf99mr2528268otp.2.1712745969032; Wed, 10 Apr 2024 03:46:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712745969; cv=pass; d=google.com; s=arc-20160816; b=0aQb9I1eifJ5ydNajxW9WWdpbbYxqJFFo/9R8Lh2COEij00Zl917ZI02EyBd+SR3sC HaK/uk1ovgYfuIiVmI5waDnct1BxKQED7Zj4BWI/UzCT/0t8aJabT3qNI6SK/FyCrxe8 UmkayH6s8CDuoDCVBi3IzqAj6EyNjPm9WitHndotV206oxeCcHB6Ari0P8cqDdKaQtvC KMmPdwD++is++4SPJrRQsXaOkmYyxh09Ym+C2Nv1pOSjywY8z/wGrqoWd8C2C195Tl1c 8qYjN5zSzp+0++a1GIyODf7HgisdzHFUOyWa2IDEYkkKm/JmNoTLiwoFfft9pIKBstYN zHxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=bq6mv0u/Pdisujk+YOwEs8+C86EDMQfIphSItIGm/2c=; fh=Nx34APoIcnJ0+S23bfWBcqFDEk6NNmFHNRxZpQVNwlY=; b=W65YdDnmfp/es3mxVtKSgOZy5ReCgq2kjN7izw6QRUoPkAXXAy3DSqYHXcBM1DsQhs renq5EK+EYqjsKOi5v14EkxV+VWpL1RapSm4ERZQ2nVT7d0/mfaj2IiF9xDddd3BurgL qILE1ic3IGTtigR0aL9wBEBsE95YH5eo6r44lTyRL6f0oy5Lhsfb5j3Vws2K6RweS5jr FmwQHsMFjFfKossimxG2OXol1ZyfT2I12LSkl6JSgWJPlXKs/8GR7vjf08L3TWraN5kb J5CdeY3bu6IPZPaTRh61gZztnXzbkVSOO8UKe7zqN8FN+O1U7lLZWASTGvtA0kgHe7gj h5Dw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-138333-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 5-20020a630b05000000b005e858e345dbsi10417822pgl.373.2024.04.10.03.46.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 03:46:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138333-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-138333-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8E6DE286248 for ; Wed, 10 Apr 2024 10:35:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FCC915921E; Wed, 10 Apr 2024 10:35:21 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39FC9158D90; Wed, 10 Apr 2024 10:35:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712745320; cv=none; b=kHw/zJ+iKicS8koXyxokZov4++CfB0f8oIknoCu33+jUfuRGkCz/zy5bCTGz6fqit+Mf2UZp1Kp/GztB1KHIm1Sp3DdJp0FDWnxJ/8ZfvlOnPUz5BQK/VCCguH0c1Gltcc0uJnIBhFzNoaT2FXbL1vN3uR4U1yF3ZkA4R+qHLXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712745320; c=relaxed/simple; bh=8bkaWMTv1hj0uymsN4BUTip+hQwDJQf07JlqWmIcooo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=q7zFpgbkeJ/zZuCgERuF+ZkakUBFJTHaKcG1YpxFk3iHwSErKPjtva1aHq4ZmTZxc6jhfJWH3DcCJi8iDvftG6I0bRxtG4UFK/qXVafOq3/Gla8KnSkMv8KgNy4P3nR22cBSDPDsRqVr36ZKgAjtClU1IM2e5nsdZz81dSCy69w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 45629139F; Wed, 10 Apr 2024 03:35:48 -0700 (PDT) Received: from e127643.broadband (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 69FF53F6C4; Wed, 10 Apr 2024 03:35:15 -0700 (PDT) From: James Clark To: linux-perf-users@vger.kernel.org, irogers@google.com, namhyung@kernel.org Cc: James Clark , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , "Liang, Kan" , Athira Rajeev , Spoorthy S , Leo Yan , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/4] perf test: "object code reading" test fixes Date: Wed, 10 Apr 2024 11:34:51 +0100 Message-Id: <20240410103458.813656-1-james.clark@arm.com> 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: 8bit A few fixes around the object code reading test. The first patch appears to be unrelated, but in this case the data symbol test is broken on Arm N1 by the second commit. Changes since V1: * Put data symbol test fix first so that bisecting still works on N1 * Instead of skipping "test data symbol" on N1, add some noise into the loop. * Add a commit to replace the only usage of lscpu in the tests with uname James Clark (4): perf tests: Make "test data symbol" more robust on Neoverse N1 perf tests: Apply attributes to all events in object code reading test perf map: Remove kernel map before updating start and end addresses perf tests: Remove dependency on lscpu tools/perf/tests/code-reading.c | 10 +++++----- tools/perf/tests/shell/test_arm_callgraph_fp.sh | 4 +++- tools/perf/tests/workloads/datasym.c | 16 ++++++++++++++++ tools/perf/util/machine.c | 2 +- 4 files changed, 25 insertions(+), 7 deletions(-) -- 2.34.1