linux/tools/perf/Documentation
Adrian Hunter b4b046ff9e perf intel-pt: Add a config for max loops without consuming a packet
The Intel PT decoder limits the number of unconditional branches (e.g.
jmps) decoded without consuming any trace packets. Generally, a loop
needs a conditional branch which generates a TNT packet, whereas a "ret"
instruction will generate a TIP or TNT packet. So exceeding the limit is
assumed to be a never-ending loop, which can happen if there has been a
decoding error putting the decoder at the wrong place in the code.

Up until now, the limit of 10000 has been enough but some analytic
purposes have been reported to exceed that.

Increase the limit to 100000, and make it configurable via perf config
intel-pt.max-loops. Also amend the "Never-ending loop" message to
mention the configuration entry.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20210701175132.3977-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-07-07 11:40:56 -03:00
..
android.txt
asciidoc.conf
asciidoctor-extensions.rb
build-xed.txt
Build.txt
callchain-overhead-calculation.txt
db-export.txt
examples.txt
intel-bts.txt
intel-hybrid.txt perf Documentation: Document intel-hybrid support 2021-04-29 10:31:00 -03:00
intel-pt.txt
itrace.txt perf auxtrace: Add Z itrace option for timeless decoding 2021-05-12 12:43:10 -03:00
jit-interface.txt
jitdump-specification.txt
Makefile
manpage-1.72.xsl
manpage-base.xsl
manpage-bold-literal.xsl
manpage-normal.xsl
manpage-suppress-sp.xsl
perf-annotate.txt perf annotate: Add itrace options support 2021-06-16 15:07:42 -03:00
perf-archive.txt
perf-bench.txt
perf-buildid-cache.txt
perf-buildid-list.txt
perf-c2c.txt
perf-config.txt perf intel-pt: Add a config for max loops without consuming a packet 2021-07-07 11:40:56 -03:00
perf-daemon.txt
perf-data.txt perf data: Add JSON export 2021-04-29 10:30:58 -03:00
perf-diff.txt
perf-dlfilter.txt perf dlfilter: Add object_code() to perf_dlfilter_fns 2021-07-01 16:14:38 -03:00
perf-evlist.txt
perf-ftrace.txt
perf-help.txt
perf-inject.txt perf inject: Add --vm-time-correlation option 2021-05-12 12:43:10 -03:00
perf-intel-pt.txt perf scripting python: intel-pt-events.py: Add --insn-trace and --src-trace 2021-06-01 10:05:20 -03:00
perf-iostat.txt
perf-kallsyms.txt
perf-kmem.txt
perf-kvm.txt
perf-list.txt
perf-lock.txt
perf-mem.txt
perf-probe.txt perf probe: Add permission and sysctl notice to man page 2021-06-04 10:24:38 -03:00
perf-record.txt perf Documentation: Document intel-hybrid support 2021-04-29 10:31:00 -03:00
perf-report.txt perf report: Add --skip-empty option to suppress 0 event stat 2021-04-29 10:30:59 -03:00
perf-sched.txt
perf-script-perl.txt
perf-script-python.txt perf scripting python: Update documentation for srcline etc 2021-06-01 10:04:57 -03:00
perf-script.txt perf script: Add option to pass arguments to dlfilters 2021-07-01 16:14:37 -03:00
perf-stat.txt perf Documentation: Document intel-hybrid support 2021-04-29 10:31:00 -03:00
perf-test.txt
perf-timechart.txt
perf-top.txt perf top: Add cgroup support for perf top (-G) 2021-06-24 15:33:35 -03:00
perf-trace.txt
perf-version.txt
perf.data-directory-format.txt
perf.data-file-format.txt perf header: Support HYBRID_CPU_PMU_CAPS feature 2021-05-17 10:58:10 -03:00
perf.txt
perfconfig.example
security.txt
tips.txt
topdown.txt perf tools: Update topdown documentation to permit rdpmc calls 2021-04-22 16:09:39 -03:00