Home
last modified time | relevance | path

Searched refs:page_cnt (Results 1 – 25 of 34) sorted by relevance

12

/external/bcc/src/cc/
Dperf_reader.c49 int page_cnt; member
55 void *cb_cookie, int page_cnt) { in perf_reader_new() argument
64 reader->page_cnt = page_cnt; in perf_reader_new()
77 munmap(reader->base, reader->page_size * (reader->page_cnt + 1)); in perf_reader_free()
88 int mmap_size = reader->page_size * (reader->page_cnt + 1); in perf_reader_mmap()
161 uint64_t buffer_size = (uint64_t)reader->page_size * reader->page_cnt; in perf_reader_event_read()
Dperf_reader.h30 void *cb_cookie, int page_cnt);
/external/bcc/src/lua/bcc/
Dtable.lua246 function PerfEventArray:_open_perf_buffer(cpu, callback, ctype, page_cnt, lost_cb)
261 local reader = libbcc.bpf_open_perf_buffer(_cb, _lost_cb, nil, -1, cpu, page_cnt or 8)
270 function PerfEventArray:open_perf_buffer(callback, data_type, data_params, page_cnt, lost_cb)
274 self:_open_perf_buffer(i, callback, ctype, page_cnt, lost_cb)
/external/bcc/src/cc/includes/
Dperf_reader.h30 void *cb_cookie, int page_cnt);
/external/bcc/tools/
Dtcplife.py506 b["ipv4_events"].open_perf_buffer(print_ipv4_event, page_cnt=64)
507 b["ipv6_events"].open_perf_buffer(print_ipv6_event, page_cnt=64)
Ddcsnoop.py163 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dtcpstates.py386 b["ipv4_events"].open_perf_buffer(print_ipv4_event, page_cnt=64)
387 b["ipv6_events"].open_perf_buffer(print_ipv6_event, page_cnt=64)
Dmysqld_qslower.py131 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dbiosnoop.py188 b["events"].open_perf_buffer(print_event, page_cnt=64)
Drunqslower.py255 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dfileslower.py251 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dstatsnoop.py180 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dtrace.py37 page_cnt = None variable in Probe
50 cls.page_cnt = args.buffer_pages
585 page_cnt=self.page_cnt)
Dnfsslower.py326 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dxfsslower.py304 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dcriticalstat.py325 b["events"].open_perf_buffer(print_event, page_cnt=256)
Dext4slower.py357 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dbtrfsslower.py353 b["events"].open_perf_buffer(print_event, page_cnt=64)
Ddbslower.py231 bpf["events"].open_perf_buffer(print_event, page_cnt=64)
Dzfsslower.py316 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dsofdsnoop.py342 b["events"].open_perf_buffer(print_event, page_cnt=64)
Dopensnoop.py251 b["events"].open_perf_buffer(print_event, page_cnt=64)
/external/bcc/src/cc/api/
DBPFTable.cc328 void* cb_cookie, int page_cnt) { in open_on_cpu() argument
333 bpf_open_perf_buffer(cb, lost_cb, cb_cookie, -1, cpu, page_cnt)); in open_on_cpu()
359 void* cb_cookie, int page_cnt) { in open_all_cpu() argument
368 auto res = open_on_cpu(cb, lost_cb, i, cb_cookie, page_cnt); in open_all_cpu()
DBPFTable.h324 void* cb_cookie, int page_cnt);
330 int cpu, void* cb_cookie, int page_cnt);
/external/bcc/src/python/bcc/
Dtable.py553 def open_perf_buffer(self, callback, page_cnt=8, lost_cb=None): argument
563 if page_cnt & (page_cnt - 1) != 0:
567 self._open_perf_buffer(i, callback, page_cnt, lost_cb)
569 def _open_perf_buffer(self, cpu, callback, page_cnt, lost_cb): argument
588 reader = lib.bpf_open_perf_buffer(fn, lost_fn, None, -1, cpu, page_cnt)

12