Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1915619lqo; Mon, 13 May 2024 02:14:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUn0nnwZBcQmC2e3px+84j28qWXAkWjGe+k8XE40YrWK0O1xGMnmkuHOPxMbLKjbYeUhEgZh0ZVJi/T91mX0QA9N7r6mN5T90hl4D1ETg== X-Google-Smtp-Source: AGHT+IGhGzTSBOWxQmhj4X+iSBKat8GM4pBiGxSk3pYrNojXCZOqgBt7gRQ8xNwsrxUYCrb7P+mZ X-Received: by 2002:a05:6214:43c1:b0:699:2e6c:c254 with SMTP id 6a1803df08f44-6a16824a100mr112819866d6.52.1715591669921; Mon, 13 May 2024 02:14:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715591669; cv=pass; d=google.com; s=arc-20160816; b=p1nrwiPYl241dEYeFyUgE7kOBNCDm7g2Os83MaDHL810j5ZmqhQtv0sw6C00sbmysw Ld6OF/asN3pnMk5SvDY+OOGc60MW3o7WulNNBusU4P+uJq8hvb890VSguDKCqhwN/o0t YvsXaPgdOF0rLQdn6nE7Ubgo2YwUin3jy2yLg+spEtDwyz5DQzvMofK6ucX0062KJ9St FKjHn3ylHxGbV+fY/TmAzFdA6bwlV59POwdbuiQwkPf4Dj0O+5b2IVVvOGI3jrkZWIaV yxRjNF6G+t1xgmcqHX3I0atT2vWD8uudKLC8Hsbzp32r/yVjla8XdxJMnW5VI8V//WCc bPfQ== 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=FMF7ef8ULYPfuN2MleoIoRwayQtzdRINqRqvSTBFOQc=; fh=MdU3VyQnrFaW1GIB4buG2JmU6lAGIkqBx/KgcKwyPqg=; b=s4ECloMrcvAcMhXkqB77FMXod1QgwNg9TIhkWcZcnuwq3snPRVZ8BK+g3hAmTaR/mD 3O4fMT72Gz5acTxv4+PnHc6ekyPv2G4n5MNa7fF79nQqtFSIjXkwB6U7Hub0fSD4R2yA 6ReoU6KACXUpd10mg73fI5L0oaMucNwaBI3C3jPFopXcar+Qe4d32WhbttbkyZdOyziV DynrxmvizmWlnvuSi3vRSEvndHbC01ZAQFK8nDinpbvQ56lWb4LhqRh5CBxGe3ZbKH0i 9g6JHAA34JvENP2BwJlY9XBnPaH7QTl9wXulhNaBTD1BxxKmVu4GjdKq7Wwi/mbYMKeY 4raQ==; 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-177394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177394-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f1d74ddsi96280666d6.25.2024.05.13.02.14.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 02:14:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-177394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177394-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A537E1C214BD for ; Mon, 13 May 2024 09:14:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF2B41487DE; Mon, 13 May 2024 09:14:23 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DD661487C3; Mon, 13 May 2024 09:14:21 +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=1715591663; cv=none; b=e7BsJpEzLqraFd73Xh3tCAZiy07dZVq8UIO8zikX5/A2WPdd8NoLxjOVgvYbc3ThJA3Kor/1IATo019iJUqrFQGO13qaw+4tmEP5V5Gs44pamotcoUSpMWk20UlXFbVORFs0xEWNi6TZ4CaAlG8xAJirjCrJSapiBeNm0tj55t8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715591663; c=relaxed/simple; bh=pfRqfjaevq5qrlxmLJfqYNrSyTOlHUEDdShE0HQSFfE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=byCjOm5oCi6doOGCH+MYUZXPZ/qAC9q2oTTWHEm7uQPuxAXdK/iao48O1yjJMRM75bjexZKpc5j6h8+7Ot58Dm5U+9o+slzcsQerqVSaVYw8zNYo5vMrxpWZGx7iTND9E70aFjA+CCdIoFWTR6hu6lpx2lA073/QbIsklgkh260= 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 43B931007; Mon, 13 May 2024 02:14:46 -0700 (PDT) Received: from dsg-hive-n1sdp-01.cambridge.arm.com (dsg-hive-n1sdp-01.cambridge.arm.com [10.2.3.10]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 92A293F762; Mon, 13 May 2024 02:14:19 -0700 (PDT) From: Nick Forrington To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Cc: Nick Forrington , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , "Liang, Kan" Subject: [PATCH v4 0/1] Perf lock improvements Date: Mon, 13 May 2024 09:14:11 +0000 Message-ID: <20240513091413.738537-1-nick.forrington@arm.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Improvement to command line handling for perf lock info. --- v1: https://lore.kernel.org/all/20231031120526.11502-1-nick.forrington@arm.com/ v2: * Drop previous "perf lock report: Restore aggregation by caller by default" patch. Not required for newly collected data with LOCKDEP tracepoints. * Display map and thread info (rather than an error) when neither or both of --map and --thread are specified. v3: * Update --help output v4: * Remove redundant error handling Nick Forrington (1): perf lock info: Display both map and thread by default tools/perf/Documentation/perf-lock.txt | 4 ++-- tools/perf/builtin-lock.c | 27 ++++++++++++++------------ 2 files changed, 17 insertions(+), 14 deletions(-) -- 2.44.0