perf-inject.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. perf-inject(1)
  2. ==============
  3. NAME
  4. ----
  5. perf-inject - Filter to augment the events stream with additional information
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf inject <options>'
  10. DESCRIPTION
  11. -----------
  12. perf-inject reads a perf-record event stream and repipes it to stdout. At any
  13. point the processing code can inject other events into the event stream - in
  14. this case build-ids (-b option) are read and injected as needed into the event
  15. stream.
  16. Build-ids are just the first user of perf-inject - potentially anything that
  17. needs userspace processing to augment the events stream with additional
  18. information could make use of this facility.
  19. OPTIONS
  20. -------
  21. -b::
  22. --build-ids::
  23. Inject build-ids into the output stream
  24. --buildid-all:
  25. Inject build-ids of all DSOs into the output stream
  26. -v::
  27. --verbose::
  28. Be more verbose.
  29. -i::
  30. --input=::
  31. Input file name. (default: stdin)
  32. -o::
  33. --output=::
  34. Output file name. (default: stdout)
  35. -s::
  36. --sched-stat::
  37. Merge sched_stat and sched_switch for getting events where and how long
  38. tasks slept. sched_switch contains a callchain where a task slept and
  39. sched_stat contains a timeslice how long a task slept.
  40. --kallsyms=<file>::
  41. kallsyms pathname
  42. --itrace::
  43. Decode Instruction Tracing data, replacing it with synthesized events.
  44. Options are:
  45. include::itrace.txt[]
  46. --strip::
  47. Use with --itrace to strip out non-synthesized events.
  48. -j::
  49. --jit::
  50. Process jitdump files by injecting the mmap records corresponding to jitted
  51. functions. This option also generates the ELF images for each jitted function
  52. found in the jitdumps files captured in the input perf.data file. Use this option
  53. if you are monitoring environment using JIT runtimes, such as Java, DART or V8.
  54. -f::
  55. --force::
  56. Don't complain, do it.
  57. SEE ALSO
  58. --------
  59. linkperf:perf-record[1], linkperf:perf-report[1], linkperf:perf-archive[1],
  60. linkperf:perf-intel-pt[1]