Walter Erquinigo 6a5355e8a1 [trace][intelpt] Support system-wide tracing [20] - Rename some fields in the schema
As discusses offline with @jj10305, we are updating some naming used throughout the code, specially in the json schema

- traceBuffer -> iptTrace
- core -> cpu

Differential Revision: https://reviews.llvm.org/D127817
2022-06-16 11:42:22 -07:00

42 lines
931 B
JSON

{
"type": "intel-pt",
"cpuInfo": {
"vendor": "GenuineIntel",
"family": 6,
"model": 79,
"stepping": 1
},
"processes": [
{
"pid": 815455,
"triple": "x86_64-*-linux",
"threads": [
{
"tid": 815455,
"iptTrace": "multi-file.trace"
}
],
"modules": [
{
"file": "a.out",
"systemPath": "a.out",
"loadAddress": 4194304,
"uuid": "D2414468-7112-B7C5-408D-FF07E30D5B17-A5BFD2C4"
},
{
"file": "libfoo.so",
"systemPath": "libfoo.so",
"loadAddress": 140737349783552,
"uuid": "B30FFEDA-8BB2-3D08-4580-C5937ED11E2B-21BE778C"
},
{
"file": "libbar.so",
"systemPath": "libbar.so",
"loadAddress": 140737347678208,
"uuid": "6633B038-EA73-D1A6-FF9A-7D0C0EDF733D-95FEA2CC"
}
]
}
]
}