Skip to content

Commit 1c2e170

Browse files
committed
Add BpfObject and BpfPerfBuffer to pybind11
1 parent f233cf2 commit 1c2e170

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 4.0)
1+
cmake_minimum_required(VERSION 3.31)
22
project(pylibbpf)
33

44
set(CMAKE_CXX_STANDARD 20)
@@ -13,9 +13,13 @@ pybind11_add_module(
1313
src/core/bpf_program.h
1414
src/core/bpf_exception.h
1515
src/core/bpf_map.h
16+
src/core/bpf_object.h
17+
src/core/bpf_perf_buffer.h
1618
src/bindings/main.cpp
1719
src/core/bpf_program.cpp
18-
src/core/bpf_map.cpp)
20+
src/core/bpf_map.cpp
21+
src/core/bpf_object.cpp
22+
src/core/bpf_perf_buffer.cpp)
1923

2024
# --- libbpf build rules ---
2125
set(LIBBPF_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libbpf/src)

0 commit comments

Comments
 (0)