/external/perfetto/src/trace_processor/util/ |
D | protozero_to_text_unittests.cc | 38 using perfetto::protos::pbzero::TrackEvent; in TEST() 39 protozero::HeapBuffered<TrackEvent> msg{kChunkSize, kChunkSize}; in TEST() 56 using perfetto::protos::pbzero::TrackEvent; in TEST() 57 protozero::HeapBuffered<TrackEvent> msg{kChunkSize, kChunkSize}; in TEST() 94 using perfetto::protos::pbzero::TrackEvent; in TEST() 95 protozero::HeapBuffered<TrackEvent> msg{kChunkSize, kChunkSize}; in TEST() 96 msg->set_type(TrackEvent::TYPE_SLICE_BEGIN); in TEST() 111 using perfetto::protos::pbzero::TrackEvent; in TEST() 112 protozero::HeapBuffered<TrackEvent> msg{kChunkSize, kChunkSize}; in TEST() 129 using perfetto::protos::pbzero::TrackEvent; in TEST() [all …]
|
/external/perfetto/include/perfetto/tracing/internal/ |
D | track_event_macros.h | 87 struct PERFETTO_COMPONENT_EXPORT TrackEvent \ 89 TrackEvent, &internal::kCategoryRegistry> {} 116 tns::TrackEvent::CallIfEnabled( \ 118 tns::TrackEvent::TraceForCategory(instances, category, \ 122 tns::TrackEvent::CallIfCategoryEnabled( \ 125 tns::TrackEvent::TraceForCategory( \ 156 ? ::PERFETTO_TRACK_EVENT_NAMESPACE::TrackEvent:: \ 158 : ::PERFETTO_TRACK_EVENT_NAMESPACE::TrackEvent::IsCategoryEnabled( \
|
D | track_event_data_source.h | 234 perfetto::protos::pbzero::TrackEvent::Type type, 255 perfetto::protos::pbzero::TrackEvent::Type type, 272 perfetto::protos::pbzero::TrackEvent::Type type, 293 perfetto::protos::pbzero::TrackEvent::Type type, 308 perfetto::protos::pbzero::TrackEvent::Type type, 311 PERFETTO_DCHECK(type == perfetto::protos::pbzero::TrackEvent::TYPE_COUNTER); 325 perfetto::protos::pbzero::TrackEvent::Type type, 329 PERFETTO_DCHECK(type == perfetto::protos::pbzero::TrackEvent::TYPE_COUNTER); 427 perfetto::protos::pbzero::TrackEvent::Type type, 474 type != protos::pbzero::TrackEvent::TYPE_SLICE_END && [all …]
|
/external/perfetto/include/perfetto/tracing/ |
D | track_event.h | 182 PERFETTO_TRACK_EVENT_NAMESPACE::TrackEvent, \ 192 PERFETTO_TRACK_EVENT_NAMESPACE::TrackEvent, \ 296 ::perfetto::protos::pbzero::TrackEvent::TYPE_SLICE_BEGIN, ##__VA_ARGS__) 302 ::perfetto::protos::pbzero::TrackEvent::TYPE_SLICE_END, ##__VA_ARGS__) 312 ::perfetto::protos::pbzero::TrackEvent::TYPE_INSTANT, ##__VA_ARGS__) 359 ::perfetto::protos::pbzero::TrackEvent::TYPE_COUNTER, \
|
D | event_context.h | 46 protos::pbzero::TrackEvent* event, 58 template <typename EventType = protos::pbzero::TrackEvent> 63 sizeof(EventType) == sizeof(protos::pbzero::TrackEvent), in event() 90 protos::pbzero::TrackEvent* event_;
|
D | track_event_state_tracker.h | 32 class TrackEvent; variable 95 const perfetto::protos::pbzero::TrackEvent::Decoder&); 98 const perfetto::protos::pbzero::TrackEvent::Decoder& track_event;
|
D | track_event_legacy.h | 288 void Write(protos::pbzero::TrackEvent::LegacyEvent*, 309 static constexpr protos::pbzero::TrackEvent::Type PhaseToType(char phase) { in PhaseToType() 312 protos::pbzero::TrackEvent::TYPE_SLICE_BEGIN : in PhaseToType() 314 protos::pbzero::TrackEvent::TYPE_SLICE_END : in PhaseToType() 316 protos::pbzero::TrackEvent::TYPE_INSTANT : in PhaseToType() 317 protos::pbzero::TrackEvent::TYPE_UNSPECIFIED; in PhaseToType() 397 if (PhaseToType(phase) == protos::pbzero::TrackEvent::TYPE_UNSPECIFIED) in NeedLegacyFlags() 412 protos::pbzero::TrackEvent::LegacyEvent* legacy_event, in SetLegacyFlags() 415 if (PhaseToType(phase) == protos::pbzero::TrackEvent::TYPE_UNSPECIFIED) in SetLegacyFlags() 427 protos::pbzero::TrackEvent::LegacyEvent::FLOW_INOUT); in SetLegacyFlags() [all …]
|
/external/perfetto/examples/sdk/ |
D | example_system_wide.cc | 28 Observer() { perfetto::TrackEvent::AddSessionObserver(this); } in Observer() 29 ~Observer() { perfetto::TrackEvent::RemoveSessionObserver(this); } in ~Observer() 39 cv.wait(lock, [] { return perfetto::TrackEvent::IsEnabled(); }); in WaitForTracingStart() 55 perfetto::TrackEvent::Register(); in InitializePerfetto() 83 perfetto::TrackEvent::Flush(); in main()
|
D | example.cc | 33 perfetto::TrackEvent::Register(); in InitializePerfetto() 53 perfetto::TrackEvent::Flush(); in StopTracing() 94 perfetto::TrackEvent::SetTrackDescriptor(process_track, desc); in main()
|
D | example_console.cc | 29 perfetto::TrackEvent::Register(); in InitializePerfetto()
|
/external/perfetto/src/tracing/test/ |
D | api_integrationtest.cc | 156 return {TrackEvent::GetTraceClockId(), timestamp.ts}; in ConvertTimestampToTraceTimeNs() 386 perfetto::TrackEvent::Register(); in SetUp() 478 perfetto::protos::gen::TrackEvent::TYPE_SLICE_BEGIN) in ReadLogMessagesFromTrace() 571 case perfetto::protos::gen::TrackEvent::TYPE_SLICE_BEGIN: in ReadSlicesFromTrace() 574 case perfetto::protos::gen::TrackEvent::TYPE_SLICE_END: in ReadSlicesFromTrace() 577 case perfetto::protos::gen::TrackEvent::TYPE_INSTANT: in ReadSlicesFromTrace() 580 case perfetto::protos::gen::TrackEvent::TYPE_UNSPECIFIED: { in ReadSlicesFromTrace() 588 case perfetto::protos::gen::TrackEvent::TYPE_COUNTER: in ReadSlicesFromTrace() 848 TEST_P(PerfettoApiTest, TrackEvent) { in TEST_P() argument 856 perfetto::TrackEvent::Flush(); in TEST_P() [all …]
|
D | tracing_module.cc | 32 TrackEvent::Register(); in InitializeCategories() 48 TrackEvent::Trace([&state](TrackEvent::TraceContext ctx) { in GetIncrementalState()
|
/external/perfetto/src/tracing/ |
D | track_event_state_tracker.cc | 45 perfetto::protos::pbzero::TrackEvent::Decoder track_event( in ProcessTracePacket() 91 case protos::pbzero::TrackEvent::TYPE_SLICE_BEGIN: { in ProcessTracePacket() 105 case protos::pbzero::TrackEvent::TYPE_SLICE_END: in ProcessTracePacket() 129 case protos::pbzero::TrackEvent::TYPE_INSTANT: in ProcessTracePacket() 131 case protos::pbzero::TrackEvent::TYPE_COUNTER: in ProcessTracePacket() 132 case protos::pbzero::TrackEvent::TYPE_UNSPECIFIED: in ProcessTracePacket() 146 if (track_event.type() == protos::pbzero::TrackEvent::TYPE_SLICE_END && in ProcessTracePacket() 255 const perfetto::protos::pbzero::TrackEvent::Decoder& track_event_) in ParsedTrackEvent()
|
D | track_event_legacy.cc | 36 void LegacyTraceId::Write(protos::pbzero::TrackEvent::LegacyEvent* event, in Write()
|
/external/perfetto/protos/perfetto/trace/track_event/ |
D | track_event.proto | 39 // NOTE: Full TrackEvent support in the client lib and chrome is WIP, thus these 47 // A simple TrackEvent packet specifies a timestamp, category, name and type: 60 // defined in a separate packet and referred to from the TrackEvent by its UUID: 105 message TrackEvent { message 128 // Type of the TrackEvent (required if |phase| in LegacyEvent is not set). 140 // does not need to repeat any TrackEvent fields it has in common with its 157 // that most other TrackEvent fields (e.g. categories, name, ..) are not 166 // here or in TrackEventDefaults, the TrackEvent will be associated with an 182 // counter values to a TrackEvent of any type. All values will share the same 190 // TrackEventDefaults and a TrackEvent, the TrackEvent uuids override the [all …]
|
D | debug_annotation.proto | 28 // values are prone to breakage, so please rely on typed TrackEvent fields for 33 // set the "name" field. The TrackEvent message forms an implicit root 36 // Example TrackEvent with nested annotations:
|
D | track_descriptor.proto | 28 // will be nested based on their timestamps, see TrackEvent::Type. 37 // |TrackEvent::track_uuid|. It is possible but not necessary to emit a 84 // TYPE_COUNTER TrackEvents (and values provided via TrackEvent's
|
/external/perfetto/docs/instrumentation/ |
D | track-events.md | 76 perfetto::TrackEvent::Register(); // Add this. 168 message TrackEvent { 292 the name and filling in the `TrackEvent::name` field manually. 331 (, "debug_name", debug_value |, TrackEvent::kFieldName, value)* 337 1. A lambda for writing custom TrackEvent fields: 370 4. Arbitrary number of TrackEvent fields (including extensions): 374 perfetto::protos::pbzero::TrackEvent::kFieldName, value); 377 5. Arbitrary combination of debug annotations and TrackEvent fields: 381 perfetto::protos::pbzero::TrackEvent::kFieldName, value1, 385 6. Arbitrary combination of debug annotations / TrackEvent fields and a lambda: [all …]
|
/external/perfetto/test/trace_processor/track_event/ |
D | track_event_typed_args.textproto | 94 extendee: ".perfetto.protos.TrackEvent" 101 extendee: ".perfetto.protos.TrackEvent" 108 extendee: ".perfetto.protos.TrackEvent"
|
D | track_event_tracks.textproto | 253 # TrackEvent type. Should appear on the default descriptor track instead of 266 # But a legacy event without TrackEvent type falls back to legacy tracks (based 283 # And pid/tid overrides take effect even for TrackEvent type events.
|
/external/perfetto/src/tracing/internal/ |
D | track_event_internal.cc | 358 perfetto::protos::pbzero::TrackEvent::Type type, in WriteEvent() 367 if (type != protos::pbzero::TrackEvent::TYPE_UNSPECIFIED) in WriteEvent() 373 if (category && type != protos::pbzero::TrackEvent::TYPE_SLICE_END && in WriteEvent() 374 type != protos::pbzero::TrackEvent::TYPE_COUNTER) { in WriteEvent() 383 if (name && type != protos::pbzero::TrackEvent::TYPE_SLICE_END) { in WriteEvent()
|
/external/perfetto/docs/design-docs/ |
D | extensions.md | 27 extend TrackEvent { 32 Is going to generate a subclass of `TrackEvent` called `MyEvent`, that is going 34 fields defined in `TrackEvent`. 52 Deserialization of protobuf extension are supported only for TrackEvent message
|
/external/perfetto/protos/perfetto/trace/ |
D | test_extensions.proto | 23 // Extensions for TrackEvent used for integration testing. This proto file is 28 extend TrackEvent {
|
/external/perfetto/protos/third_party/chromium/ |
D | BUILD.gn | 13 # full TrackEvent descriptor is going to be included as well, increasing the
|
/external/perfetto/protos/perfetto/trace/chrome/ |
D | chrome_trace_event.proto | 41 // Deprecated, use TrackEvent protos instead. 113 // Deprecated, use TrackEvent protos instead.
|