Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2787524lqp; Mon, 25 Mar 2024 09:11:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUvWP//gFh/sDHmlvwIJ8K4nRThU1PcY1AlbbYNmuC1budYOaD+RTvN6FX2L2ObJZrsaujcxFJlGDTHh9WU7InKnA662naHGCD4HZsFQ== X-Google-Smtp-Source: AGHT+IHTvAfCvBXb/I5xHRPLt9sXaJLS+El5EDMTUXPP9zYQkSSoEXhMnF7U8rGIRrczjjirAF9n X-Received: by 2002:a17:907:970e:b0:a47:4ba1:5955 with SMTP id jg14-20020a170907970e00b00a474ba15955mr4669482ejc.20.1711383110901; Mon, 25 Mar 2024 09:11:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711383110; cv=pass; d=google.com; s=arc-20160816; b=Evds7AzpKm0Pz8HHt1tFnFFwoO5FcWhvCVG890T93spv/3P696xkkargw9CWkjlBhO 77fmap49d9PyNJwhhKCtIHhtTSOHS4yZSDVWIRpkOemQJjNwmN5bzVFhw1Ky8kgXCBOM KoMWag7pRxNKU7Mb2whd3vJDM22NLmoLjialWMs15yQo1xvgqZM1lnBOLYtiF9vXu4ay ihnvPH+Kfu02KB2/xPB1URBbZfMRL0+lQyxyxp0oJ5gmUot9XCh9ShcRuzlq3L8Hitkp tSN/go7zbZAFMxcCgoSxqL35AuuPfBr+x938f+ti4hgn9cbHWi9TCCc+SYb0OidxZj4O iQbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=mIkvL6hm5k42yZfHlPfeyzeeKqtHmsOX+m0dLGEC3Vw=; fh=rLhsjCjZZ9LvzfGTeQ9xLReK4m1YdS+uwBlr9Nz+HiI=; b=QZDTRKSQBUObs1OCWQG+IoLhDUy5YW2Kz4+dM8H6IebFMextoD1WHmR4LMdDCrm0ev GWv/iVi22VX8VKWfCgdfveNl/JxtRHKRuTvKJgHCIW0LzFsXQ/jFxlxK0GIfWq9yYyMb EYLRlTLYmt5719mUEcDeuTy4XkygJ+ZK04aIIw4BoFNNk1y/fLc3NhQUzDAaSoGvTZJo 7kEgxDNRS29/0QVO2+5KV6Kaqb10r0Ob9pclcGp7kdAGGj8byTCIhoy3vOx3gmIy6a/Q 2GR/wbjdL/Bmp1AW2ljxOqKOP1W7rAgrF99SqOYm6LKMjIyC5Ch5zfG1wvwgSHsdkvFd FL5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=X8waIhvF; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-117186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 qf22-20020a1709077f1600b00a4a5dd62898si619812ejc.194.2024.03.25.09.11.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 09:11:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117186-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=@intel.com header.s=Intel header.b=X8waIhvF; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-117186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 4F1141F3417E for ; Mon, 25 Mar 2024 16:09:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBAC213C3E4; Mon, 25 Mar 2024 13:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="X8waIhvF" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 4337213BC11; Mon, 25 Mar 2024 13:56:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711375016; cv=none; b=ReyJ53g0AG8I+EbUXJjNFFj2vlcWhauSe5qHK2Oi1ynOnkWdQmFcjL/PmWzPVO7yPOE3Q3jxtDxIFgcc+HsvjAFTZSc5ELeYh2H01jYTGKh4457ZpN54SwL9qzHCJdq387EZO0l4AeZLV5g3bV7XdScTs1ohXfWkJATLpy9PRjQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711375016; c=relaxed/simple; bh=CIjWgNa5/RqrWiWqTtP7C1MxhXcQymqkfeDs57zZTs0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GQdXg9HIvaFjWz1/adVb3D9ky4r5Tf0im4pGpe454sx+Adx/tTkFXLvRqHKnCVOs3Gzgp4ZMZzXXR9AGEHkvj10ltr9VkQnK7dRPRTSqhscs7q9l6kYMK+0vHNb9+brOGqVDH6ldjk41eFjxNQ0XIqefEu4YIS1B+/Cvp9pRRcQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=X8waIhvF; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711375014; x=1742911014; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=CIjWgNa5/RqrWiWqTtP7C1MxhXcQymqkfeDs57zZTs0=; b=X8waIhvFYoBoJobj1sB1xsbn1UAW1Vp8mJNql/JEo84j1MuWGGPnHBsN 6L2ansyTJsXUi4V+OwzI8Z8+umOkcoom9IbJbTW4yGX6t0xjoiuK5/HOP GzwkC6gpDxPt56hVEc/L2aiS2g94ZXiDPHk/D5wwSo25aOXaBRtKq9+2n xoy63Yb0Dcs4MHYtK2YB8yipEc6MxR1cBXaj2POwDWv4mfVQ8TAejbwki oCD5f5oHhnIwo0G7T7VwMA3dvoMVARzI0rySaPr5fDYfWC4L6MkRBc4gS aqQzSeqE1ry931Pj8u3cW/NFi51pJngWOyR1D/j6cA41GlJiGiHlhImGl Q==; X-IronPort-AV: E=McAfee;i="6600,9927,11023"; a="23862500" X-IronPort-AV: E=Sophos;i="6.07,153,1708416000"; d="scan'208";a="23862500" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2024 06:56:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,153,1708416000"; d="scan'208";a="46765985" Received: from linux.intel.com ([10.54.29.200]) by fmviesa001.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2024 06:56:53 -0700 Received: from [10.212.65.128] (kliang2-mobl1.ccr.corp.intel.com [10.212.65.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id A933B580DE9; Mon, 25 Mar 2024 06:56:51 -0700 (PDT) Message-ID: <9cfa43c3-3698-455c-8a2f-85c30470733c@linux.intel.com> Date: Mon, 25 Mar 2024 09:56:50 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] perf annotate: Get rid of duplicate --group option item To: Namhyung Kim , Arnaldo Carvalho de Melo , Ian Rogers Cc: Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org References: <20240322224313.423181-1-namhyung@kernel.org> Content-Language: en-US From: "Liang, Kan" In-Reply-To: <20240322224313.423181-1-namhyung@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-03-22 6:43 p.m., Namhyung Kim wrote: > The options array in cmd_annotate() has duplicate --group options. It > only needs one and let's get rid of the other. > > $ perf annotate -h 2>&1 | grep group > --group Show event group information together > --group Show event group information together > > Fixes: 7ebaf4890f63 ("perf annotate: Support '--group' option") > Signed-off-by: Namhyung Kim For the series, Reviewed-by: Kan Liang Thanks, Kan > --- > tools/perf/builtin-annotate.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c > index f677671409b1..3e9f7e0596e8 100644 > --- a/tools/perf/builtin-annotate.c > +++ b/tools/perf/builtin-annotate.c > @@ -810,8 +810,6 @@ int cmd_annotate(int argc, const char **argv) > "Enable symbol demangling"), > OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel, > "Enable kernel symbol demangling"), > - OPT_BOOLEAN(0, "group", &symbol_conf.event_group, > - "Show event group information together"), > OPT_BOOLEAN(0, "show-total-period", &symbol_conf.show_total_period, > "Show a column with the sum of periods"), > OPT_BOOLEAN('n', "show-nr-samples", &symbol_conf.show_nr_samples,