]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - tools/perf/Documentation/perf-config.txt
Merge tag 'usb-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[karo-tx-linux.git] / tools / perf / Documentation / perf-config.txt
index 1714b0c8c8e102b6233881d145fceddb54e0fd48..9365b75fd04fdfe823eaa8abf29e6cb25fcb05bb 100644 (file)
@@ -8,7 +8,7 @@ perf-config - Get and set variables in a configuration file.
 SYNOPSIS
 --------
 [verse]
-'perf config' [<file-option>] [section.name ...]
+'perf config' [<file-option>] [section.name[=value] ...]
 or
 'perf config' [<file-option>] -l | --list
 
@@ -120,6 +120,23 @@ Given a $HOME/.perfconfig like this:
                children = true
                group = true
 
+You can hide source code of annotate feature setting the config to false with
+
+       % perf config annotate.hide_src_code=true
+
+If you want to add or modify several config items, you can do like
+
+       % perf config ui.show-headers=false kmem.default=slab
+
+To modify the sort order of report functionality in user config file(i.e. `~/.perfconfig`), do
+
+       % perf config --user report sort-order=srcline
+
+To change colors of selected line to other foreground and background colors
+in system config file (i.e. `$(sysconf)/perfconfig`), do
+
+       % perf config --system colors.selected=yellow,green
+
 To query the record mode of call graph, do
 
        % perf config call-graph.record-mode