Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp852304lqb; Wed, 29 May 2024 12:26:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAT7iOXs7IoLwgl8Rs98Wqj/24uOwzaqXotyk5j8XTFU/KSKyg8JApXh8ibmfWEE/DInfOrx+bvzWvaRZVFZPLxB5kt6+gv7d2D8/nEw== X-Google-Smtp-Source: AGHT+IE5mpu2aWUBNGKTWS8Htplf9h35cWkqwFyr3qjTF8ipGKlXzYSShp9oDvU128gDrJf6bqrn X-Received: by 2002:a05:6122:c96:b0:4df:4498:cc with SMTP id 71dfb90a1353d-4eaf21a2d50mr52566e0c.6.1717010802156; Wed, 29 May 2024 12:26:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717010802; cv=pass; d=google.com; s=arc-20160816; b=CjBYhFM7wEAOR3vCXNMFBCdU3R0oT7FalZAcO94dapGXaDPWp7dMKAuGkd2iGSZdOG mPnxv9zXO2kwn2WHD5NN4k/fpS/UsPMxdCiOMHCKoI9CkH0wzMviJojyGyliwEcZo1so wyn0x1zSSJxEtLluS0z4SV4hnskJsiEZRxjgfNbu7VTcr7giMjanUcq4vodiuKcD8L/S buA9QBBRhcdZkKjGTlk+tvXqp4XCpKelzPRg4PXmhafD5k1hXLX3xsePRL8RCduHHGwn awkzdNXy/QddFq1ey6XSlOvI7QnXWJzaujUh60ja+9/Tw7PT6Jz4Rypptgi7TE1MpBse D+tA== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=mC8d7a9Q6iqxRoRRsNwP965COCbwwzq/NZ0iHKXe8P4=; fh=bGCjB6e72rEw0uRABQqbyzHQbmdmurg0zTg/n1yqFLE=; b=gJYfbdNqphBKwUNI/XJQvWYmKmiP+v8KDXKLLHKRlnUwzEgsfYKV0WaU1gM5+RPDjX 1KAro9pT+IWnKS9z7yz8hYpllCU7bOJd3DbBEhKh4DvOEY5qSBHtFmBEoP2Iz4jBnx0q iH9P20IMt9idL1R69lyAqvZl8WwL3Zr75wiEnOQBC/JEMKk8DPdCq7UgYhRs6DtQT1vK Cj4S77r3cRb7dY9vaOd+gXzHVAZ3VJgNTpVWuATBKDplss2ItS0nFuaxRoeSzFQAvE6s gX5JTshZfEnusoAZtELrTZ/Apjuv0bd2/mD8qDHQJ8HJhSKT7ZEDM7OV0k5mnBK/TqSe 9eUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YCdZLaxJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194610-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194610-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abcc67c0si1313658085a.164.2024.05.29.12.26.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 12:26:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194610-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YCdZLaxJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194610-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194610-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DC3081C23497 for ; Wed, 29 May 2024 19:26:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69C391C232C; Wed, 29 May 2024 19:26:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YCdZLaxJ" 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 90718167DA0; Wed, 29 May 2024 19:26:33 +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=1717010793; cv=none; b=BSOa0BCXokS7vrmczlfCuVnXxXeGj3SP6NSGWDTsp9yIVOrIWLb6HRjQ+VSl/HL4BmiibD2eBaIHx7KbZn34k1x8BPHQWWIYJl5+GeeNNe7/gOacY2WkrItHgsMNAzl9z0viUCS9B46j21aP47azQ3vTiWXFmBYrmAP7rMaMe1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717010793; c=relaxed/simple; bh=LFUo1Fd3nkjarPzHQxVz2glEBQwUhVaszzWhF/EkvqI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HAwdZpIbR+EejwELqtJOo9WdC6XFNaRLWRFjBM1zGt1pbRHzXI9aoYcDxIJmh8Iqo6Un12yVZdcqnKFSWp3+40zZsvTXQkkS+twq6hmnWZJCCja6QJ06Sb198Q+xcmmJ08zO9WEYMnvivGEyaS9DvmqDlE+MmqvZ+WXXRU1fOOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YCdZLaxJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFA5AC113CC; Wed, 29 May 2024 19:26:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717010793; bh=LFUo1Fd3nkjarPzHQxVz2glEBQwUhVaszzWhF/EkvqI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YCdZLaxJ5V1ahwuABCff6jyKZdgPfSL3oK91f7xRuEVchsQ3ytSs51L6v3zyxgukl Dljt+pVODfp1qT/7qpNWNdcrus6KXwm700BYl3sv7ExNh2g17tW4mTbyoIN38nHykL JYGxzpQE2IUEqF0GVz49iNotYex0FiuCHQZmZRBcEBMwBWb9+DCGCXvFR0qbHketK6 21omOdWK7ZfW3jeKrNjoyn6B8yPyq+ckNwbtMBErE7fKfJBXxcY62mn+RNNSNGNxzd Ir1+jQhaczH3afNCK9rfwf6wLOFTukSn4KXl+HMMwJY6jwN36ScGyo11/ydbYZRNYz /3FLDb8OTIiQA== From: Namhyung Kim To: Alexander Shishkin , Mark Rutland , Peter Zijlstra , Breno Leitao , Jiri Olsa , Arnaldo Carvalho de Melo , irogers@google.com, Adrian Hunter , Ingo Molnar Cc: "open list:PERFORMANCE EVENTS SUBSYSTEM" , leit@meta.com, "open list:PERFORMANCE EVENTS SUBSYSTEM" Subject: Re: [PATCH v4] perf list: Fix the --no-desc option Date: Wed, 29 May 2024 12:26:02 -0700 Message-ID: <171701062468.353211.6199983200651676453.b4-ty@kernel.org> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog In-Reply-To: <20240517141427.1905691-1-leitao@debian.org> References: <20240517141427.1905691-1-leitao@debian.org> 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="utf-8" Content-Transfer-Encoding: 8bit On Fri, 17 May 2024 07:14:26 -0700, Breno Leitao wrote: > Currently, the --no-desc option in perf list isn't functioning as > intended. > > This issue arises from the overwriting of struct option->desc with the > opposite value of struct option->long_desc. Consequently, whatever > parse_options() returns at struct option->desc gets overridden later, > rendering the --desc or --no-desc arguments ineffective. > > [...] Applied to perf-tools-next, thanks! Best regards, -- Namhyung Kim