btftoolchain
libbtf_binding.cpp File Reference
#include "btf/btf.h"
#include "libhelper_binding.h"
#include <pybind11/operators.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
Include dependency graph for libbtf_binding.cpp:

Functions

 PYBIND11_MODULE (pybtf, m)
 Macro that creates a function that will be called when the module pybtf is imported within python. It enables the creation of Python bindings for the C++ code of the BTF lib. More...
 

Function Documentation

◆ PYBIND11_MODULE()

PYBIND11_MODULE ( pybtf  ,
 
)

Macro that creates a function that will be called when the module pybtf is imported within python. It enables the creation of Python bindings for the C++ code of the BTF lib.

Parameters
[in]nameName of the python module the C++ source code is linked to.
[in]variableModule interface for creating binding code.
Here is the call graph for this function: