Home
last modified time | relevance | path

Searched refs:max_field_id (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/tools/ftrace_proto_gen/
Dftrace_descriptor_gen.cc81 int max_field_id = 0; in GenerateFtraceDescriptors() local
83 max_field_id = in GenerateFtraceDescriptors()
84 std::max(max_field_id, event_descriptor->field(j)->number()); in GenerateFtraceDescriptors()
86 *fout << "{\"" + event->name() + "\", " << max_field_id << ", " in GenerateFtraceDescriptors()
89 for (int j = 0; j <= max_field_id; j++) { in GenerateFtraceDescriptors()
/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_descriptors.h47 size_t max_field_id; member
Dsched_event_tracker.cc43 PERFETTO_CHECK(switch_descriptor->max_field_id == kSchedSwitchMaxFieldId); in SchedEventTracker()
54 PERFETTO_CHECK(waking_descriptor->max_field_id == kSchedWakingMaxFieldId); in SchedEventTracker()
Dftrace_parser.cc153 for (size_t fid = 0; fid <= descriptor->max_field_id; fid++) { in FtraceParser()
/external/perfetto/src/protozero/protoc_plugin/
Dprotozero_plugin.cc621 int max_field_id = 0; in GenerateDecoder() local
627 max_field_id = std::max(max_field_id, field->number()); in GenerateDecoder()
637 "name", class_name, "max", std::to_string(max_field_id), "rep", in GenerateDecoder()
657 if (field->number() > max_field_id) { in GenerateDecoder()
Dcppgen_plugin.cc653 int max_field_id = 1; in GenClassDecl() local
656 max_field_id = std::max(max_field_id, field->number()); in GenClassDecl()
679 std::to_string(max_field_id + 1)); in GenClassDecl()
/external/perfetto/src/trace_processor/sqlite/
Dsqlite_raw_table.cc174 size_t max = descriptor->max_field_id; in ArgsSerializer()