\brief sample the perf buffer and ring buffer
| 37 | |
| 38 | /// \brief sample the perf buffer and ring buffer |
| 39 | static int32_t bpf_buffer_sample(void *ctx, void *data, size_t size) { |
| 40 | WasmEdge::Host::bpf_buffer *buffer = |
| 41 | static_cast<WasmEdge::Host::bpf_buffer *>(ctx); |
| 42 | return buffer->bpf_buffer_sample(data, size); |
| 43 | } |
| 44 | |
| 45 | namespace WasmEdge { |
| 46 | namespace Host { |
no test coverage detected