]> Git Repo - linux.git/commitdiff
perf config: Fix example command in manpage to conform to syntax specified in the...
authorNick Thompson <[email protected]>
Wed, 16 Dec 2020 17:13:17 +0000 (12:13 -0500)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 17 Dec 2020 17:36:17 +0000 (14:36 -0300)
Committer testing:

With the previously documented example:

  $ perf config --user report sort-order=srcline
  The config variable does not contain a section name: report
  $

With the fixed example line:

  $ perf config --user report.sort-order=srcline
  $ perf config --user report.sort-order
  report.sort-order=srcline
  $

Signed-off-by: Nick Thompson <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/linux-perf-users/[email protected]/
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/Documentation/perf-config.txt

index 31069d8a53046cad7b192a501ff09564cf2e2f92..5c379adf83043d28a257310deee55e0e0c5f422a 100644 (file)
@@ -138,7 +138,7 @@ If you want to add or modify several config items, you can do like
 
 To modify the sort order of report functionality in user config file(i.e. `~/.perfconfig`), do
 
-       % perf config --user report sort-order=srcline
+       % 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
This page took 0.064892 seconds and 4 git commands to generate.