Home
last modified time | relevance | path

Searched refs:proto_field_id (Results 1 – 10 of 10) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Devent_info.cc20 event->proto_field_id = 50; in GetStaticEventInfo()
36 event->proto_field_id = 51; in GetStaticEventInfo()
45 event->proto_field_id = 52; in GetStaticEventInfo()
59 event->proto_field_id = 53; in GetStaticEventInfo()
68 event->proto_field_id = 54; in GetStaticEventInfo()
77 event->proto_field_id = 55; in GetStaticEventInfo()
86 event->proto_field_id = 323; in GetStaticEventInfo()
99 event->proto_field_id = 45; in GetStaticEventInfo()
115 event->proto_field_id = 115; in GetStaticEventInfo()
129 event->proto_field_id = 116; in GetStaticEventInfo()
[all …]
Dproto_translation_table_unittest.cc83 EXPECT_TRUE(event.proto_field_id); in TEST_P()
85 EXPECT_TRUE(field.proto_field_id); in TEST_P()
93 EXPECT_EQ(pid_field.proto_field_id, 2u); in TEST_P()
117 EXPECT_EQ(pid_field.proto_field_id, 2u); in TEST()
185 event->proto_field_id = 21; in TEST_P()
191 field->proto_field_id = 501; in TEST_P()
200 field->proto_field_id = 502; in TEST_P()
209 field->proto_field_id = 503; in TEST_P()
218 field->proto_field_id = 504; in TEST_P()
229 event->proto_field_id = 22; in TEST_P()
[all …]
Dproto_translation_table.cc118 PERFETTO_DCHECK(field->proto_field_id); in MergeFieldInfo()
214 uint32_t* proto_field_id) { in SetProtoType() argument
221 *proto_field_id = GenericFtraceEvent::Field::kStrValueFieldNumber; in SetProtoType()
230 *proto_field_id = GenericFtraceEvent::Field::kIntValueFieldNumber; in SetProtoType()
242 *proto_field_id = GenericFtraceEvent::Field::kUintValueFieldNumber; in SetProtoType()
399 if (event.proto_field_id == in Create()
405 PERFETTO_DCHECK(event.proto_field_id); in Create()
444 return event.proto_field_id == 0 || in Create()
495 e->proto_field_id = protos::pbzero::FtraceEvent::kGenericFieldNumber; in GetOrCreateEvent()
546 &field->proto_field_id); in CreateGenericEventField()
Devent_info_unittest.cc35 ASSERT_TRUE(event.proto_field_id); in TEST()
44 ASSERT_TRUE(field.proto_field_id); in TEST()
61 ASSERT_TRUE(field.proto_field_id); in TEST()
Dcpu_reader.cc108 ReadIntoString(string_start, string_end, field.proto_field_id, message); in ReadDataLoc()
566 message->BeginNestedMessage<protozero::Message>(info.proto_field_id); in ParseEvent()
569 if (info.proto_field_id == protos::pbzero::FtraceEvent::kGenericFieldNumber) { in ParseEvent()
585 if (PERFETTO_UNLIKELY(info.proto_field_id == in ParseEvent()
612 uint32_t field_id = field.proto_field_id; in ParseField()
651 return ReadIntoString(field_start, end, field.proto_field_id, message); in ParseField()
Devent_info_constants.h142 uint32_t proto_field_id; member
160 uint32_t proto_field_id; member
Dcpu_reader_unittest.cc706 field->proto_field_id = 1; in TEST_F()
718 field->proto_field_id = 2; in TEST_F()
730 event->proto_field_id = 42; in TEST_F()
740 field->proto_field_id = 1; in TEST_F()
751 field->proto_field_id = 2; in TEST_F()
762 field->proto_field_id = 3; in TEST_F()
773 field->proto_field_id = 4; in TEST_F()
784 field->proto_field_id = 5; in TEST_F()
795 field->proto_field_id = 6; in TEST_F()
806 field->proto_field_id = 500; in TEST_F()
[all …]
Devent_info_constants.cc25 field.proto_field_id = id; in MakeField()
/external/perfetto/tools/ftrace_proto_gen/
Dftrace_proto_gen.cc206 const uint32_t proto_field_id) { in SingleEventInfo() argument
210 s += " event->proto_field_id = " + std::to_string(proto_field_id) + ";\n"; in SingleEventInfo()
Dftrace_proto_gen.h48 const uint32_t proto_field_id);