Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

perf docs: Improve help information in perf.txt

perf has many undocumented options, such as:-vv, --exec-path,
--html-path, -p, --paginate,--no-pager, --debugfs-dir, --buildid-dir,
--list-cmds, --list-opts.

Add entris for these options in perf.txt.

Signed-off-by: Zejiang Tang <tangzejiang@loongson.cn>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Link: http://lore.kernel.org/lkml/1599645194-8438-1-git-send-email-tangzejiang@loongson.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Zejiang Tang and committed by
Arnaldo Carvalho de Melo
99f63817 a803fbe6

+47 -22
+47 -22
tools/perf/Documentation/perf.txt
··· 12 12 13 13 OPTIONS 14 14 ------- 15 - --debug:: 16 - Setup debug variable (see list below) in value 17 - range (0, 10). Use like: 18 - --debug verbose # sets verbose = 1 19 - --debug verbose=2 # sets verbose = 2 20 - 21 - List of debug variables allowed to set: 22 - verbose - general debug messages 23 - ordered-events - ordered events object debug messages 24 - data-convert - data convert command debug messages 25 - stderr - write debug output (option -v) to stderr 26 - in browser mode 27 - perf-event-open - Print perf_event_open() arguments and 28 - return value 29 - 30 - --buildid-dir:: 31 - Setup buildid cache directory. It has higher priority than 32 - buildid.dir config file option. 15 + -h:: 16 + --help:: 17 + Run perf help command. 33 18 34 19 -v:: 35 20 --version:: 36 - Display perf version. 21 + Display perf version. 37 22 38 - -h:: 39 - --help:: 40 - Run perf help command. 23 + -vv:: 24 + Print the compiled-in status of libraries. 25 + 26 + --exec-path:: 27 + Display or set exec path. 28 + 29 + --html-path:: 30 + Display html documentation path. 31 + 32 + -p:: 33 + --paginate:: 34 + Set up pager. 35 + 36 + --no-pager:: 37 + Do not set pager. 38 + 39 + --buildid-dir:: 40 + Setup buildid cache directory. It has higher priority 41 + than buildid.dir config file option. 42 + 43 + --list-cmds:: 44 + List the most commonly used perf commands. 45 + 46 + --list-opts:: 47 + List available perf options. 48 + 49 + --debugfs-dir:: 50 + Set debugfs directory or set environment variable PERF_DEBUGFS_DIR. 51 + 52 + --debug:: 53 + Setup debug variable (see list below) in value 54 + range (0, 10). Use like: 55 + --debug verbose # sets verbose = 1 56 + --debug verbose=2 # sets verbose = 2 57 + 58 + List of debug variables allowed to set: 59 + verbose - general debug messages 60 + ordered-events - ordered events object debug messages 61 + data-convert - data convert command debug messages 62 + stderr - write debug output (option -v) to stderr 63 + in browser mode 64 + perf-event-open - Print perf_event_open() arguments and 65 + return value 41 66 42 67 DESCRIPTION 43 68 -----------