Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1265292

[PATCH v10 07/22] perf config: Document variables for 'help' section in man page

From Taeung Song <treeze.taeung@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v10 07/22] perf config: Document variables for 'help' section in man page
Date 2015-11-09 03:40 +0100
Message-ID <qsKxd-aS-37@gated-at.bofh.it> (permalink)
References <qsKxb-aS-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Explain 'help.format' and 'help.autocorrect' variables.

Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/Documentation/perf-config.txt | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 11fd4b2..e47be25 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -242,6 +242,27 @@ annotate.*::
 
 		│1 1382:   movb   $0x1,-0x270(%rbp)
 
+help.*::
+	help.format:: = man
+		A format of manual page can be 'man', 'info', 'web' or 'html'.
+		'man' is default.
+	help.autocorrect:: = 0
+		Automatically correct and execute mistyped commands after
+		waiting for the given number of deciseconds (0.1 sec).
+		Let's see a example. If a mistyped sub-command is executed like 'perf mistyped-command'
+		and this option is 0, the output is as below.
+
+		perf: 'mistyped-command' is not a perf-command. See 'perf --help'.
+
+		Or if this option is more than 1, the output can be such as.
+
+		WARNING: You called a perf program named 'mistyped-command', which does not exist.
+		Continuing under the assumption that you meant 'with-kcore'
+		in 0.1 seconds automatically...
+		Usage: perf-with-kcore <perf sub-command> <perf.data directory> [<sub-command options> [ -- <workload>]]
+		<perf sub-command> can be record, script, report or inject
+		    or: perf-with-kcore fix_buildid_cache_permissions
+
 SEE ALSO
 --------
 linkperf:perf[1]
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v10 00/22] perf tools: Add 'perf-config' command Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 07/22] perf config: Document variables for 'help' section in man page Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 04/22] perf config: Document variables for 'tui' and 'gtk' sections in man page Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 13/22] perf config: Document 'man.viewer' variable in man page Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 20/22] perf config: Add 'set' feature Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 08/22] perf config: Document 'hist.percentage' variable in man page Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 19/22] perf config: Add 'get' functionaliy Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 03/22] perf config: Document variables for 'color' section in man page Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 01/22] perf tools: Add 'perf-config' command Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
    Re: [PATCH v10 01/22] perf tools: Add 'perf-config' command Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-09 15:00 +0100
      Re: [PATCH v10 01/22] perf tools: Add 'perf-config' command Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-09 15:10 +0100
  [PATCH v10 16/22] perf config: Add '--system' and '--user' options to select which config file is used Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 02/22] perf tools: Add perf-config document Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:40 +0100
  [PATCH v10 09/22] perf config: Document 'ui.show-headers' variable in man page Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:50 +0100
  [PATCH v10 06/22] perf config: Document variables for 'annotate' section in man page Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:50 +0100
  [PATCH v10 11/22] perf config: Document variables for 'report' section in man page Taeung Song <treeze.taeung@gmail.com> - 2015-11-09 03:50 +0100

csiph-web