Home
last modified time | relevance | path

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

12

/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()
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)
Dprofile.py58 def stack_id_err(stack_id): argument
61 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)
Doffwaketime.py38 def stack_id_err(stack_id): argument
41 return (stack_id < 0) and (stack_id != -errno.EFAULT)
/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/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()
Dtsan_ignoreset.h26 void Add(u32 stack_id);
Dtsan_rtl_report.cc104 ReportStack *SymbolizeStackId(u32 stack_id) { in SymbolizeStackId() argument
105 if (stack_id == 0) in SymbolizeStackId()
107 StackTrace stack = StackDepotGet(stack_id); in SymbolizeStackId()
359 void ScopedReport::AddSleep(u32 stack_id) { in AddSleep() argument
360 rep_->sleep = SymbolizeStackId(stack_id); in AddSleep()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.c191 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
221 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
224 if (((piJIT_Method_NIDS) EventSpecificData)->stack_id in iJIT_NotifyEvent()
226 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
/external/v8/src/third_party/vtune/
Djitprofiling.cc226 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = (threadStack->CurrentStack)--; in iJIT_NotifyEvent()
253 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = ++(threadStack->CurrentStack) + 1; in iJIT_NotifyEvent()
255 if (((piJIT_Method_NIDS) EventSpecificData)->stack_id > threadStack->TopStack) in iJIT_NotifyEvent()
256 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = (unsigned int)-1; 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()
Djitprofiling.h155 unsigned int stack_id; member
/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()
Dasan_thread.h43 destructor_iterations(GetPthreadDestructorIterations()), stack_id(0), in AsanThreadContext()
47 u32 stack_id; variable
/external/bcc/src/cc/api/
DBPFTable.cc281 std::vector<uintptr_t> BPFStackTable::get_stack_addr(int stack_id) { in get_stack_addr() argument
284 if (stack_id < 0) in get_stack_addr()
286 if (!lookup(&stack_id, &stack)) in get_stack_addr()
293 std::vector<std::string> BPFStackTable::get_stack_symbol(int stack_id, in get_stack_symbol() argument
295 auto addresses = get_stack_addr(stack_id); in get_stack_symbol()
/external/bcc/src/lua/bpf/
Dbuiltins.lua329 local function stack_id(e, ret, map_var, key) function
443 builtins.stack_id = stack_id
451 builtins[stack_id] = function (e, dst, map, key) return stack_id(e, dst, map, key) end

12