Home
last modified time | relevance | path

Searched refs:call_site (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/include/trace/events/
Dkmem.h14 TP_PROTO(unsigned long call_site,
20 TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags),
23 __field( unsigned long, call_site )
31 __entry->call_site = call_site;
39 (void *)__entry->call_site,
48 TP_PROTO(unsigned long call_site, const void *ptr,
51 TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags)
56 TP_PROTO(unsigned long call_site, const void *ptr,
59 TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags)
64 TP_PROTO(unsigned long call_site,
[all …]
/Linux-v5.10/Documentation/trace/
Dhistogram.rst221 field:unsigned long call_site; offset:8; size:8; signed:0;
231 # echo 'hist:key=call_site:val=bytes_req' > \
235 call_site field of the kmalloc event as the key for the table, which
236 just means that each unique call_site address will have an entry
238 the hist trigger that for each unique entry (call_site) in the
240 requested by that call_site.
247 # trigger info: hist:keys=call_site:vals=bytes_req:sort=hitcount:size=2048 [active]
249 { call_site: 18446744072106379007 } hitcount: 1 bytes_req: 176
250 { call_site: 18446744071579557049 } hitcount: 1 bytes_req: 1024
251 { call_site: 18446744071580608289 } hitcount: 1 bytes_req: 16384
[all …]
Devents-kmem.rst21 kmalloc call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s
22 kmalloc_node call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d
23 kfree call_site=%lx ptr=%p
36 kmem_cache_alloc call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s
37 kmem_cache_alloc_node call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d
38 kmem_cache_free call_site=%lx ptr=%p
43 but the call_site can usually be used to extrapolate that information.
Dhistogram-design.rst279 …# echo 'hist:keys=common_pid,call_site.sym:values=bytes_req,bytes_alloc,hitcount' >> events/kmem/k…
298 …# trigger info: hist:keys=common_pid,call_site.sym:vals=hitcount,bytes_req,bytes_alloc:sort=hitcou…
345 ftrace_event_field name: call_site
352 …# echo '!hist:keys=common_pid,call_site.sym:values=bytes_req,bytes_alloc,hitcount' >> events/kmem/…
/Linux-v5.10/tools/perf/
Dbuiltin-kmem.c60 u64 call_site; member
85 static int insert_alloc_stat(unsigned long call_site, unsigned long ptr, in insert_alloc_stat() argument
123 data->call_site = call_site; in insert_alloc_stat()
130 static int insert_caller_stat(unsigned long call_site, in insert_caller_stat() argument
141 if (call_site > data->call_site) in insert_caller_stat()
143 else if (call_site < data->call_site) in insert_caller_stat()
149 if (data && data->call_site == call_site) { in insert_caller_stat()
159 data->call_site = call_site; in insert_caller_stat()
175 call_site = evsel__intval(evsel, sample, "call_site"); in evsel__process_alloc_event() local
179 if (insert_alloc_stat(call_site, ptr, bytes_req, bytes_alloc, sample->cpu) || in evsel__process_alloc_event()
[all …]
/Linux-v5.10/tools/perf/scripts/python/
Dcheck-perf-trace.py42 common_callchain, call_site, ptr, bytes_req, bytes_alloc, argument
51 (call_site, ptr, bytes_req, bytes_alloc,
/Linux-v5.10/tools/perf/scripts/perl/
Dcheck-perf-trace.pl47 $call_site, $ptr, $bytes_req, $bytes_alloc,
57 $call_site, $ptr, $bytes_req, $bytes_alloc,