aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2017-09-25 16:39:33 -0700
committerThomas Gleixner <[email protected]>2017-09-27 12:10:10 +0200
commit9b3a7fd0f5fb583a8fdda678e8a87dff1717f7f3 (patch)
tree21157e2dc7f1d2e0c8eda0f349b77e7b24ddaa1f /tools/perf/util/trace-event-scripting.c
parente19b205be43d11bff638cad4487008c48d21c103 (diff)
x86/intel_rdt: Add framework for better RDT UI diagnostics
Commands are given to the resctrl file system by making/removing directories, or by writing to files. When something goes wrong the user is generally left wondering why they got: bash: echo: write error: Invalid argument Add a new file "last_cmd_status" to the "info" directory that will give the user some better clues on what went wrong. Provide functions to clear and update last_cmd_status which check that we hold the rdtgroup_mutex. [ tglx: Made last_cmd_status static and folded back the hunk from patch 3 which replaces the open coded access to last_cmd_status with the accessor function ] Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Vikas Shivappa <[email protected]> Cc: Boris Petkov <[email protected]> Cc: Reinette Chatre <[email protected]> Link: https://lkml.kernel.org/r/edc4e0e9741eee89bba569f0021b1b2662fd9508.1506382469.git.tony.luck@intel.com
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions