提交 d6288d57 编写于 作者: X Xie XiuQi

arm64/mpam: add group partid/pmg to tasks show

hulk inclusion
category: feature
bugzilla: 5510
CVE: NA
Signed-off-by: NXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: NHanjun Guo <guohanjun@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 f2a58a19
......@@ -822,8 +822,9 @@ static void show_resctrl_tasks(struct rdtgroup *r, struct seq_file *s)
for_each_process_thread(p, t) {
if ((r->type == RDTCTRL_GROUP && t->closid == r->closid) ||
(r->type == RDTMON_GROUP && t->rmid == r->mon.rmid))
seq_printf(s, "%d: partid = %d, pmg = %d\n",
t->pid, t->closid, t->rmid);
seq_printf(s, "%d: partid = %d, pmg = %d, (group: partid %d, pmg %d)\n",
t->pid, t->closid, t->rmid,
r->closid, r->mon.rmid);
}
rcu_read_unlock();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册