]> Git Repo - linux.git/commit
perf/x86/intel/pt: Opportunistically use single range output mode
authorAlexander Shishkin <[email protected]>
Tue, 5 Nov 2019 08:27:00 +0000 (10:27 +0200)
committerIngo Molnar <[email protected]>
Wed, 13 Nov 2019 10:06:17 +0000 (11:06 +0100)
commit670638477aede0d7a355ced04b569214aa3feacd
tree6b182fa1d1bf57e6a150965c0057e4c0fe79d600
parent25e8920b301c133aeaa9f57d81295bf4ac78e17b
perf/x86/intel/pt: Opportunistically use single range output mode

Most of PT implementations support Single Range Output mode, which is
an alternative to ToPA that can be used for a single contiguous buffer
and if we don't require an interrupt, that is, in AUX snapshot mode.

Now that perf core will use high order allocations for the AUX buffer,
in many cases the first condition will also be satisfied.

The two most obvious benefits of the Single Range Output mode over the
ToPA are:

 * not having to allocate the ToPA table(s),
 * not using the ToPA walk hardware.

Make use of this functionality where available and appropriate.

Signed-off-by: Alexander Shishkin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/events/intel/pt.c
arch/x86/events/intel/pt.h
This page took 0.0443249999999999 seconds and 4 git commands to generate.