aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorAlexander Shishkin <[email protected]>2019-08-21 12:47:25 +0000
committerIngo Molnar <[email protected]>2019-08-26 10:00:14 +0000
commit38bb8d77d0b932a0773b5de2ef42479409314f96 (patch)
tree3388d60025a94f2f93ad3194e5fe23749f7abaf2 /tools/perf/util/annotate.c
parentperf/x86/intel/pt: Use pointer arithmetics instead in ToPA entry calculation (diff)
downloadkernel-38bb8d77d0b932a0773b5de2ef42479409314f96.tar.gz
kernel-38bb8d77d0b932a0773b5de2ef42479409314f96.zip
perf/x86/intel/pt: Split ToPA metadata and page layout
PT uses page sized ToPA tables, where the ToPA table resides at the bottom and its driver-specific metadata taking up a few words at the top of the page. The split is currently calculated manually and needs to be redone every time a field is added to or removed from the metadata structure. Also, the 32-bit version can be made smaller. By splitting the table and metadata into separate structures, we are making the compiler figure out the division of the page. 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/util/annotate.c')
0 files changed, 0 insertions, 0 deletions