Home
last modified time | relevance | path

Searched refs:callstack_id (Results 1 – 17 of 17) sorted by relevance

/external/perfetto/src/trace_processor/importers/proto/
Dheap_profile_tracker.cc260 alloc.callstack_id, intern_lookup); in AddAllocation()
264 CallsiteId callstack_id = *opt_callstack_id; in AddAllocation() local
270 alloc.timestamp, upid, callstack_id, in AddAllocation()
275 alloc.timestamp, upid, callstack_id, in AddAllocation()
279 auto prev_alloc_it = sequence_state.prev_alloc.find({upid, callstack_id}); in AddAllocation()
282 std::make_pair(upid, callstack_id), in AddAllocation()
288 auto prev_free_it = sequence_state.prev_free.find({upid, callstack_id}); in AddAllocation()
291 std::make_pair(upid, callstack_id), in AddAllocation()
298 sequence_state.seen_callstacks[std::make_pair(upid, alloc.callstack_id)]; in AddAllocation()
301 callstacks_for_source_callstack_id.emplace(callstack_id); in AddAllocation()
[all …]
Dstack_profile_tracker.cc313 SourceCallstackId callstack_id, in FindOrInsertCallstack() argument
316 auto it = callstack_ids_.find(callstack_id); in FindOrInsertCallstack()
318 auto interned_callstack = intern_lookup->GetCallstack(callstack_id); in FindOrInsertCallstack()
320 res = AddCallstack(callstack_id, *interned_callstack, intern_lookup); in FindOrInsertCallstack()
324 PERFETTO_DLOG("Unknown callstack %" PRIu64 " : %zu", callstack_id, in FindOrInsertCallstack()
Dheap_profile_tracker.h42 StackProfileTracker::SourceCallstackId callstack_id = 0; member
Dstack_profile_tracker.h133 SourceCallstackId callstack_id = 0;
Dproto_trace_parser.cc322 src_allocation.callstack_id = sample.callstack_id(); in ParseProfilePacket()
/external/perfetto/test/trace_processor/
Dstack_profile_tracker_empty_callstack.textproto34 callstack_id: 1
39 callstack_id: 1
Dheap_profile_tracker_new_stack.textproto43 callstack_id: 1
68 callstack_id: 2
Dheap_profile_jit.textproto65 callstack_id: 1
72 callstack_id: 2
/external/perfetto/src/profiling/common/
Dinterning_output.h54 bool IsCallstackNew(uint64_t callstack_id) { in IsCallstackNew() argument
55 return dumped_callstacks_.find(callstack_id) == dumped_callstacks_.end(); in IsCallstackNew()
/external/perfetto/test/metrics/
Dheap_profile.textproto105 callstack_id: 1
112 callstack_id: 2
Dheap_profile_no_symbols.textproto46 callstack_id: 1
/external/perfetto/src/profiling/memory/
Dbookkeeping_dump.cc90 void DumpState::AddIdleBytes(uint64_t callstack_id, uint64_t bytes) { in AddIdleBytes() argument
91 current_process_idle_allocs_[callstack_id] += bytes; in AddIdleBytes()
Dbookkeeping_dump.h59 void AddIdleBytes(uint64_t callstack_id, uint64_t bytes);
Dheapprofd_producer.cc648 uint64_t callstack_id) { in DumpProcessState() argument
656 dump_state.AddIdleBytes(callstack_id, static_cast<uint64_t>(idle)); in DumpProcessState()
/external/perfetto/tools/trace_to_text/
Dpprof_builder.cc268 int64_t callstack_id = (*view_its)[i].Get(0).AsLong(); in WriteAllocations() local
270 auto frames = FramesForCallstack(callstack_id); in WriteAllocations()
279 if (callstack_id != (*view_its)[i].Get(0).AsLong()) { in WriteAllocations()
468 const std::vector<int64_t>& FramesForCallstack(int64_t callstack_id) { in FramesForCallstack() argument
469 size_t callsite_idx = static_cast<size_t>(callstack_id); in FramesForCallstack()
470 PERFETTO_CHECK(callstack_id >= 0 && in FramesForCallstack()
/external/perfetto/protos/perfetto/trace/profiling/
Dprofile_packet.proto38 optional uint64 callstack_id = 1; field
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto6112 optional uint64 callstack_id = 1; field