Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp729655lqp; Thu, 21 Mar 2024 13:49:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPjyybFWegffdPxgHTCQBStA2RJtucIlxB8fHN0E4G1BmUElKTN7AV6aBJsT0v6Fb4k8YOX5rQ/qh6vxLQfA8UR9+fKzevB3ZJXkCYlQ== X-Google-Smtp-Source: AGHT+IFlDyj/fVDkOeT+le8ruUwK3YHRqRhyou8Yr4g3R4x0Yi/h+6VfvK0T7HAlbtTpBBvqU9ZC X-Received: by 2002:a17:902:e74b:b0:1e0:1e87:c9d8 with SMTP id p11-20020a170902e74b00b001e01e87c9d8mr649818plf.7.1711054157280; Thu, 21 Mar 2024 13:49:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711054157; cv=pass; d=google.com; s=arc-20160816; b=d6JVhnFDedyYNO55JsrxWP7oCQM7ULjrd8zoU3anLIm2HFw93Y6uV44hgssVzPhRfv exCnhdCT/MP5bUbvR9/mFNp3bAdVxnEcaZjW6ynV5kdvOhqkjiFYvt8IYztIbzQoOunw or/kmOYauvMoTlbfP3hTa7Y0AojYwIXWRis5rI1rgJgOALgp4S1Dmanl++55fr5iaAwB HKI3SiS4aC9K9eBXen5aHp8ol7jULKvgU4w1MWWVODgorIyPiooGCrbNoWYHcrDVfvCr 6K1IDgzv40UbOuxjme2CVWh7gi/xYD55lE7O9FoKogrnbcG4QevZbGgjY1wczsfSFRMN NMfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=r8/0fp4fQizPzEQj25GNi+o/hjyeJBFoMQmkxchOpm0=; fh=F8zwP9xL0tJ8sh9qN6Khj1uj/AbARn/qlygr2WaLtTU=; b=JdPG5GT1bmf3qmFNjQbdqHrI70UMT+FKr/Xq+PK0SSjGPIkkP8b3ZujC4XVoBGYNCf ll8iQCFQMLNyEwHBePObGHsdq8oMYzC3OLpTlc1D/DOmkk+Pi+uJeTeHw1QJuMcfpxRL fWZXPsM2QiPLijL1pLIhZ3O2g3qEdVfuQyF5Juhr2tgE8PxmyJy4aUxPUyAnzV1LCQyG N9jiMsUDxHlRLbKgH3xFRvEPA5gmk3T2QiTkCMyryTcSj9IxAhCPFMZ+hpGH/An/keM3 y95SGO8enY9/4Znx09TDGZNaK6WNHbJN8gR7McrMxo0ebi8oByGyRuYuKzy88w/ogWna X+rA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tgbYbhTa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110667-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n10-20020a170902d0ca00b001dca6092ceasi384347pln.409.2024.03.21.13.49.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 13:49:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110667-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tgbYbhTa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110667-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 EE990282603 for ; Thu, 21 Mar 2024 20:49:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19186135A78; Thu, 21 Mar 2024 20:48:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tgbYbhTa" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40DBA5660; Thu, 21 Mar 2024 20:48:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711054123; cv=none; b=bD2+neLWOWaLimU5ljz8Y3Dh4EHwtyhcdx6uNnvITSy0dgIx3CQTQziKTxYMHajGuuvLNwMoSegchXSDG7TMZ9k7+Pdn3AYLY6ci4WQZhwEACrsn54N3jRO+wRUuSd/OD8Z2LnxCdr97LzglrZbhjXewktJZnnAXKFDTvRT8Jfk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711054123; c=relaxed/simple; bh=Zfum68HEytLWKgrAIfscXuFBNg4ll/RiXypMBqUsJUU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kH7AUog0kYYiw0yf6UQzMC9BI3wBJuVMHRcg/BkCCYRuaMWwLxOwYe73bmyfY3/9BlhXah1cJDP/9xQYjctHggK7e8r9o+7OIoFlrjlKvvn230c5vojHJMB899KNUjR/jrJULEEfobcI+IWy7zAs/7R9KWciQKD5W8OmWDjQC9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tgbYbhTa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73594C433C7; Thu, 21 Mar 2024 20:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711054122; bh=Zfum68HEytLWKgrAIfscXuFBNg4ll/RiXypMBqUsJUU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tgbYbhTaDPrg1MzZEM7wc09W+s1ifR1arErWffJrNG5SHnyDDJYsLeVtXNRvvJdiZ rFaMq0nSJEpJDZUxN6MynuUljvrYsvcJD/kqFZW39uhZlLJCRynxFNyYefn+1CtrkT PKFcW4y1kEKxoIbYUMz2bAOw+lO55U5oK8XecYIAN8r77jywzOjfjad+ubS1H0O4uL W5VhKvKxIjhw8cIaiUK9WiSkr0OHTB+QsP8GG1Uw1DSYdidmBF63ZtQFMOECjgyVpw Hw26S4mdsU9QKtjx5Go/7ZAvG3FhBOJebVW+ht11RcxfmUesYIWRutPxN47m/O/+S0 tuXrM0865Z8kQ== Date: Thu, 21 Mar 2024 17:48:39 -0300 From: Arnaldo Carvalho de Melo To: Anne Macedo Cc: Namhyung Kim , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] perf lock contention: skip traceiter functions Message-ID: References: <20240319143629.3422590-1-retpolanne@posteo.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Mar 21, 2024 at 04:58:20PM -0300, Arnaldo Carvalho de Melo wrote: > Thanks, testing it now on x86_64 and aarch64, will apply it then. Done, applied, on aarch64: root@roc-rk3399-pc:~# perf lock contention --use-bpf -a find / > /dev/null contended total wait max wait avg wait type caller 6 6.03 s 6.03 s 1.00 s spinlock __tick_broadcast_oneshot_control+0xc0 19 811.74 ms 621.76 ms 42.72 ms spinlock rcu_core+0xec 2 201.76 ms 201.75 ms 100.88 ms spinlock sugov_update_shared+0x44 6 7.80 ms 2.35 ms 1.30 ms mutex regulator_lock_recursive+0x144 1 702.63 us 702.63 us 702.63 us rwsem:W __btrfs_tree_lock+0x2c 4 62.42 us 18.96 us 15.60 us spinlock tick_do_update_jiffies64+0x44 2 39.96 us 22.17 us 19.98 us spinlock __tick_broadcast_oneshot_control+0xc0 2 33.83 us 18.08 us 16.92 us mutex mmc_blk_rw_wait+0x138 1 21.58 us 21.58 us 21.58 us spinlock sugov_update_shared+0x44 1 16.92 us 16.92 us 16.92 us spinlock cpu_pm_enter+0x34 1 16.04 us 16.04 us 16.04 us mutex clk_prepare_lock+0x4c root@roc-rk3399-pc:~# uname -a Linux roc-rk3399-pc 6.1.68-12200-g1c40dda3081e #1 SMP PREEMPT_DYNAMIC Thu Dec 14 04:02:49 EST 2023 aarch64 aarch64 aarch64 GNU/Linux root@roc-rk3399-pc:~# its in tmp.perf-tools-next, will move to perf-tools-next in the next batch, after build tests together with other patches. Thanks! - Arnaldo