From mboxrd@z Thu Jan 1 00:00:00 1970 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 A603913C8E1; Thu, 13 Jun 2024 12:18:21 +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=1718281101; cv=none; b=EFnFcOujeV23bwU29JKZ36arQF74x2R+slBpBJr9xjMKjVIfrdIiM61hVwC5BrQwJjnC4DK+dvDWwOA/mB/75QiAYCo2KY6b4IfKxHogJr00Kf7xp9HNJ09YbVjZsJM892YGw71XmYmEjhl+YukoQRcm1zjqHeYIz0aXOplHpz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718281101; c=relaxed/simple; bh=hn86mcJHMEGRpzl4keAsiGLmmPDLC4Ol8enDAD44yrA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dgba4A/Qw7P/Q3ry7I142+hkp9lYjo7cnvrIMTwtWvPDMxIX6S310FVjj0hKpDEUbnGbtYs3nLPgvf2ecdWXlAYV4/ptqcvySa6an9MNgNGvbUorB7Ngatza0msYz5DzI2H623L/3eTi3nczJRLG1F1n8U7wUAPqufxQakfmnEA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sjZ2ytW5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sjZ2ytW5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1106CC2BBFC; Thu, 13 Jun 2024 12:18:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718281101; bh=hn86mcJHMEGRpzl4keAsiGLmmPDLC4Ol8enDAD44yrA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sjZ2ytW5eSdd+kAKxGDDtBeC5RGRFn9hl4WQLtn951N3zEhNevrKZg8IP40cZYbz5 XBTJhmZ9t92vET7aRg/yFBVZA3RRGDHj9OE8IBbsreamKT24cRDBDKrVZFmrhaBTyQ FNLoDziUYlVa7TMxqIKOHT7xvOMYjfCHTjYgG7eg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Kan Liang , Namhyung Kim , Adrian Hunter , Ian Rogers , Ingo Molnar , Jin Yao , Jiri Olsa , Peter Zijlstra , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 5.10 141/317] perf annotate: Get rid of duplicate --group option item Date: Thu, 13 Jun 2024 13:32:39 +0200 Message-ID: <20240613113253.023063571@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240613113247.525431100@linuxfoundation.org> References: <20240613113247.525431100@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Namhyung Kim [ Upstream commit 374af9f1f06b5e991c810d2e4983d6f58df32136 ] 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: 7ebaf4890f63eb90 ("perf annotate: Support '--group' option") Reviewed-by: Kan Liang Signed-off-by: Namhyung Kim Cc: Adrian Hunter Cc: Ian Rogers Cc: Ingo Molnar Cc: Jin Yao Cc: Jiri Olsa Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20240322224313.423181-1-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- 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 8059cf12cce86..d8e8359c97a15 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -542,8 +542,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, -- 2.43.0