Home
last modified time | relevance | path

Searched refs:GetEventById (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table_unittest.cc240 EXPECT_FALSE(table->GetEventById(43ul)); in TEST_P()
241 ASSERT_TRUE(table->GetEventById(42ul)); in TEST_P()
245 auto event = table->GetEventById(42); in TEST_P()
407 EXPECT_EQ(table.GetEventById(1)->name, "foo"); in TEST()
408 EXPECT_EQ(table.GetEventById(3), nullptr); in TEST()
409 EXPECT_EQ(table.GetEventById(200), nullptr); in TEST()
410 EXPECT_EQ(table.GetEventById(0), nullptr); in TEST()
461 EXPECT_EQ(static_cast<int>(table->GetEventById(42)->proto_field_id), in TEST()
Dproto_translation_table.h124 const Event* GetEventById(size_t id) const { in GetEventById() function
Dcpu_reader.cc627 const Event& info = *table->GetEventById(ftrace_event_id); in ParseEvent()
Dftrace_config_muxer.cc585 const Event* event = table_->GetEventById(id); in RemoveConfig()