perf diff: Add kallsyms option
[firefly-linux-kernel-4.4.55.git] / tools / perf / Documentation / perf-diff.txt
index e463caa3eb49ed125addda7a1ec30b564516809b..d1deb573877fe5d84a8a7a7a63fe700585e4d8d5 100644 (file)
@@ -20,12 +20,20 @@ If no parameters are passed it will assume perf.data.old and perf.data.
 The differential profile is displayed only for events matching both
 specified perf.data files.
 
+If no parameters are passed the samples will be sorted by dso and symbol.
+As the perf.data files could come from different binaries, the symbols addresses
+could vary. So perf diff is based on the comparison of the files and
+symbols name.
+
 OPTIONS
 -------
 -D::
 --dump-raw-trace::
         Dump raw trace in ASCII.
 
+--kallsyms=<file>::
+        kallsyms pathname
+
 -m::
 --modules::
         Load module symbols. WARNING: use only with -k and LIVE kernel