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 10C5819B3F3; Thu, 6 Jun 2024 14:16:43 +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=1717683403; cv=none; b=VmRGpew8XuUCHWQhksjuR7ZEw0j1+lPHUj4xCqBmuW1qxfXl1ewa8rJrcvNgPKgGYJSSffouovdsz8Cm32G6uuxGMFTAcRwHJoruo2meAQ+H6E2c5kyYJ8PmCc0eo+VqllumO+e2ZIbEh4SJNQUdMGsUvjPiWEA6A2ERglWxb4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717683403; c=relaxed/simple; bh=U7zux5CapEieOGXS/sUHr5b/I+wu75f2BCwMzzGTUxo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rB0XSuQJ2Pqc3VZM1YTPbvLDOLqRwW1E9DcjiAAf/nm03jt+m6U7sqj+0sTnP4+Cf4B4/XDrhByQI5iTxNsA2kYqQAn2zVP4wNJwSpbEV6pOn0+XkUgL2tOn4CEHoa0Ah63aMC2bH9fClYzitK6oqS8NgubecwmnLEGYMIymJfA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CCzTYe0l; 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="CCzTYe0l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2CCAC32782; Thu, 6 Jun 2024 14:16:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717683402; bh=U7zux5CapEieOGXS/sUHr5b/I+wu75f2BCwMzzGTUxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CCzTYe0lL6FX6qNC4xLUOyokJ+IYyt4Y5saBsEd+aPg1W8Q9AkeYjfJzrdQxz9bTm PqB1SyguJt7PvRhjk7XU/S95OCZzdo3cT3KptH9buSZVIu2/UNNsTPi8o2aLpl0G73 Nj50HLLQ4Mn+Du69lzvduk+Ahz51x7zjQFtk5cAk= 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 6.1 286/473] perf annotate: Get rid of duplicate --group option item Date: Thu, 6 Jun 2024 16:03:35 +0200 Message-ID: <20240606131709.344137391@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240606131659.786180261@linuxfoundation.org> References: <20240606131659.786180261@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 6.1-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 517d928c00e3f..21d7582608735 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -571,8 +571,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