Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2192166lqo; Mon, 13 May 2024 10:18:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+IfcN+19btPDa7a/taSXMsVKYnCt5SIUXjJfXkqYM8jOcs6QEdnCsGf+HKmMpWLlcHZsHVx8n+lyNlAUmRiqyCMqBX5nzA5LzmleDUA== X-Google-Smtp-Source: AGHT+IHCpxte2bIA8VkEB81gcPA/mycHjo4M12mVDvqOiulrJQcZRokSNjcxzMep7pSaHsR/uwpy X-Received: by 2002:a05:6358:4285:b0:193:f936:633a with SMTP id e5c5f4694b2df-193f9366370mr744545655d.13.1715620680952; Mon, 13 May 2024 10:18:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715620680; cv=pass; d=google.com; s=arc-20160816; b=I2kLn2gFaGfKArZTJa4klsP+zruQ49rQLFRe9dIRvFsl7I6U/8mmcecMaucKTflJ6N zcnyf8UT+6LBBAFGMzM+vLuXAyE5YtpQBcKQCBK355S7O/mJp9NQYe9Gi2a5mu+UhFRs rECLzAGCPCV6uL39IKKLyXvZYAFW2ERZ297uJtAg1qxQb67APpqO8U3MhLIBsTiyTDs0 K1qkIiaaYmn3oMigbbmhnZEMm+gdla2z/KYRooK7sgJt3jrfPj/K++2xcOvHFTdreAEi MV90d8vFYnDfvnJ1w2syma7GVru6+Ne2PArMb8wEZzGhM5/BhA8vYLdnEux5ua1j62Op SmPw== 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=TITLmmYxLbFcBdgKs9jfudTIyaXBl3JLzkEtZcPj6iM=; fh=kNawchMlaOoQbCBe6wd5SHJKui2MP5ebFsMar1VQnGg=; b=X0Of8EIkiF6xUl02tVP8jroPhP7aXubHMK2J7x0T8j/dRS2GlHzktODvjZeTzPMcxO umm6nrJ7h4FGCVroB5wGO7QA5Wx3d24Hyk+AK8hlP26NDd/7kRD4FT1iRK8fIk2ujcZA 5d3dVNia9Sji+v/d6lg/Ld5jjEC+keHvjf1v64fFohHBpGqKvfVKnI6cvTqu5zpdh+0D Qw2UzAj36IPezCEg9jAJRNBbs5JgoiyV83WsE7nPdpT5hZmuI+Q7u3x/+Ua769hiR6SP m9BrHon+dDcM2FKoxpWBTLPanBFk6/8Oln9UDTd3HIh1sGVLhWQM1ZQtHxOTT+ZLsz4C DC2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3VNWfQFD; 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-177883-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177883-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6341180dc72si9371876a12.538.2024.05.13.10.18.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 10:18:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177883-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3VNWfQFD; 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-177883-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177883-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 672F8B249E5 for ; Mon, 13 May 2024 17:13:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5DD922616; Mon, 13 May 2024 17:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="3VNWfQFD" Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) (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 89BA51CFB9 for ; Mon, 13 May 2024 17:13:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715620394; cv=none; b=ibvN8aAbhww5vyeiwDW0VXBYJ0vh5aQwbm3tnA9lu7/G0xcOv0mP2P7cR15LzkNpI6BH3WO5eaxT7egwnx5dHSmHKZA00LuxsX09UABblM2VLVQVtJToBBmpteVoXDNZbZxRqrpRsYQEg2u7FJ2RMJX9FpYHKlwjNkXfRT4TjeQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715620394; c=relaxed/simple; bh=lnR1APljmIH03rmMQHJl0kK8AphsBZFL2sGEtcS0pIc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=NyekfpvcLFXjC7OfDczlTYyVOKhTnlatlzel4n4iRDxZiwLph+njlU9MmcDtwRpJTzNRA5+0DKM57FwnxeubuSLSTrgj04prrzQhOVqUeDtWmsQIGrKmAv3am2G+s5HTUYewtZZWPIiCDyJsKBFlF4z5UVkVEYiR784gFMW+4/A= 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=3VNWfQFD; arc=none smtp.client-ip=209.85.160.181 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-qt1-f181.google.com with SMTP id d75a77b69052e-43dfe020675so860361cf.0 for ; Mon, 13 May 2024 10:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715620392; x=1716225192; 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=TITLmmYxLbFcBdgKs9jfudTIyaXBl3JLzkEtZcPj6iM=; b=3VNWfQFDww5D++cnMYUTAJEnp8H19Shi6nBrxXoKNonRjjREGtDCb8QWJPf6D/EZ1+ h4d0JE+1iYy/Xrc4LtzaBvCI9RCanktuC+WJ3KXP0YWyqTsvPIaL2Zl3Dfnhi9Sgn2Xo Ly+I8dV4zV4XC9A6ZwUBmjmmD1BNy0oAQ3JwF+7mQ+L0q4K9FoiK1RO//RHJSky6NNPi ioNVKw9KXZtJqmNjvzO5MRtML1RN2CAsOSr7LcJBEEsNRox13GN5AIMo2bivPXkgY7po odNXAynYhBg7Mjpnv3aibD6V4Mxm7inm/Ne51Vg3OLEgUnRNI6XxKcdd/VZisCMT8MYW GzMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715620392; x=1716225192; 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=TITLmmYxLbFcBdgKs9jfudTIyaXBl3JLzkEtZcPj6iM=; b=hEHOQymUtmfZTL03zqB+woD7P9Gnx9ZSIK8wrZVHRMdcZn6Pds4tz4dia4v8H3KWfF m+emtjPVP+w482h+UMbXNAQTGQzv+i2Vukux5LQL51ye8PRxNg+JoesjS264iHL5JlXR 2dci9zDaAmF3x/Gd9nv2nsYaD6uVShz5jw40eJFevrNQQnAjUr2mDd8aauGPjYZ3BjQ8 TGoxOrjL2B8x2wMrWIaXht53H0LWyk2i86lutgMY049YF6spn5g1GXW7eAvHnj8RJAjZ 9I6JvNBtoDrvEmRXDcIwlMFwlDN+991LNilxukv5rbLFXAzdRs2VvKSkN8kqwiu1ui4S DMhw== X-Forwarded-Encrypted: i=1; AJvYcCXQ1CzMKPwYVWkuMn7fryLr8RN1HDtQFPQ4xSKMcW1vgGps2Af0BteIBP2LjL283GvqavInh9NIz58I1vyT7PIpDHDU1unkaTTcjnBE X-Gm-Message-State: AOJu0Yym29hzxgRDrZVrPUpnP5qqF3TShQVl5Vo0zaq+Dkp49GeynNlg 8Tsyxq62Qfzrjk0ppAXnwxLSIFQAuLYSgCEiY+OyJIS6kOTygXOieHOxb/H+XTSt0LgI7u7yu0z eWGuJCb7l94gsEXMpn/7Q1FRIBc4AanbK/tXDAQ0qjKR0J9Irqg== X-Received: by 2002:a05:622a:4184:b0:43d:e294:3075 with SMTP id d75a77b69052e-43e0a21da9cmr4872671cf.7.1715620392377; Mon, 13 May 2024 10:13:12 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240508133518.3204221-1-leitao@debian.org> In-Reply-To: From: Ian Rogers Date: Mon, 13 May 2024 10:13:01 -0700 Message-ID: Subject: Re: [PATCH] perf list: Fix the --no-desc option To: Breno Leitao Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , leit@meta.com, "open list:PERFORMANCE EVENTS SUBSYSTEM" , "open list:PERFORMANCE EVENTS SUBSYSTEM" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 13, 2024 at 10:08=E2=80=AFAM Breno Leitao w= rote: > > On Sat, May 11, 2024 at 02:25:53PM -0300, Arnaldo Carvalho de Melo wrote: > > With Breno's patch the default doesn't change, --no-desc gets fixed but > > --long-desc is broken: > > > > perf list --long-desc > > > > cache: > > longest_lat_cache.miss > > [Counts the number of cacheable memory requests that miss in the= LLC. Counts on a per core basis. Unit: cpu_atom] > > [Counts the number of cacheable memory requests that miss in the= Last Level Cache (LLC). Requests include demand loads,reads for ownership = (RFO),instruction fetches and L1 HW > > prefetches. If the platform has an L3 cache,the LLC is the L3 c= ache,otherwise it is the L2 cache. Counts on a per core basis] > > > > Oh, both descriptions (long and "short") are being displayed. > > > Thanks for asking the question, I'm dropping the patch, Breno, can you > > try again? > > Sure, let me think about it and send a v2. Thanks Breno! My bug, thanks for digging into this. Ian > Thanks!