/external/bcc/tests/python/ |
D | test_array.py | 52 def lost_cb(lost): function 70 b["events"].open_perf_buffer(cb, lost_cb=lost_cb) 87 def lost_cb(lost): function 105 b["events"].open_perf_buffer(cb, lost_cb=lost_cb)
|
/external/bcc/src/cc/ |
D | perf_reader.c | 42 perf_reader_lost_cb lost_cb; member 55 perf_reader_lost_cb lost_cb, in perf_reader_new() argument 61 reader->lost_cb = lost_cb; in perf_reader_new() 204 if (reader->lost_cb) { in perf_reader_event_read() 205 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 | 113 perf_reader_lost_cb lost_cb, void *cb_cookie, 117 perf_reader_lost_cb lost_cb, void *cb_cookie,
|
D | libbpf.c | 1464 perf_reader_lost_cb lost_cb, void *cb_cookie, in bpf_open_perf_buffer() argument 1473 return bpf_open_perf_buffer_opts(raw_cb, lost_cb, cb_cookie, page_cnt, &opts); in bpf_open_perf_buffer() 1477 perf_reader_lost_cb lost_cb, void *cb_cookie, in bpf_open_perf_buffer_opts() argument 1484 reader = perf_reader_new(raw_cb, lost_cb, cb_cookie, page_cnt); in bpf_open_perf_buffer_opts()
|
/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/api/ |
D | BPFTable.cc | 400 StatusTuple BPFPerfBuffer::open_on_cpu(perf_reader_raw_cb cb, perf_reader_lost_cb lost_cb, in open_on_cpu() argument 407 bpf_open_perf_buffer_opts(cb, lost_cb, cb_cookie, page_cnt, &opts)); in open_on_cpu() 432 perf_reader_lost_cb lost_cb, in open_all_cpu() argument 434 return open_all_cpu(cb, lost_cb, cb_cookie, page_cnt, 1); in open_all_cpu() 438 perf_reader_lost_cb lost_cb, in open_all_cpu() argument 455 auto res = open_on_cpu(cb, lost_cb, cb_cookie, page_cnt, opts); in open_all_cpu()
|
D | BPFTable.h | 416 StatusTuple open_all_cpu(perf_reader_raw_cb cb, perf_reader_lost_cb lost_cb, 418 StatusTuple open_all_cpu(perf_reader_raw_cb cb, perf_reader_lost_cb lost_cb, 425 StatusTuple open_on_cpu(perf_reader_raw_cb cb, perf_reader_lost_cb lost_cb,
|
D | BPF.cc | 636 perf_reader_lost_cb lost_cb, void* cb_cookie, in open_perf_buffer() argument 649 TRY2(table->open_all_cpu(cb, lost_cb, cb_cookie, page_cnt)); in open_perf_buffer()
|
D | BPF.h | 249 perf_reader_lost_cb lost_cb = nullptr,
|
/external/bcc/src/cc/includes/ |
D | perf_reader.h | 29 perf_reader_lost_cb lost_cb,
|
D | libbpf.h | 113 perf_reader_lost_cb lost_cb, void *cb_cookie, 117 perf_reader_lost_cb lost_cb, void *cb_cookie,
|
/external/libbpf/src/ |
D | libbpf.h | 984 perf_buffer_lost_fn lost_cb; member 1006 perf_buffer_sample_fn sample_cb, perf_buffer_lost_fn lost_cb, void *ctx, 1011 perf_buffer_sample_fn sample_cb, perf_buffer_lost_fn lost_cb, void *ctx, 1019 #define ___perf_buffer_new6(map_fd, page_cnt, sample_cb, lost_cb, ctx, opts) \ argument 1020 perf_buffer__new(map_fd, page_cnt, sample_cb, lost_cb, ctx, opts)
|
D | libbpf.c | 10767 perf_buffer_lost_fn lost_cb; member 10787 perf_buffer_lost_fn lost_cb; member 10895 perf_buffer_lost_fn lost_cb, in perf_buffer__new_v0_6_0() argument 10913 p.lost_cb = lost_cb; in perf_buffer__new_v0_6_0() 10925 opts ? opts->lost_cb : NULL, in perf_buffer__new_deprecated() 11015 pb->lost_cb = p->lost_cb; in __perf_buffer__new() 11151 if (pb->lost_cb) in perf_buffer__process_record() 11152 pb->lost_cb(pb->ctx, cpu_buf->cpu, s->lost); in perf_buffer__process_record()
|
/external/bcc/src/python/bcc/ |
D | table.py | 963 def open_perf_buffer(self, callback, page_cnt=8, lost_cb=None, wakeup_events=1): argument 977 self._open_perf_buffer(i, callback, page_cnt, lost_cb, wakeup_events) 979 def _open_perf_buffer(self, cpu, callback, page_cnt, lost_cb, wakeup_events): argument 990 lost_cb(lost) 997 lost_fn = _LOST_CB_TYPE(lost_cb_) if lost_cb else ct.cast(None, _LOST_CB_TYPE)
|
/external/linux-kselftest/tools/testing/selftests/bpf/benchs/ |
D | bench_ringbufs.c | 463 perf_buffer_lost_fn lost_cb; member
|
/external/bcc/docs/ |
D | reference_guide.md | 2081 Syntax: ```table.open_perf_buffers(callback, page_cnt=N, lost_cb=None)``` 2083 …gh, some submitted data may be lost. ```lost_cb``` will be called to log / monitor the lost count.…
|