mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 08:08:57 +07:00
6cf6265639
'perf report' displays recorded data on the screen and emits warnings and debug messages in the status line (last one on screen). perf also supports the possibility to write all debug messages to stderr (instead of writing them to the status line). This is achieved with the following command: # ./perf --debug stderr=1 report -vvvvv -i ~/fast.data 2>/tmp/2 # ll /tmp/2 -rw-rw-r-- 1 tmricht tmricht 5420835 May 7 13:46 /tmp/2 # The usage of variable stderr=1 is not documented, so add it to the perf man page. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Link: http://lkml.kernel.org/r/20190513080220.91966-1-tmricht@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
perf(1)
|
|
=======
|
|
|
|
NAME
|
|
----
|
|
perf - Performance analysis tools for Linux
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'perf' [--version] [--help] [OPTIONS] COMMAND [ARGS]
|
|
|
|
OPTIONS
|
|
-------
|
|
--debug::
|
|
Setup debug variable (see list below) in value
|
|
range (0, 10). Use like:
|
|
--debug verbose # sets verbose = 1
|
|
--debug verbose=2 # sets verbose = 2
|
|
|
|
List of debug variables allowed to set:
|
|
verbose - general debug messages
|
|
ordered-events - ordered events object debug messages
|
|
data-convert - data convert command debug messages
|
|
stderr - write debug output (option -v) to stderr
|
|
in browser mode
|
|
|
|
--buildid-dir::
|
|
Setup buildid cache directory. It has higher priority than
|
|
buildid.dir config file option.
|
|
|
|
-v::
|
|
--version::
|
|
Display perf version.
|
|
|
|
-h::
|
|
--help::
|
|
Run perf help command.
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Performance counters for Linux are a new kernel-based subsystem
|
|
that provide a framework for all things performance analysis. It
|
|
covers hardware level (CPU/PMU, Performance Monitoring Unit) features
|
|
and software features (software counters, tracepoints) as well.
|
|
|
|
SEE ALSO
|
|
--------
|
|
linkperf:perf-stat[1], linkperf:perf-top[1],
|
|
linkperf:perf-record[1], linkperf:perf-report[1],
|
|
linkperf:perf-list[1]
|