Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1440679rdb; Fri, 19 Jan 2024 22:09:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpTCJWzbjDpZ/wUGY7nK0ovAW4HU1DtxDmQBpHrEqrvCQi/vCKZ6z7a2+JjngiE2mtLzTj X-Received: by 2002:a92:c0cc:0:b0:361:a58f:4c7a with SMTP id t12-20020a92c0cc000000b00361a58f4c7amr1067089ilf.57.1705730975287; Fri, 19 Jan 2024 22:09:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705730975; cv=pass; d=google.com; s=arc-20160816; b=SBtHspyFdI8YaBzwGl3iE357X2XMnu5Popcv7136Q//hCydzuY832KZDg9TsybAQ9i 3I/iPkGEL/xvyvRg6/z5T9tGZ+T9IWGBRGR4LQYMBLIKJnPrauwP2PLVo/1DXgi9dAau jB0vmAbEkMECSh6PrUrowxTl3LfR6bA7U6aSLts+HZa0UzC1UAU4tI6d5O5FwqA6bMTn miO6PDzXDj7z3ph+kk0WabFi9CSWVfI9JZ/7cj0MJoPfyWq8rcECsUtZywMR6gzxFYpw 5NxcZzORgr4iUm6BVta55SSxXReEMF49kwGr05bskEvNBS6gShAfZaxL54MwnwG/j3r9 m6fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=IhNlK+JQLQHesBMvW3n62OoJt8v0x6O0uKXTvgDlIjE=; fh=+FQTHLub+xm/KcJ9TLQ7k0N+uD7tp/HONdvvCZ1HSpQ=; b=j9dCpu6BMEOHnnfm24PatHvGamRpQ+DygL2JFOZes0XK1RbBPMXXzjPwCnzk3rzV9k uj9gg6nmnGJEJO6SZN5DlG+LTavJRdroSCWX+WrhrNmBNY1d3V1UZXZEtf7oslh98AoJ Sw+8tXprznh7T1J5dZc7NfpPJswPd4BHeU+pNOUwdqJhoqiGL4zXKdSpxTpMDxlo8tG8 ftIp5NH0NO8jz0O1vP+V6jkdI11MsuFNc7M/4YR8+qgzFuLAkDSBtU1EeuMx+wHREyK+ 8CKL3SzSRmR7z9UBWmZiXLZgvJ/jAu5PMSuN5BnkcOY5qhEZz9+kkbxVYctdTrshklVy VkPw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=0D+lB00v; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-31712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x63-20020a638642000000b005cfbe966857si622981pgd.144.2024.01.19.22.09.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 22:09:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=0D+lB00v; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-31712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E3FFF2844F8 for ; Sat, 20 Jan 2024 06:09:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB70D1FBC; Sat, 20 Jan 2024 06:09:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="0D+lB00v" Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B05B617D4 for ; Sat, 20 Jan 2024 06:09:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705730967; cv=none; b=V5wLkngyqDkHKmEX5tr52fCD7JyErBlbyxXVT6sUfaFmaECZ0BZ5aHHSkkZhpGNSHv5yu9jqQwiiLnD5PHFJGCWWt23Mcj/Yq2axw6PYOfZDWUSC7TDXfT9ACNL0sy1cWiK0Hu5noKYTLepsXoM+Gml5qPvZtPIk14jhZd8Kzco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705730967; c=relaxed/simple; bh=/sFV2h+bdopGqXwAbHSprshDUjsvNBZLXaDaFOj36LE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=JzkQSswIabLP2rsG5s53WCEnYjVqw6Oz/NSCeMPowlLQXV1BFka+csHSY9DvMP1cJKZ6KNnvkzMbJXhEV9zydng31FjJd42wBw1DcBNCgtsvVl9IfUyEmxE6UcxLQcIc2s45k0n7l2g7BYMY+ELv/aRWrUomFpnujdDwdUB+kjQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=0D+lB00v; arc=none smtp.client-ip=209.85.160.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-429bdb17616so127621cf.0 for ; Fri, 19 Jan 2024 22:09:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1705730964; x=1706335764; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IhNlK+JQLQHesBMvW3n62OoJt8v0x6O0uKXTvgDlIjE=; b=0D+lB00vuqIOlIFoJh7R3FVHcYGV3etGEwqPNXuyXiKBCBxS4lJUFDnOqrUrIV9muR 2CeSisSZoKESiFKbFWJ+MC0wSNoayOBcvLDdvMQfLM7fubXti6dj0r3F9sSiDGsreHzk mm0xV/OFdtoDi77+XSaqefUgPisBrBeV8WpEocqLeUtLiWWm+ZieLs0wIZU1VxXZ9POL vPxJHO+1DP+OIQPWebB6RowFTggA5Jk5sA5aKdvzpFAYemHwinQ1OctC76zcpTDEsKre XI/pGcqMuKQT2OZpIBvDDkW2WplAOBbKpU4BuLsP1uitlv7wZF/AZOAWUpRtYkc8wXS/ Y+mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705730964; x=1706335764; 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=IhNlK+JQLQHesBMvW3n62OoJt8v0x6O0uKXTvgDlIjE=; b=JAA60FZDYHKyc8Lv6Wao2KsZHlDvRDDxAiKDMdiEtrRwvNh+CmIqONYOY2QM/JjyGk 773lCQ2B2UORLAaZXfSyRBT9ifYDze6XBUgBKyLYWPc+79WXEVpBg4uz5FIpnQyG9fuZ PbdzeK4FrzhN01wrbgOobxqhQglk+x1DzR9r5LMXyq1cQzC6WnkAWYAAN6XkJ8YGF6tz 4MgVu26Qfl8zWiozul0TRnvKLfAh9pebN8iHZLK/vbEAwl+hz21FYZBPjN8gSY+pDUZA 5jFg4rv1WDTkCgL4TRdBuhxIxzP1uxufNhhJba4wF3eJa3RHs68zodTkJmNSv5ABF0md N5ZA== X-Gm-Message-State: AOJu0Ywo1IamrjxwycZTLhFD40KV7S+srPM5SnJvHbZgp/Q+Tn+D0vWB 4xrTA4Sd775CsOo/L7IQeDX1usYvkUGUczq1n3bj3duK34ny X-Received: by 2002:a05:622a:6092:b0:42a:2e9a:2841 with SMTP id hf18-20020a05622a609200b0042a2e9a2841mr22012qtb.1.1705730964503; Fri, 19 Jan 2024 22:09:24 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Ian Rogers Date: Fri, 19 Jan 2024 22:09:10 -0800 Message-ID: Subject: Re: perf test hybrid failing on 14700K To: Arnaldo Carvalho de Melo Cc: Kan Liang , Adrian Hunter , Jiri Olsa , Namhyung Kim , linux-perf-users@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Dec 23, 2023 at 5:55=E2=80=AFAM Arnaldo Carvalho de Melo wrote: > > Hi Kan, > > I noticed the following problem, are you able to reproduce it? > > Happy solstice! > > - Arnaldo Hi Arnaldo, I'm seeing a test failure on Alderlake in perf-tools-next and wondered if it was on your radar: ``` 32: Session topology : --- start --- test child forked, pid 539222 templ file: /tmp/perf-test-HMet21 Using CPUID GenuineIntel-6-97-2 ------------------------------------------------------------ perf_event_attr: type 0 (PERF_TYPE_HARDWARE) config 0x800000000 disabled 1 ------------------------------------------------------------ sys_perf_event_open: pid 0 cpu -1 group_fd -1 flags 0x8 =3D 4 ------------------------------------------------------------ perf_event_attr: type 0 (PERF_TYPE_HARDWARE) config 0x400000000 disabled 1 ------------------------------------------------------------ sys_perf_event_open: pid 0 cpu -1 group_fd -1 flags 0x8 =3D 5 non matching sample_type FAILED tests/topology.c:73 can't get session test child finished with -1 ---- end ---- Session topology: FAILED! ``` The code is hitting this line in evlist__valid_sample_type as core.nr_entries is 2 on hybrid not 1: https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/tr= ee/tools/perf/util/evlist.c?h=3Dperf-tools-next#n1215 this causes perf_session__open to fail: https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/tr= ee/tools/perf/util/session.c?h=3Dperf-tools-next#n129 Thanks, Ian