From nobody Sun Feb 8 15:53:41 2026 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 E8C8EEB64DC for ; Mon, 17 Jul 2023 12:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231217AbjGQM5I (ORCPT ); Mon, 17 Jul 2023 08:57:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230348AbjGQM47 (ORCPT ); Mon, 17 Jul 2023 08:56:59 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18417172C; Mon, 17 Jul 2023 05:56:25 -0700 (PDT) Date: Mon, 17 Jul 2023 12:56:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1689598571; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3QRwIIAu6SKfQwuKHc8Rqk9eOFOdTrr4UqMtZzl4/z8=; b=4isY0zU3c5Ul6iPccQlZm04q4iLXfT72llvfxngdvmvd0DvjYosDt97r/KFwvlhMYBP4um gwwWmk+Ojquj4unIWFAoKbNayoRZljBDSpEx9UkMyFEQahjlNYQSjc2gxUM3Qn4R57IMwd ZUwxbkRCETzKONaRlu9j0rxYW2hbQLC7tY61XmZ8nWNUOePS6IJ4YaH/R5wLFdpPgpP6Pz /yDA1LFITlqc91SwM8ua4SPR4kx9c0ynoexamOt4SYVXWsZA4SPmsSlvgIe0MRrWTUIC3W 2JMenDhrSEheMDADuYzaG5ixrHV7j5G0oTptvNQyju6pMZbfI5orukc4k09SPw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1689598571; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3QRwIIAu6SKfQwuKHc8Rqk9eOFOdTrr4UqMtZzl4/z8=; b=/UdhrTwC/SAzR0x716buR9G//O7jVf5c3f1+BkCjSkPcK1KkU/IEbJlfwApzceKGB+fxLm gVeBDoRj2ro5UKDA== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/debug: Dump domains' sched group flags Cc: "Peter Zijlstra (Intel)" , Tim Chen , Valentin Schneider , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3Ced1749262d94d95a8296c86a415999eda90bcfe3=2E16887?= =?utf-8?q?70494=2Egit=2Etim=2Ec=2Echen=40linux=2Eintel=2Ecom=3E?= References: =?utf-8?q?=3Ced1749262d94d95a8296c86a415999eda90bcfe3=2E168877?= =?utf-8?q?0494=2Egit=2Etim=2Ec=2Echen=40linux=2Eintel=2Ecom=3E?= MIME-Version: 1.0 Message-ID: <168959857109.28540.8257126646779538127.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/core branch of tip: Commit-ID: ed74cc4995d314ea6cbf406caf978c442f451fa5 Gitweb: https://git.kernel.org/tip/ed74cc4995d314ea6cbf406caf978c442= f451fa5 Author: Peter Zijlstra AuthorDate: Fri, 07 Jul 2023 15:57:05 -07:00 Committer: Peter Zijlstra CommitterDate: Thu, 13 Jul 2023 15:21:53 +02:00 sched/debug: Dump domains' sched group flags There have been a case where the SD_SHARE_CPUCAPACITY sched group flag in a parent domain were not set and propagated properly when a degenerate domain is removed. Add dump of domain sched group flags of a CPU to make debug easier in the future. Usage: cat /debug/sched/domains/cpu0/domain1/groups_flags to dump cpu0 domain1's sched group flags. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Tim Chen Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Valentin Schneider Link: https://lore.kernel.org/r/ed1749262d94d95a8296c86a415999eda90bcfe3.16= 88770494.git.tim.c.chen@linux.intel.com --- kernel/sched/debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index 066ff1c..aeeba46 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c @@ -427,6 +427,7 @@ static void register_sd(struct sched_domain *sd, struct= dentry *parent) #undef SDM =20 debugfs_create_file("flags", 0444, parent, &sd->flags, &sd_flags_fops); + debugfs_create_file("groups_flags", 0444, parent, &sd->groups->flags, &sd= _flags_fops); } =20 void update_sched_domain_debugfs(void)