Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp788423lqo; Fri, 17 May 2024 01:14:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWG14XyzRnariS6wSdX7GIR92a+A81GmqsIrviFWMkSbwsX057lIH69K9N8n9NUZrB2j9sg2fslCRGcl8gOTRl0//Vfho7eYPcp+DxDPQ== X-Google-Smtp-Source: AGHT+IFIuaeuRi49qJssgIixSf+pzTngTMm4mtyRT+Zb/xuwcr4oJFMhy9UzoqBpagSxFraymL2s X-Received: by 2002:a17:902:7c03:b0:1e6:6bba:7c70 with SMTP id d9443c01a7336-1ef43e233b3mr173690335ad.36.1715933659972; Fri, 17 May 2024 01:14:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715933659; cv=pass; d=google.com; s=arc-20160816; b=1AW6wwcOSu7QFu4XkZnDB0QwA4wpehoIgkrlwNfYI29Pa+DRSDt6k3/R3voiHVIrJm xNXpwy0fJfJSdCVm8lNicIOMg6585x63iOdkLJP9qIBDs3b8oSjfrWHMy9XdmrUbtqFV lgOPgFkbmuGLVPbg8Ch8zSSdrlb1siLvcOlVzGW6SEID7hb9wRAJnLWdVTZ2N9yNtUGL 9/MFEGkVmjwKYSBvLxy5RxV8EdoZZ8dmpA43OuPBd2792uKofozTwXhhxJXUpUN91Ky8 uhD731Q+jzk6UwD7RXctqHfjjMfuTQnctdRF4xSiBYLWIBCdMwWmZcd01uojgT8x1Obh V+Hw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=DsOCnPWzCftUdW+oxDedyB6AsEoCsWSOjupa4hs7j9o=; fh=e4EMVLXyz6bh+rJEZcoGAMHlRMQsv79Qh3iQLh/UeCM=; b=dtE+8jr/8xCV0WiBAg88XDmp8kgpiWN7sPAjdo3fOKrwjmpDQRZ3zA6pCUynnH40nK BlhzQGgl6albUkORUaCODEqHw91Mi4oTsd00qNzXGOAYCK7sNggGMRacgZKreOdK2VP4 q487Y1Xx4IN1LwpwDsJmV0zcr05objMVVO+h5M80lMUlJlSCmk4XYk74aS3NqTuYD5fV UZLjZrrYzWuEoOpeeyLCZp2ZDsoAysYvMefsrkGcSfoXM7I9UX/BpGYWicUiQSE0eQ8r LFZ94Tcwwuq5RTl2T3A8PMEONBUOHvmkOG8iqivAUDXKwPVvjqbQPxZwt2OMwABGPJ82 J+Tw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=p4uZV24Y; dkim=neutral (no key) header.i=@linutronix.de; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-181853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181853-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bf31a5bsi178274825ad.227.2024.05.17.01.14.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 01:14:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=p4uZV24Y; dkim=neutral (no key) header.i=@linutronix.de; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-181853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181853-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3628AB2395B for ; Fri, 17 May 2024 08:06:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C47DE2BB14; Fri, 17 May 2024 08:06:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="p4uZV24Y"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="10BZvS/g" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 863E11B809; Fri, 17 May 2024 08:06:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715933174; cv=none; b=kL5U7pBXLqFvTvz7k2SSrCnzgBGSjQ2sGNBvTmxQl6bq33/0aLbhhNHwmLuLuf7YjIZV9L04FnWRCOLyMKP9IgzIPTakFLqN1psyQtg3d1WJnpqAHjLOwZYYTxzk+8w+iw5IyPUxpuZgP8/YlsVL9IRDXWBu6lV72mgW3310sgs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715933174; c=relaxed/simple; bh=Uo8TMkjO8z0SvFNJAC2gDMe+jJlidtzciWeLP9KZ0V0=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=aiX1APxsV1JwoBRw43J47b5JSzJFsKuXWFAVEC//Ee6hLnezc3OwB4tArXv9w/gb1DhssFjdXr8DnCnD9TF9IGGe7xhaXlJFQLUrZeO8Pm+qwoqCkD15jlduiPwV0x/I+KBwihbDRmCaSDWGPCERnYOENn4pVcqjHrdvSCRo3YA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=p4uZV24Y; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=10BZvS/g; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Fri, 17 May 2024 08:06:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1715933171; 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=DsOCnPWzCftUdW+oxDedyB6AsEoCsWSOjupa4hs7j9o=; b=p4uZV24YzjC3etKFg7D/RGYCl62S3Bhk0UHCsB6v2EGkLxI7RWl6AQQ4KOX9hRjpbsVIzb 19ufFjTkX7TkDGDGi/x0/n3HeV2JYjrs0+E8upSjtVqiK8TAgNaHoF5SmsB2lTLFIdDhBE mEGkFRGxiNM7TwAbAzUD8fhB+n5YG7HzYyVDJT5HWyLBX3xA4Z9rrj4it2f5tp9SIgCXSO 8bBJbqYsucC2o2fszLozXYvxYwt5OR0wkz1VUHy38mGiJZ9i+Rc7oXN7b6BxY7vQVSS7a5 6nrlYXNn4dqlGksKrqAUmrnJzvkDn5Puw/reJ8dia96bq/CVBLYCafNwYwTKMg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1715933171; 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=DsOCnPWzCftUdW+oxDedyB6AsEoCsWSOjupa4hs7j9o=; b=10BZvS/gxpnSymZ9bU+e1JDrgcgr57JVVqHz4kRfguJCpM/Vx8QyoaMhGUyUjxStpgpeR1 F3P98hAfNS3wOtCA== From: "tip-bot2 for Vitalii Bursov" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/urgent] sched/debug: Dump domains' level Cc: Vitalii Bursov , Ingo Molnar , Dietmar Eggemann , Vincent Guittot , Valentin Schneider , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <9489b6475f6dd6fbc67c617752d4216fa094da53.1714488502.git.vitaly@bursov.com> References: <9489b6475f6dd6fbc67c617752d4216fa094da53.1714488502.git.vitaly@bursov.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171593317119.10875.3544825660193230541.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 287372fa39f579a61e17b000aa74c8418d230528 Gitweb: https://git.kernel.org/tip/287372fa39f579a61e17b000aa74c8418d230528 Author: Vitalii Bursov AuthorDate: Tue, 30 Apr 2024 18:05:24 +03:00 Committer: Ingo Molnar CommitterDate: Fri, 17 May 2024 09:48:25 +02:00 sched/debug: Dump domains' level Knowing domain's level exactly can be useful when setting relax_domain_level or cpuset.sched_relax_domain_level Usage: cat /debug/sched/domains/cpu0/domain1/level to dump cpu0 domain1's level. SDM macro is not used because sd->level is 'int' and it would hide the type mismatch between 'int' and 'u32'. Signed-off-by: Vitalii Bursov Signed-off-by: Ingo Molnar Tested-by: Dietmar Eggemann Acked-by: Vincent Guittot Reviewed-by: Valentin Schneider Link: https://lore.kernel.org/r/9489b6475f6dd6fbc67c617752d4216fa094da53.1714488502.git.vitaly@bursov.com --- kernel/sched/debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index 8d5d98a..c1eb9a1 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c @@ -425,6 +425,7 @@ static void register_sd(struct sched_domain *sd, struct dentry *parent) debugfs_create_file("flags", 0444, parent, &sd->flags, &sd_flags_fops); debugfs_create_file("groups_flags", 0444, parent, &sd->groups->flags, &sd_flags_fops); + debugfs_create_u32("level", 0444, parent, (u32 *)&sd->level); } void update_sched_domain_debugfs(void)