Home
last modified time | relevance | path

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

/external/perfetto/tools/ftrace_proto_gen/
Dftrace_descriptor_gen.cc61 int max_field_id = 0; in GenerateFtraceDescriptors() local
63 max_field_id = in GenerateFtraceDescriptors()
64 std::max(max_field_id, event_descriptor->field(j)->number()); in GenerateFtraceDescriptors()
66 *fout << "{\"" + event->name() + "\", " << max_field_id << ", " in GenerateFtraceDescriptors()
69 for (int j = 0; j <= max_field_id; j++) { in GenerateFtraceDescriptors()
/external/perfetto/src/protozero/protoc_plugin/
Dprotozero_generator.cc468 int max_field_id = 0; in GenerateDecoder() local
474 max_field_id = std::max(max_field_id, field->number()); in GenerateDecoder()
483 "max", std::to_string(max_field_id), "rep", in GenerateDecoder()
498 if (field->number() > max_field_id) { in GenerateDecoder()
/external/perfetto/src/trace_processor/
Dftrace_descriptors.h45 size_t max_field_id; member
Devent_tracker.cc38 PERFETTO_CHECK(descriptor->max_field_id == kSchedSwitchMaxFieldId); in EventTracker()
Dproto_trace_parser.cc273 for (size_t fid = 0; fid <= descriptor->max_field_id; fid++) { in ProtoTraceParser()