/external/perfetto/src/trace_processor/importers/proto/ |
D | graphics_frame_event_parser.cc | 43 context->storage->InternString("graphics_frame_event")), in GraphicsFrameEventParser() 44 unknown_event_name_id_(context->storage->InternString("unknown_event")), in GraphicsFrameEventParser() 45 no_layer_name_name_id_(context->storage->InternString("no_layer_name")), in GraphicsFrameEventParser() 46 layer_name_key_id_(context->storage->InternString("layer_name")), in GraphicsFrameEventParser() 48 {context->storage->InternString( in GraphicsFrameEventParser() 50 context->storage->InternString("Dequeue") /* DEQUEUE */, in GraphicsFrameEventParser() 51 context->storage->InternString("Queue") /* QUEUE */, in GraphicsFrameEventParser() 52 context->storage->InternString("Post") /* POST */, in GraphicsFrameEventParser() 53 context->storage->InternString( in GraphicsFrameEventParser() 55 context->storage->InternString("Latch") /* LATCH */, in GraphicsFrameEventParser() [all …]
|
D | frame_timeline_event_parser.cc | 62 return context->storage->InternString("Unspecified"); in JankTypeBitmaskToStringId() 64 return context->storage->InternString("None"); in JankTypeBitmaskToStringId() 91 return context->storage->InternString(base::StringView(jank_str)); in JankTypeBitmaskToStringId() 145 {context->storage->InternString( in FrameTimelineEventParser() 147 context->storage->InternString( in FrameTimelineEventParser() 149 context->storage->InternString("Late Present") /* PRESENT_LATE */, in FrameTimelineEventParser() 150 context->storage->InternString("Early Present") /* PRESENT_EARLY */, in FrameTimelineEventParser() 151 context->storage->InternString( in FrameTimelineEventParser() 153 context->storage->InternString( in FrameTimelineEventParser() 156 {context->storage->InternString( [all …]
|
D | track_event_parser.cc | 86 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddInteger() 87 storage_.InternString(base::StringView(key.key)), in AddInteger() 95 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddUnsignedInteger() 96 storage_.InternString(base::StringView(key.key)), in AddUnsignedInteger() 100 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddString() 101 storage_.InternString(base::StringView(key.key)), in AddString() 102 Variadic::String(storage_.InternString(value))); in AddString() 105 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddDouble() 106 storage_.InternString(base::StringView(key.key)), in AddDouble() 110 inserter_.AddArg(storage_.InternString(base::StringView(key.flat_key)), in AddPointer() [all …]
|
D | gpu_event_parser.cc | 98 description_id_(context->storage->InternString("description")), in GpuEventParser() 100 context->storage->InternString("gpu_render_stage")), in GpuEventParser() 101 gpu_log_track_name_id_(context_->storage->InternString("GPU Log")), in GpuEventParser() 102 gpu_log_scope_id_(context_->storage->InternString("gpu_log")), in GpuEventParser() 103 tag_id_(context_->storage->InternString("tag")), in GpuEventParser() 104 log_message_id_(context->storage->InternString("message")), in GpuEventParser() 105 log_severity_ids_{{context_->storage->InternString("UNSPECIFIED"), in GpuEventParser() 106 context_->storage->InternString("VERBOSE"), in GpuEventParser() 107 context_->storage->InternString("DEBUG"), in GpuEventParser() 108 context_->storage->InternString("INFO"), in GpuEventParser() [all …]
|
D | system_probes_parser.cc | 105 utid_name_id_(context->storage->InternString("utid")), in SystemProbesParser() 106 num_forks_name_id_(context->storage->InternString("num_forks")), in SystemProbesParser() 107 num_irq_total_name_id_(context->storage->InternString("num_irq_total")), in SystemProbesParser() 109 context->storage->InternString("num_softirq_total")), in SystemProbesParser() 110 num_irq_name_id_(context->storage->InternString("num_irq")), in SystemProbesParser() 111 num_softirq_name_id_(context->storage->InternString("num_softirq")), in SystemProbesParser() 113 context->storage->InternString("cpu.times.user_ns")), in SystemProbesParser() 115 context->storage->InternString("cpu.times.user_nice_ns")), in SystemProbesParser() 117 context->storage->InternString("cpu.times.system_mode_ns")), in SystemProbesParser() 119 context->storage->InternString("cpu.times.idle_ns")), in SystemProbesParser() [all …]
|
D | metadata_module.cc | 35 producer_name_key_id_(context_->storage->InternString("producer_name")), in MetadataModule() 37 context_->storage->InternString("trusted_producer_uid")) { in MetadataModule() 54 StringId id = context_->storage->InternString(base::StringView(base64)); in TokenizePacket() 94 auto benchmark_name_id = storage->InternString(packet.benchmark_name()); in ParseChromeBenchmarkMetadata() 100 storage->InternString(packet.benchmark_description()); in ParseChromeBenchmarkMetadata() 105 auto label_id = storage->InternString(packet.label()); in ParseChromeBenchmarkMetadata() 110 auto story_name_id = storage->InternString(packet.story_name()); in ParseChromeBenchmarkMetadata() 115 auto story_tag_id = storage->InternString(*it); in ParseChromeBenchmarkMetadata() 147 storage->InternString("cr-playstore_version_code"), in ParseChromeMetadataPacket() 151 auto categories_id = storage->InternString(packet.enabled_categories()); in ParseChromeMetadataPacket() [all …]
|
D | proto_trace_parser.cc | 64 metatrace_id_(context->storage->InternString("metatrace")), in ProtoTraceParser() 65 data_name_id_(context->storage->InternString("data")), in ProtoTraceParser() 67 context->storage->InternString("chrome_event.metadata")), in ProtoTraceParser() 69 context->storage->InternString("chrome_event.legacy_system_trace")), in ProtoTraceParser() 71 context->storage->InternString("chrome_event.legacy_user_trace")) { in ProtoTraceParser() 252 Variadic::String(storage->InternString(metadata.string_value())); in ParseChromeEvents() 258 value = Variadic::Json(storage->InternString(metadata.json_value())); in ParseChromeEvents() 264 StringId name_id = storage->InternString(metadata.name()); in ParseChromeEvents() 278 auto metadata_id = storage->InternString(writer.GetStringView()); in ParseChromeEvents() 294 Variadic::String(storage->InternString(base::StringView(data))); in ParseChromeEvents() [all …]
|
D | heap_graph_tracker_unittest.cc | 70 StringPool::Id normal_kind = context.storage->InternString("KIND_NORMAL"); in TEST() 74 context.storage->InternString("location")); in TEST() 95 context.storage->InternString("android.graphics.Bitmap"), kLocation, in TEST() 102 kSeqId, kTypeCleaner, context.storage->InternString("sun.misc.Cleaner"), in TEST() 110 context.storage->InternString( in TEST() 119 context.storage->InternString("libcore.util.NativeAllocationRegistry"), in TEST() 222 StringPool::Id x = context.storage->InternString("X"); in TEST() 223 StringPool::Id y = context.storage->InternString("Y"); in TEST() 224 StringPool::Id a = context.storage->InternString("A"); in TEST() 225 StringPool::Id b = context.storage->InternString("B"); in TEST() [all …]
|
D | proto_trace_parser_unittest.cc | 363 ASSERT_EQ(args.key()[0], context_.storage->InternString("comm")); in TEST_F() 364 ASSERT_EQ(args.key()[1], context_.storage->InternString("pid")); in TEST_F() 365 ASSERT_EQ(args.key()[2], context_.storage->InternString("oom_score_adj")); in TEST_F() 366 ASSERT_EQ(args.key()[3], context_.storage->InternString("clone_flags")); in TEST_F() 367 ASSERT_EQ(args.key()[4], context_.storage->InternString("ip")); in TEST_F() 368 ASSERT_EQ(args.key()[5], context_.storage->InternString("buf")); in TEST_F() 718 1u, storage_->InternString("OldProcessName"))); in TEST_F() 721 1u, storage_->InternString("NewProcessName"))); in TEST_F() 724 2u, storage_->InternString("DifferentProcessName"))); in TEST_F() 770 1u, storage_->InternString("OldThreadName"), in TEST_F() [all …]
|
D | vulkan_memory_tracker.cc | 41 source_strs_id_.emplace_back(context_->storage->InternString( in SetupSourceAndTypeInternedStrings() 50 context_->storage->InternString(base::StringView( in SetupSourceAndTypeInternedStrings() 57 scope_strs_id_.emplace_back(context_->storage->InternString( in SetupSourceAndTypeInternedStrings() 62 context_->storage->InternString(base::StringView( in SetupSourceAndTypeInternedStrings() 99 res = context_->storage->InternString(base::StringView( in FindMemoryTypeCounterString() 111 res = context_->storage->InternString(base::StringView( in FindMemoryTypeCounterString()
|
D | perf_sample_tracker.cc | 98 return context->storage->InternString(config_given_name); in InternTimebaseCounterName() 101 return context->storage->InternString(StringifyCounter(timebase.counter())); in InternTimebaseCounterName() 105 return context->storage->InternString(tracepoint.name()); in InternTimebaseCounterName() 114 return context->storage->InternString(name.string_view()); in InternTimebaseCounterName() 118 return context->storage->InternString("unknown"); in InternTimebaseCounterName() 142 name_id = context_->storage->InternString( in GetSamplingStreamInfo()
|
D | android_probes_parser.cc | 50 batt_charge_id_(context->storage->InternString("batt.charge_uah")), in AndroidProbesParser() 51 batt_capacity_id_(context->storage->InternString("batt.capacity_pct")), in AndroidProbesParser() 52 batt_current_id_(context->storage->InternString("batt.current_ua")), in AndroidProbesParser() 54 context->storage->InternString("batt.current.avg_ua")), in AndroidProbesParser() 55 screen_state_id_(context->storage->InternString("ScreenState")) {} in AndroidProbesParser() 135 StringId tag_id = context_->storage->InternString( in ParseAndroidLogEvent() 137 StringId msg_id = context_->storage->InternString( in ParseAndroidLogEvent() 174 msg_id = context_->storage->InternString(&arg_msg[1]); in ParseAndroidLogEvent() 231 {context_->storage->InternString(pkg.name()), in ParseAndroidPackagesList()
|
D | memory_tracker_snapshot_parser.cc | 31 level_of_detail_ids_{{context_->storage->InternString("background"), in MemoryTrackerSnapshotParser() 32 context_->storage->InternString("light"), in MemoryTrackerSnapshotParser() 33 context_->storage->InternString("detailed")}}, in MemoryTrackerSnapshotParser() 34 unit_ids_{{context_->storage->InternString("objects"), 35 context_->storage->InternString("bytes")}}, 270 node_row.path = context_->storage->InternString(base::StringView(path)); in EmitNode() 293 args.AddArg(context_->storage->InternString( in EmitNode() 297 args.AddArg(context_->storage->InternString( in EmitNode() 305 args.AddArg(context_->storage->InternString( in EmitNode() 307 Variadic::String(context_->storage->InternString( in EmitNode()
|
/external/perfetto/src/trace_processor/importers/ftrace/ |
D | ftrace_parser.cc | 112 sched_wakeup_name_id_(context->storage->InternString("sched_wakeup")), in FtraceParser() 113 sched_waking_name_id_(context->storage->InternString("sched_waking")), in FtraceParser() 114 cpu_id_(context->storage->InternString("cpu")), in FtraceParser() 115 cpu_freq_name_id_(context->storage->InternString("cpufreq")), in FtraceParser() 116 gpu_freq_name_id_(context->storage->InternString("gpufreq")), in FtraceParser() 117 cpu_idle_name_id_(context->storage->InternString("cpuidle")), in FtraceParser() 119 context->storage->InternString("Suspend/Resume Latency")), in FtraceParser() 120 kfree_skb_name_id_(context->storage->InternString("Kfree Skb IP Prot")), in FtraceParser() 121 ion_total_id_(context->storage->InternString("mem.ion")), in FtraceParser() 122 ion_change_id_(context->storage->InternString("mem.ion_change")), in FtraceParser() [all …]
|
D | binder_tracker.cc | 61 binder_category_id_(context->storage->InternString("binder")), in BinderTracker() 62 lock_waiting_id_(context->storage->InternString("binder lock waiting")), in BinderTracker() 63 lock_held_id_(context->storage->InternString("binder lock held")), in BinderTracker() 65 context->storage->InternString("binder transaction")), in BinderTracker() 67 context->storage->InternString("binder transaction async")), in BinderTracker() 68 reply_id_(context->storage->InternString("binder reply")), in BinderTracker() 69 async_rcv_id_(context->storage->InternString("binder async rcv")), in BinderTracker() 70 transaction_id_(context->storage->InternString("transaction id")), in BinderTracker() 71 dest_node_(context->storage->InternString("destination node")), in BinderTracker() 72 dest_process_(context->storage->InternString("destination process")), in BinderTracker() [all …]
|
D | rss_stat_tracker.cc | 34 rss_members_.emplace_back(context->storage->InternString("mem.rss.file")); in RssStatTracker() 35 rss_members_.emplace_back(context->storage->InternString("mem.rss.anon")); in RssStatTracker() 36 rss_members_.emplace_back(context->storage->InternString("mem.swap")); in RssStatTracker() 37 rss_members_.emplace_back(context->storage->InternString("mem.rss.shmem")); in RssStatTracker() 39 context->storage->InternString("mem.unreclaimable")); in RssStatTracker() 41 context->storage->InternString("mem.unknown")); // Keep this last. in RssStatTracker()
|
D | sched_event_tracker.cc | 39 : waker_utid_id_(context->storage->InternString("waker_utid")), in SchedEventTracker() 48 context->storage->InternString(switch_descriptor->fields[i].name); in SchedEventTracker() 50 sched_switch_id_ = context->storage->InternString(switch_descriptor->name); in SchedEventTracker() 59 context->storage->InternString(waking_descriptor->fields[i].name); in SchedEventTracker() 61 sched_waking_id_ = context->storage->InternString(waking_descriptor->name); in SchedEventTracker() 90 StringId next_comm_id = context_->storage->InternString(next_comm); in PushSchedSwitch() 111 StringId prev_comm_id = context_->storage->InternString(prev_comm); in PushSchedSwitch() 260 ? context_->storage->InternString(task_state.ToString().data()) in ClosePendingSlice() 322 auto ref_type_id = context_->storage->InternString( in PushSchedWakingCompact() 346 auto id = context_->storage->InternString(state.ToString().data()); in FlushPendingEvents()
|
/external/perfetto/src/trace_processor/importers/common/ |
D | args_translation_table.cc | 37 storage->InternString(kChromeHistogramHashKey)), in ArgsTranslationTable() 39 storage->InternString(kChromeHistogramNameKey)), in ArgsTranslationTable() 41 storage->InternString(kChromeUserEventHashKey)), in ArgsTranslationTable() 43 storage->InternString(kChromeUserEventActionKey)), in ArgsTranslationTable() 45 storage->InternString(kChromePerformanceMarkSiteHashKey)), in ArgsTranslationTable() 47 storage->InternString(kChromePerformanceMarkSiteKey)), in ArgsTranslationTable() 49 storage->InternString(kChromePerformanceMarkMarkHashKey)), in ArgsTranslationTable() 51 storage->InternString(kChromePerformanceMarkMarkKey)) {} in ArgsTranslationTable() 65 Variadic::String(storage_->InternString(*translated_value))); in TranslateUnsignedIntegerArg() 77 Variadic::String(storage_->InternString(*translated_value))); in TranslateUnsignedIntegerArg() [all …]
|
D | slice_translation_table_unittest.cc | 27 const StringId raw_name = storage.InternString("name1"); in TEST() 35 const StringId raw_name = storage.InternString("raw_name1"); in TEST() 36 const StringId mapped_name = storage.InternString("mapped_name1"); in TEST()
|
/external/perfetto/src/trace_processor/dynamic/ |
D | experimental_slice_layout_generator_unittest.cc | 100 StringId name = pool.InternString("SingleRow"); in TEST() 120 StringId name = pool.InternString("SingleRow"); in TEST() 142 StringId name = pool.InternString("MultipleRows"); in TEST() 171 StringId name1 = pool.InternString("Slice1"); in TEST() 172 StringId name2 = pool.InternString("Slice2"); in TEST() 173 StringId name3 = pool.InternString("Slice3"); in TEST() 174 StringId name4 = pool.InternString("Track4"); in TEST() 203 StringId name1 = pool.InternString("Slice1"); in TEST() 204 StringId name2 = pool.InternString("Slice2"); in TEST() 205 StringId name3 = pool.InternString("Slice3"); in TEST() [all …]
|
/external/perfetto/src/trace_processor/ |
D | export_json_unittest.cc | 132 StringId cat_id = context_.storage->InternString(base::StringView(kCategory)); in TEST_F() 133 StringId name_id = context_.storage->InternString(base::StringView(kName)); in TEST_F() 178 StringId cat_id = context_.storage->InternString(base::StringView(kCategory)); in TEST_F() 179 StringId name_id = context_.storage->InternString(base::StringView(kName)); in TEST_F() 214 row.name = context_.storage->InternString(base::StringView(kName)); in TEST_F() 240 StringId name_id = context_.storage->InternString("name"); in TEST_F() 266 context_.storage->InternString(base::StringView(kDescription)); in TEST_F() 272 context_.storage->InternString(base::StringView(kBenchmarkName)); in TEST_F() 278 context_.storage->InternString(base::StringView(kStoryName)); in TEST_F() 284 context_.storage->InternString(base::StringView(kStoryTag1)); in TEST_F() [all …]
|
/external/perfetto/src/trace_processor/importers/systrace/ |
D | systrace_line_parser.cc | 42 sched_wakeup_name_id_(ctx->storage->InternString("sched_wakeup")), in SystraceLineParser() 43 sched_waking_name_id_(ctx->storage->InternString("sched_waking")), in SystraceLineParser() 44 cpufreq_name_id_(ctx->storage->InternString("cpufreq")), in SystraceLineParser() 45 cpuidle_name_id_(ctx->storage->InternString("cpuidle")), in SystraceLineParser() 46 workqueue_name_id_(ctx->storage->InternString("workqueue")), in SystraceLineParser() 48 ctx->storage->InternString("sched_blocked_reason")), in SystraceLineParser() 49 io_wait_id_(ctx->storage->InternString("io_wait")), in SystraceLineParser() 50 waker_utid_id_(ctx->storage->InternString("waker_utid")) {} in SystraceLineParser() 54 line.pid, context_->storage->InternString(base::StringView(line.task)), in ParseLine() 115 StringId name_id = context_->storage->InternString(base::StringView(comm)); in ParseLine() [all …]
|
D | systrace_parser.cc | 33 lmk_id_(ctx->storage->InternString("mem.lmk")), in SystraceParser() 34 oom_score_adj_id_(ctx->storage->InternString("oom_score_adj")), in SystraceParser() 35 screen_state_id_(ctx->storage->InternString("ScreenState")), in SystraceParser() 36 cookie_id_(ctx->storage->InternString("cookie")) {} in SystraceParser() 141 StringId name_id = context_->storage->InternString(point.name); in ParseSystracePoint() 171 StringId name_id = context_->storage->InternString(point.name); in ParseSystracePoint() 213 StringId name_id = context_->storage->InternString(point.name); in ParseSystracePoint() 223 StringId name_id = context_->storage->InternString(point.name); in ParseSystracePoint() 224 StringId track_name_id = context_->storage->InternString(point.str_value); in ParseSystracePoint() 273 StringId name_id = context_->storage->InternString(point.name); in ParseSystracePoint()
|
/external/perfetto/tools/protoprofile/ |
D | main.cc | 96 int InternString(const std::string& str); 140 int SizeProfileComputer::InternString(const std::string& s) { in InternString() function in perfetto::protoprofile::__anonfb4d87220111::SizeProfileComputer 185 PERFETTO_CHECK(InternString("") == 0); in Compute() 191 sample_type->set_type(InternString("protos")); in Compute() 192 sample_type->set_unit(InternString("count")); in Compute() 195 sample_type->set_type(InternString("max_size")); in Compute() 196 sample_type->set_unit(InternString("bytes")); in Compute() 199 sample_type->set_type(InternString("min_size")); in Compute() 200 sample_type->set_unit(InternString("bytes")); in Compute() 203 sample_type->set_type(InternString("median")); in Compute() [all …]
|
/external/perfetto/src/trace_processor/containers/ |
D | string_pool_unittest.cc | 51 auto id = pool_.InternString(kString); in TEST_F() 54 ASSERT_EQ(id, pool_.InternString(kString)); in TEST_F() 58 auto id = pool_.InternString(NullTermStringView()); in TEST_F() 70 pool_.InternString(kString); in TEST_F() 80 pool_.InternString(kString); in TEST_F() 110 string_map.emplace(pool_.InternString(str), str); in TEST_F() 172 string_ids[i] = pool_.InternString( in TEST_F() 175 ASSERT_EQ(string_ids[i], pool_.InternString(base::StringView( in TEST_F()
|