Home
last modified time | relevance | path

Searched refs:BPFModule (Results 1 – 7 of 7) sorted by relevance

/external/bcc/src/cc/
Dbpf_common.cc21 auto mod = new ebpf::BPFModule(flags); in bpf_module_create_b()
30 auto mod = new ebpf::BPFModule(flags); in bpf_module_create_c()
39 auto mod = new ebpf::BPFModule(flags); in bpf_module_create_c_from_string()
48 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_module_destroy()
54 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_num_functions()
60 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_name()
66 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_start()
72 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_start_id()
78 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_size()
84 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_size_id()
[all …]
Dbpf_module.cc57 const string BPFModule::FN_PREFIX = BPF_FN_PREFIX;
89 BPFModule::BPFModule(unsigned flags, TableStorage *ts, bool rw_engine_enabled, in BPFModule() function in ebpf::BPFModule
123 BPFModule::~BPFModule() { in ~BPFModule()
145 int BPFModule::load_cfile(const string &file, bool in_memory, const char *cflags[], int ncflags) { in load_cfile()
158 int BPFModule::load_includes(const string &text) { in load_includes()
166 void BPFModule::annotate_light() { in annotate_light()
180 void BPFModule::dump_ir(Module &mod) { in dump_ir()
186 int BPFModule::run_pass_manager(Module &mod) { in run_pass_manager()
212 int BPFModule::finalize() { in finalize()
277 size_t BPFModule::num_functions() const { in num_functions()
[all …]
Dbpf_module_rw_engine_disabled.cc25 void BPFModule::initialize_rw_engine() { in initialize_rw_engine()
28 void BPFModule::cleanup_rw_engine() { in cleanup_rw_engine()
31 int BPFModule::annotate() { in annotate()
Dbpf_module_rw_engine.cc41 void BPFModule::initialize_rw_engine() { in initialize_rw_engine()
46 void BPFModule::cleanup_rw_engine() { in cleanup_rw_engine()
218 string BPFModule::make_reader(Module *mod, Type *type) { in make_reader()
290 string BPFModule::make_writer(Module *mod, Type *type) { in make_writer()
351 unique_ptr<ExecutionEngine> BPFModule::finalize_rw(unique_ptr<Module> m) { in finalize_rw()
366 int BPFModule::annotate() { in annotate()
391 table.key_sscanf = std::bind(&BPFModule::sscanf, this, in annotate()
393 table.leaf_sscanf = std::bind(&BPFModule::sscanf, this, in annotate()
395 table.key_snprintf = std::bind(&BPFModule::snprintf, this, in annotate()
398 std::bind(&BPFModule::snprintf, this, make_writer(&*m, leaf_type), in annotate()
[all …]
Dbpf_module.h59 class BPFModule {
83 BPFModule(unsigned flags, TableStorage *ts = nullptr, bool rw_engine_enabled = true,
85 ~BPFModule();
/external/bcc/src/cc/includes/
Dbpf_module.h59 class BPFModule {
83 BPFModule(unsigned flags, TableStorage *ts = nullptr, bool rw_engine_enabled = true,
85 ~BPFModule();
/external/bcc/src/cc/api/
DBPF.h52 bpf_module_(new BPFModule(flag, ts, rw_engine_enabled, maps_ns)) {} in flag_()
230 std::unique_ptr<BPFModule> bpf_module_;