Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1117989rwr; Thu, 27 Apr 2023 12:35:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ejEJaQaW4Y+TBFjNrWNR+1/19LFcyXLYpx5KDKQI4yG0tazsz4BPg6k3x6Yt7U/uSVxmg X-Received: by 2002:a05:6a20:72a7:b0:f3:33fb:a62b with SMTP id o39-20020a056a2072a700b000f333fba62bmr3768781pzk.9.1682624124332; Thu, 27 Apr 2023 12:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682624124; cv=none; d=google.com; s=arc-20160816; b=lN2suP99deYPV0XdOB54Wc5glMmd/wMr8XS3iyf4A4c2Q6SAQSZffaLR8jAxOAh54f lYnZE9JxRq12tk05uodsRwa3JuVx5GvmxqMgawKNR9ToB3gLvpFB28cHtERdJ01Q7/Xt TIF9UkdWFMe/muqy/tmem8etFZ1p/HRQmubNJtHwEKUCyBzju9w9EcYJBwiXNAq83N7S kXr9pxFJz2XHd7HtE9kmDqJMCeM5Nxg6aRn0HaipZRhKg7tL8v0qClfiPrzLoH+Au4Pp lvLKMY8Hsf2G70bSscNpD3HY2vWUJJgRFTAvc/dSpHynIPKo6hoNVYTpmgaNjAgqOnk/ xoiQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=O1tfn1eTVdxZckeYg70ieuhqPauVKFCzySs9NWGElkk=; b=cRyIzJqWfWf0bMP5kXCtEsp+lSZUcMZTg0UBHezEL4Yb0abNmPY3MU+OYFyodl80Tk iujsltrKGGkd9UCme0MTk+rawWyMoSV42xQ0RIpDGYvX03qe+FL1c+XawkF7QLjIzbLD Kl6TmjTrlEObrVm8dZzHW5ka2+0wX0QGgCXSfS0VkpQg5C9CUVx7s6uuyethS3EU3WtU 12+CMHva/YiHMldhVNRjvyPdJl9oPGfiTZAMdnG40tsgN2zxxVndn6zlNa3xX1FRy7RG qzY5wXcMntsNjHYTtu1+54y4B9Bk9ZuzkY7W6SBnyOcKoUxOsoHvPR7ggTtc+xmXdnVS PGKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=je8Ob7Sl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 77-20020a630450000000b00517a2150d9csi19677280pge.441.2023.04.27.12.35.10; Thu, 27 Apr 2023 12:35:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=je8Ob7Sl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244992AbjD0Tej (ORCPT + 99 others); Thu, 27 Apr 2023 15:34:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245559AbjD0TeR (ORCPT ); Thu, 27 Apr 2023 15:34:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6FB01FF5; Thu, 27 Apr 2023 12:34:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5202B63D93; Thu, 27 Apr 2023 19:34:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7555AC433EF; Thu, 27 Apr 2023 19:34:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682624054; bh=QneEEMrg5/ckBfmlDuKf2iDhBWq5sLbjAXtXQz9r3TI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=je8Ob7SlbIhT1icwkOj0Q36pTWd9cBGaIhiqbtkkHJCEdDCdzx4y497vBLZka4biJ 0XKz5Xdb+GjaCP1H6Si4XQ7eqP2kw/5CPcP4RWwRF8Cb/lyTyF+1T0QO2ELie5FWBm XEAbvZNM/wRXEUOdisnfgz2IIgmQgKZJjqljayOzvXywp/a7jnXD9lltUHu+hq0OL9 tOaY32ZRegZIStYvF7O7yLWW7/g1J/lDEJvD2uPfFkvI5obCl8zLgD8Z5tWTYfwvUO icuQb9W/SCRyHwA1BDmjRPimRZbVIKTdEXicaw+G/oqcCWNfHODzuIungspDLRGN9i o6vskMrIcOLog== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id C6B07403B5; Thu, 27 Apr 2023 16:34:11 -0300 (-03) Date: Thu, 27 Apr 2023 16:34:11 -0300 From: Arnaldo Carvalho de Melo To: "Liang, Kan" Cc: Ian Rogers , Ahmad Yasin , Peter Zijlstra , Ingo Molnar , Stephane Eranian , Andi Kleen , Perry Taylor , Samantha Alt , Caleb Biggers , Weilin Wang , Edward Baker , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Florian Fischer , Rob Herring , Zhengjun Xing , John Garry , Kajol Jain , Sumanth Korikkar , Thomas Richter , Tiezhu Yang , Ravi Bangoria , Leo Yan , Yang Jihong , James Clark , Suzuki Poulouse , Kang Minchul , Athira Rajeev , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 07/40] perf stat: Avoid segv on counter->name Message-ID: References: <20230426070050.1315519-1-irogers@google.com> <20230426070050.1315519-8-irogers@google.com> <15ca8bed-db47-182e-1ae3-33e273027776@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15ca8bed-db47-182e-1ae3-33e273027776@linux.intel.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Apr 27, 2023 at 03:11:49PM -0400, Liang, Kan escreveu: > On 2023-04-26 3:00 a.m., Ian Rogers wrote: > > Switch to use evsel__name that doesn't return NULL for hardware and > > similar events. > This one should be backport to 6.4. It helps to fix the Segmentation > fault with default mode. > https://lore.kernel.org/lkml/2b8768bf-de24-946f-62da-6ed171a5c324@linux.intel.com/ > > Signed-off-by: Ian Rogers > Reviewed-by: Kan Liang Thanks, I'll pick those before pushing to Linus, I'm mostly waiting for you guys to come to a resolution on moving forward, which I hope has been reached with that patch you sent. - Arnaldo