Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp345394rdh; Thu, 23 Nov 2023 05:41:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFTCsBZpfhGwmB2i7ruaQek/DnfYlQMoX/sdGNi0ijcGlO2HiYBmlkH7yeyTfVDZrxBhQs X-Received: by 2002:a17:902:bd94:b0:1cf:5479:38f2 with SMTP id q20-20020a170902bd9400b001cf547938f2mr4956331pls.35.1700746892562; Thu, 23 Nov 2023 05:41:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700746892; cv=none; d=google.com; s=arc-20160816; b=okusrc2xLWVC6LfsIzLAdA0/5XwVd3DI+nXH5spdagnVzryosHJTpNIEWhYlxV1+EL 0zZQMg8dOzyOc2AOgegyScQhXGTugbqTqraPQGrEqNTUwDo1RnodaTwre0jRPjlQMYFE m3tcz7Awb+iTlhJ5DXI3xh47ADFj+sWT0NCZ5CPr5dQE4xGYPSYkRPU7V4UOcQCdZzyC EQkynmOKvE/V0aHq43BeGy7m3M/z8dDT/lRVV4oYpeFzMuiKG+Sk9YCfNoQqe0chggLk ItY4cpiwmENt5hB7Ne74XpRgX/gEovgMmp7nxKwwfMKxawbjj4A7NotIQl+rr05INjSA z4QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=U4OQEBVLz5bO3Axy8iF3pWsJn+tz3oBRfbFyT27o7vQ=; fh=kvjWt/KxEdF141Px5F/+bhk9/mTkKxMwtPmI49IM5Xc=; b=PSin68ZGkvwrEBlUV/n7+YeN7hLa9yyoeyasrr62Hg0ArMq/qvDy2VoJTDLUfs13De 1ZwVsWtW2ralYMRc7f8oebh9iqOT+DxR01S3GXESgEfVss/oXvcQtZLk3HymVKq33RoU mrRbTo+uOOuIzMTUKv+gDb7SugfaNkWnnlJZABytKmsYb1QZm49mxMgHxzprxdteoevS /DRlz5jCMWQcCvbx4bftoq6sjDfn7OaAvvvxd9aXc5K20oCDljJdgoDt27ucE5I8GEmh T4i288ux4La9SFfx3smcLeLM7CRkS59k25hntIiuZOccOeJgjSBvlYO3+xp/ANRXpXOW fpBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E0pEvxvw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n12-20020a170903110c00b001ce671f7bc3si1156988plh.344.2023.11.23.05.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 05:41:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E0pEvxvw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 2444F809ECA4; Thu, 23 Nov 2023 05:40:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345590AbjKWNkd (ORCPT + 99 others); Thu, 23 Nov 2023 08:40:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345589AbjKWNkZ (ORCPT ); Thu, 23 Nov 2023 08:40:25 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 560D510EC for ; Thu, 23 Nov 2023 05:40:29 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3BDDC433C8; Thu, 23 Nov 2023 13:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700746829; bh=4/3MFKcSnNzFxXpwdTahwPqZj1DbgJoJ7bLgc5su8HI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E0pEvxvwR7cPb6GEgqdMm3JUCtR3QEhvZZ62nN9kkwaFO0hoPEXeWh8O11XgxoUXC LJNFXhV9g13IanBMELMe/9XENgNAYOkf/gWR1HCpN6yrW7QL0qAo0ytrJJnE+3JkLj w2eO3eN4zLXCIT2HqPaYW+bGLkIgnyuCE6npWxS1d9iI5vAJkhoNDKZynfeejpoD7q Am+/UYj9YEZiT6qesCZ+GSmA6/HAi8R8J+qKzYVodPag6MDfd/n5+nniihQ+jxWSPo s69Llhy++rs+NdjnVyLssmEltR1eJ+tKpzf3MsiqCqFdIGArRRxhtle6MNXv0LFovx y30es4PLZDpXg== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id EDCD940094; Thu, 23 Nov 2023 10:40:25 -0300 (-03) Date: Thu, 23 Nov 2023 10:40:25 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Jiri Olsa , Peter Zijlstra , Ian Rogers , Adrian Hunter , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org, Linus Torvalds , Stephane Eranian , Masami Hiramatsu , Andi Kleen , linux-trace-devel@vger.kernel.org, linux-toolchains@vger.kernel.org Subject: Re: [PATCH 18/52] perf report: Add 'type' sort key Message-ID: References: <20231110000012.3538610-1-namhyung@kernel.org> <20231110000012.3538610-19-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 05:40:53 -0800 (PST) Em Wed, Nov 22, 2023 at 01:13:04PM -0800, Namhyung Kim escreveu: > On Wed, Nov 22, 2023 at 11:54 AM Arnaldo Carvalho de Melo wrote: > > Em Wed, Nov 22, 2023 at 10:49:13AM -0800, Namhyung Kim escreveu: > > > On Tue, Nov 21, 2023 at 9:55 AM Arnaldo Carvalho de Melo wrote: > > > > ⬢[acme@toolbox perf-tools-next]$ perf report -s type > > > > perf: Segmentation fault > > > Right, the 'type' sort key was added here but unfortunately > > > it's not ready for prime time yet. It also needs the next patch > > > 19/52 ("perf report: Support data type profiling") to fully enable > > > the feature. Do you think it's better to squash into here? > > I haven't checked if squashing would be a good idea, but if you think > > its the right granularity, then do it, as long as we can test features > > in various ways as they are getting added, as I did, using a random > > perf.data file. > I still think it's better to split the change as it's logically separate. The smaller the patches, the better, I'd say in general. > But it's prematurely exposed then maybe needs some protection. Yeah, that is what I felt like it needed, make it more robust by checking if the used fields were properly initialized, etc. - Arnaldo