Lines Matching refs:perfetto

141 bool ShouldSampleSmapsEntry(const perfetto::profiling::SmapsEntry& e) {  in ShouldSampleSmapsEntry()
175 bool IsOomeHeapDumpAllowed(const perfetto::DataSourceConfig& ds_config) { in IsOomeHeapDumpAllowed()
181 perfetto::DataSourceConfig::SESSION_INITIATOR_TRUSTED_SYSTEM) { in IsOomeHeapDumpAllowed()
188 class JavaHprofDataSource : public perfetto::DataSource<JavaHprofDataSource> {
190 constexpr static perfetto::BufferExhaustedPolicy kBufferExhaustedPolicy =
191 perfetto::BufferExhaustedPolicy::kStall;
209 std::unique_ptr<perfetto::protos::pbzero::JavaHprofConfig::Decoder> cfg( in OnSetup()
210 new perfetto::protos::pbzero::JavaHprofConfig::Decoder( in OnSetup()
285 static bool IsOomeDumpEnabled(const perfetto::protos::pbzero::JavaHprofConfig::Decoder& cfg) { in IsOomeDumpEnabled()
313 perfetto::TracingInitArgs args; in SetupDataSource()
314 args.backends = perfetto::BackendType::kSystemBackend; in SetupDataSource()
315 perfetto::Tracing::Initialize(args); in SetupDataSource()
317 perfetto::DataSourceDescriptor dsd; in SetupDataSource()
360 perfetto::protos::pbzero::HeapGraph* GetHeapGraph() { in GetHeapGraph()
405 perfetto::DataSource<JavaHprofDataSource>::TraceContext::TracePacketHandle
407 perfetto::protos::pbzero::HeapGraph* heap_graph_ = nullptr;
470 perfetto::protos::pbzero::HeapGraphRoot::Type ToProtoType(art::RootType art_type) { in ToProtoType()
471 using perfetto::protos::pbzero::HeapGraphRoot; in ToProtoType()
506 perfetto::protos::pbzero::HeapGraphType::Kind ProtoClassKind(uint32_t class_flags) { in ProtoClassKind()
507 using perfetto::protos::pbzero::HeapGraphType; in ProtoClassKind()
553 perfetto::profiling::ParseSmaps(smaps, in DumpSmaps()
554 [&smaps_packet](const perfetto::profiling::SmapsEntry& e) { in DumpSmaps()
678 perfetto::protos::pbzero::HeapGraphRoot* root_proto = writer.GetHeapGraph()->add_roots(); in DumpRootObjects()
708 perfetto::protos::pbzero::InternedString* location_proto = in WriteInternedData()
717 perfetto::protos::pbzero::InternedString* field_proto = in WriteInternedData()
747 perfetto::protos::pbzero::HeapGraphObject* object_proto = writer.GetHeapGraph()->add_objects(); in WriteOneObject()
769 perfetto::protos::pbzero::HeapGraphType* type_proto = writer.GetHeapGraph()->add_types(); in WriteClass()
794 perfetto::protos::pbzero::HeapGraphType* type_proto = writer.GetHeapGraph()->add_types(); in WriteSyntheticClassFromObj()
808 perfetto::protos::pbzero::HeapGraphObject* object_proto) in FillReferences()
874 perfetto::protos::pbzero::HeapGraphObject* object_proto) const in FillFieldValues()
1152 perfetto::Tracing::ActivateTriggers({"com.android.telemetry.art-outofmemory"}, 500); in DumpPerfettoOutOfMemory()
1284 namespace perfetto { namespace