Searched refs:event_proto (Results 1 – 6 of 6) sorted by relevance
/external/perf_data_converter/src/ |
D | perf_data_handler.cc | 188 for (const auto& event_proto : perf_proto_.events()) { in Normalize() local 189 if (event_proto.has_mmap_event()) { in Normalize() 190 UpdateMapsWithMMapEvent(&event_proto.mmap_event()); in Normalize() 191 } else if (event_proto.has_comm_event()) { in Normalize() 192 if (event_proto.comm_event().pid() == event_proto.comm_event().tid()) { in Normalize() 194 pid_to_executable_mmap_.erase(event_proto.comm_event().pid()); in Normalize() 195 pid_to_comm_event_[event_proto.comm_event().pid()] = in Normalize() 196 &event_proto.comm_event(); in Normalize() 199 comm_context.comm = &event_proto.comm_event(); in Normalize() 201 } else if (event_proto.has_fork_event()) { in Normalize() [all …]
|
/external/perf_data_converter/src/quipper/ |
D | perf_serializer.cc | 184 PerfDataProto_PerfEvent* event_proto) const { in SerializeEvent() 187 if (!SerializeEventHeader(event.header, event_proto->mutable_header())) in SerializeEvent() 191 if (!SerializeUserEvent(event, event_proto)) { in SerializeEvent() 194 } else if (!SerializeKernelEvent(event, event_proto)) { in SerializeEvent() 198 event_proto->set_timestamp(GetTimeFromPerfEvent(*event_proto)); in SerializeEvent() 203 const event_t& event, PerfDataProto_PerfEvent* event_proto) const { in SerializeKernelEvent() 206 return SerializeSampleEvent(event, event_proto->mutable_sample_event()); in SerializeKernelEvent() 208 return SerializeMMapEvent(event, event_proto->mutable_mmap_event()); in SerializeKernelEvent() 210 return SerializeMMap2Event(event, event_proto->mutable_mmap_event()); in SerializeKernelEvent() 212 return SerializeCommEvent(event, event_proto->mutable_comm_event()); in SerializeKernelEvent() [all …]
|
D | perf_serializer.h | 67 PerfDataProto_PerfEvent* event_proto) const; 68 bool DeserializeEvent(const PerfDataProto_PerfEvent& event_proto, 239 PerfDataProto_PerfEvent* event_proto) const; 241 PerfDataProto_PerfEvent* event_proto) const; 243 bool DeserializeKernelEvent(const PerfDataProto_PerfEvent& event_proto, 245 bool DeserializeUserEvent(const PerfDataProto_PerfEvent& event_proto,
|
/external/perfetto/tools/ftrace_proto_gen/ |
D | main.cc | 192 perfetto::Proto event_proto; in main() local 193 if (!perfetto::GenerateProto(format, &event_proto)) { in main() 198 proto.MergeFrom(event_proto); in main()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_io_utils.h | 192 static Status DumpEventProtoToFile(const Event& event_proto, 361 const Event& event_proto, const string& grpc_stream_url,
|
D | debug_io_utils.cc | 619 Status DebugFileIO::DumpEventProtoToFile(const Event& event_proto, in DumpEventProtoToFile() argument 634 event_proto.SerializeToString(&event_str); in DumpEventProtoToFile() 871 const Event& event_proto, const string& grpc_stream_url, in SendEventProtoThroughGrpcStream() argument 877 bool write_ok = debug_grpc_channel->WriteEvent(event_proto); in SendEventProtoThroughGrpcStream()
|