diff options
author | Kim Phillips <kim.phillips@amd.com> | 2020-03-13 18:10:23 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-03-17 13:00:49 +0100 |
commit | 9689dbbeaea884d19e3085439c6a247ef986b2af (patch) | |
tree | 32d4a13dfb849ef1ceac52fa7074213a74b25ae2 /tools/perf/scripts/python | |
parent | 4dcc3df82573a946c620dda5fb00e27c7b080105 (diff) |
perf/amd/uncore: Make L3 thread mask code more readable
Convert the l3_thread_slice_mask() function to use the more readable
topology_* helper functions, more intuitive variable names like shift
and thread_mask, and BIT_ULL().
No functional changes.
Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200313231024.17601-2-kim.phillips@amd.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions