Re: [PATCH v10 08/10] x86/resctrl: Display CLOSID for resource group

From: Fenghua Yu
Date: Mon Sep 25 2023 - 17:19:52 EST




On 9/15/23 15:42, Babu Moger wrote:
In x86, hardware uses CLOSID to identify a control group. When a user
creates a control group this information is not visible to the user.
It can help resctrl debugging.

Add CLOSID(ctrl_hw_id) to the control groups display in resctrl
interface. Users can see this detail when resctrl is mounted with
"-o debug" option.

Other architectures do not use "CLOSID". Use the names ctrl_hw_id
to refer to "CLOSID" in an effort to keep the naming generic.

For example:
$cat /sys/fs/resctrl/ctrl_grp1/ctrl_hw_id
1

Signed-off-by: Babu Moger <babu.moger@xxxxxxx>

Reviewed-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>

Thanks.

-Fenghua