perf script: Add support for H/W and S/W events
[linux-2.6-block.git] / tools / perf / Documentation / perf-script.txt
index c64118a4de49be419c22655790dfbea62de45261..66f040b30729d3a3ec0cadab896c1df63160efa1 100644 (file)
@@ -115,7 +115,10 @@ OPTIONS
 -f::
 --fields
         Comma separated list of fields to print. Options are:
-        comm, tid, pid, time, cpu, event, trace, sym
+        comm, tid, pid, time, cpu, event, trace, sym. Field
+        list must be prepended with the type, trace, sw or hw,
+        to indicate to which event type the field list applies.
+        e.g., -f sw:comm,tid,time,sym  and -f trace:time,cpu,trace
 
 -k::
 --vmlinux=<file>::