mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-02-12 16:11:00 +00:00
Fix perf_buffer__new call
This commit is contained in:
@ -20,11 +20,12 @@ private:
|
||||
|
||||
public:
|
||||
BpfPerfBuffer(int map_fd, int page_cnt, py::function callback,
|
||||
py::object lost_callback);
|
||||
py::object lost_callback = py::none());
|
||||
~BpfPerfBuffer();
|
||||
|
||||
int poll(int timeout_ms);
|
||||
int consume();
|
||||
[[nodiscard]] int fd() const;
|
||||
};
|
||||
|
||||
#endif // PYLIBBPF_BPF_PERF_BUFFER_H
|
||||
|
||||
Reference in New Issue
Block a user