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