Skip to content

Commit f99de99

Browse files
committed
Fix includes for PerfEventArray
1 parent fa5d181 commit f99de99

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/maps/perf_event_array.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
#include "perf_event_array.h"
1+
#include "maps/perf_event_array.h"
22
#include "core/bpf_exception.h"
33
#include "core/bpf_map.h"
44
#include "core/bpf_object.h"
55
#include "utils/struct_parser.h"
6+
#include <cerrno>
7+
#include <cstring>
68

79
PerfEventArray::PerfEventArray(std::shared_ptr<BpfMap> map, int page_cnt,
810
py::function callback, py::object lost_callback)

src/maps/perf_event_array.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include <libbpf.h>
55
#include <memory>
6-
#include <pybind11/functional.h>
76
#include <pybind11/pybind11.h>
87
#include <string>
98

0 commit comments

Comments
 (0)