summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2020-07-08 19:39:23 +0300
committerBorislav Petkov <bp@suse.de>2020-08-18 18:05:08 +0300
commitf995801ba3a0660cb352c8beb794379c82781ca3 (patch)
tree9de8b4adae87e367b2eb6d2a10a7d35a16058872 /tools/perf/scripts/python/exported-sql-viewer.py
parentae0fbedd2a18cd82a2c0c5605a0a60865bc54576 (diff)
downloadlinux-f995801ba3a0660cb352c8beb794379c82781ca3.tar.xz
x86/resctrl: Use container_of() in delayed_work handlers
mbm_handle_overflow() and cqm_handle_limbo() are both provided with the domain's work_struct when called, but use get_domain_from_cpu() to find the domain, along with the appropriate error handling. container_of() saves some list walking and bitmap testing, use that instead. Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Link: https://lkml.kernel.org/r/20200708163929.2783-5-james.morse@arm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions