/external/bcc/src/cc/ |
D | table_storage.cc | 31 TableStorage::TableStorage() {} in TableStorage() function in ebpf::TableStorage 32 TableStorage::~TableStorage() {} in ~TableStorage() 33 void TableStorage::Init(unique_ptr<TableStorageImpl> impl) { impl_ = move(impl); } in Init() 34 bool TableStorage::Find(const Path &path, TableStorage::iterator &result) const { in Find() 37 bool TableStorage::Insert(const Path &path, TableDesc &&desc) { in Insert() 40 bool TableStorage::Delete(const Path &path) { return impl_->Delete(path.to_string()); } in Delete() 41 size_t TableStorage::DeletePrefix(const Path &path) { in DeletePrefix() 52 void TableStorage::AddMapTypesVisitor(unique_ptr<MapTypesVisitor> visitor) { in AddMapTypesVisitor() 55 void TableStorage::VisitMapType(TableDesc &desc, clang::ASTContext &C, clang::QualType key_type, in VisitMapType() 61 TableStorage::iterator TableStorage::begin() { return impl_->begin(); } in begin() [all …]
|
D | table_storage.h | 53 class TableStorage { 59 friend class TableStorage; 86 TableStorage(); 87 ~TableStorage(); 90 bool Find(const Path &path, TableStorage::iterator &result) const; 108 std::unique_ptr<TableStorage> createSharedTableStorage(); 109 std::unique_ptr<TableStorage> createBpfFsTableStorage();
|
D | shared_table.cc | 48 virtual bool Find(const string &name, TableStorage::iterator &result) const override; 61 bool SharedTableStorage::Find(const string &name, TableStorage::iterator &result) const { in Find() 65 result = TableStorage::iterator(make_unique<iterator>(it)); in Find() 108 unique_ptr<TableStorage> createSharedTableStorage() { in createSharedTableStorage() 109 auto t = make_unique<TableStorage>(); in createSharedTableStorage()
|
D | bpffs_table.cc | 37 virtual bool Find(const string &name, TableStorage::iterator &result) const override; 49 bool BpfFsTableStorage::Find(const string &name, TableStorage::iterator &result) const { in Find() 69 unique_ptr<TableStorage> createBpfFsTableStorage() { in createBpfFsTableStorage() 70 auto t = make_unique<TableStorage>(); in createBpfFsTableStorage()
|
D | bpf_module.h | 52 class TableStorage; variable 79 BPFModule(unsigned flags, TableStorage *ts = nullptr, bool rw_engine_enabled = true, 122 TableStorage &table_storage() { return *ts_; } in table_storage() 145 TableStorage *ts_; 146 std::unique_ptr<TableStorage> local_ts_;
|
D | table_storage_impl.h | 41 virtual bool Find(const std::string &name, TableStorage::iterator &result) const = 0;
|
D | bpf_module.cc | 102 BPFModule::BPFModule(unsigned flags, TableStorage *ts, bool rw_engine_enabled, in BPFModule()
|
/external/bcc/src/cc/includes/ |
D | table_storage.h | 53 class TableStorage { 59 friend class TableStorage; 86 TableStorage(); 87 ~TableStorage(); 90 bool Find(const Path &path, TableStorage::iterator &result) const; 108 std::unique_ptr<TableStorage> createSharedTableStorage(); 109 std::unique_ptr<TableStorage> createBpfFsTableStorage();
|
D | bpf_module.h | 52 class TableStorage; variable 79 BPFModule(unsigned flags, TableStorage *ts = nullptr, bool rw_engine_enabled = true, 122 TableStorage &table_storage() { return *ts_; } in table_storage() 145 TableStorage *ts_; 146 std::unique_ptr<TableStorage> local_ts_;
|
D | table_storage_impl.h | 41 virtual bool Find(const std::string &name, TableStorage::iterator &result) const = 0;
|
/external/bcc/src/cc/api/ |
D | BPF.h | 49 explicit BPF(unsigned int flag = 0, TableStorage* ts = nullptr, 100 TableStorage::iterator it; in get_table() 108 TableStorage::iterator it; in get_array_table() 117 TableStorage::iterator it; in get_percpu_array_table() 125 TableStorage::iterator it; in get_hash_table() 134 TableStorage::iterator it; in get_percpu_hash_table()
|
D | BPF.cc | 473 TableStorage::iterator it; in open_perf_event() 497 TableStorage::iterator it; in open_perf_buffer() 624 TableStorage::iterator it; in get_prog_table() 631 TableStorage::iterator it; in get_cgroup_array() 638 TableStorage::iterator it; in get_devmap_table() 646 TableStorage::iterator it; in get_stack_table()
|
/external/bcc/src/cc/frontends/clang/ |
D | loader.h | 54 int parse(std::unique_ptr<llvm::Module> *mod, TableStorage &ts, 60 int do_compile(std::unique_ptr<llvm::Module> *mod, TableStorage &ts,
|
D | b_frontend_action.h | 153 BFrontendAction(llvm::raw_ostream &os, unsigned flags, TableStorage &ts, 166 TableStorage &table_storage() const { return ts_; } in table_storage() 175 TableStorage &ts_;
|
D | loader.cc | 107 int ClangLoader::parse(unique_ptr<llvm::Module> *mod, TableStorage &ts, in parse() 254 int ClangLoader::do_compile(unique_ptr<llvm::Module> *mod, TableStorage &ts, in do_compile()
|
D | b_frontend_action.cc | 760 TableStorage::iterator desc; in VisitCallExpr() 1097 TableStorage::iterator table_it; in VisitVarDecl() 1343 TableStorage &ts, const std::string &id, in BFrontendAction()
|
/external/bcc/src/cc/frontends/b/ |
D | codegen_llvm.h | 46 class TableStorage; variable 68 STATUS_RETURN visit(Node *n, TableStorage &ts, const std::string &id,
|
D | loader.h | 41 TableStorage &ts, const std::string &id, const std::string &maps_ns);
|
D | loader.cc | 36 TableStorage &ts, const string &id, const std::string &maps_ns) { in parse()
|
D | codegen_llvm.cc | 1233 StatusTuple CodegenLLVM::visit(Node *root, TableStorage &ts, const string &id, in visit()
|
/external/bcc/examples/cpp/ |
D | UseExternalMap.cc | 88 std::unique_ptr<ebpf::TableStorage> local_ts = in main()
|