From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DF247BAE3 for ; Thu, 8 Feb 2024 16:19:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707409188; cv=none; b=gcXmjQX+j+Va9JRZR/itNRhfELoi8vZxj07P+rAOcZIj5eMNRJnMdcxV6en1P4phdTn4Ac0ZyGHT09tk2Rm4UEkNbgBBn8Utg+A5mziRXKQz3JvJt3hlk3n/6Pwe24m3rMgQDroj0qPBw8ZuKTb2BZa2MaVAQjUcCw+4AnGOKn8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707409188; c=relaxed/simple; bh=THwixOSvRhRVBB5E4HyyFmHio+9dMbGjjuAtz8sJ+hM=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=DRXEHrEA8hCnIyADT3p6WCOsMl4xMvgzdA6IaVVsQdJcFj7ChXMhePxmVyMCDoI6+Cqx2gKQm63d7wNjzOw/hbtj9NfHJN47CowGnrOR/OntRQJoEpuWp1g2wgl8PtiBjnOsJUmoaiRvHbc0rxUKJz50Pz3OQKwckxZVf+/VDMQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=fBQ7uaIC; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fBQ7uaIC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707409184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/ByQ6Hv3h50Tcif9XFAJdU4RTp9auPORlH17Eo58Glw=; b=fBQ7uaICUUxydxGpdOPDb1QRKI6jG3r9cOi2iPhtEk211haiaW6UsrOnrK3Axm8/zlWojV O7npbNOixbnWObNv0E3wMoENnw9vqljAX84O9bPBnbzC6Ct//0rVIGC/oPJpF2UiCET8Tl r0Bl+K2tPXTivz488OmoI/uTVYU8MgQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-269-eiCRaw1UNt2Sz-kWOL0wRg-1; Thu, 08 Feb 2024 11:19:41 -0500 X-MC-Unique: eiCRaw1UNt2Sz-kWOL0wRg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 360AF848C09; Thu, 8 Feb 2024 16:19:41 +0000 (UTC) Received: from Diego (unknown [10.39.208.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A75802166B31; Thu, 8 Feb 2024 16:19:38 +0000 (UTC) Date: Thu, 8 Feb 2024 17:19:35 +0100 (CET) From: Michael Petlan X-X-Sender: Michael@Diego To: irogers@google.com cc: vmolnaro@redhat.com, linux-perf-users@vger.kernel.org, acme@kernel.org, acme@redhat.com Subject: Re: [PATCH] perf test attr: Add back missing topdown events In-Reply-To: Message-ID: References: <20240122213806.19668-1-vmolnaro@redhat.com> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="-1463784192-1187990035-1707409180=:11354" X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463784192-1187990035-1707409180=:11354 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Fri, 26 Jan 2024, Michael Petlan wrote: > On Mon, 22 Jan 2024, Ian Rogers wrote: > > On Mon, Jan 22, 2024 at 1:39 PM wrote: > > > [...] > > topdown-heavy-ops is a topdown level 2 event. I suspect these failures > > are caused by the perf stat default output being different when level > > 2 events are present, inherently newer Intel architectures. The > > behavior is expected as the level 2 events are part of the metrics in > > the Default group: > > https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/tree/tools/perf/pmu-events/arch/x86/sapphirerapids/spr-metrics.json?h=perf-tools-next#n641 > > The test failure isn't expected and we probably need to update the > > attribute test for the flexibility added by the "Default" metric group > > set up, maybe we can add the level2 events as other optional events. > > Hello Ian. > > Indeed, topdown level 2 events may appear in the default `perf stat` > output on newer Intel systems. And because of that, they should be > included in attr/test-stat-default and similar, shouldn't they? > > I think the test failure is quite expected in case the level 2 > events aren't listed there but are shown by `perf stat`. > > Thanks, > Michael Hello Ian, does the patch look good to you? Or do you have any suggestions how to better fix the testcase? Thanks! Michael > > > > Thanks, > > Ian > > > > > [event16:base-stat] > > > fd=16 > > > +group_fd=11 > > > type=4 > > > -config=4109 > > > +config=33792 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/ > > > +# PERF_TYPE_RAW / topdown-br-mispredict (0x8500) > > > [event17:base-stat] > > > fd=17 > > > +group_fd=11 > > > type=4 > > > -config=17039629 > > > +config=34048 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD > > > +# PERF_TYPE_RAW / topdown-fetch-lat (0x8600) > > > [event18:base-stat] > > > fd=18 > > > +group_fd=11 > > > type=4 > > > -config=60 > > > +config=34304 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY > > > +# PERF_TYPE_RAW / topdown-mem-bound (0x8700) > > > [event19:base-stat] > > > fd=19 > > > +group_fd=11 > > > type=4 > > > -config=2097421 > > > +config=34560 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK > > > +# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING > > > [event20:base-stat] > > > fd=20 > > > type=4 > > > -config=316 > > > +config=4109 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE > > > +# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/ > > > [event21:base-stat] > > > fd=21 > > > type=4 > > > -config=412 > > > +config=17039629 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD > > > [event22:base-stat] > > > fd=22 > > > type=4 > > > -config=572 > > > +config=60 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS > > > +# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY > > > [event23:base-stat] > > > fd=23 > > > type=4 > > > -config=706 > > > +config=2097421 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / UOPS_ISSUED.ANY > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK > > > [event24:base-stat] > > > fd=24 > > > type=4 > > > +config=316 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE > > > +[event25:base-stat] > > > +fd=25 > > > +type=4 > > > +config=412 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE > > > +[event26:base-stat] > > > +fd=26 > > > +type=4 > > > +config=572 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS > > > +[event27:base-stat] > > > +fd=27 > > > +type=4 > > > +config=706 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / UOPS_ISSUED.ANY > > > +[event28:base-stat] > > > +fd=28 > > > +type=4 > > > config=270 > > > optional=1 > > > diff --git a/tools/perf/tests/attr/test-stat-detailed-1 b/tools/perf/tests/attr/test-stat-detailed-1 > > > index 1c52cb05c900..3d500d3e0c5c 100644 > > > --- a/tools/perf/tests/attr/test-stat-detailed-1 > > > +++ b/tools/perf/tests/attr/test-stat-detailed-1 > > > @@ -90,99 +90,143 @@ enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / topdown-fe-bound (0x8200) > > > +# PERF_TYPE_RAW / topdown-bad-spec (0x8100) > > > [event13:base-stat] > > > fd=13 > > > group_fd=11 > > > type=4 > > > -config=33280 > > > +config=33024 > > > disabled=0 > > > enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / topdown-be-bound (0x8300) > > > +# PERF_TYPE_RAW / topdown-fe-bound (0x8200) > > > [event14:base-stat] > > > fd=14 > > > group_fd=11 > > > type=4 > > > -config=33536 > > > +config=33280 > > > disabled=0 > > > enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / topdown-bad-spec (0x8100) > > > +# PERF_TYPE_RAW / topdown-be-bound (0x8300) > > > [event15:base-stat] > > > fd=15 > > > group_fd=11 > > > type=4 > > > -config=33024 > > > +config=33536 > > > disabled=0 > > > enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING > > > +# PERF_TYPE_RAW / topdown-heavy-ops (0x8400) > > > [event16:base-stat] > > > fd=16 > > > +group_fd=11 > > > type=4 > > > -config=4109 > > > +config=33792 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/ > > > +# PERF_TYPE_RAW / topdown-br-mispredict (0x8500) > > > [event17:base-stat] > > > fd=17 > > > +group_fd=11 > > > type=4 > > > -config=17039629 > > > +config=34048 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD > > > +# PERF_TYPE_RAW / topdown-fetch-lat (0x8600) > > > [event18:base-stat] > > > fd=18 > > > +group_fd=11 > > > type=4 > > > -config=60 > > > +config=34304 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY > > > +# PERF_TYPE_RAW / topdown-mem-bound (0x8700) > > > [event19:base-stat] > > > fd=19 > > > +group_fd=11 > > > type=4 > > > -config=2097421 > > > +config=34560 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK > > > +# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING > > > [event20:base-stat] > > > fd=20 > > > type=4 > > > -config=316 > > > +config=4109 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE > > > +# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/ > > > [event21:base-stat] > > > fd=21 > > > type=4 > > > -config=412 > > > +config=17039629 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD > > > [event22:base-stat] > > > fd=22 > > > type=4 > > > -config=572 > > > +config=60 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS > > > +# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY > > > [event23:base-stat] > > > fd=23 > > > type=4 > > > -config=706 > > > +config=2097421 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / UOPS_ISSUED.ANY > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK > > > [event24:base-stat] > > > fd=24 > > > type=4 > > > +config=316 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE > > > +[event25:base-stat] > > > +fd=25 > > > +type=4 > > > +config=412 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE > > > +[event26:base-stat] > > > +fd=26 > > > +type=4 > > > +config=572 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS > > > +[event27:base-stat] > > > +fd=27 > > > +type=4 > > > +config=706 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / UOPS_ISSUED.ANY > > > +[event28:base-stat] > > > +fd=28 > > > +type=4 > > > config=270 > > > optional=1 > > > > > > @@ -190,8 +234,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1D << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event25:base-stat] > > > -fd=25 > > > +[event29:base-stat] > > > +fd=29 > > > type=3 > > > config=0 > > > optional=1 > > > @@ -200,8 +244,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1D << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event26:base-stat] > > > -fd=26 > > > +[event30:base-stat] > > > +fd=30 > > > type=3 > > > config=65536 > > > optional=1 > > > @@ -210,8 +254,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_LL << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event27:base-stat] > > > -fd=27 > > > +[event31:base-stat] > > > +fd=31 > > > type=3 > > > config=2 > > > optional=1 > > > @@ -220,8 +264,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_LL << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event28:base-stat] > > > -fd=28 > > > +[event32:base-stat] > > > +fd=32 > > > type=3 > > > config=65538 > > > optional=1 > > > diff --git a/tools/perf/tests/attr/test-stat-detailed-2 b/tools/perf/tests/attr/test-stat-detailed-2 > > > index 7e961d24a885..01777a63752f 100644 > > > --- a/tools/perf/tests/attr/test-stat-detailed-2 > > > +++ b/tools/perf/tests/attr/test-stat-detailed-2 > > > @@ -90,99 +90,143 @@ enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / topdown-fe-bound (0x8200) > > > +# PERF_TYPE_RAW / topdown-bad-spec (0x8100) > > > [event13:base-stat] > > > fd=13 > > > group_fd=11 > > > type=4 > > > -config=33280 > > > +config=33024 > > > disabled=0 > > > enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / topdown-be-bound (0x8300) > > > +# PERF_TYPE_RAW / topdown-fe-bound (0x8200) > > > [event14:base-stat] > > > fd=14 > > > group_fd=11 > > > type=4 > > > -config=33536 > > > +config=33280 > > > disabled=0 > > > enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / topdown-bad-spec (0x8100) > > > +# PERF_TYPE_RAW / topdown-be-bound (0x8300) > > > [event15:base-stat] > > > fd=15 > > > group_fd=11 > > > type=4 > > > -config=33024 > > > +config=33536 > > > disabled=0 > > > enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING > > > +# PERF_TYPE_RAW / topdown-heavy-ops (0x8400) > > > [event16:base-stat] > > > fd=16 > > > +group_fd=11 > > > type=4 > > > -config=4109 > > > +config=33792 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/ > > > +# PERF_TYPE_RAW / topdown-br-mispredict (0x8500) > > > [event17:base-stat] > > > fd=17 > > > +group_fd=11 > > > type=4 > > > -config=17039629 > > > +config=34048 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD > > > +# PERF_TYPE_RAW / topdown-fetch-lat (0x8600) > > > [event18:base-stat] > > > fd=18 > > > +group_fd=11 > > > type=4 > > > -config=60 > > > +config=34304 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY > > > +# PERF_TYPE_RAW / topdown-mem-bound (0x8700) > > > [event19:base-stat] > > > fd=19 > > > +group_fd=11 > > > type=4 > > > -config=2097421 > > > +config=34560 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK > > > +# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING > > > [event20:base-stat] > > > fd=20 > > > type=4 > > > -config=316 > > > +config=4109 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE > > > +# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/ > > > [event21:base-stat] > > > fd=21 > > > type=4 > > > -config=412 > > > +config=17039629 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD > > > [event22:base-stat] > > > fd=22 > > > type=4 > > > -config=572 > > > +config=60 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS > > > +# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY > > > [event23:base-stat] > > > fd=23 > > > type=4 > > > -config=706 > > > +config=2097421 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / UOPS_ISSUED.ANY > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK > > > [event24:base-stat] > > > fd=24 > > > type=4 > > > +config=316 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE > > > +[event25:base-stat] > > > +fd=25 > > > +type=4 > > > +config=412 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE > > > +[event26:base-stat] > > > +fd=26 > > > +type=4 > > > +config=572 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS > > > +[event27:base-stat] > > > +fd=27 > > > +type=4 > > > +config=706 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / UOPS_ISSUED.ANY > > > +[event28:base-stat] > > > +fd=28 > > > +type=4 > > > config=270 > > > optional=1 > > > > > > @@ -190,8 +234,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1D << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event25:base-stat] > > > -fd=25 > > > +[event29:base-stat] > > > +fd=29 > > > type=3 > > > config=0 > > > optional=1 > > > @@ -200,8 +244,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1D << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event26:base-stat] > > > -fd=26 > > > +[event30:base-stat] > > > +fd=30 > > > type=3 > > > config=65536 > > > optional=1 > > > @@ -210,8 +254,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_LL << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event27:base-stat] > > > -fd=27 > > > +[event31:base-stat] > > > +fd=31 > > > type=3 > > > config=2 > > > optional=1 > > > @@ -220,8 +264,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_LL << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event28:base-stat] > > > -fd=28 > > > +[event32:base-stat] > > > +fd=32 > > > type=3 > > > config=65538 > > > optional=1 > > > @@ -230,8 +274,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1I << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event29:base-stat] > > > -fd=29 > > > +[event33:base-stat] > > > +fd=33 > > > type=3 > > > config=1 > > > optional=1 > > > @@ -240,8 +284,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1I << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event30:base-stat] > > > -fd=30 > > > +[event34:base-stat] > > > +fd=34 > > > type=3 > > > config=65537 > > > optional=1 > > > @@ -250,8 +294,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_DTLB << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event31:base-stat] > > > -fd=31 > > > +[event35:base-stat] > > > +fd=35 > > > type=3 > > > config=3 > > > optional=1 > > > @@ -260,8 +304,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_DTLB << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event32:base-stat] > > > -fd=32 > > > +[event36:base-stat] > > > +fd=36 > > > type=3 > > > config=65539 > > > optional=1 > > > @@ -270,8 +314,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_ITLB << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event33:base-stat] > > > -fd=33 > > > +[event37:base-stat] > > > +fd=37 > > > type=3 > > > config=4 > > > optional=1 > > > @@ -280,8 +324,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_ITLB << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event34:base-stat] > > > -fd=34 > > > +[event38:base-stat] > > > +fd=38 > > > type=3 > > > config=65540 > > > optional=1 > > > diff --git a/tools/perf/tests/attr/test-stat-detailed-3 b/tools/perf/tests/attr/test-stat-detailed-3 > > > index e50535f45977..8400abd7e1e4 100644 > > > --- a/tools/perf/tests/attr/test-stat-detailed-3 > > > +++ b/tools/perf/tests/attr/test-stat-detailed-3 > > > @@ -90,99 +90,143 @@ enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / topdown-fe-bound (0x8200) > > > +# PERF_TYPE_RAW / topdown-bad-spec (0x8100) > > > [event13:base-stat] > > > fd=13 > > > group_fd=11 > > > type=4 > > > -config=33280 > > > +config=33024 > > > disabled=0 > > > enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / topdown-be-bound (0x8300) > > > +# PERF_TYPE_RAW / topdown-fe-bound (0x8200) > > > [event14:base-stat] > > > fd=14 > > > group_fd=11 > > > type=4 > > > -config=33536 > > > +config=33280 > > > disabled=0 > > > enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / topdown-bad-spec (0x8100) > > > +# PERF_TYPE_RAW / topdown-be-bound (0x8300) > > > [event15:base-stat] > > > fd=15 > > > group_fd=11 > > > type=4 > > > -config=33024 > > > +config=33536 > > > disabled=0 > > > enable_on_exec=0 > > > read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING > > > +# PERF_TYPE_RAW / topdown-heavy-ops (0x8400) > > > [event16:base-stat] > > > fd=16 > > > +group_fd=11 > > > type=4 > > > -config=4109 > > > +config=33792 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/ > > > +# PERF_TYPE_RAW / topdown-br-mispredict (0x8500) > > > [event17:base-stat] > > > fd=17 > > > +group_fd=11 > > > type=4 > > > -config=17039629 > > > +config=34048 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD > > > +# PERF_TYPE_RAW / topdown-fetch-lat (0x8600) > > > [event18:base-stat] > > > fd=18 > > > +group_fd=11 > > > type=4 > > > -config=60 > > > +config=34304 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY > > > +# PERF_TYPE_RAW / topdown-mem-bound (0x8700) > > > [event19:base-stat] > > > fd=19 > > > +group_fd=11 > > > type=4 > > > -config=2097421 > > > +config=34560 > > > +disabled=0 > > > +enable_on_exec=0 > > > +read_format=15 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK > > > +# PERF_TYPE_RAW / INT_MISC.UOP_DROPPING > > > [event20:base-stat] > > > fd=20 > > > type=4 > > > -config=316 > > > +config=4109 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE > > > +# PERF_TYPE_RAW / cpu/INT_MISC.RECOVERY_CYCLES,cmask=1,edge/ > > > [event21:base-stat] > > > fd=21 > > > type=4 > > > -config=412 > > > +config=17039629 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.THREAD > > > [event22:base-stat] > > > fd=22 > > > type=4 > > > -config=572 > > > +config=60 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS > > > +# PERF_TYPE_RAW / INT_MISC.RECOVERY_CYCLES_ANY > > > [event23:base-stat] > > > fd=23 > > > type=4 > > > -config=706 > > > +config=2097421 > > > optional=1 > > > > > > -# PERF_TYPE_RAW / UOPS_ISSUED.ANY > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.REF_XCLK > > > [event24:base-stat] > > > fd=24 > > > type=4 > > > +config=316 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / IDQ_UOPS_NOT_DELIVERED.CORE > > > +[event25:base-stat] > > > +fd=25 > > > +type=4 > > > +config=412 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE > > > +[event26:base-stat] > > > +fd=26 > > > +type=4 > > > +config=572 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / UOPS_RETIRED.RETIRE_SLOTS > > > +[event27:base-stat] > > > +fd=27 > > > +type=4 > > > +config=706 > > > +optional=1 > > > + > > > +# PERF_TYPE_RAW / UOPS_ISSUED.ANY > > > +[event28:base-stat] > > > +fd=28 > > > +type=4 > > > config=270 > > > optional=1 > > > > > > @@ -190,8 +234,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1D << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event25:base-stat] > > > -fd=25 > > > +[event29:base-stat] > > > +fd=29 > > > type=3 > > > config=0 > > > optional=1 > > > @@ -200,8 +244,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1D << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event26:base-stat] > > > -fd=26 > > > +[event30:base-stat] > > > +fd=30 > > > type=3 > > > config=65536 > > > optional=1 > > > @@ -210,8 +254,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_LL << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event27:base-stat] > > > -fd=27 > > > +[event31:base-stat] > > > +fd=31 > > > type=3 > > > config=2 > > > optional=1 > > > @@ -220,8 +264,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_LL << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event28:base-stat] > > > -fd=28 > > > +[event32:base-stat] > > > +fd=32 > > > type=3 > > > config=65538 > > > optional=1 > > > @@ -230,8 +274,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1I << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event29:base-stat] > > > -fd=29 > > > +[event33:base-stat] > > > +fd=33 > > > type=3 > > > config=1 > > > optional=1 > > > @@ -240,8 +284,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1I << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event30:base-stat] > > > -fd=30 > > > +[event34:base-stat] > > > +fd=34 > > > type=3 > > > config=65537 > > > optional=1 > > > @@ -250,8 +294,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_DTLB << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event31:base-stat] > > > -fd=31 > > > +[event35:base-stat] > > > +fd=35 > > > type=3 > > > config=3 > > > optional=1 > > > @@ -260,8 +304,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_DTLB << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event32:base-stat] > > > -fd=32 > > > +[event36:base-stat] > > > +fd=36 > > > type=3 > > > config=65539 > > > optional=1 > > > @@ -270,8 +314,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_ITLB << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event33:base-stat] > > > -fd=33 > > > +[event37:base-stat] > > > +fd=37 > > > type=3 > > > config=4 > > > optional=1 > > > @@ -280,8 +324,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_ITLB << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_READ << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event34:base-stat] > > > -fd=34 > > > +[event38:base-stat] > > > +fd=38 > > > type=3 > > > config=65540 > > > optional=1 > > > @@ -290,8 +334,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1D << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16) > > > -[event35:base-stat] > > > -fd=35 > > > +[event39:base-stat] > > > +fd=39 > > > type=3 > > > config=512 > > > optional=1 > > > @@ -300,8 +344,8 @@ optional=1 > > > # PERF_COUNT_HW_CACHE_L1D << 0 | > > > # (PERF_COUNT_HW_CACHE_OP_PREFETCH << 8) | > > > # (PERF_COUNT_HW_CACHE_RESULT_MISS << 16) > > > -[event36:base-stat] > > > -fd=36 > > > +[event40:base-stat] > > > +fd=40 > > > type=3 > > > config=66048 > > > optional=1 > > > -- > > > 2.43.0 > > > > > > > ---1463784192-1187990035-1707409180=:11354--