Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dperfetto_trace_writer.py64 event_names = _interned_event_names_by_tid[tid]
65 if event_name not in event_names:
67 event_names[event_name] = len(event_names) + 1
71 trace_packet.interned_data.legacy_event_name.iid = event_names[event_name]
73 return event_names[event_name]
/external/perfetto/src/tracing/
Dtrack_event_state_tracker.cc76 name.data = sequence_state.event_names[name_iid].data(); in ProcessTracePacket()
77 name.size = sequence_state.event_names[name_iid].size(); in ProcessTracePacket()
109 name.data = sequence_state.event_names[prev_frame.name_iid].data(); in ProcessTracePacket()
110 name.size = sequence_state.event_names[prev_frame.name_iid].size(); in ProcessTracePacket()
173 frame.name = sequence_state.event_names[frame.name_iid]; in UpdateIncrementalState()
181 sequence_state.event_names.clear(); in UpdateIncrementalState()
190 for (auto it = interned_data.event_names(); it; it++) { in UpdateIncrementalState()
192 sequence_state.event_names[entry.iid()] = entry.name().ToStdString(); in UpdateIncrementalState()
/external/perfetto/docs/instrumentation/
Dinterceptors.md114 std::map<size_t, std::string> event_names;
130 tls.event_names.clear();
132 for (const auto& entry : parsed_packet.interned_data().event_names())
133 tls.event_names[entry.iid()] = entry.name();
138 const std::string& event_name = tls.event_names[name_iid];
/external/autotest/client/cros/graphics/
Dgraphics_uinput.py116 def emit_combo(device, event_names, syn=True): argument
121 events = [translate_name(en) for en in event_names]
/external/perfetto/include/perfetto/tracing/
Dtrack_event_state_tracker.h80 std::map<uint64_t /*iid*/, std::string> event_names; member
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc507 std::map<uint64_t, std::string> event_names; in ReadSlicesFromTrace() local
521 event_names.clear(); in ReadSlicesFromTrace()
550 for (const auto& it : interned_data.event_names()) { in ReadSlicesFromTrace()
551 EXPECT_EQ(event_names.find(it.iid()), event_names.end()); in ReadSlicesFromTrace()
552 event_names[it.iid()] = it.name(); in ReadSlicesFromTrace()
626 slice += "." + event_names[track_event.name_iid()]; in ReadSlicesFromTrace()
865 std::map<uint64_t, std::string> event_names; in TEST_P() local
898 event_names.clear(); in TEST_P()
923 for (const auto& it : interned_data.event_names()) { in TEST_P()
924 EXPECT_EQ(event_names.find(it.iid()), event_names.end()); in TEST_P()
[all …]
/external/perfetto/src/traced/probes/ftrace/
Dftrace_config_muxer_unittest.cc352 std::set<std::string> event_names = {"foo"}; in TEST_F() local
354 .WillByDefault(Return(event_names)); in TEST_F()
359 .WillByDefault(Return(event_names)); in TEST_F()
/external/perfetto/protos/perfetto/trace/interned_data/
Dinterned_data.proto69 repeated EventName event_names = 2; field
/external/strace/
Dstrace.c2013 static const char *const event_names[] = { in print_debug_info() local
2023 if (event < ARRAY_SIZE(event_names)) in print_debug_info()
2024 e = event_names[event]; in print_debug_info()
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto7290 repeated EventName event_names = 2; field