diff options
| author | Alexander Shishkin <[email protected]> | 2019-08-21 12:47:23 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-08-26 10:00:13 +0000 |
| commit | fffec50f541ace292383c0cbe9a2a97d16d201c6 (patch) | |
| tree | fbda9791a61d635a41778a4b1a55ac3769288da8 /tools/perf/scripts/python/compaction-times.py | |
| parent | perf/x86/intel/pt: Clean up ToPA allocation path (diff) | |
| download | kernel-fffec50f541ace292383c0cbe9a2a97d16d201c6.tar.gz kernel-fffec50f541ace292383c0cbe9a2a97d16d201c6.zip | |
perf/x86/intel/pt: Use helpers to obtain ToPA entry size
There are a few places in the PT driver that need to obtain the size of
a ToPA entry, some of them for the current ToPA entry in the buffer.
Use helpers for those, to make the lines shorter and more readable.
Signed-off-by: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
