Searched refs:to_json (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/perf/ |
| H A D | builtin-data.c | 31 const char *to_json; variable 42 OPT_STRING(0, "to-json", &to_json, NULL, "Convert to JSON format"), 64 if (to_json && to_ctf) { in cmd_data_convert() 69 if (!to_json && !to_ctf) { in cmd_data_convert() 74 if (!to_json) { in cmd_data_convert() 80 if (to_json) in cmd_data_convert() 81 return bt_convert__perf2json(input_name, to_json, &opts); in cmd_data_convert()
|
| /linux/tools/perf/scripts/python/ |
| H 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())
|