Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp237835rdb; Thu, 25 Jan 2024 13:46:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBayV0ahPglU70rXnHJ+bfwj4HdDMSWQcBGOVAmovfn8ZaXke3330XdmoJ5p3MGVR9ig60 X-Received: by 2002:aa7:8495:0:b0:6db:79cd:d2b0 with SMTP id u21-20020aa78495000000b006db79cdd2b0mr280939pfn.10.1706219180717; Thu, 25 Jan 2024 13:46:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706219180; cv=pass; d=google.com; s=arc-20160816; b=mFzC/fPoQxRSzPFs2Kmlgt4/olQu6C/Y/glZ9bOrLlt1kjIJJBw6tr5gjXH8CAC5LM aL4Bi+ojzFhxFjnDdov5C/0o/Xv7DpBbCzZnUOxH4BVyxCwS2GCU9Q1o6Yh+naRK3Yz3 zmrt04Xm4EDXnnG4i0NK1Rej9ABk5UmWe3RE1qZawjy5+7H4b0oeM0m9EsW7S1IlvYW+ 5rlEKafSRunIQQSW7kw4MxFqtohCayt8KeJK6EY2ElJu03iI7jqUbghrpS6BZD0wa8rS 1jwdZLWAVI8QaRcFMqhHhd6Xa/U/qUunzm6BariKdIjwNQXtCzBxSBhH6Yaq9QAcJFBY 4D1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=A6E8ER+T+oXqHrnNae+1h1tVOqwR0TTgn2aWuS+vtAc=; fh=5SsPsILODwCyBaHxUSs8IALyL4PvBh3zc3w91kh1y2k=; b=IIJamurhXEKuv9YlVwaR7nDcYjSFJX7nOEQI2Gzk4/xsur0TSgLDGCXbXx0Zor3V5Q fW52ifHB7J+2vAYQ4HTWI5AhfnRBjE8aMnshd5CfwSkU8IF+bIy+GjliwqeIkVv2UkOl +7disCpCPR/OulnbP5jwSuciWQ9RWVOkECFyspGP8gatKXBLkDIjTNfgeqlZbyV9ZHq9 X0+0poUpMUP8KThmwcSgP+nvD1JLfd2mlk18OLqpEKonAyTumS5T1wyHsCkzOlBwMud5 2r8fydMa6kFTqtNEsETgO8EW9mmrtgyev+nrrjptDYJEtl47be/BsVk8ahoxaM01Cwk5 K38Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VHWyoovJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id kq12-20020a056a004b0c00b006da28981d64si16835315pfb.149.2024.01.25.13.46.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 13:46:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39330-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=@kernel.org header.s=k20201202 header.b=VHWyoovJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 5E57528D396 for ; Thu, 25 Jan 2024 21:46:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A06BA13AA57; Thu, 25 Jan 2024 21:46:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VHWyoovJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CA02313AA3C; Thu, 25 Jan 2024 21:45:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706219159; cv=none; b=LXF6cFB6CR80m+Q2eKIcxuWk7uDjsUrd6LjO9EbPQoQ0l+3+1xuYyp+uVqOOnbF3Din4RRAUdZvzd5/4g3twSC2L5D4Fb7A5dYamJKHUcQZXCT/0FmJcNu7ghvj7etcdKx1D7ICHXzmdVuY/0Uk37YEQ5PAZpOkHQyPIW5a6TOg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706219159; c=relaxed/simple; bh=IFFNb02CIOZlvTthWGiohsPa44vAfP61Zx+mAQ/Q3Sg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=soTpw597AUzuyl9Sy+RtFU5sgHUswV4ZkSeWRSxb2DjVfceJYOXF+Txb5bURmRft/Zgd0qiieR0beev0p6H+DQgEfBKMcvlJWY3eNO5xlOfIZjGj9nRSrtNp2fzD37UQcOqr27PxP+fXUKymJL54NcGOTW0pLFodj0cebj/pwHc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VHWyoovJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F72AC43390; Thu, 25 Jan 2024 21:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706219159; bh=IFFNb02CIOZlvTthWGiohsPa44vAfP61Zx+mAQ/Q3Sg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VHWyoovJbB4WWbnzrEkM/0gIJZ+yz7aO9Ip+LQp+4DDjsmcikdRs9+04iDyvnq5G/ bDKi7meln3pNVmA1mQZGLtqYSMUedrOlc8cn9P96DNwzQMBOAt3kDl9ZeEC32d/XMl lIxrEByf/RB35voRX0joz/b4Q7Zrup4dvtJSy9NCfZinnrdI3lvHiRPmU0osO87OPS Mc/CNjMhsGGzM5tuOPnnaK/Go5eTuqTZ3UouieXUCuQgvhUfXSYZFkrAfTx38PUpzV z2tnGgnubqoApuvPj27LMJZqzdxNoj7KPj34CV0ys6AhkHfMdQlX4AaeIdopMF7vFq EeCLf9kU3sCew== From: Namhyung Kim To: James Clark , linux-perf-users@vger.kernel.org, irogers@google.com Cc: linux-kernel@vger.kernel.org, Adrian Hunter , Peter Zijlstra , Arnaldo Carvalho de Melo , Yang Jihong , Alexander Shishkin , Changbin Du , Kan Liang , Mark Rutland , Jiri Olsa , Ingo Molnar Subject: Re: [PATCH v4] perf evlist: Fix evlist__new_default() for > 1 core PMU Date: Thu, 25 Jan 2024 13:45:56 -0800 Message-ID: <170621898551.3227482.15149421074374821246.b4-ty@kernel.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240124094358.489372-1-james.clark@arm.com> References: <20240124094358.489372-1-james.clark@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Wed, 24 Jan 2024 09:43:57 +0000, James Clark wrote: > The 'Session topology' test currently fails with this message when > evlist__new_default() opens more than one event: > > 32: Session topology : > --- start --- > templ file: /tmp/perf-test-vv5YzZ > Using CPUID 0x00000000410fd070 > Opening: unknown-hardware:HG > ------------------------------------------------------------ > perf_event_attr: > type 0 (PERF_TYPE_HARDWARE) > config 0xb00000000 > disabled 1 > ------------------------------------------------------------ > sys_perf_event_open: pid 0 cpu -1 group_fd -1 flags 0x8 = 4 > Opening: unknown-hardware:HG > ------------------------------------------------------------ > perf_event_attr: > type 0 (PERF_TYPE_HARDWARE) > config 0xa00000000 > disabled 1 > ------------------------------------------------------------ > sys_perf_event_open: pid 0 cpu -1 group_fd -1 flags 0x8 = 5 > non matching sample_type > FAILED tests/topology.c:73 can't get session > ---- end ---- > Session topology: FAILED! > > [...] Applied to perf-tools-next, thanks! Best regards, -- Namhyung Kim