Searched refs:to_json (Results 1 – 2 of 2) sorted by relevance
| /tools/perf/ |
| A D | builtin-data.c | 31 const char *to_json; variable 41 OPT_STRING(0, "to-json", &to_json, NULL, "Convert to JSON format"), 61 if (to_json && to_ctf) { in cmd_data_convert() 66 if (!to_json && !to_ctf) { in cmd_data_convert() 71 if (!to_json) { in cmd_data_convert() 77 if (to_json) in cmd_data_convert() 78 return bt_convert__perf2json(input_name, to_json, &opts); in cmd_data_convert()
|
| /tools/perf/scripts/python/ |
| A D | flamegraph.py | 61 def to_json(self) -> Dict[str, Union[str, int, list[Dict]]]: member in Node 66 "c": [x.to_json() for x in self.children] 148 stacks_json = json.dumps(self.stack, default=lambda x: x.to_json())
|
Completed in 5 milliseconds