From mboxrd@z Thu Jan 1 00:00:00 1970 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