Home
last modified time | relevance | path

Searched refs:CallsiteId (Results 1 – 11 of 11) sorted by relevance

/external/perfetto/src/trace_processor/importers/proto/
Dstack_profile_tracker.h41 struct std::hash<std::pair<uint32_t, perfetto::trace_processor::CallsiteId>> {
43 std::pair<uint32_t, perfetto::trace_processor::CallsiteId>;
224 base::Optional<CallsiteId> AddCallstack(
255 base::Optional<CallsiteId> FindOrInsertCallstack(
271 std::unordered_map<SourceCallstackId, CallsiteId> callstack_ids_;
280 std::unordered_map<tables::StackProfileCallsiteTable::Row, CallsiteId>
Dheap_profile_tracker.h93 std::unordered_map<std::pair<UniquePid, CallsiteId>,
96 std::unordered_map<std::pair<UniquePid, CallsiteId>,
110 std::map<SourceAllocationIndex, std::set<CallsiteId>> seen_callstacks;
Dstack_profile_tracker.cc210 base::Optional<CallsiteId> SequenceStackProfileTracker::AddCallstack( in AddCallstack()
217 base::Optional<CallsiteId> parent_id; in AddCallstack()
227 CallsiteId self_id; in AddCallstack()
335 base::Optional<CallsiteId> SequenceStackProfileTracker::FindOrInsertCallstack( in FindOrInsertCallstack()
338 base::Optional<CallsiteId> res; in FindOrInsertCallstack()
Dheap_profile_tracker_unittest.cc178 EXPECT_EQ(parent_id[1], CallsiteId{0}); in TEST_F()
184 base::Optional<CallsiteId> FindCallstack(const TraceStorage& storage, in FindCallstack()
186 base::Optional<CallsiteId> parent, in FindCallstack()
334 base::Optional<CallsiteId> parent; in TEST()
339 base::Optional<CallsiteId> self = FindCallstack( in TEST()
Dheap_profile_tracker.cc179 CallsiteId(static_cast<uint32_t>(callsite_id)))]; in BuildNativeFlamegraph()
278 CallsiteId callstack_id = *opt_callstack_id; in AddAllocation()
317 std::set<CallsiteId>& callstacks_for_source_callstack_id = in AddAllocation()
Dprofile_module.cc227 base::Optional<CallsiteId> cs_id = in ParsePerfSample()
Dproto_trace_parser_unittest.cc2873 EXPECT_EQ(samples.callsite_id()[0], CallsiteId{0}); in TEST_F()
2878 EXPECT_EQ(samples.callsite_id()[1], CallsiteId{1}); in TEST_F()
2883 EXPECT_EQ(samples.callsite_id()[2], CallsiteId{0}); in TEST_F()
2959 EXPECT_EQ(samples.callsite_id()[0], CallsiteId{0}); in TEST_F()
/external/perfetto/src/trace_processor/dynamic/
Dexperimental_annotated_stack_generator.cc138 cs_table.id().IndexOf(CallsiteId(start_id)); in ComputeTable()
146 base::Optional<CallsiteId> maybe_parent_id = cs_table.parent_id()[*start_row]; in ComputeTable()
Dancestor_generator.cc119 CallsiteId(start_id)); in ComputeTable()
/external/perfetto/src/trace_processor/
Dexport_json.cc1252 CallsiteId callsite_id, in AddEventForUtid()
1287 CallsiteId callsite_id, in Sample()
1338 CallsiteId callsite_id() const { return callsite_id_; } in callsite_id()
1346 CallsiteId callsite_id_;
1393 base::Optional<CallsiteId> opt_callsite_id = samples.callsite_id()[i]; in ExportCpuProfileSamples()
1396 CallsiteId callsite_id = *opt_callsite_id; in ExportCpuProfileSamples()
1445 base::Optional<CallsiteId> opt_current_callsite_id = in ExportCpuProfileSamples()
/external/perfetto/src/trace_processor/storage/
Dtrace_storage.h84 using CallsiteId = tables::StackProfileCallsiteTable::Id; variable
874 struct std::hash<::perfetto::trace_processor::CallsiteId>
905 ::perfetto::trace_processor::CallsiteId>>{}(r.parent_id) ^