Lines Matching refs:bundle_description
134 json::Value toJSON(const JSONTraceBundleDescription &bundle_description) { in toJSON() argument
136 {"type", bundle_description.type}, in toJSON()
137 {"processes", bundle_description.processes}, in toJSON()
140 {"cpuInfo", toJSON(bundle_description.cpu_info)}, in toJSON()
141 {"cpus", bundle_description.cpus}, in toJSON()
142 {"tscPerfZeroConversion", bundle_description.tsc_perf_zero_conversion}, in toJSON()
143 {"kernel", bundle_description.kernel}}; in toJSON()
147 JSONTraceBundleDescription &bundle_description, Path path) { in fromJSON() argument
149 if (!(o && o.map("processes", bundle_description.processes) && in fromJSON()
150 o.map("type", bundle_description.type) && in fromJSON()
151 o.map("cpus", bundle_description.cpus) && in fromJSON()
153 bundle_description.tsc_perf_zero_conversion) && in fromJSON()
154 o.map("kernel", bundle_description.kernel))) in fromJSON()
156 if (bundle_description.cpus && !bundle_description.tsc_perf_zero_conversion) { in fromJSON()
164 bundle_description.cpu_info, path.field("cpuInfo"))) in fromJSON()
170 if (bundle_description.kernel) { in fromJSON()
171 if (bundle_description.processes && in fromJSON()
172 !bundle_description.processes->empty()) { in fromJSON()
176 if (!bundle_description.cpus) { in fromJSON()
180 } else if (!bundle_description.processes) { in fromJSON()