perf-script-json-export.txt 723 B

123456789101112131415161718192021222324252627282930
  1. perf-script-json-export(1)
  2. ====================
  3. NAME
  4. ----
  5. perf-script-json-export - Export trace data to JSON
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf script' -g JSON:<script>
  10. 'perf script' -g <script.json>
  11. 'perf script' -s JSON:<script> [option]*
  12. 'perf script' -s <script.json> [option]*
  13. DESCRIPTION
  14. -----------
  15. This perf script option is used to export perf script data using JSON
  16. format. JSON export extesion is identified either by the 'JSON:'
  17. prefix or the '.json' file extension.
  18. Both command forms export JSON fomatted data. The '-g'/'--gen-script'
  19. option does not include actual event data. Only Definitions. '-s'
  20. version includes events and definition data (by default).
  21. SEE ALSO
  22. --------
  23. linkperf:perf-script[1]