mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-03-22 13:11:28 +00:00
Add StructParser utility
This commit is contained in:
@ -10,16 +10,27 @@ include_directories(${CMAKE_SOURCE_DIR}/src)
|
||||
add_subdirectory(pybind11)
|
||||
pybind11_add_module(
|
||||
pylibbpf
|
||||
|
||||
# Core
|
||||
src/core/bpf_program.h
|
||||
src/core/bpf_exception.h
|
||||
src/core/bpf_map.h
|
||||
src/core/bpf_object.h
|
||||
src/maps/bpf_perf_buffer.h
|
||||
src/bindings/main.cpp
|
||||
src/core/bpf_program.cpp
|
||||
src/core/bpf_map.cpp
|
||||
src/core/bpf_object.cpp
|
||||
src/maps/bpf_perf_buffer.cpp)
|
||||
|
||||
# Maps
|
||||
src/maps/bpf_perf_buffer.h
|
||||
src/maps/bpf_perf_buffer.cpp
|
||||
|
||||
# Utils
|
||||
src/utils/struct_parser.h
|
||||
src/utils/struct_parser.cpp
|
||||
|
||||
# Bindings
|
||||
src/bindings/main.cpp
|
||||
)
|
||||
|
||||
# --- libbpf build rules ---
|
||||
set(LIBBPF_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libbpf/src)
|
||||
|
||||
Reference in New Issue
Block a user