Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp198887rdd; Wed, 22 Nov 2023 13:14:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IE/ngU9sTQsTXv7xkAVK+oW5Osc7Wx8s9YnfgGJ8+ROxbQd+w9Vv+MkPHtJ3FWaQpErVtwl X-Received: by 2002:a05:6a21:3a93:b0:15b:c800:48af with SMTP id zv19-20020a056a213a9300b0015bc80048afmr3770128pzb.23.1700687668234; Wed, 22 Nov 2023 13:14:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700687668; cv=none; d=google.com; s=arc-20160816; b=crnebCYej3dOtIzvaarG7BskKpZVAMAqXqVrmZssETyd6YvxhVpUHS7NPmK7qLzYKv Je2aWjFCaMBFLNuRyozE7klohmDNN7JK9c6R/5ak1/ZnJYFc/uWJsiZ1Qr/Eci+d70WR Kzlk9w9bTpt0S47hE/3Tz+3QSzUtwzxt5iQWC7HrjoqMNq8jJkVpWHbOYlfIaybW9aSf N9ip5OnOIuV/7q7hd4JD20enLaXXet0Oougxb3vxUAiT0d/uUtk5O4+uz43dFp++BK7f M6CS6ujttt3hZZnSkXbxLi+fDXLIeLWmlPEgRD+JvirAMD7z9y9DyMCBNivRVX0zV3sM reAA== 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=IJfumLz+8Aq+wr+qL1OqtFRIHKUivUVxvxN5P+pP2pQ=; fh=TEXwrGMtssV6qybUCe1vK9AoPzzdnbigkVN9oi/XJO8=; b=pRdOPkFY1SHzfc3u+cl7cU1GuvmAct6jwOMf/BgpB7xpvlzkZGU+Hv0znZyGvWLqbZ tkuIRN5qy0tgOP2RMe6M+2wo6qVvY/gnT63Xb4ZateTTsxLkiWiSPVmmXJzuvSetZEId XUaoOY+cIpVEebFTjLiRRAdEbrMl9GdUU8KJwqukj/58zPXtx+FDwJloixtWsPgqlnTH qPGKk9k6DoqsII/TIo+6LdOOVlzEdrMq+6KBsLGZuoT7ycOyUV2yMlLWYGpzsatjfegM CM55ryanEMAtHH8RJ3ty8BZ4VbAEqMzAtA693baOECcy78AElRb5w2mg3KsZs091jgpg AkMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u21-20020a632355000000b005bdbcdc9e3dsi256471pgm.142.2023.11.22.13.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 13:14:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id C049D8341C17; Wed, 22 Nov 2023 13:14:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235266AbjKVVOQ convert rfc822-to-8bit (ORCPT + 99 others); Wed, 22 Nov 2023 16:14:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235236AbjKVVOF (ORCPT ); Wed, 22 Nov 2023 16:14:05 -0500 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DAAB1FED; Wed, 22 Nov 2023 13:13:15 -0800 (PST) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-2851a2b30a2so183105a91.3; Wed, 22 Nov 2023 13:13:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700687595; x=1701292395; 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=8LQ1j4kWb3+CnF/kdYlkLVQpqjsriFv4ZkgAtmmsJSU=; b=EBuJaj53NzLsRiXGHZO4xRl7z6vLTzAjAjBIFAoETsRq6tCscqpVU8lSq24EgqglCw pUEQEWUtNAlxcJkKMmjIN73tVgo2GdGY70wu3qkae5bvd+iu+6Z7L1Q/ciLSS2oaHd1J 9ony1xahTOKFq/HrJGrq7YrkjfLIHkc+6eG5y+ascC9ADcYqgcsQSQkwwyUdxY1nrCvf 38I69vnOoLcfCaE/ky8kfsH1C6PptN+KxiiDWgGujR03dH0geE11hJZXByes6yR+K8j3 7ncSOdSnun+9bV4nWZM46tNsnAFs80Hy5oOJerYKQoiv9SYReaF6hwoVFT+wt8OklQbp PS3Q== X-Gm-Message-State: AOJu0YzANPug7OTFoQ1a8O+qUADvePBtjy9b8oq79A1tSQcLGf+pyXPu mwEuWoDRhpal2U9ICVTQhGQhhY/byZrv8sjhL328Epphbx8= X-Received: by 2002:a17:90b:4f82:b0:274:4e9b:7a1a with SMTP id qe2-20020a17090b4f8200b002744e9b7a1amr3914762pjb.44.1700687595354; Wed, 22 Nov 2023 13:13:15 -0800 (PST) MIME-Version: 1.0 References: <20231110000012.3538610-1-namhyung@kernel.org> <20231110000012.3538610-19-namhyung@kernel.org> In-Reply-To: From: Namhyung Kim Date: Wed, 22 Nov 2023 13:13:04 -0800 Message-ID: Subject: Re: [PATCH 18/52] perf report: Add 'type' sort key To: Arnaldo Carvalho de Melo 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 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,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 fry.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 (fry.vger.email [0.0.0.0]); Wed, 22 Nov 2023 13:14:25 -0800 (PST) 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 > > > -------- backtrace -------- > > > perf[0x69f743] > > > /lib64/libc.so.6(+0x3dbb0)[0x7f89b4778bb0] > > > perf[0x505af6] > > > > perf[0x504f01] > > > /lib64/libc.so.6(+0x27b8a)[0x7f89b4762b8a] > > > /lib64/libc.so.6(__libc_start_main+0x8b)[0x7f89b4762c4b] > > > perf[0x40ed65] > > > ⬢[acme@toolbox perf-tools-next]$ > > > > 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. But it's prematurely exposed then maybe needs some protection. Thanks, Namhyung