Home
last modified time | relevance | path

Searched refs:pid_field (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table_unittest.cc93 const Field& pid_field = table_->common_fields().at(0); in TEST_P() local
94 EXPECT_EQ(std::string(pid_field.ftrace_name), "common_pid"); in TEST_P()
95 EXPECT_EQ(pid_field.proto_field_id, 2u); in TEST_P()
118 const Field& pid_field = table->common_fields().at(0); in TEST() local
119 EXPECT_EQ(std::string(pid_field.ftrace_name), "common_pid"); in TEST()
120 EXPECT_EQ(pid_field.proto_field_id, 2u); in TEST()
121 EXPECT_EQ(pid_field.ftrace_offset, 4u); in TEST()
122 EXPECT_EQ(pid_field.ftrace_size, 4u); in TEST()
/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_parser.cc335 if (auto pid_field = decoder.FindField(FtraceEvent::kPidFieldNumber)) { in ParseFtraceEvent() local
336 raw_pid = pid_field.as_uint64(); in ParseFtraceEvent()