Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp248721lqj; Wed, 10 Apr 2024 09:17:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjGv9hTTT4VTN81EVpT/bycEW2r/yCG7NjJZU5Tjv/FPhCCkaVYmxSjXhyyhEVa/Dixpl9ow4Abm9QRN2dk7VhTMH+bpbQPqSJmM2Kyw== X-Google-Smtp-Source: AGHT+IFkVQphyFbH3i+Xs0Z57G79PicyxKyY3r6svr6gaiVMn6t2rb9YW3ZFo08Yo/Zk52k0yqw+ X-Received: by 2002:a17:906:198c:b0:a51:c52e:3ed4 with SMTP id g12-20020a170906198c00b00a51c52e3ed4mr1952434ejd.69.1712765847289; Wed, 10 Apr 2024 09:17:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712765847; cv=pass; d=google.com; s=arc-20160816; b=WytYepvn3yu0oaRWPSY5oh1ti6N7CkbifDyNhR8JKe/59ChDA+i0rcpEvnw9Krhzhh QX+lOCzXT2if75hzcU/8l78Z1npehBccfG0v9X2EeArYAN9LjTKwugaoXe8Uqaf+Zdeg NB0rLwuGprMo8WsFXhxXA40PY0/e5iP8Gh3hVfWgklm0vP4bWbr8YjdwyarqdV2ajOrN m5c4oyIPq4ET1mRU96zgIpXc/T5bkspM3jTRxGAJWq7Bytsq/ZNUF0WeAkd8xb3f0B8K TuhvlXWHkhBUM0I4/T1nSlfJaE0khYVSpKiTvkxVBnxxn2Y/wh8RQwk7hkK5Ju/PUO4n AraA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=S59M5ErJ4ghJIk0WuQtKw5Oah+bXQHt5R+GLddM1KKg=; fh=isUPXm7FeZ6deuz6wI/8FT7VhwkFJTqMJ5GohVeaino=; b=Gg30WXGe1eDcEgmQK01mTOf7uVocVqHMQ9p+G50kpZqo0eOkryk7OHdTOiAtHIrCCB dIhuUXkL+yjWwgOP1oC1b2Wdq1nU1uFcgRvPn9d93mw2NgreqH+x7coQHC7YmPfqLN67 xmT6X1oRx7dyxAcVlmFl2O7RDMXYZbNN5D77KJjeiSXUPFbVe+LVmOGmBFZx+XjzZ59i uNoLC3+fQqhBrR9LsSvlUpyPThjmN6Z2YnIxxNmziMoHAirgZdya+ybEPhMIQS6EpGxH pEcY3XkeVf90ckRnT1NfrcjbqtQu0U1YD6vNuU+xQb8aCUio7JoDnJ30A3WGh38ROXU5 N08Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=dmb7HOSC; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-138963-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138963-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kt13-20020a170906aacd00b00a51946ff633si6015487ejb.990.2024.04.10.09.17.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 09:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138963-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=dmb7HOSC; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-138963-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138963-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 03E9E1F22410 for ; Wed, 10 Apr 2024 16:17:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33C1E17B4E1; Wed, 10 Apr 2024 16:17:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="dmb7HOSC" Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) (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 4B79B17A93E for ; Wed, 10 Apr 2024 16:17:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712765840; cv=none; b=MYCnagNJn4AtKGuw4XgM9FOXnsSAgb2UMWjm45GQQsV1H0kAO+p2QYg6deljbjzLQYgYKgJ0Wtafis5AH/PNXK+EOfNvJV1WS7AKkcR0yAFRkZOASzrikk2EhUEmCDWwOvsZtlq+2ouKKIVjq4shmpXXX9wrftwn4CB+TX2Gve0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712765840; c=relaxed/simple; bh=z6IKR3JAhKYZVwCJuBfAEGi31YQCyS3o5wJrNYaVLZw=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=BA+DftqLq6ohcpPmsxq8LTK/KTC6zTn7+Ii3+EXPl21BarLsX/5j5y348j5d+GjYvgMrfz20WUN1tsR+y5sg1e9hbde8E6dQOTY+n6fN16N1oxuhs3MkIDYfbdgu3yIa2KFfgNrtTtUIKMyqRqxAkrOtrk1suOdKt3YordPH6eI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=dmb7HOSC; arc=none smtp.client-ip=209.85.166.169 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=google.com Received: by mail-il1-f169.google.com with SMTP id e9e14a558f8ab-36a3a4c9d11so174835ab.1 for ; Wed, 10 Apr 2024 09:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712765836; x=1713370636; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=S59M5ErJ4ghJIk0WuQtKw5Oah+bXQHt5R+GLddM1KKg=; b=dmb7HOSCx0aOaxYV/MYcS7ebcCA2nJ6wfPnfA29+V0tO7yUB6hGVEUq/lQJJf4fH8F 7NhnoEhDs/HZjML4Xx/G3qDa9C+PhO8OnkgtKnrHiatAgWTGtnL2KK/Q3lJ4JeFigltA rnUDPjHIFmxJ+9qY7qdxerxPGlfCG3SUGTdEhQ/sgy//elfQQFQPkzU/MhjbqiC888xQ hzvQFEG2B7/3l7CwdSYkacIRHYLszG0F2FPGWXA1j76JWMsjozffKf8jMvIiuUOMovyr DlNC8DA6YSddrBGBVn+V6rQgsMppY/YSEKMHcfn2Qn6Eu29etcm+sxbRgoFLjU/6Istf Uh/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712765836; x=1713370636; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S59M5ErJ4ghJIk0WuQtKw5Oah+bXQHt5R+GLddM1KKg=; b=rrnQZCmoFFh4oX7eeOlgqLYyJSdV/qqv0AZkf2rB7vkWsB4BRNK2AL7hG/Nm7q8Lgm GyMPSKemqVseRE2NP4PqU71B+rv/hf4lHEmKvOf+jWiEvsFvWSI+acxSgMGFQGQ+UKrJ RgSJDM0EPbZBYWF3Cu26YQyWJTveU9nrBQFlALjj4IhPcaDGpt23XPJKTVSg4IaRm9wA 7M3qoMxlZc8R+bWp1nu35l9qwdU2HaZR4JU/0hZAE9COFV0/pKEBDoWRHttV6vDOVkka Cm49HzIuSf6KPLuv+f4Fn+4tdqm1pRw/IqjjYphlJ6VdaEXBwBo4JbwOPFKOs3NQDVzg 3V6A== X-Forwarded-Encrypted: i=1; AJvYcCUhCVZmKRBYwZV3KFeFo6TZ0HuSNIKFCFmlZwzUYCL4KCd40WkWtiSOjLfsYGcj5tlrpmFmnxZ+XusRrwVlwCTEMvOODd6cf+p9DYey X-Gm-Message-State: AOJu0YxvGf0nDwJcku44X2vaUY5QWs3lkFjU5xUP1za/V6Mla/Ty1whx ygd1aUfFNowWDC22/n7SXt68HQG7FxIWePyeo8flanttBHgApNHKDRmMw4XldnAWaVeFrDJmSa1 dRh7Y8Y8wXwUJrlJR95NsghJW9HD55cn4iGLt X-Received: by 2002:a05:6e02:ee3:b0:36a:3d5f:e269 with SMTP id j3-20020a056e020ee300b0036a3d5fe269mr131406ilk.13.1712765835647; Wed, 10 Apr 2024 09:17:15 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240410103458.813656-1-james.clark@arm.com> In-Reply-To: <20240410103458.813656-1-james.clark@arm.com> From: Ian Rogers Date: Wed, 10 Apr 2024 09:17:04 -0700 Message-ID: Subject: Re: [PATCH v2 0/4] perf test: "object code reading" test fixes To: James Clark Cc: linux-perf-users@vger.kernel.org, namhyung@kernel.org, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 10, 2024 at 3:35=E2=80=AFAM James Clark w= rote: > > 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 Reviewed-by: Ian Rogers Thanks, Ian > 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 >