Skip to content

Commit b0aaf4c

Browse files
Ravi Bangoriaacmel
authored andcommitted
perf config: Document missing config options
While documenting annotate.show_nr_samples config option, I found many other config options missing in perf-config documentation. Add them. Signed-off-by: Ravi Bangoria <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexey Budankov <[email protected]> Cc: Changbin Du <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jin Yao <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Leo Yan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Song Liu <[email protected]> Cc: Taeung Song <[email protected]> Cc: Thomas Richter <[email protected]> Cc: Yisheng Xie <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent cd0a9c5 commit b0aaf4c

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

tools/perf/Documentation/perf-config.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,12 @@ top.*::
518518
column by default.
519519
The default is 'true'.
520520

521+
top.call-graph::
522+
This is identical to 'call-graph.record-mode', except it is
523+
applicable only for 'top' subcommand. This option ONLY setup
524+
the unwind method. To enable 'perf top' to actually use it,
525+
the command line option -g must be specified.
526+
521527
man.*::
522528
man.viewer::
523529
This option can assign a tool to view manual pages when 'help'
@@ -545,6 +551,16 @@ record.*::
545551
But if this option is 'no-cache', it will not update the build-id cache.
546552
'skip' skips post-processing and does not update the cache.
547553

554+
record.call-graph::
555+
This is identical to 'call-graph.record-mode', except it is
556+
applicable only for 'record' subcommand. This option ONLY setup
557+
the unwind method. To enable 'perf record' to actually use it,
558+
the command line option -g must be specified.
559+
560+
record.aio::
561+
Use 'n' control blocks in asynchronous (Posix AIO) trace writing
562+
mode ('n' default: 1, max: 4).
563+
548564
diff.*::
549565
diff.order::
550566
This option sets the number of columns to sort the result.
@@ -594,6 +610,11 @@ trace.*::
594610
"libbeauty", the default, to use the same argument beautifiers used in the
595611
strace-like sys_enter+sys_exit lines.
596612

613+
ftrace.*::
614+
ftrace.tracer::
615+
Can be used to select the default tracer. Possible values are
616+
'function' and 'function_graph'.
617+
597618
llvm.*::
598619
llvm.clang-path::
599620
Path to clang. If omit, search it from $PATH.
@@ -638,6 +659,29 @@ scripts.*::
638659
The script gets the same options passed as a full perf script,
639660
in particular -i perfdata file, --cpu, --tid
640661

662+
convert.*::
663+
664+
convert.queue-size::
665+
Limit the size of ordered_events queue, so we could control
666+
allocation size of perf data files without proper finished
667+
round events.
668+
669+
intel-pt.*::
670+
671+
intel-pt.cache-divisor::
672+
673+
intel-pt.mispred-all::
674+
If set, Intel PT decoder will set the mispred flag on all
675+
branches.
676+
677+
auxtrace.*::
678+
679+
auxtrace.dumpdir::
680+
s390 only. The directory to save the auxiliary trace buffer
681+
can be changed using this option. Ex, auxtrace.dumpdir=/tmp.
682+
If the directory does not exist or has the wrong file type,
683+
the current directory is used.
684+
641685
SEE ALSO
642686
--------
643687
linkperf:perf[1]

0 commit comments

Comments
 (0)