Home
last modified time | relevance | path

Searched refs:InternString (Results 1 – 25 of 53) sorted by relevance

123

/external/perfetto/src/trace_processor/importers/proto/
Dtrack_event_parser.cc67 auto val = state.context->storage->InternString(base::StringView(str)); in AddStringToArgsTable()
68 auto key = state.context->storage->InternString(base::StringView(field)); in AddStringToArgsTable()
95 auto key = state.context->storage->InternString(base::StringView(prefix)); in MaybeParseSourceLocation()
204 category_id = storage_->InternString(decoder->name()); in ParseTrackEventCategory()
211 category_id = storage_->InternString(writer.GetStringView()); in ParseTrackEventCategory()
214 category_id = storage_->InternString(category_strings[0]); in ParseTrackEventCategory()
237 category_id = storage_->InternString(base::StringView(categories)); in ParseTrackEventCategory()
253 return storage_->InternString(decoder->name()); in ParseTrackEventName()
255 return storage_->InternString(event_.name()); in ParseTrackEventName()
400 id_scope = storage_->InternString(base::StringView(concat)); in ParseTrackAssociation()
[all …]
Dgraphics_frame_event_parser.cc43 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 …]
Dsystem_probes_parser.cc50 utid_name_id_(context->storage->InternString("utid")), in SystemProbesParser()
51 num_forks_name_id_(context->storage->InternString("num_forks")), in SystemProbesParser()
52 num_irq_total_name_id_(context->storage->InternString("num_irq_total")), in SystemProbesParser()
54 context->storage->InternString("num_softirq_total")), in SystemProbesParser()
55 num_irq_name_id_(context->storage->InternString("num_irq")), in SystemProbesParser()
56 num_softirq_name_id_(context->storage->InternString("num_softirq")), in SystemProbesParser()
58 context->storage->InternString("cpu.times.user_ns")), in SystemProbesParser()
60 context->storage->InternString("cpu.times.user_nice_ns")), in SystemProbesParser()
62 context->storage->InternString("cpu.times.system_mode_ns")), in SystemProbesParser()
64 context->storage->InternString("cpu.times.idle_ns")), in SystemProbesParser()
[all …]
Dgpu_event_parser.cc98 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 …]
Dproto_trace_parser.cc70 metatrace_id_(context->storage->InternString("metatrace")), in ProtoTraceParser()
71 data_name_id_(context->storage->InternString("data")), in ProtoTraceParser()
73 context->storage->InternString("chrome_event.metadata")), in ProtoTraceParser()
75 context->storage->InternString("chrome_event.legacy_system_trace")), in ProtoTraceParser()
77 context->storage->InternString("chrome_event.legacy_user_trace")) { in ProtoTraceParser()
401 auto benchmark_name_id = storage->InternString(packet.benchmark_name()); in ParseChromeBenchmarkMetadata()
407 storage->InternString(packet.benchmark_description()); in ParseChromeBenchmarkMetadata()
412 auto label_id = storage->InternString(packet.label()); in ParseChromeBenchmarkMetadata()
417 auto story_name_id = storage->InternString(packet.story_name()); in ParseChromeBenchmarkMetadata()
422 auto story_tag_id = storage->InternString(*it); in ParseChromeBenchmarkMetadata()
[all …]
Dproto_trace_parser_unittest.cc343 ASSERT_EQ(args.key()[0], context_.storage->InternString("comm")); in TEST_F()
344 ASSERT_EQ(args.key()[1], context_.storage->InternString("pid")); in TEST_F()
345 ASSERT_EQ(args.key()[2], context_.storage->InternString("oom_score_adj")); in TEST_F()
346 ASSERT_EQ(args.key()[3], context_.storage->InternString("clone_flags")); in TEST_F()
347 ASSERT_EQ(args.key()[4], context_.storage->InternString("ip")); in TEST_F()
348 ASSERT_EQ(args.key()[5], context_.storage->InternString("buf")); in TEST_F()
665 1u, storage_->InternString("OldProcessName"))); in TEST_F()
668 1u, storage_->InternString("NewProcessName"))); in TEST_F()
671 2u, storage_->InternString("DifferentProcessName"))); in TEST_F()
719 1u, storage_->InternString("OldThreadName"))); in TEST_F()
[all …]
Dvulkan_memory_tracker.cc41 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()
Dandroid_probes_parser.cc49 batt_charge_id_(context->storage->InternString("batt.charge_uah")), in AndroidProbesParser()
50 batt_capacity_id_(context->storage->InternString("batt.capacity_pct")), in AndroidProbesParser()
51 batt_current_id_(context->storage->InternString("batt.current_ua")), in AndroidProbesParser()
53 context->storage->InternString("batt.current.avg_ua")), in AndroidProbesParser()
54 screen_state_id_(context->storage->InternString("ScreenState")) {} in AndroidProbesParser()
97 power_rails_strs_id_[idx] = context_->storage->InternString(counter_name); in ParsePowerRails()
143 StringId tag_id = context_->storage->InternString( in ParseAndroidLogEvent()
145 StringId msg_id = context_->storage->InternString( in ParseAndroidLogEvent()
179 msg_id = context_->storage->InternString(&arg_msg[1]); in ParseAndroidLogEvent()
236 {context_->storage->InternString(pkg.name()), in ParseAndroidPackagesList()
Dheap_graph_tracker_unittest.cc66 StringPool::Id x = context.storage->InternString("X"); in TEST()
67 StringPool::Id y = context.storage->InternString("Y"); in TEST()
68 StringPool::Id a = context.storage->InternString("A"); in TEST()
69 StringPool::Id b = context.storage->InternString("B"); in TEST()
137 root.root_type = context.storage->InternString("ROOT"); in TEST()
Dheap_graph_module.cc168 seq_id, entry.id(), context_->storage->InternString(str_view), in ParseHeapGraph()
177 seq_id, entry.iid(), context_->storage->InternString(str_view)); in ParseHeapGraph()
192 seq_id, entry.iid(), context_->storage->InternString(str_view)); in ParseHeapGraph()
200 src_root.root_type = context_->storage->InternString(str_view); in ParseHeapGraph()
230 context_->storage->InternString( in DeobfuscateClass()
307 auto interned_deobfuscated_name = context_->storage->InternString( in ParseDeobfuscationMapping()
/external/perfetto/src/trace_processor/importers/ftrace/
Dbinder_tracker.cc60 binder_category_id_(context->storage->InternString("binder")), in BinderTracker()
61 lock_waiting_id_(context->storage->InternString("binder lock waiting")), in BinderTracker()
62 lock_held_id_(context->storage->InternString("binder lock held")), in BinderTracker()
64 context->storage->InternString("binder transaction")), in BinderTracker()
66 context->storage->InternString("binder transaction async")), in BinderTracker()
67 reply_id_(context->storage->InternString("binder reply")), in BinderTracker()
68 async_rcv_id_(context->storage->InternString("binder async rcv")), in BinderTracker()
69 transaction_id_(context->storage->InternString("transaction id")), in BinderTracker()
70 dest_node_(context->storage->InternString("destination node")), in BinderTracker()
71 dest_process_(context->storage->InternString("destination process")), in BinderTracker()
[all …]
Dftrace_parser.cc65 sched_wakeup_name_id_(context->storage->InternString("sched_wakeup")), in FtraceParser()
66 sched_waking_name_id_(context->storage->InternString("sched_waking")), in FtraceParser()
67 cpu_freq_name_id_(context->storage->InternString("cpufreq")), in FtraceParser()
68 gpu_freq_name_id_(context->storage->InternString("gpufreq")), in FtraceParser()
69 cpu_idle_name_id_(context->storage->InternString("cpuidle")), in FtraceParser()
70 ion_total_id_(context->storage->InternString("mem.ion")), in FtraceParser()
71 ion_change_id_(context->storage->InternString("mem.ion_change")), in FtraceParser()
72 ion_total_unknown_id_(context->storage->InternString("mem.ion.unknown")), in FtraceParser()
74 context->storage->InternString("mem.ion_change.unknown")), in FtraceParser()
75 signal_generate_id_(context->storage->InternString("signal_generate")), in FtraceParser()
[all …]
Drss_stat_tracker.cc30 rss_members_.emplace_back(context->storage->InternString("mem.rss.file")); in RssStatTracker()
31 rss_members_.emplace_back(context->storage->InternString("mem.rss.anon")); in RssStatTracker()
32 rss_members_.emplace_back(context->storage->InternString("mem.swap")); in RssStatTracker()
33 rss_members_.emplace_back(context->storage->InternString("mem.rss.shmem")); in RssStatTracker()
35 context->storage->InternString("mem.unreclaimable")); in RssStatTracker()
37 context->storage->InternString("mem.unknown")); // Keep this last. in RssStatTracker()
Dsched_event_tracker.cc47 context->storage->InternString(switch_descriptor->fields[i].name); in SchedEventTracker()
49 sched_switch_id_ = context->storage->InternString(switch_descriptor->name); in SchedEventTracker()
58 context->storage->InternString(waking_descriptor->fields[i].name); in SchedEventTracker()
60 sched_waking_id_ = context->storage->InternString(waking_descriptor->name); in SchedEventTracker()
84 StringId next_comm_id = context_->storage->InternString(next_comm); in PushSchedSwitch()
105 StringId prev_comm_id = context_->storage->InternString(prev_comm); in PushSchedSwitch()
251 ? context_->storage->InternString(task_state.ToString().data()) in ClosePendingSlice()
312 auto ref_type_id = context_->storage->InternString( in PushSchedWakingCompact()
332 auto id = context_->storage->InternString(state.ToString().data()); in FlushPendingEvents()
/external/perfetto/src/trace_processor/
Dexport_json_unittest.cc124 StringId cat_id = context_.storage->InternString(base::StringView(kCategory)); in TEST_F()
125 StringId name_id = context_.storage->InternString(base::StringView(kName)); in TEST_F()
170 StringId cat_id = context_.storage->InternString(base::StringView(kCategory)); in TEST_F()
171 StringId name_id = context_.storage->InternString(base::StringView(kName)); in TEST_F()
207 row.name = context_.storage->InternString(base::StringView(kName)); in TEST_F()
234 StringId name_id = context_.storage->InternString("name"); in TEST_F()
259 context_.storage->InternString(base::StringView(kDescription)); in TEST_F()
265 context_.storage->InternString(base::StringView(kBenchmarkName)); in TEST_F()
271 context_.storage->InternString(base::StringView(kStoryName)); in TEST_F()
277 context_.storage->InternString(base::StringView(kStoryTag1)); in TEST_F()
[all …]
/external/perfetto/src/trace_processor/dynamic/
Dexperimental_slice_layout_generator_unittest.cc99 StringId name = pool.InternString("SingleRow"); in TEST()
116 StringId name = pool.InternString("SingleRow"); in TEST()
135 StringId name = pool.InternString("MultipleRows"); in TEST()
161 StringId name1 = pool.InternString("Slice1"); in TEST()
162 StringId name2 = pool.InternString("Slice2"); in TEST()
163 StringId name3 = pool.InternString("Slice3"); in TEST()
164 StringId name4 = pool.InternString("Track4"); in TEST()
190 StringId name1 = pool.InternString("Slice1"); in TEST()
191 StringId name2 = pool.InternString("Slice2"); in TEST()
192 StringId name3 = pool.InternString("Slice3"); in TEST()
[all …]
/external/perfetto/tools/protoprofile/
Dmain.cc96 int InternString(const std::string& str);
140 int SizeProfileComputer::InternString(const std::string& s) { in InternString() function in perfetto::protoprofile::__anon4f3817010111::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/
Dstring_pool_unittest.cc51 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()
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_parser.cc30 lmk_id_(ctx->storage->InternString("mem.lmk")), in SystraceParser()
31 screen_state_id_(ctx->storage->InternString("ScreenState")) {} in SystraceParser()
122 StringId name_id = context_->storage->InternString(point.name); in ParseSystracePoint()
156 StringId name_id = context_->storage->InternString(point.name); in ParseSystracePoint()
198 StringId name_id = context_->storage->InternString(point.name); in ParseSystracePoint()
Dsystrace_line_parser.cc41 sched_wakeup_name_id_(ctx->storage->InternString("sched_wakeup")), in SystraceLineParser()
42 cpuidle_name_id_(ctx->storage->InternString("cpuidle")) {} in SystraceLineParser()
47 line.pid, context_->storage->InternString(base::StringView(line.task))); in ParseLine()
100 StringId name_id = context_->storage->InternString(base::StringView(comm)); in ParseLine()
128 StringId code = context_->storage->InternString(base::StringView(code_str)); in ParseLine()
/external/perfetto/src/trace_processor/importers/common/
Dtrack_tracker.cc29 : source_key_(context->storage->InternString("source")), in TrackTracker()
30 source_id_key_(context->storage->InternString("source_id")), in TrackTracker()
32 context->storage->InternString("source_id_is_process_scoped")), in TrackTracker()
33 source_scope_key_(context->storage->InternString("source_scope")), in TrackTracker()
34 parent_track_id_key_(context->storage->InternString("parent_track_id")), in TrackTracker()
35 category_key_(context->storage->InternString("category")), in TrackTracker()
36 fuchsia_source_(context->storage->InternString("fuchsia")), in TrackTracker()
37 chrome_source_(context->storage->InternString("chrome")), in TrackTracker()
38 android_source_(context->storage->InternString("android")), in TrackTracker()
39 descriptor_source_(context->storage->InternString("descriptor")), in TrackTracker()
[all …]
/external/perfetto/src/trace_processor/importers/json/
Djson_utils.cc162 StringId array_key_id = storage->InternString(key); in AddJsonValueToArgs()
177 auto flat_key_id = storage->InternString(flat_key); in AddJsonValueToArgs()
178 auto key_id = storage->InternString(key); in AddJsonValueToArgs()
195 Variadic::String(storage->InternString( in AddJsonValueToArgs()
Djson_trace_parser.cc89 StringId cat_id = storage->InternString(cat); in ParseTracePacket()
90 StringId name_id = storage->InternString(name); in ParseTracePacket()
125 auto thread_name_id = context_->storage->InternString(thread_name); in ParseTracePacket()
/external/perfetto/src/trace_processor/importers/syscalls/
Dsyscall_tracker.cc94 id = context_->storage->InternString(name); in SetArchitecture()
100 id = context_->storage->InternString(unknown_str); in SetArchitecture()
/external/perfetto/src/trace_processor/importers/ninja/
Dninja_log_parser.cc101 StringId name_id = ctx_->storage->InternString("Build"); in Parse()
171 StringId name_id = ctx_->storage->InternString(name); in NotifyEndOfFile()
182 StringId name_id = ctx_->storage->InternString(base::StringView(job.names)); in NotifyEndOfFile()

123