6 perf-config - Get and set variables in a configuration file.
11 'perf config' -l | --list
15 You can manage variables in a configuration file with this command.
22 Show current config variables, name and value, for all sections.
27 The perf configuration file contains many variables to change various
28 aspects of each of its tools, including output, disk usage, etc.
29 The '$HOME/.perfconfig' file is used to store a per-user configuration.
30 The file '$(sysconfdir)/perfconfig' can be used to
31 store a system-wide default configuration.
36 The file consist of sections. A section starts with its name
37 surrounded by square brackets and continues till the next section
38 begins. Each variable must be in a section, and have the form
39 'name = value', for example:
45 Section names are case sensitive and can contain any characters except
46 newline (double quote `"` and backslash have to be escaped as `\"` and `\\`,
47 respectively). Section headers can't span multiple lines.
52 Given a $HOME/.perfconfig like this:
55 # This is the config file, and
56 # a '#' and ';' character indicates a comment
62 medium = green, default
63 normal = lightgray, default
64 selected = white, lightgray
65 jump_arrows = blue, default
66 addr = magenta, default
70 # Defaults if linked with libslang
76 # Default, disable using /dev/null
87 # Format can be man, info, web or html
95 # fp (framepointer), dwarf
105 The variables for customizing the colors used in the output for the
106 'report', 'top' and 'annotate' in the TUI. They should specify the
107 foreground and background colors, separated by a comma, for example:
109 medium = green, lightgray
111 If you want to use the color configured for you terminal, just leave it
112 as 'default', for example:
114 medium = default, lightgray
117 red, yellow, green, cyan, gray, black, blue,
118 white, default, magenta, lightgray
121 'top' means a overhead percentage which is more than 5%.
122 And values of this variable specify percentage colors.
123 Basic key values are foreground-color 'red' and
124 background-color 'default'.
126 'medium' means a overhead percentage which has more than 0.5%.
127 Default values are 'green' and 'default'.
129 'normal' means the rest of overhead percentages
130 except 'top', 'medium', 'selected'.
131 Default values are 'lightgray' and 'default'.
133 This selects the colors for the current entry in a list of entries
134 from sub-commands (top, report, annotate).
135 Default values are 'black' and 'lightgray'.
137 Colors for jump arrows on assembly code listings
138 such as 'jns', 'jmp', 'jane', etc.
139 Default values are 'blue', 'default'.
141 This selects colors for addresses from 'annotate'.
142 Default values are 'magenta', 'default'.
144 Colors for headers in the output of a sub-commands (top, report).
145 Default values are 'white', 'blue'.
148 Subcommands that can be configured here are 'top', 'report' and 'annotate'.
149 These values are booleans, for example:
154 will make the TUI be the default for the 'top' subcommand. Those will be
155 available if the required libs were detected at tool build time.