Lines Matching refs:call_site
37 u64 call_site; member
127 static int insert_alloc_stat(unsigned long call_site, unsigned long ptr, in insert_alloc_stat() argument
165 data->call_site = call_site; in insert_alloc_stat()
170 static int insert_caller_stat(unsigned long call_site, in insert_caller_stat() argument
181 if (call_site > data->call_site) in insert_caller_stat()
183 else if (call_site < data->call_site) in insert_caller_stat()
189 if (data && data->call_site == call_site) { in insert_caller_stat()
199 data->call_site = call_site; in insert_caller_stat()
216 call_site = perf_evsel__intval(evsel, sample, "call_site"); in perf_evsel__process_alloc_event() local
220 if (insert_alloc_stat(call_site, ptr, bytes_req, bytes_alloc, sample->cpu) || in perf_evsel__process_alloc_event()
221 insert_caller_stat(call_site, bytes_req, bytes_alloc)) in perf_evsel__process_alloc_event()
251 unsigned long call_site, in search_alloc_stat() argument
256 struct alloc_stat key = { .ptr = ptr, .call_site = call_site }; in search_alloc_stat()
288 s_caller = search_alloc_stat(0, s_alloc->call_site, in perf_evsel__process_free_event()
363 addr = data->call_site; in __print_result()
532 if (l->call_site < r->call_site) in callsite_cmp()
534 else if (l->call_site > r->call_site) in callsite_cmp()