Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp598908rdh; Thu, 26 Oct 2023 10:19:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGBfxwAHgRT5buNkAfzpvu3OiPcmVZV+SieHPOabZhqu38KUqdxmVsT2DXhguKd6ZrrrzFx X-Received: by 2002:a81:430c:0:b0:5a7:d4d7:aaa1 with SMTP id q12-20020a81430c000000b005a7d4d7aaa1mr5920883ywa.16.1698340791040; Thu, 26 Oct 2023 10:19:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698340791; cv=none; d=google.com; s=arc-20160816; b=ugthMchGcv/i+5ha9R/5BaT0cfizMdCU1I/7dfyzGNYszJOoiTHgv2lTz0xBLnz3x3 j8gDc63ql6RgJ7Ft1bkBeDARmXjWKxLo8gDoPROM2DcideC7XF8HPBKwlhtf2IN6u8oN 2jFNt1zwZN3WxnFKLcDaW3LhX3lFVu5FPBWc8Z/xPRt6K2AopqJaag++SZ75YuEfoZVk QHPwSBuXCPRRYHmLYe25fPifwsLrUhnDWH9n1WdpC88jgoBLE9nFhnyAX5M0MKUbJ4H3 oSAF7hOhO3Fj+mmFp57tGDC28v+LIbZNWAckI9nQXbJCd4/PaEwsRl8VfcIMGcSaYhut fUQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=BmEgbBtDgMZUUYCMkMqfsmwKrR3m0UGtzVzdeHpY28w=; fh=3JYE19YqfFrYTXLFhKdrq2wjvQ5q3sD2Ko01R+NKkVw=; b=Y7RnpcchzR1T8IzTz/gi7BfIokSTjlaJTtbww4260MbtMImJemPb1NOfaD/aKWi9CE /BPbEP7EZhqTrvS6QPw+KLsR3HxLg/NmFIBDji2vPWT9OeNLrBkm/dpmuI0+NlxAqjon A7bOjiIXCbbABYhIwDAsvVbhF+zBE3Yc4+3TV7qlYojSUOfiokBQkgmYTsuPWFhxO4Nc jucpgg98e17zDSiM4IRdokPxLFkjxB4r+dTIl1sG8sgx6N7AjnA7Rh40rXywLm8K+pzv EfO7bilpiQJYTyZ4iznXibIoiHBa2wXMM8fMs6SZ2pp3nJhpEIoVRK76zdi5qSGINFw8 Kz7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id s129-20020a257787000000b00d9acc440d91si15523151ybc.141.2023.10.26.10.19.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 10:19:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 57C7B80EE819; Thu, 26 Oct 2023 10:19:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229815AbjJZRTk convert rfc822-to-8bit (ORCPT + 99 others); Thu, 26 Oct 2023 13:19:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231811AbjJZRTh (ORCPT ); Thu, 26 Oct 2023 13:19:37 -0400 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6D8C1B8; Thu, 26 Oct 2023 10:19:35 -0700 (PDT) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-577fff1cae6so835309a12.1; Thu, 26 Oct 2023 10:19:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698340775; x=1698945575; 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=fb0eQOMATExq/akjsiAw6q/kyVoFbGjr7jLMdnPq2PI=; b=ec1nwaL15PoZJdfHLP+lSSF1GMaqmBoIX2Zg2s80ZK0Qcb3Rgkbre8JfCgTaK1mWj9 xTc6UWcnJ5OasASY08xa0efmoqXVKD5Mwj6P8fF60bbnWKL9P0k3Sp8CoSftDqbkf8U7 J+5BkroWVIa8IUjjkoMmQw71iIjTUg/wt3xCZ1MPsMwvN7mCRqHftWxtuwfE/KtQRAa2 EhqRXFsr+E7ar28pzZnZesC7SnMamLX/IGNXrwcpyn9ubvkqIxPqVVWQOEhlP25C7iiN 462fF3n5DLiCf9cSZHEjfHyEWro/yYE+4oDc05wWj1aRfpZRRaAdWAtg+1G5P0Zbiz2+ pZKw== X-Gm-Message-State: AOJu0YxO/R9+2LmY2FLrrDTu4bNCbgDERjYUYN2Cg+IvmBOMHbeEPGTT wZSJeM+s4WYeRqiBOaBXbOHb2MqwEVqpR7zs0wc= X-Received: by 2002:a17:90b:1d0c:b0:27d:306d:71cb with SMTP id on12-20020a17090b1d0c00b0027d306d71cbmr4289000pjb.10.1698340775255; Thu, 26 Oct 2023 10:19:35 -0700 (PDT) MIME-Version: 1.0 References: <20231026062615.3096537-1-namhyung@kernel.org> <5a153604-3e9c-4ae9-b216-64f24199efc4@intel.com> In-Reply-To: <5a153604-3e9c-4ae9-b216-64f24199efc4@intel.com> From: Namhyung Kim Date: Thu, 26 Oct 2023 10:19:24 -0700 Message-ID: Subject: Re: [PATCH] perf tools: Add -H short option for --hierarchy To: Adrian Hunter Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Ian Rogers , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 26 Oct 2023 10:19:48 -0700 (PDT) Hi Adrian, On Wed, Oct 25, 2023 at 11:46 PM Adrian Hunter wrote: > > On 26/10/23 09:26, Namhyung Kim wrote: > > I found the hierarchy mode useful, but it's easy to make a typo when > > using it. Let's add a short option for that. > > > > Also update the documentation. :) > > Perhaps it would also be possible to support bash-completions for > long options I believe it already supports long options. But I have some setup which doesn't work with bash completions. :-( Thanks, Namhyung