Home
last modified time | relevance | path

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

/external/bcc/src/cc/
Dbcc_common.cc22 auto mod = new ebpf::BPFModule(flags, nullptr, true, "", allow_rlimit, dev_name); in bpf_module_create_c()
32 auto mod = new ebpf::BPFModule(flags, nullptr, true, "", allow_rlimit, dev_name); in bpf_module_create_c_from_string()
45 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_module_destroy()
51 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_num_functions()
57 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_name()
63 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_start()
69 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_start_id()
75 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_size()
81 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_size_id()
87 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_module_license()
[all …]
Dbpf_module.cc145 BPFModule::BPFModule(unsigned flags, TableStorage *ts, bool rw_engine_enabled, in BPFModule() function in ebpf::BPFModule
182 BPFModule::~BPFModule() { in ~BPFModule()
213 int BPFModule::free_bcc_memory() { in free_bcc_memory()
218 int BPFModule::load_cfile(const string &file, bool in_memory, const char *cflags[], int ncflags) { in load_cfile()
232 int BPFModule::load_includes(const string &text) { in load_includes()
242 void BPFModule::annotate_light() { in annotate_light()
256 void BPFModule::dump_ir(Module &mod) { in dump_ir()
283 int BPFModule::run_pass_manager(Module &mod) { in run_pass_manager()
333 void BPFModule::load_btf(sec_map_def &sections) { in load_btf()
378 int BPFModule::create_maps(std::map<std::string, std::pair<int, int>> &map_tids, in create_maps()
[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()
247 string BPFModule::make_reader(Module *mod, Type *type) { in make_reader()
319 string BPFModule::make_writer(Module *mod, Type *type) { in make_writer()
380 unique_ptr<ExecutionEngine> BPFModule::finalize_rw(unique_ptr<Module> m) { in finalize_rw()
397 int BPFModule::annotate() { in annotate()
429 table.key_sscanf = std::bind(&BPFModule::sscanf, this, in annotate()
431 table.leaf_sscanf = std::bind(&BPFModule::sscanf, this, in annotate()
433 table.key_snprintf = std::bind(&BPFModule::snprintf, this, in annotate()
436 std::bind(&BPFModule::snprintf, this, make_writer(&*m, leaf_type), in annotate()
[all …]
Dbpf_module.h69 class BPFModule {
99 BPFModule(unsigned flags, TableStorage *ts = nullptr, bool rw_engine_enabled = true,
102 ~BPFModule();
/external/bcc/src/cc/includes/
Dbpf_module.h69 class BPFModule {
99 BPFModule(unsigned flags, TableStorage *ts = nullptr, bool rw_engine_enabled = true,
102 ~BPFModule();
/external/bcc/src/cc/api/
DBPF.h122 bpf_module_(new BPFModule(flag, ts, rw_engine_enabled, maps_ns, in flag_()
403 std::unique_ptr<BPFModule> bpf_module_;