perf-config.txt 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  1. perf-config(1)
  2. ==============
  3. NAME
  4. ----
  5. perf-config - Get and set variables in a configuration file.
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf config' [<file-option>] [section.name[=value] ...]
  10. or
  11. 'perf config' [<file-option>] -l | --list
  12. DESCRIPTION
  13. -----------
  14. You can manage variables in a configuration file with this command.
  15. OPTIONS
  16. -------
  17. -l::
  18. --list::
  19. Show current config variables, name and value, for all sections.
  20. --user::
  21. For writing and reading options: write to user
  22. '$HOME/.perfconfig' file or read it.
  23. --system::
  24. For writing and reading options: write to system-wide
  25. '$(sysconfdir)/perfconfig' or read it.
  26. CONFIGURATION FILE
  27. ------------------
  28. The perf configuration file contains many variables to change various
  29. aspects of each of its tools, including output, disk usage, etc.
  30. The '$HOME/.perfconfig' file is used to store a per-user configuration.
  31. The file '$(sysconfdir)/perfconfig' can be used to
  32. store a system-wide default configuration.
  33. One an disable reading config files by setting the PERF_CONFIG environment
  34. variable to /dev/null, or provide an alternate config file by setting that
  35. variable.
  36. When reading or writing, the values are read from the system and user
  37. configuration files by default, and options '--system' and '--user'
  38. can be used to tell the command to read from or write to only that location.
  39. Syntax
  40. ~~~~~~
  41. The file consist of sections. A section starts with its name
  42. surrounded by square brackets and continues till the next section
  43. begins. Each variable must be in a section, and have the form
  44. 'name = value', for example:
  45. [section]
  46. name1 = value1
  47. name2 = value2
  48. Section names are case sensitive and can contain any characters except
  49. newline (double quote `"` and backslash have to be escaped as `\"` and `\\`,
  50. respectively). Section headers can't span multiple lines.
  51. Example
  52. ~~~~~~~
  53. Given a $HOME/.perfconfig like this:
  54. #
  55. # This is the config file, and
  56. # a '#' and ';' character indicates a comment
  57. #
  58. [colors]
  59. # Color variables
  60. top = red, default
  61. medium = green, default
  62. normal = lightgray, default
  63. selected = white, lightgray
  64. jump_arrows = blue, default
  65. addr = magenta, default
  66. root = white, blue
  67. [tui]
  68. # Defaults if linked with libslang
  69. report = on
  70. annotate = on
  71. top = on
  72. [buildid]
  73. # Default, disable using /dev/null
  74. dir = ~/.debug
  75. [annotate]
  76. # Defaults
  77. hide_src_code = false
  78. use_offset = true
  79. jump_arrows = true
  80. show_nr_jumps = false
  81. [help]
  82. # Format can be man, info, web or html
  83. format = man
  84. autocorrect = 0
  85. [ui]
  86. show-headers = true
  87. [call-graph]
  88. # fp (framepointer), dwarf
  89. record-mode = fp
  90. print-type = graph
  91. order = caller
  92. sort-key = function
  93. [report]
  94. # Defaults
  95. sort_order = comm,dso,symbol
  96. percent-limit = 0
  97. queue-size = 0
  98. children = true
  99. group = true
  100. skip-empty = true
  101. [llvm]
  102. dump-obj = true
  103. clang-opt = -g
  104. You can hide source code of annotate feature setting the config to false with
  105. % perf config annotate.hide_src_code=true
  106. If you want to add or modify several config items, you can do like
  107. % perf config ui.show-headers=false kmem.default=slab
  108. To modify the sort order of report functionality in user config file(i.e. `~/.perfconfig`), do
  109. % perf config --user report.sort-order=srcline
  110. To change colors of selected line to other foreground and background colors
  111. in system config file (i.e. `$(sysconf)/perfconfig`), do
  112. % perf config --system colors.selected=yellow,green
  113. To query the record mode of call graph, do
  114. % perf config call-graph.record-mode
  115. If you want to know multiple config key/value pairs, you can do like
  116. % perf config report.queue-size call-graph.order report.children
  117. To query the config value of sort order of call graph in user config file (i.e. `~/.perfconfig`), do
  118. % perf config --user call-graph.sort-order
  119. To query the config value of buildid directory in system config file (i.e. `$(sysconf)/perfconfig`), do
  120. % perf config --system buildid.dir
  121. Variables
  122. ~~~~~~~~~
  123. colors.*::
  124. The variables for customizing the colors used in the output for the
  125. 'report', 'top' and 'annotate' in the TUI. They should specify the
  126. foreground and background colors, separated by a comma, for example:
  127. medium = green, lightgray
  128. If you want to use the color configured for you terminal, just leave it
  129. as 'default', for example:
  130. medium = default, lightgray
  131. Available colors:
  132. red, yellow, green, cyan, gray, black, blue,
  133. white, default, magenta, lightgray
  134. colors.top::
  135. 'top' means a overhead percentage which is more than 5%.
  136. And values of this variable specify percentage colors.
  137. Basic key values are foreground-color 'red' and
  138. background-color 'default'.
  139. colors.medium::
  140. 'medium' means a overhead percentage which has more than 0.5%.
  141. Default values are 'green' and 'default'.
  142. colors.normal::
  143. 'normal' means the rest of overhead percentages
  144. except 'top', 'medium', 'selected'.
  145. Default values are 'lightgray' and 'default'.
  146. colors.selected::
  147. This selects the colors for the current entry in a list of entries
  148. from sub-commands (top, report, annotate).
  149. Default values are 'black' and 'lightgray'.
  150. colors.jump_arrows::
  151. Colors for jump arrows on assembly code listings
  152. such as 'jns', 'jmp', 'jane', etc.
  153. Default values are 'blue', 'default'.
  154. colors.addr::
  155. This selects colors for addresses from 'annotate'.
  156. Default values are 'magenta', 'default'.
  157. colors.root::
  158. Colors for headers in the output of a sub-commands (top, report).
  159. Default values are 'white', 'blue'.
  160. core.*::
  161. core.proc-map-timeout::
  162. Sets a timeout (in milliseconds) for parsing /proc/<pid>/maps files.
  163. Can be overridden by the --proc-map-timeout option on supported
  164. subcommands. The default timeout is 500ms.
  165. tui.*, gtk.*::
  166. Subcommands that can be configured here are 'top', 'report' and 'annotate'.
  167. These values are booleans, for example:
  168. [tui]
  169. top = true
  170. will make the TUI be the default for the 'top' subcommand. Those will be
  171. available if the required libs were detected at tool build time.
  172. buildid.*::
  173. buildid.dir::
  174. Each executable and shared library in modern distributions comes with a
  175. content based identifier that, if available, will be inserted in a
  176. 'perf.data' file header to, at analysis time find what is needed to do
  177. symbol resolution, code annotation, etc.
  178. The recording tools also stores a hard link or copy in a per-user
  179. directory, $HOME/.debug/, of binaries, shared libraries, /proc/kallsyms
  180. and /proc/kcore files to be used at analysis time.
  181. The buildid.dir variable can be used to either change this directory
  182. cache location, or to disable it altogether. If you want to disable it,
  183. set buildid.dir to /dev/null. The default is $HOME/.debug
  184. buildid-cache.*::
  185. buildid-cache.debuginfod=URLs
  186. Specify debuginfod URLs to be used when retrieving perf.data binaries,
  187. it follows the same syntax as the DEBUGINFOD_URLS variable, like:
  188. buildid-cache.debuginfod=http://192.168.122.174:8002
  189. annotate.*::
  190. These are in control of addresses, jump function, source code
  191. in lines of assembly code from a specific program.
  192. annotate.disassembler_style:
  193. Use this to change the default disassembler style to some other value
  194. supported by binutils, such as "intel", see the '-M' option help in the
  195. 'objdump' man page.
  196. annotate.hide_src_code::
  197. If a program which is analyzed has source code,
  198. this option lets 'annotate' print a list of assembly code with the source code.
  199. For example, let's see a part of a program. There're four lines.
  200. If this option is 'true', they can be printed
  201. without source code from a program as below.
  202. │ push %rbp
  203. │ mov %rsp,%rbp
  204. │ sub $0x10,%rsp
  205. │ mov (%rdi),%rdx
  206. But if this option is 'false', source code of the part
  207. can be also printed as below. Default is 'false'.
  208. │ struct rb_node *rb_next(const struct rb_node *node)
  209. │ {
  210. │ push %rbp
  211. │ mov %rsp,%rbp
  212. │ sub $0x10,%rsp
  213. │ struct rb_node *parent;
  214. │ if (RB_EMPTY_NODE(node))
  215. │ mov (%rdi),%rdx
  216. │ return n;
  217. This option works with tui, stdio2 browsers.
  218. annotate.use_offset::
  219. Basing on a first address of a loaded function, offset can be used.
  220. Instead of using original addresses of assembly code,
  221. addresses subtracted from a base address can be printed.
  222. Let's illustrate an example.
  223. If a base address is 0XFFFFFFFF81624d50 as below,
  224. ffffffff81624d50 <load0>
  225. an address on assembly code has a specific absolute address as below
  226. ffffffff816250b8:│ mov 0x8(%r14),%rdi
  227. but if use_offset is 'true', an address subtracted from a base address is printed.
  228. Default is true. This option is only applied to TUI.
  229. 368:│ mov 0x8(%r14),%rdi
  230. This option works with tui, stdio2 browsers.
  231. annotate.jump_arrows::
  232. There can be jump instruction among assembly code.
  233. Depending on a boolean value of jump_arrows,
  234. arrows can be printed or not which represent
  235. where do the instruction jump into as below.
  236. │ ┌──jmp 1333
  237. │ │ xchg %ax,%ax
  238. │1330:│ mov %r15,%r10
  239. │1333:└─→cmp %r15,%r14
  240. If jump_arrow is 'false', the arrows isn't printed as below.
  241. Default is 'false'.
  242. │ ↓ jmp 1333
  243. │ xchg %ax,%ax
  244. │1330: mov %r15,%r10
  245. │1333: cmp %r15,%r14
  246. This option works with tui browser.
  247. annotate.show_linenr::
  248. When showing source code if this option is 'true',
  249. line numbers are printed as below.
  250. │1628 if (type & PERF_SAMPLE_IDENTIFIER) {
  251. │ ↓ jne 508
  252. │1628 data->id = *array;
  253. │1629 array++;
  254. │1630 }
  255. However if this option is 'false', they aren't printed as below.
  256. Default is 'false'.
  257. │ if (type & PERF_SAMPLE_IDENTIFIER) {
  258. │ ↓ jne 508
  259. │ data->id = *array;
  260. │ array++;
  261. │ }
  262. This option works with tui, stdio2 browsers.
  263. annotate.show_nr_jumps::
  264. Let's see a part of assembly code.
  265. │1382: movb $0x1,-0x270(%rbp)
  266. If use this, the number of branches jumping to that address can be printed as below.
  267. Default is 'false'.
  268. │1 1382: movb $0x1,-0x270(%rbp)
  269. This option works with tui, stdio2 browsers.
  270. annotate.show_total_period::
  271. To compare two records on an instruction base, with this option
  272. provided, display total number of samples that belong to a line
  273. in assembly code. If this option is 'true', total periods are printed
  274. instead of percent values as below.
  275. 302 │ mov %eax,%eax
  276. But if this option is 'false', percent values for overhead are printed i.e.
  277. Default is 'false'.
  278. 99.93 │ mov %eax,%eax
  279. This option works with tui, stdio2, stdio browsers.
  280. annotate.show_nr_samples::
  281. By default perf annotate shows percentage of samples. This option
  282. can be used to print absolute number of samples. Ex, when set as
  283. false:
  284. Percent│
  285. 74.03 │ mov %fs:0x28,%rax
  286. When set as true:
  287. Samples│
  288. 6 │ mov %fs:0x28,%rax
  289. This option works with tui, stdio2, stdio browsers.
  290. annotate.offset_level::
  291. Default is '1', meaning just jump targets will have offsets show right beside
  292. the instruction. When set to '2' 'call' instructions will also have its offsets
  293. shown, 3 or higher will show offsets for all instructions.
  294. This option works with tui, stdio2 browsers.
  295. annotate.demangle::
  296. Demangle symbol names to human readable form. Default is 'true'.
  297. annotate.demangle_kernel::
  298. Demangle kernel symbol names to human readable form. Default is 'true'.
  299. hist.*::
  300. hist.percentage::
  301. This option control the way to calculate overhead of filtered entries -
  302. that means the value of this option is effective only if there's a
  303. filter (by comm, dso or symbol name). Suppose a following example:
  304. Overhead Symbols
  305. ........ .......
  306. 33.33% foo
  307. 33.33% bar
  308. 33.33% baz
  309. This is an original overhead and we'll filter out the first 'foo'
  310. entry. The value of 'relative' would increase the overhead of 'bar'
  311. and 'baz' to 50.00% for each, while 'absolute' would show their
  312. current overhead (33.33%).
  313. ui.*::
  314. ui.show-headers::
  315. This option controls display of column headers (like 'Overhead' and 'Symbol')
  316. in 'report' and 'top'. If this option is false, they are hidden.
  317. This option is only applied to TUI.
  318. call-graph.*::
  319. The following controls the handling of call-graphs (obtained via the
  320. -g/--call-graph options).
  321. call-graph.record-mode::
  322. The mode for user space can be 'fp' (frame pointer), 'dwarf'
  323. and 'lbr'. The value 'dwarf' is effective only if libunwind
  324. (or a recent version of libdw) is present on the system;
  325. the value 'lbr' only works for certain cpus. The method for
  326. kernel space is controlled not by this option but by the
  327. kernel config (CONFIG_UNWINDER_*).
  328. call-graph.dump-size::
  329. The size of stack to dump in order to do post-unwinding. Default is 8192 (byte).
  330. When using dwarf into record-mode, the default size will be used if omitted.
  331. call-graph.print-type::
  332. The print-types can be graph (graph absolute), fractal (graph relative),
  333. flat and folded. This option controls a way to show overhead for each callchain
  334. entry. Suppose a following example.
  335. Overhead Symbols
  336. ........ .......
  337. 40.00% foo
  338. |
  339. ---foo
  340. |
  341. |--50.00%--bar
  342. | main
  343. |
  344. --50.00%--baz
  345. main
  346. This output is a 'fractal' format. The 'foo' came from 'bar' and 'baz' exactly
  347. half and half so 'fractal' shows 50.00% for each
  348. (meaning that it assumes 100% total overhead of 'foo').
  349. The 'graph' uses absolute overhead value of 'foo' as total so each of
  350. 'bar' and 'baz' callchain will have 20.00% of overhead.
  351. If 'flat' is used, single column and linear exposure of call chains.
  352. 'folded' mean call chains are displayed in a line, separated by semicolons.
  353. call-graph.order::
  354. This option controls print order of callchains. The default is
  355. 'callee' which means callee is printed at top and then followed by its
  356. caller and so on. The 'caller' prints it in reverse order.
  357. If this option is not set and report.children or top.children is
  358. set to true (or the equivalent command line option is given),
  359. the default value of this option is changed to 'caller' for the
  360. execution of 'perf report' or 'perf top'. Other commands will
  361. still default to 'callee'.
  362. call-graph.sort-key::
  363. The callchains are merged if they contain same information.
  364. The sort-key option determines a way to compare the callchains.
  365. A value of 'sort-key' can be 'function' or 'address'.
  366. The default is 'function'.
  367. call-graph.threshold::
  368. When there're many callchains it'd print tons of lines. So perf omits
  369. small callchains under a certain overhead (threshold) and this option
  370. control the threshold. Default is 0.5 (%). The overhead is calculated
  371. by value depends on call-graph.print-type.
  372. call-graph.print-limit::
  373. This is a maximum number of lines of callchain printed for a single
  374. histogram entry. Default is 0 which means no limitation.
  375. report.*::
  376. report.sort_order::
  377. Allows changing the default sort order from "comm,dso,symbol" to
  378. some other default, for instance "sym,dso" may be more fitting for
  379. kernel developers.
  380. report.percent-limit::
  381. This one is mostly the same as call-graph.threshold but works for
  382. histogram entries. Entries having an overhead lower than this
  383. percentage will not be printed. Default is '0'. If percent-limit
  384. is '10', only entries which have more than 10% of overhead will be
  385. printed.
  386. report.queue-size::
  387. This option sets up the maximum allocation size of the internal
  388. event queue for ordering events. Default is 0, meaning no limit.
  389. report.children::
  390. 'Children' means functions called from another function.
  391. If this option is true, 'perf report' cumulates callchains of children
  392. and show (accumulated) total overhead as well as 'Self' overhead.
  393. Please refer to the 'perf report' manual. The default is 'true'.
  394. report.group::
  395. This option is to show event group information together.
  396. Example output with this turned on, notice that there is one column
  397. per event in the group, ref-cycles and cycles:
  398. # group: {ref-cycles,cycles}
  399. # ========
  400. #
  401. # Samples: 7K of event 'anon group { ref-cycles, cycles }'
  402. # Event count (approx.): 6876107743
  403. #
  404. # Overhead Command Shared Object Symbol
  405. # ................ ....... ................. ...................
  406. #
  407. 99.84% 99.76% noploop noploop [.] main
  408. 0.07% 0.00% noploop ld-2.15.so [.] strcmp
  409. 0.03% 0.00% noploop [kernel.kallsyms] [k] timerqueue_del
  410. report.skip-empty::
  411. This option can change default stat behavior with empty results.
  412. If it's set true, 'perf report --stat' will not show 0 stats.
  413. top.*::
  414. top.children::
  415. Same as 'report.children'. So if it is enabled, the output of 'top'
  416. command will have 'Children' overhead column as well as 'Self' overhead
  417. column by default.
  418. The default is 'true'.
  419. top.call-graph::
  420. This is identical to 'call-graph.record-mode', except it is
  421. applicable only for 'top' subcommand. This option ONLY setup
  422. the unwind method. To enable 'perf top' to actually use it,
  423. the command line option -g must be specified.
  424. man.*::
  425. man.viewer::
  426. This option can assign a tool to view manual pages when 'help'
  427. subcommand was invoked. Supported tools are 'man', 'woman'
  428. (with emacs client) and 'konqueror'. Default is 'man'.
  429. New man viewer tool can be also added using 'man.<tool>.cmd'
  430. or use different path using 'man.<tool>.path' config option.
  431. pager.*::
  432. pager.<subcommand>::
  433. When the subcommand is run on stdio, determine whether it uses
  434. pager or not based on this value. Default is 'unspecified'.
  435. kmem.*::
  436. kmem.default::
  437. This option decides which allocator is to be analyzed if neither
  438. '--slab' nor '--page' option is used. Default is 'slab'.
  439. record.*::
  440. record.build-id::
  441. This option can be 'cache', 'no-cache', 'skip' or 'mmap'.
  442. 'cache' is to post-process data and save/update the binaries into
  443. the build-id cache (in ~/.debug). This is the default.
  444. But if this option is 'no-cache', it will not update the build-id cache.
  445. 'skip' skips post-processing and does not update the cache.
  446. 'mmap' skips post-processing and reads build-ids from MMAP events.
  447. record.call-graph::
  448. This is identical to 'call-graph.record-mode', except it is
  449. applicable only for 'record' subcommand. This option ONLY setup
  450. the unwind method. To enable 'perf record' to actually use it,
  451. the command line option -g must be specified.
  452. record.aio::
  453. Use 'n' control blocks in asynchronous (Posix AIO) trace writing
  454. mode ('n' default: 1, max: 4).
  455. record.debuginfod::
  456. Specify debuginfod URL to be used when cacheing perf.data binaries,
  457. it follows the same syntax as the DEBUGINFOD_URLS variable, like:
  458. http://192.168.122.174:8002
  459. If the URLs is 'system', the value of DEBUGINFOD_URLS system environment
  460. variable is used.
  461. diff.*::
  462. diff.order::
  463. This option sets the number of columns to sort the result.
  464. The default is 0, which means sorting by baseline.
  465. Setting it to 1 will sort the result by delta (or other
  466. compute method selected).
  467. diff.compute::
  468. This options sets the method for computing the diff result.
  469. Possible values are 'delta', 'delta-abs', 'ratio' and
  470. 'wdiff'. Default is 'delta'.
  471. trace.*::
  472. trace.add_events::
  473. Allows adding a set of events to add to the ones specified
  474. by the user, or use as a default one if none was specified.
  475. The initial use case is to add augmented_raw_syscalls.o to
  476. activate the 'perf trace' logic that looks for syscall
  477. pointer contents after the normal tracepoint payload.
  478. trace.args_alignment::
  479. Number of columns to align the argument list, default is 70,
  480. use 40 for the strace default, zero to no alignment.
  481. trace.no_inherit::
  482. Do not follow children threads.
  483. trace.show_arg_names::
  484. Should syscall argument names be printed? If not then trace.show_zeros
  485. will be set.
  486. trace.show_duration::
  487. Show syscall duration.
  488. trace.show_prefix::
  489. If set to 'yes' will show common string prefixes in tables. The default
  490. is to remove the common prefix in things like "MAP_SHARED", showing just "SHARED".
  491. trace.show_timestamp::
  492. Show syscall start timestamp.
  493. trace.show_zeros::
  494. Do not suppress syscall arguments that are equal to zero.
  495. trace.tracepoint_beautifiers::
  496. Use "libtraceevent" to use that library to augment the tracepoint arguments,
  497. "libbeauty", the default, to use the same argument beautifiers used in the
  498. strace-like sys_enter+sys_exit lines.
  499. ftrace.*::
  500. ftrace.tracer::
  501. Can be used to select the default tracer when neither -G nor
  502. -F option is not specified. Possible values are 'function' and
  503. 'function_graph'.
  504. llvm.*::
  505. llvm.clang-path::
  506. Path to clang. If omit, search it from $PATH.
  507. llvm.clang-bpf-cmd-template::
  508. Cmdline template. Below lines show its default value. Environment
  509. variable is used to pass options.
  510. "$CLANG_EXEC -D__KERNEL__ -D__NR_CPUS__=$NR_CPUS "\
  511. "-DLINUX_VERSION_CODE=$LINUX_VERSION_CODE " \
  512. "$CLANG_OPTIONS $PERF_BPF_INC_OPTIONS $KERNEL_INC_OPTIONS " \
  513. "-Wno-unused-value -Wno-pointer-sign " \
  514. "-working-directory $WORKING_DIR " \
  515. "-c \"$CLANG_SOURCE\" -target bpf $CLANG_EMIT_LLVM -O2 -o - $LLVM_OPTIONS_PIPE"
  516. llvm.clang-opt::
  517. Options passed to clang.
  518. llvm.kbuild-dir::
  519. kbuild directory. If not set, use /lib/modules/`uname -r`/build.
  520. If set to "" deliberately, skip kernel header auto-detector.
  521. llvm.kbuild-opts::
  522. Options passed to 'make' when detecting kernel header options.
  523. llvm.dump-obj::
  524. Enable perf dump BPF object files compiled by LLVM.
  525. llvm.opts::
  526. Options passed to llc.
  527. samples.*::
  528. samples.context::
  529. Define how many ns worth of time to show
  530. around samples in perf report sample context browser.
  531. scripts.*::
  532. Any option defines a script that is added to the scripts menu
  533. in the interactive perf browser and whose output is displayed.
  534. The name of the option is the name, the value is a script command line.
  535. The script gets the same options passed as a full perf script,
  536. in particular -i perfdata file, --cpu, --tid
  537. convert.*::
  538. convert.queue-size::
  539. Limit the size of ordered_events queue, so we could control
  540. allocation size of perf data files without proper finished
  541. round events.
  542. stat.*::
  543. stat.big-num::
  544. (boolean) Change the default for "--big-num". To make
  545. "--no-big-num" the default, set "stat.big-num=false".
  546. intel-pt.*::
  547. intel-pt.cache-divisor::
  548. intel-pt.mispred-all::
  549. If set, Intel PT decoder will set the mispred flag on all
  550. branches.
  551. intel-pt.max-loops::
  552. If set and non-zero, the maximum number of unconditional
  553. branches decoded without consuming any trace packets. If
  554. the maximum is exceeded there will be a "Never-ending loop"
  555. error. The default is 100000.
  556. auxtrace.*::
  557. auxtrace.dumpdir::
  558. s390 only. The directory to save the auxiliary trace buffer
  559. can be changed using this option. Ex, auxtrace.dumpdir=/tmp.
  560. If the directory does not exist or has the wrong file type,
  561. the current directory is used.
  562. itrace.*::
  563. debug-log-buffer-size::
  564. Log size in bytes to output when using the option --itrace=d+e
  565. Refer 'itrace' option of linkperf:perf-script[1] or
  566. linkperf:perf-report[1]. The default is 16384.
  567. daemon.*::
  568. daemon.base::
  569. Base path for daemon data. All sessions data are stored under
  570. this path.
  571. session-<NAME>.*::
  572. session-<NAME>.run::
  573. Defines new record session for daemon. The value is record's
  574. command line without the 'record' keyword.
  575. SEE ALSO
  576. --------
  577. linkperf:perf[1]