From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BC06C77B73 for ; Thu, 20 Apr 2023 11:35:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231390AbjDTLfK (ORCPT ); Thu, 20 Apr 2023 07:35:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234541AbjDTLev (ORCPT ); Thu, 20 Apr 2023 07:34:51 -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 97FCF30D4; Thu, 20 Apr 2023 04:34:20 -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 5616561752; Thu, 20 Apr 2023 11:34:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D4F5C433EF; Thu, 20 Apr 2023 11:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681990440; bh=oDJTkprPHFF+WkngHmEuygFBMq5jaTaNLT3SVigoIe4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hWEut89UpPOUpEKMCDRbDia3adPLuifHtXT674ypZE6Dl3s3WjmWZb+jJ+J8msNUH etHvok8h8dwpmw2DhtS4iyPkzKZIi32w9KQrGYPMGdrPFBu0Az0YlSnUTNKSdGD8M3 NZ8xsD4zdDv+uXYj9FOqup0BMvE9b5zkAGO9JuCbt7STIJIHPP0VakKlwS6rPi2FiC H0HVRFs4UyEH7jl/psioaDeOekCkUi4d4ILvTw+KaktVE9ohm8bCTcMJuie9NdM1/H 3w1iNJW5/2AKdWV6wAx0qM3ddyF5qMynusIONtHuhITjHdKC/CQSzCnpQoFmazHnII Gacll48h+Azaw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id AFEBA403B5; Thu, 20 Apr 2023 08:33:57 -0300 (-03) Date: Thu, 20 Apr 2023 08:33:57 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: "Liang, Kan" , Stephane Eranian , Andi Kleen , "Yasin, Ahmad" , "Taylor, Perry" , "Alt, Samantha" , "Biggers, Caleb" , "Wang, Weilin" , Edward , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Florian Fischer , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] perf stat: Introduce skippable evsels Message-ID: References: <99150cb1-fe50-97cf-ad80-cceb9194eb9a@linux.intel.com> <84b19053-2e9f-5251-6816-26d2475894c0@linux.intel.com> <201a2ad6-3fb4-4b2a-d8a4-34d924e680c3@linux.intel.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Em Wed, Apr 19, 2023 at 09:51:20AM -0700, Ian Rogers escreveu: > On Wed, Apr 19, 2023 at 7:16 AM Liang, Kan wrote: > > For ADL/RPL platforms > > - Segmentation fault which I just found this morning. > > # ./perf stat true > > Segmentation fault (core dumped) > This may also stem from the reference count checking work that Arnaldo > is currently merging. It is hard to test hybrid because it uses > non-generic code paths. Hey, could you please try this under gdb and provide a backtrace? It may indeed be related to this refcount checking work, there was a bug fixed by the ARM guys for cs-etm and I combed thru and fixed some other use before check for NULL cases, maybe one more slipped up. Here I couldn't reproduce, but I don't have a Intel hybrid system, will check with an ARM, but unsure if it will exercise the same code paths... - Arnaldo