path: root/tools/perf/Documentation/perf-trace.txt
diff options
Diffstat (limited to 'tools/perf/Documentation/perf-trace.txt')
1 files changed, 53 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-trace.txt b/tools/perf/Documentation/perf-trace.txt
new file mode 100644
index 000000000000..3a2ae37310a9
--- /dev/null
+++ b/tools/perf/Documentation/perf-trace.txt
@@ -0,0 +1,53 @@
+perf-trace - strace inspired tool
+'perf trace'
+This command will show the events associated with the target, initially
+syscalls, but other system events like pagefaults, task lifetime events,
+scheduling events, etc.
+Initially this is a live mode only tool, but eventually will work with files like the other tools, allowing a detached 'record' from
+analysis phases.
+ System-wide collection from all CPUs.
+ Record events on existing process ID (comma separated list).
+ Record events on existing thread ID (comma separated list).
+ Record events in threads owned by uid. Name or number.
+ Child tasks do not inherit counters.
+ Number of mmap data pages. Must be a power of two.
+Collect samples only on the list of CPUs provided. Multiple CPUs can be provided as a
+comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2.
+In per-thread mode with inheritance mode on (default), Events are captured only when
+the thread executes on the designated CPUs. Default is to monitor all CPUs.
+linkperf:perf-record[1], linkperf:perf-script[1]