MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / bpf_buffer__poll

Method bpf_buffer__poll

plugins/wasm_bpf/wasm-bpf.cpp:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 bpf_map__set_value_size(events, sizeof(int));
63 }
64 int32_t bpf_buffer__poll(int32_t timeout_ms) override {
65 return perf_buffer__poll(inner.get(), timeout_ms);
66 }
67 int32_t bpf_buffer__open(int32_t fd, bpf_buffer_sample_fn sample_cb,
68 void *ctx) override {
69 fn = sample_cb;

Callers 1

bpf_buffer_pollMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected