mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-02-12 16:11:00 +00:00
Fix includes for PerfEventArray
This commit is contained in:
@ -1,8 +1,10 @@
|
|||||||
#include "perf_event_array.h"
|
#include "maps/perf_event_array.h"
|
||||||
#include "core/bpf_exception.h"
|
#include "core/bpf_exception.h"
|
||||||
#include "core/bpf_map.h"
|
#include "core/bpf_map.h"
|
||||||
#include "core/bpf_object.h"
|
#include "core/bpf_object.h"
|
||||||
#include "utils/struct_parser.h"
|
#include "utils/struct_parser.h"
|
||||||
|
#include <cerrno>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
PerfEventArray::PerfEventArray(std::shared_ptr<BpfMap> map, int page_cnt,
|
PerfEventArray::PerfEventArray(std::shared_ptr<BpfMap> map, int page_cnt,
|
||||||
py::function callback, py::object lost_callback)
|
py::function callback, py::object lost_callback)
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
#include <libbpf.h>
|
#include <libbpf.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <pybind11/functional.h>
|
|
||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user