/external/bcc/tests/python/ |
D | test_array.py | 52 def lost_cb(lost): function 68 b["events"].open_perf_buffer(cb, lost_cb=lost_cb) 85 def lost_cb(lost): function 101 b["events"].open_perf_buffer(cb, lost_cb=lost_cb)
|
/external/bcc/src/cc/ |
D | perf_reader.c | 41 perf_reader_lost_cb lost_cb; member 54 perf_reader_lost_cb lost_cb, in perf_reader_new() argument 60 reader->lost_cb = lost_cb; in perf_reader_new() 203 if (reader->lost_cb) { in perf_reader_event_read() 204 reader->lost_cb(reader->cb_cookie, lost); in perf_reader_event_read()
|
D | perf_reader.h | 29 perf_reader_lost_cb lost_cb,
|
D | libbpf.h | 89 perf_reader_lost_cb lost_cb, void *cb_cookie,
|
D | libbpf.c | 1122 perf_reader_lost_cb lost_cb, void *cb_cookie, in bpf_open_perf_buffer() argument 1128 reader = perf_reader_new(raw_cb, lost_cb, cb_cookie, page_cnt); in bpf_open_perf_buffer()
|
/external/bcc/src/lua/bcc/ |
D | table.lua | 246 function PerfEventArray:_open_perf_buffer(cpu, callback, ctype, page_cnt, lost_cb) 253 if lost_cb then 256 lost_cb(cookie, lost) 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/ |
D | perf_reader.h | 29 perf_reader_lost_cb lost_cb,
|
D | libbpf.h | 89 perf_reader_lost_cb lost_cb, void *cb_cookie,
|
/external/bcc/src/cc/api/ |
D | BPFTable.cc | 327 perf_reader_lost_cb lost_cb, int cpu, in open_on_cpu() argument 333 bpf_open_perf_buffer(cb, lost_cb, cb_cookie, -1, cpu, page_cnt)); in open_on_cpu() 358 perf_reader_lost_cb lost_cb, in open_all_cpu() argument 368 auto res = open_on_cpu(cb, lost_cb, i, cb_cookie, page_cnt); in open_all_cpu()
|
D | BPFTable.h | 323 StatusTuple open_all_cpu(perf_reader_raw_cb cb, perf_reader_lost_cb lost_cb, 329 StatusTuple open_on_cpu(perf_reader_raw_cb cb, perf_reader_lost_cb lost_cb,
|
D | BPF.h | 159 perf_reader_lost_cb lost_cb = nullptr,
|
D | BPF.cc | 494 perf_reader_lost_cb lost_cb, void* cb_cookie, in open_perf_buffer() argument 507 TRY2(table->open_all_cpu(cb, lost_cb, cb_cookie, page_cnt)); in open_perf_buffer()
|
/external/bcc/src/python/bcc/ |
D | table.py | 553 def open_perf_buffer(self, callback, page_cnt=8, lost_cb=None): argument 567 self._open_perf_buffer(i, callback, page_cnt, lost_cb) 569 def _open_perf_buffer(self, cpu, callback, page_cnt, lost_cb): argument 580 lost_cb(lost) 587 lost_fn = _LOST_CB_TYPE(lost_cb_) if lost_cb else ct.cast(None, _LOST_CB_TYPE)
|
/external/bcc/docs/ |
D | reference_guide.md | 1245 Syntax: ```table.open_perf_buffers(callback, page_cnt=N, lost_cb=None)``` 1247 …gh, some submitted data may be lost. ```lost_cb``` will be called to log / monitor the lost count.…
|