Files
clang-p2996/llvm/test/tools/llvm-ctxprof-util/Inputs/valid.json
Mircea Trofin a737b8704c [ctx_prof] test tool: generate ctxprof bistream from json (#100379)
This is a tool to simplify testing. It generates a valid contextual profile file from a json representation.

The tool is authored to allow for future evolution, e.g. if we want to support profile merging or other tasks, not necessarily scoped to testing.
2024-07-25 15:52:49 -04:00

48 lines
604 B
JSON

[
{
"Guid": 1000,
"Counters": [
1,
2,
3
],
"Callsites": [
[],
[
{
"Guid": 2000,
"Counters": [
4,
5
]
},
{
"Guid": 18446744073709551613,
"Counters": [
6,
7,
8
]
}
],
[
{
"Guid": 3000,
"Counters": [
40,
50
]
}
]
]
},
{
"Guid": 18446744073709551612,
"Counters": [
5,
9,
10
]
}
]