perf intel-pt: Force 'quick' mode when TNT (Taken/Not-Taken packet) is disabled
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 24 Jan 2022 08:41:53 +0000 (10:41 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Feb 2022 20:13:43 +0000 (17:13 -0300)
commite92403553b45524a71337347d6275b3ff8cefe69
tree748c1863197b440b7787cd70bd5a6e180d7c8d6b
parent11f18e4773f9683e15b669d23a1da0a19048ac93
perf intel-pt: Force 'quick' mode when TNT (Taken/Not-Taken packet) is disabled

It is not possible to walk the executable code without TNT packets, so
force 'quick' mode when TNT is disabled, because 'quick' mode does not walk
the code.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20220124084201.2699795-18-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c