Home
last modified time | relevance | path

Searched refs:FtraceEvent (Results 1 – 22 of 22) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/format_parser/
Dformat_parser.cc54 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()
Dformat_parser.h31 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);
Dformat_parser_unittest.cc41 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/
Dftrace_parser.cc88 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 …]
Dsched_event_tracker.cc42 protos::pbzero::FtraceEvent::kSchedSwitchFieldNumber); in SchedEventTracker()
53 protos::pbzero::FtraceEvent::kSchedWakingFieldNumber); in SchedEventTracker()
Dftrace_tokenizer.cc72 protos::pbzero::FtraceEvent::kTimestampFieldNumber; in TokenizeFtraceEvent()
/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table.cc41 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 …]
Dproto_translation_table.h83 FtraceEvent::Field timestamp{};
84 FtraceEvent::Field overwrite{};
85 FtraceEvent::Field size{};
180 uint16_t CreateGenericEventField(const FtraceEvent::Field& ftrace_field,
Dcompact_sched.cc158 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()
Dcpu_reader_unittest.cc410 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()
Dcpu_reader.cc599 protos::pbzero::FtraceEvent* event = bundle->add_event(); in ParsePagePayload()
645 protos::pbzero::FtraceEvent::kGenericFieldNumber)) { in ParseEvent()
662 protos::pbzero::FtraceEvent::kTaskRenameFieldNumber)) { in ParseEvent()
Dproto_translation_table_unittest.cc462 protos::pbzero::FtraceEvent::kGenericFieldNumber); in TEST()
464 protos::pbzero::FtraceEvent::kGenericFieldNumber); in TEST()
/external/perfetto/tools/ftrace_proto_gen/
Dftrace_proto_gen_unittest.cc24 using Field = FtraceEvent::Field; in TEST()
61 FtraceEvent input; in TEST()
Dftrace_proto_gen.cc88 const FtraceEvent& format, in GenerateProto()
95 for (const FtraceEvent::Field& field : format.fields) { in GenerateProto()
Dftrace_proto_gen.h33 const FtraceEvent& format,
Dproto_gen_utils.h93 ProtoType InferProtoType(const FtraceEvent::Field& field);
Dmain.cc186 perfetto::FtraceEvent format; in main()
Dproto_gen_utils.cc194 ProtoType InferProtoType(const FtraceEvent::Field& field) { in InferProtoType()
/external/perfetto/protos/perfetto/trace/ftrace/
Dftrace_event_bundle.proto28 repeated FtraceEvent event = 2;
Dftrace_event.proto66 message FtraceEvent { message
/external/perfetto/tools/compact_reencode/
Dmain.cc111 protos::pbzero::FtraceEvent::Decoder event(*event_it); in ReEncodeBundle()
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto5169 message FtraceEvent { message
5565 repeated FtraceEvent event = 2;