perf-diff.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. perf-diff(1)
  2. ============
  3. NAME
  4. ----
  5. perf-diff - Read two perf.data files and display the differential profile
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf diff' [oldfile] [newfile]
  10. DESCRIPTION
  11. -----------
  12. This command displays the performance difference amongst two perf.data files
  13. captured via perf record.
  14. If no parameters are passed it will assume perf.data.old and perf.data.
  15. OPTIONS
  16. -------
  17. -M::
  18. --displacement::
  19. Show position displacement relative to baseline.
  20. -D::
  21. --dump-raw-trace::
  22. Dump raw trace in ASCII.
  23. -m::
  24. --modules::
  25. Load module symbols. WARNING: use only with -k and LIVE kernel
  26. -d::
  27. --dsos=::
  28. Only consider symbols in these dsos. CSV that understands
  29. file://filename entries.
  30. -C::
  31. --comms=::
  32. Only consider symbols in these comms. CSV that understands
  33. file://filename entries.
  34. -S::
  35. --symbols=::
  36. Only consider these symbols. CSV that understands
  37. file://filename entries.
  38. -s::
  39. --sort=::
  40. Sort by key(s): pid, comm, dso, symbol.
  41. -t::
  42. --field-separator=::
  43. Use a special separator character and don't pad with spaces, replacing
  44. all occurrences of this separator in symbol names (and other output)
  45. with a '.' character, that thus it's the only non valid separator.
  46. -v::
  47. --verbose::
  48. Be verbose, for instance, show the raw counts in addition to the
  49. diff.
  50. -f::
  51. --force::
  52. Don't complain, do it.
  53. --symfs=<directory>::
  54. Look for files with symbols relative to this directory.
  55. SEE ALSO
  56. --------
  57. linkperf:perf-record[1]