Skip to content
Commit 9c373944 authored by James Morse's avatar James Morse
Browse files

fs/resctrl: Add cranky debug for reading CPU msr values



MPAM affects performance, which makes it hard to debug. (is that the
performance I was expecting?). One source of confusion is whether a
task is having its traffic labelled with the correct PARTID. This
is fairly straightforward for tasks, but once the resctrl 'cpus' files
get involved, the picture is more confusing.

As a debug aid, add a file in /proc that uses task_work to read the
CPU register for a task. This is output raw without interpretation.

This is not for upstream.

task_work may not be able to complete its work quickly if the task
is unable to take signals. Don't be too surprised if for some tasks
this appears to block the readers of the file.

Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent 965aa76e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment