/external/perfetto/src/traced/probes/ftrace/format_parser/ |
D | format_parser.cc | 54 std::vector<FtraceEvent::Field>* common_fields, in ParseFtraceEventBody() 55 std::vector<FtraceEvent::Field>* fields, in ParseFtraceEventBody() 71 FtraceEvent::Field field{type_and_name, offset, size, is_signed == 1}; in ParseFtraceEventBody() 125 std::vector<FtraceEvent::Field>* common_fields, in ParseFtraceEventBody() 126 std::vector<FtraceEvent::Field>* fields, in ParseFtraceEventBody() 133 bool ParseFtraceEvent(std::string input, FtraceEvent* output) { in ParseFtraceEvent() 141 std::vector<FtraceEvent::Field> common_fields; in ParseFtraceEvent() 142 std::vector<FtraceEvent::Field> fields; in ParseFtraceEvent() 189 const FtraceEvent::Field& field) { in operator <<() 195 void PrintTo(const FtraceEvent::Field& field, ::std::ostream* os) { in PrintTo()
|
D | format_parser.h | 31 struct FtraceEvent { struct 57 ::std::ostream& operator<<(::std::ostream& os, const FtraceEvent::Field&); 58 void PrintTo(const FtraceEvent::Field& args, ::std::ostream* os); 73 std::vector<FtraceEvent::Field>* common_fields, 74 std::vector<FtraceEvent::Field>* fields, 91 bool ParseFtraceEvent(std::string input, FtraceEvent* output = nullptr);
|
D | format_parser_unittest.cc | 41 FtraceEvent output; in TEST() 49 Eq(FtraceEvent::Field{"char client_name[64]", 8, 64, false}), in TEST() 50 Eq(FtraceEvent::Field{"const char * heap_name", 72, 4, true}))); in TEST() 54 Eq(FtraceEvent::Field{"unsigned short common_type", 0, 2, false}), in TEST() 55 Eq(FtraceEvent::Field{"unsigned char common_flags", 2, 1, false}), in TEST() 56 Eq(FtraceEvent::Field{"unsigned char common_preempt_count", 3, 1, in TEST() 58 Eq(FtraceEvent::Field{"int common_pid", 4, 4, true}))); in TEST()
|
/external/perfetto/src/trace_processor/importers/ftrace/ |
D | ftrace_parser.cc | 88 protos::pbzero::FtraceEvent::kSchedBlockedReasonFieldNumber, 91 protos::pbzero::FtraceEvent::kWorkqueueExecuteStartFieldNumber, 95 protos::pbzero::FtraceEvent::kWorkqueueQueueWorkFieldNumber, 308 using protos::pbzero::FtraceEvent; in ParseFtraceEvent() 335 if (auto pid_field = decoder.FindField(FtraceEvent::kPidFieldNumber)) { in ParseFtraceEvent() 343 bool is_metadata_field = fld.id() == FtraceEvent::kPidFieldNumber || in ParseFtraceEvent() 344 fld.id() == FtraceEvent::kTimestampFieldNumber; in ParseFtraceEvent() 349 if (fld.id() == FtraceEvent::kGenericFieldNumber) { in ParseFtraceEvent() 351 } else if (fld.id() != FtraceEvent::kSchedSwitchFieldNumber) { in ParseFtraceEvent() 357 case FtraceEvent::kSchedSwitchFieldNumber: { in ParseFtraceEvent() [all …]
|
D | sched_event_tracker.cc | 42 protos::pbzero::FtraceEvent::kSchedSwitchFieldNumber); in SchedEventTracker() 53 protos::pbzero::FtraceEvent::kSchedWakingFieldNumber); in SchedEventTracker()
|
D | ftrace_tokenizer.cc | 72 protos::pbzero::FtraceEvent::kTimestampFieldNumber; in TokenizeFtraceEvent()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | proto_translation_table.cc | 41 const std::vector<FtraceEvent::Field>& fields) { in MakeFtracePageHeaderSpec() 43 for (const FtraceEvent::Field& field : fields) { in MakeFtracePageHeaderSpec() 91 spec.timestamp = FtraceEvent::Field{"u64 timestamp", 0, 8, 0}; in GuessFtracePageHeaderSpec() 92 spec.size = FtraceEvent::Field{"local_t commit", 8, commit_size, 1}; in GuessFtracePageHeaderSpec() 93 spec.overwrite = FtraceEvent::Field{"int overwrite", 8, 1, 1}; in GuessFtracePageHeaderSpec() 115 bool MergeFieldInfo(const FtraceEvent::Field& ftrace_field, in MergeFieldInfo() 160 uint16_t MergeFields(const std::vector<FtraceEvent::Field>& ftrace_fields, in MergeFields() 170 for (const FtraceEvent::Field& ftrace_field : ftrace_fields) { in MergeFields() 382 std::vector<FtraceEvent::Field> page_header_fields; in DefaultPageHeaderSpecForTesting() 400 std::vector<FtraceEvent::Field> page_header_fields; in Create() [all …]
|
D | proto_translation_table.h | 83 FtraceEvent::Field timestamp{}; 84 FtraceEvent::Field overwrite{}; 85 FtraceEvent::Field size{}; 180 uint16_t CreateGenericEventField(const FtraceEvent::Field& ftrace_field,
|
D | compact_sched.cc | 158 using protos::pbzero::FtraceEvent; in ValidateFormatForCompactSched() 163 if (event.proto_field_id == FtraceEvent::kSchedSwitchFieldNumber) { in ValidateFormatForCompactSched() 166 if (event.proto_field_id == FtraceEvent::kSchedWakingFieldNumber) { in ValidateFormatForCompactSched()
|
D | cpu_reader_unittest.cc | 410 const protos::gen::FtraceEvent& event = bundle->event()[0]; in TEST() 534 const protos::gen::FtraceEvent& long_print = bundle->event()[0]; in TEST() 537 const protos::gen::FtraceEvent& newline = bundle->event()[1]; in TEST() 588 const protos::gen::FtraceEvent& event = bundle->event()[0]; in TEST() 691 const protos::gen::FtraceEvent& event = bundle->event()[0]; in TEST() 698 const protos::gen::FtraceEvent& event = bundle->event()[1]; in TEST() 705 const protos::gen::FtraceEvent& event = bundle->event()[2]; in TEST() 800 const protos::gen::FtraceEvent& event = bundle->event()[1]; in TEST()
|
D | cpu_reader.cc | 599 protos::pbzero::FtraceEvent* event = bundle->add_event(); in ParsePagePayload() 645 protos::pbzero::FtraceEvent::kGenericFieldNumber)) { in ParseEvent() 662 protos::pbzero::FtraceEvent::kTaskRenameFieldNumber)) { in ParseEvent()
|
D | proto_translation_table_unittest.cc | 462 protos::pbzero::FtraceEvent::kGenericFieldNumber); in TEST() 464 protos::pbzero::FtraceEvent::kGenericFieldNumber); in TEST()
|
/external/perfetto/tools/ftrace_proto_gen/ |
D | ftrace_proto_gen_unittest.cc | 24 using Field = FtraceEvent::Field; in TEST() 61 FtraceEvent input; in TEST()
|
D | ftrace_proto_gen.cc | 88 const FtraceEvent& format, in GenerateProto() 95 for (const FtraceEvent::Field& field : format.fields) { in GenerateProto()
|
D | ftrace_proto_gen.h | 33 const FtraceEvent& format,
|
D | proto_gen_utils.h | 93 ProtoType InferProtoType(const FtraceEvent::Field& field);
|
D | main.cc | 186 perfetto::FtraceEvent format; in main()
|
D | proto_gen_utils.cc | 194 ProtoType InferProtoType(const FtraceEvent::Field& field) { in InferProtoType()
|
/external/perfetto/protos/perfetto/trace/ftrace/ |
D | ftrace_event_bundle.proto | 28 repeated FtraceEvent event = 2;
|
D | ftrace_event.proto | 66 message FtraceEvent { message
|
/external/perfetto/tools/compact_reencode/ |
D | main.cc | 111 protos::pbzero::FtraceEvent::Decoder event(*event_it); in ReEncodeBundle()
|
/external/perfetto/protos/perfetto/trace/ |
D | perfetto_trace.proto | 5169 message FtraceEvent { message 5565 repeated FtraceEvent event = 2;
|