perf-diff.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. The differential profile is displayed only for events matching both
  16. specified perf.data files.
  17. OPTIONS
  18. -------
  19. -M::
  20. --displacement::
  21. Show position displacement relative to baseline.
  22. -D::
  23. --dump-raw-trace::
  24. Dump raw trace in ASCII.
  25. -m::
  26. --modules::
  27. Load module symbols. WARNING: use only with -k and LIVE kernel
  28. -d::
  29. --dsos=::
  30. Only consider symbols in these dsos. CSV that understands
  31. file://filename entries.
  32. -C::
  33. --comms=::
  34. Only consider symbols in these comms. CSV that understands
  35. file://filename entries.
  36. -S::
  37. --symbols=::
  38. Only consider these symbols. CSV that understands
  39. file://filename entries.
  40. -s::
  41. --sort=::
  42. Sort by key(s): pid, comm, dso, symbol.
  43. -t::
  44. --field-separator=::
  45. Use a special separator character and don't pad with spaces, replacing
  46. all occurrences of this separator in symbol names (and other output)
  47. with a '.' character, that thus it's the only non valid separator.
  48. -v::
  49. --verbose::
  50. Be verbose, for instance, show the raw counts in addition to the
  51. diff.
  52. -f::
  53. --force::
  54. Don't complain, do it.
  55. --symfs=<directory>::
  56. Look for files with symbols relative to this directory.
  57. SEE ALSO
  58. --------
  59. linkperf:perf-record[1]