2009-03-13 05:20:49 +03:00
|
|
|
#
|
2009-04-20 17:00:56 +04:00
|
|
|
# List of known perf commands.
|
2009-03-13 05:20:49 +03:00
|
|
|
# command name category [deprecated] [common]
|
|
|
|
#
|
2009-06-06 17:19:13 +04:00
|
|
|
perf-annotate mainporcelain common
|
2010-01-18 20:59:19 +03:00
|
|
|
perf-archive mainporcelain common
|
2009-11-10 14:50:55 +03:00
|
|
|
perf-bench mainporcelain common
|
2010-01-20 20:28:45 +03:00
|
|
|
perf-buildid-cache mainporcelain common
|
2009-11-16 21:32:45 +03:00
|
|
|
perf-buildid-list mainporcelain common
|
2015-02-21 01:16:59 +03:00
|
|
|
perf-data mainporcelain common
|
2009-12-15 01:09:31 +03:00
|
|
|
perf-diff mainporcelain common
|
2017-03-13 11:28:45 +03:00
|
|
|
perf-c2c mainporcelain common
|
2015-11-17 16:53:21 +03:00
|
|
|
perf-config mainporcelain common
|
2011-03-15 17:04:13 +03:00
|
|
|
perf-evlist mainporcelain common
|
2013-03-07 16:45:20 +04:00
|
|
|
perf-ftrace mainporcelain common
|
2010-05-04 17:48:22 +04:00
|
|
|
perf-inject mainporcelain common
|
2021-04-19 12:41:46 +03:00
|
|
|
perf-iostat mainporcelain common
|
2017-01-05 21:33:32 +03:00
|
|
|
perf-kallsyms mainporcelain common
|
2013-02-26 08:12:52 +04:00
|
|
|
perf-kmem mainporcelain common
|
|
|
|
perf-kvm mainporcelain common
|
perf kwork: New tool to trace time properties of kernel work (such as softirq, and workqueue)
The 'perf kwork' tool is used to trace time properties of kernel work
(such as irq, softirq, and workqueue), including runtime, latency, and
timehist, using the infrastructure in the perf tools to allow tracing
extra targets.
This is the first commit to reuse the 'perf record' framework code to
implement a simple record function, kwork is not supported currently.
Test cases:
# perf
usage: perf [--version] [--help] [OPTIONS] COMMAND [ARGS]
The most commonly used perf commands are:
<SNIP>
iostat Show I/O performance metrics
kallsyms Searches running kernel for symbols
kmem Tool to trace/measure kernel memory properties
kvm Tool to trace/measure kvm guest os
kwork Tool to trace/measure kernel work properties (latencies)
list List all symbolic event types
lock Analyze lock events
mem Profile memory accesses
record Run a command and record its profile into perf.data
<SNIP>
See 'perf help COMMAND' for more information on a specific command.
# perf kwork
Usage: perf kwork [<options>] {record}
-D, --dump-raw-trace dump raw trace in ASCII
-f, --force don't complain, do it
-k, --kwork <kwork> list of kwork to profile
-v, --verbose be more verbose (show symbol address, etc)
# perf kwork record -- sleep 1
[ perf record: Woken up 0 times to write data ]
[ perf record: Captured and wrote 1.787 MB perf.data ]
Signed-off-by: Yang Jihong <yangjihong1@huawei.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Clarke <pc@us.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220709015033.38326-2-yangjihong1@huawei.com
[ Add {} for multiline if blocks ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-07-09 04:50:17 +03:00
|
|
|
perf-kwork mainporcelain common
|
2009-06-06 17:19:13 +04:00
|
|
|
perf-list mainporcelain common
|
2013-02-26 08:12:52 +04:00
|
|
|
perf-lock mainporcelain common
|
2013-01-24 19:10:38 +04:00
|
|
|
perf-mem mainporcelain common
|
2013-02-26 08:12:52 +04:00
|
|
|
perf-probe mainporcelain full
|
2009-03-13 05:20:49 +03:00
|
|
|
perf-record mainporcelain common
|
|
|
|
perf-report mainporcelain common
|
2013-02-26 08:12:52 +04:00
|
|
|
perf-sched mainporcelain common
|
|
|
|
perf-script mainporcelain common
|
2009-03-13 05:20:49 +03:00
|
|
|
perf-stat mainporcelain common
|
2013-02-26 08:12:52 +04:00
|
|
|
perf-test mainporcelain common
|
2009-09-19 15:36:04 +04:00
|
|
|
perf-timechart mainporcelain common
|
2009-03-13 05:20:49 +03:00
|
|
|
perf-top mainporcelain common
|
2016-01-07 12:14:04 +03:00
|
|
|
perf-trace mainporcelain audit
|
2018-09-19 10:49:11 +03:00
|
|
|
perf-version mainporcelain common
|
2021-02-08 23:08:45 +03:00
|
|
|
perf-daemon mainporcelain common
|