aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2020-07-08 16:39:25 +0000
committerBorislav Petkov <[email protected]>2020-08-19 09:08:36 +0200
commite6b2fac36fcc0b73cbef063d700a9841850e37a0 (patch)
treed079b0885ddd099af7c48f19548e80dce7992151 /tools/perf/util/trace-event-scripting.c
parenta21a4391f20c0ab45db452e22bc3e8afe8b36e46 (diff)
x86/resctrl: Use is_closid_match() in more places
rdtgroup_tasks_assigned() and show_rdt_tasks() loop over threads testing for a CTRL/MON group match by closid/rmid with the provided rdtgrp. Further down the file are helpers to do this, move these further up and make use of them here. These helpers additionally check for alloc/mon capable. This is harmless as rdtgroup_mkdir() tests these capable flags before allowing the config directories to be created. Signed-off-by: James Morse <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions