From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 972744A801 for ; Wed, 10 Apr 2024 08:45:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 84ECF68D1AC; Wed, 10 Apr 2024 11:45:11 +0300 (EEST) Received: from wfout6-smtp.messagingengine.com (wfout6-smtp.messagingengine.com [64.147.123.149]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0F7C268CBED for ; Wed, 10 Apr 2024 11:45:04 +0300 (EEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.west.internal (Postfix) with ESMTP id EC6D41C000AF for ; Wed, 10 Apr 2024 04:45:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 10 Apr 2024 04:45:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itanimul.li; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1712738701; x=1712825101; bh=gfpwD/s8vLLHCR9Q7rdWx QHmZLJiCILETVFO3yDh9rk=; b=dTTd1Yf8YpvwIlQdiTX+hsOwJu7xHIfli6/Ir 38wyZkl9RjWSiTLitj4KJ3mXQnRwNTJcIeCS82dr4rxkPISkwGPVnmn+/K6K/wWr of7b5mn2NUNeA++LzhxQOQ17Hv91K72LrLeARigveJZJKi+tG715csKtA2aaFW5r ay3XZ0mHvX9Ghr5HhT5QIznlEKRFppXzim7BLF9YIQJum3Db9KM80Ju/k5SoXxgS man4n441YNGMfcVjoZBNWyyWHwXVR6fBGkZ3GE8/ZRawcrMdNEGWBkT5/knwv10U DvrFIMHQY4vqYBzCFtWk9LW0bECsXQxT4um9v2/2+q8MT2Xzg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1712738701; x=1712825101; bh=gfpwD/s8vLLHCR9Q7rdWxQHmZLJi CILETVFO3yDh9rk=; b=Y1NC5umrqENUwJQxxMoG2W9poIxG7pIAYu/jqQDRI2LB 3ATPhFkvVVkSOEwXLGoItaHO8nLpOud8OKVQcu1/iv/Nt/jPGKq7QeuyZb5iG9DH ZIs9MvMEY4kMCAOlPpsBqL5byR5SryTDroSt3I02PqyFltaOC5W0Y7BrZdK81XtO sDZC94MoB/4MnWVVI2aG/KJBNIZ7q+u3PEjg0jRlNJhuI4TVCXAOaj3xh0Rezl1q /ZrtciZpr1cad0LJW9jx8K2j1d4ItfLnGjPfI5Naj/0eTfss34joIRW5ykPezoGB DRFk8nwOroOIFr6410dt2duiAL4Yv0JuhA20qfVA2w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehiedgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepfdflrdcuffgvkhhkvghrfdcuoehjuggvkhesihhtrghnihhmuhhl rdhliheqnecuggftrfgrthhtvghrnhepueetgfdtuedvjeejjedvteelffeuhedtfeetud fglefhjeeukeetvddvtdevieeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepjhguvghksehithgrnhhimhhulhdrlhhi X-ME-Proxy: Feedback-ID: i84994747:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 10 Apr 2024 04:45:00 -0400 (EDT) From: "J. Dekker" To: ffmpeg-devel@ffmpeg.org Date: Wed, 10 Apr 2024 10:44:38 +0200 Message-ID: <20240410084458.152389-1-jdek@itanimul.li> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2] tests/checkasm: add exclude_guest for non-x86 linux perf X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: The exclude_guest option only has an effect on x86. Omitting 'exclude_guest' defaults to zero which implies that you can count guest events should you run one. Some non-x86 kernels just ignore it, while others (e.g. the Asahi Linux kernels) require the user to explicitly set the option to 1, i.e. the only behaviour that makes sense when counting guest events isn't supported. Signed-off-by: J. Dekker --- Made commit message clearer, no functional change since v1. tests/checkasm/checkasm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index dcd2fd6957..8be6cb0f55 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @@ -742,6 +742,9 @@ static int bench_init_linux(void) .disabled = 1, // start counting only on demand .exclude_kernel = 1, .exclude_hv = 1, +#if !ARCH_X86 + .exclude_guest = 1, +#endif }; printf("benchmarking with Linux Perf Monitoring API\n"); -- 2.44.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".