Home
last modified time | relevance | path

Searched refs:ftrace_event_id (Results 1 – 11 of 11) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dproto_translation_table.cc99 if (event.ftrace_event_id > largest_id) in BuildEventsVector()
100 largest_id = event.ftrace_event_id; in BuildEventsVector()
105 events_by_id[event.ftrace_event_id] = event; in BuildEventsVector()
406 PERFETTO_DCHECK(!event.ftrace_event_id); in Create()
428 event.ftrace_event_id = ftrace_event.id; in Create()
445 event.ftrace_event_id == 0; in Create()
466 &events_.at(event.ftrace_event_id); in ProtoTranslationTable()
467 name_to_events_[event.name].push_back(&events_.at(event.ftrace_event_id)); in ProtoTranslationTable()
468 group_to_events_[event.group].push_back(&events_.at(event.ftrace_event_id)); in ProtoTranslationTable()
494 e->ftrace_event_id = ftrace_event.id; in GetOrCreateEvent()
[all …]
Dftrace_config_muxer_unittest.cc109 event.ftrace_event_id = 1; in CreateFakeTable()
117 event.ftrace_event_id = 10; in CreateFakeTable()
125 event.ftrace_event_id = 11; in CreateFakeTable()
133 event.ftrace_event_id = 12; in CreateFakeTable()
141 event.ftrace_event_id = 13; in CreateFakeTable()
149 event.ftrace_event_id = 14; in CreateFakeTable()
157 event.ftrace_event_id = 20; in CreateFakeTable()
211 event_to_return.ftrace_event_id = 1; in TEST_F()
235 event1.ftrace_event_id = 1; in TEST_F()
243 event2.ftrace_event_id = 2; in TEST_F()
[all …]
Dproto_translation_table.h117 if (!events_.at(id).ftrace_event_id) in GetEventById()
125 return group_and_name_to_event_.at(group_and_name)->ftrace_event_id; in EventToFtraceId()
185 void AddEnabledEvent(size_t ftrace_event_id);
186 void DisableEvent(size_t ftrace_event_id);
187 bool IsEventEnabled(size_t ftrace_event_id) const;
Dproto_translation_table_unittest.cc79 if (!event.ftrace_event_id) in TEST_P()
125 EXPECT_EQ(event->ftrace_event_id, 68ul); in TEST()
134 EXPECT_EQ(event->ftrace_event_id, 70ul); in TEST()
143 EXPECT_EQ(event->ftrace_event_id, 303ul); in TEST()
244 EXPECT_EQ(event->ftrace_event_id, 42ul); in TEST_P()
323 event.ftrace_event_id = 1; in TEST()
331 event.ftrace_event_id = 2; in TEST()
339 event.ftrace_event_id = 100; in TEST()
355 EXPECT_EQ(table.GetEvent(GroupAndName("group_one", "foo"))->ftrace_event_id, in TEST()
Dcpu_reader.cc522 uint16_t ftrace_event_id; in ParsePage() local
523 if (!ReadAndAdvance<uint16_t>(&ptr, end, &ftrace_event_id)) in ParsePage()
525 if (filter->IsEventEnabled(ftrace_event_id)) { in ParsePage()
528 if (!ParseEvent(ftrace_event_id, start, next, table, event, metadata)) in ParsePage()
542 bool CpuReader::ParseEvent(uint16_t ftrace_event_id, in ParseEvent() argument
552 const Event& info = *table->GetEventById(ftrace_event_id); in ParseEvent()
Dftrace_config_muxer.cc338 if (current_state_.ftrace_events.IsEventEnabled(event->ftrace_event_id) || in SetupConfig()
340 filter.AddEnabledEvent(event->ftrace_event_id); in SetupConfig()
345 current_state_.ftrace_events.AddEnabledEvent(event->ftrace_event_id); in SetupConfig()
346 filter.AddEnabledEvent(event->ftrace_event_id); in SetupConfig()
400 current_state_.ftrace_events.DisableEvent(event->ftrace_event_id); in RemoveConfig()
Devent_info_constants.h156 uint32_t ftrace_event_id; member
Devent_info_unittest.cc38 ASSERT_FALSE(event.ftrace_event_id); in TEST()
Dcpu_reader.h169 static bool ParseEvent(uint16_t ftrace_event_id,
Dftrace_controller_unittest.cc113 event.ftrace_event_id = 1; in FakeTable()
121 event.ftrace_event_id = 10; in FakeTable()
Dcpu_reader_unittest.cc697 uint16_t ftrace_event_id = 102; in TEST_F() local
731 event->ftrace_event_id = ftrace_event_id; in TEST_F()
875 ASSERT_TRUE(CpuReader::ParseEvent(ftrace_event_id, input.get(), in TEST_F()