Home
last modified time | relevance | path

Searched refs:lost_cb (Results 1 – 14 of 14) sorted by relevance

/external/bcc/tests/python/
Dtest_array.py52 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/
Dperf_reader.c41 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()
Dperf_reader.h29 perf_reader_lost_cb lost_cb,
Dlibbpf.h89 perf_reader_lost_cb lost_cb, void *cb_cookie,
Dlibbpf.c1122 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/
Dtable.lua246 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/
Dperf_reader.h29 perf_reader_lost_cb lost_cb,
Dlibbpf.h89 perf_reader_lost_cb lost_cb, void *cb_cookie,
/external/bcc/src/cc/api/
DBPFTable.cc327 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()
DBPFTable.h323 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,
DBPF.h159 perf_reader_lost_cb lost_cb = nullptr,
DBPF.cc494 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/
Dtable.py553 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/
Dreference_guide.md1245 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.…