perf-kmem.txt 793 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. perf-kmem(1)
  2. ============
  3. NAME
  4. ----
  5. perf-kmem - Tool to trace/measure kernel memory(slab) properties
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf kmem' {record|stat} [<options>]
  10. DESCRIPTION
  11. -----------
  12. There are two variants of perf kmem:
  13. 'perf kmem record <command>' to record the kmem events
  14. of an arbitrary workload.
  15. 'perf kmem stat' to report kernel memory statistics.
  16. OPTIONS
  17. -------
  18. -i <file>::
  19. --input=<file>::
  20. Select the input file (default: perf.data unless stdin is a fifo)
  21. --caller::
  22. Show per-callsite statistics
  23. --alloc::
  24. Show per-allocation statistics
  25. -s <key[,key2...]>::
  26. --sort=<key[,key2...]>::
  27. Sort the output (default: frag,hit,bytes)
  28. -l <num>::
  29. --line=<num>::
  30. Print n lines only
  31. --raw-ip::
  32. Print raw ip instead of symbol
  33. SEE ALSO
  34. --------
  35. linkperf:perf-record[1]