Home
last modified time | relevance | path

Searched refs:stack_id (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium-trace/catapult/systrace/profile_chrome/third_party/
Dperf_to_tracing.py74 def __init__(self, stack_id, name, category): argument
75 self.stack_id = stack_id
86 if self.stack_id:
93 out_dict[self.stack_id] = node_dict
113 def __init__(self, stack_id, ts, cpu, tid, weight, samp_type, comm): argument
114 self.stack_id = stack_id
130 assert self.stack_id != 0
131 if self.stack_id:
132 ret['sf'] = self.stack_id # Stack frame id
187 new_node.parent_id = stack_frame.stack_id
[all …]
/external/bcc/tools/
Ddeadlock_detector.c22 u64 stack_id; member
54 u64 stack_id; member
97 u64 stack_id = in trace_mutex_acquire() local
107 leaf->held_mutexes[i].stack_id = stack_id; in trace_mutex_acquire()
119 edge_leaf.mutex1_stack_id = leaf->held_mutexes[i].stack_id; in trace_mutex_acquire()
120 edge_leaf.mutex2_stack_id = stack_id; in trace_mutex_acquire()
175 leaf->held_mutexes[i].stack_id = 0; in trace_mutex_release()
192 thread_created_leaf.stack_id = in trace_clone()
Dcapable.py185 def stack_id_err(stack_id): argument
188 return (stack_id < 0) and (stack_id != -errno.EFAULT)
190 def print_stack(bpf, stack_id, stack_type, tgid): argument
191 if stack_id_err(stack_id):
194 stack = list(bpf.get_table("stacks").walk(stack_id))
Dmemleak.py456 if info.stack_id < 0:
458 if info.stack_id in alloc_info:
459 alloc_info[info.stack_id].update(info.size)
461 stack = list(stack_traces.walk(info.stack_id))
466 alloc_info[info.stack_id] = Allocation(combined,
483 for stack_id, info in stacks:
486 for addr in stack_traces.walk(stack_id.value):
Ddeadlock_detector.py351 parent_pid, stack_id, parent_comm = thread_info.get(
359 print_stack_trace_fn(stack_id)
500 def print_stack_trace(stack_id): argument
502 for addr in bpf.get_table('stack_traces').walk(stack_id):
516 child.value: (parent.parent_pid, parent.stack_id, parent.comm)
Doffcputime.py38 def stack_id_err(stack_id): argument
41 return (stack_id < 0) and (stack_id != -errno.EFAULT)
Dtcpdrop.py189 for addr in stack_traces.walk(event.stack_id):
201 for addr in stack_traces.walk(event.stack_id):
Dcriticalstat.py309 if event.stack_id >= 0:
310 kstack = stack_traces.walk(event.stack_id)
Dprofile.py58 def stack_id_err(stack_id): argument
61 return (stack_id < 0) and (stack_id != -errno.EFAULT)
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_origin.h88 u32 stack_id = ChainedOriginDepotGet(getChainedId(), &prev_id); in getNextChainedOrigin() local
89 if (stack) *stack = StackDepotGet(stack_id); in getNextChainedOrigin()
103 u32 stack_id = StackDepotPut(*stack); in CreateHeapOrigin() local
104 CHECK(stack_id); in CreateHeapOrigin()
105 CHECK((stack_id & kHeapIdMask) == stack_id); in CreateHeapOrigin()
106 return Origin(stack_id); in CreateHeapOrigin()
/external/compiler-rt/lib/msan/
Dmsan_origin.h89 u32 stack_id = ChainedOriginDepotGet(getChainedId(), &prev_id); in getNextChainedOrigin() local
90 if (stack) *stack = StackDepotGet(stack_id); in getNextChainedOrigin()
104 u32 stack_id = StackDepotPut(*stack); in CreateHeapOrigin() local
105 CHECK(stack_id); in CreateHeapOrigin()
106 CHECK((stack_id & kHeapIdMask) == stack_id); in CreateHeapOrigin()
107 return Origin(stack_id); in CreateHeapOrigin()
/external/bcc/examples/lua/
Dmemleak.lua164 local stack_id = tonumber(info.stack_id)
166 if stack_id >= 0 then
167 if alloc_info[stack_id] then
168 local s = alloc_info[stack_id]
172 local stack = stack_traces:get(stack_id, resolve)
173 alloc_info[stack_id] = { stack=stack, count=1, size=tonumber(info.size) }
Dtracepoint-offcputime.lua50 key.stack_id = stack_id(stack_traces, BPF.F_FAST_STACK_CMP)
69 local traces = stack_traces[k.stack_id]
/external/compiler-rt/lib/lsan/
Dlsan_common_linux.cc94 static uptr GetCallerPC(u32 stack_id, StackDepotReverseMap *map) { in GetCallerPC() argument
95 CHECK(stack_id); in GetCallerPC()
96 StackTrace stack = map->Get(stack_id); in GetCallerPC()
118 u32 stack_id = m.stack_trace_id(); in ProcessPlatformSpecificAllocationsCb() local
120 if (stack_id > 0) in ProcessPlatformSpecificAllocationsCb()
121 caller_pc = GetCallerPC(stack_id, param->stack_depot_reverse_map); in ProcessPlatformSpecificAllocationsCb()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_ignoreset.cpp22 void IgnoreSet::Add(u32 stack_id) { in Add() argument
26 if (stacks_[i] == stack_id) in Add()
29 stacks_[size_++] = stack_id; in Add()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_ignoreset.cc23 void IgnoreSet::Add(u32 stack_id) { in Add() argument
27 if (stacks_[i] == stack_id) in Add()
30 stacks_[size_++] = stack_id; in Add()
/external/bcc/tests/cc/
Dtest_bpf_table.cc205 int stack_id = id[0]; variable
206 REQUIRE(stack_id >= 0);
208 auto addrs = stack_traces.get_stack_addr(stack_id);
209 auto symbols = stack_traces.get_stack_symbol(stack_id, -1);
221 addrs = stack_traces.get_stack_addr(stack_id);
/external/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c190 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
220 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
223 if (((piJIT_Method_NIDS) EventSpecificData)->stack_id in iJIT_NotifyEvent()
225 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c192 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
222 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
225 if (((piJIT_Method_NIDS) EventSpecificData)->stack_id in iJIT_NotifyEvent()
227 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c190 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
220 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
223 if (((piJIT_Method_NIDS) EventSpecificData)->stack_id in iJIT_NotifyEvent()
225 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
/external/compiler-rt/lib/asan/
Dasan_globals.cc53 u32 stack_id; member
101 return grs.stack_id; in FindRegistrationSite()
310 u32 stack_id = StackDepotPut(stack); in __asan_register_globals() local
315 GlobalRegistrationSite site = {stack_id, &globals[0], &globals[n - 1]}; in __asan_register_globals()
319 Printf("=== ID %d; %p %p\n", stack_id, &globals[0], &globals[n - 1]); in __asan_register_globals()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_thread.h40 destructor_iterations(GetPthreadDestructorIterations()), stack_id(0), in MemprofThreadContext()
44 u32 stack_id; member
/external/llvm-project/compiler-rt/lib/asan/
Dasan_globals.cpp53 u32 stack_id; member
103 return grs.stack_id; in FindRegistrationSite()
361 u32 stack_id = StackDepotPut(stack); in __asan_register_globals() local
368 GlobalRegistrationSite site = {stack_id, &globals[0], &globals[n - 1]}; in __asan_register_globals()
372 Printf("=== ID %d; %p %p\n", stack_id, &globals[0], &globals[n - 1]); in __asan_register_globals()
Dasan_thread.h42 destructor_iterations(GetPthreadDestructorIterations()), stack_id(0), in AsanThreadContext()
46 u32 stack_id; variable
/external/llvm-project/lldb/source/Target/
DStackFrameList.cpp746 const StackID &stack_id) { in CompareStackID() argument
747 return stack_sp->GetStackID() < stack_id; in CompareStackID()
750 StackFrameSP StackFrameList::GetFrameWithStackID(const StackID &stack_id) { in GetFrameWithStackID() argument
753 if (stack_id.IsValid()) { in GetFrameWithStackID()
761 std::lower_bound(begin, end, stack_id, CompareStackID); in GetFrameWithStackID()
763 if ((*pos)->GetStackID() == stack_id) in GetFrameWithStackID()
769 if (frame_sp && frame_sp->GetStackID() == stack_id) in GetFrameWithStackID()

123