Home
last modified time | relevance | path

Searched refs:TableStorage (Results 1 – 21 of 21) sorted by relevance

/external/bcc/src/cc/
Dtable_storage.cc31 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 …]
Dtable_storage.h53 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();
Dshared_table.cc48 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()
Dbpffs_table.cc37 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()
Dbpf_module.h52 class TableStorage; variable
83 BPFModule(unsigned flags, TableStorage *ts = nullptr, bool rw_engine_enabled = true,
126 TableStorage &table_storage() { return *ts_; } in table_storage()
149 TableStorage *ts_;
150 std::unique_ptr<TableStorage> local_ts_;
Dtable_storage_impl.h41 virtual bool Find(const std::string &name, TableStorage::iterator &result) const = 0;
Dbpf_module.cc89 BPFModule::BPFModule(unsigned flags, TableStorage *ts, bool rw_engine_enabled, in BPFModule()
/external/bcc/src/cc/includes/
Dtable_storage.h53 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();
Dbpf_module.h52 class TableStorage; variable
83 BPFModule(unsigned flags, TableStorage *ts = nullptr, bool rw_engine_enabled = true,
126 TableStorage &table_storage() { return *ts_; } in table_storage()
149 TableStorage *ts_;
150 std::unique_ptr<TableStorage> local_ts_;
Dtable_storage_impl.h41 virtual bool Find(const std::string &name, TableStorage::iterator &result) const = 0;
/external/bcc/src/cc/api/
DBPF.h49 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()
DBPF.cc474 TableStorage::iterator it; in open_perf_event()
498 TableStorage::iterator it; in open_perf_buffer()
625 TableStorage::iterator it; in get_prog_table()
632 TableStorage::iterator it; in get_cgroup_array()
639 TableStorage::iterator it; in get_devmap_table()
647 TableStorage::iterator it; in get_stack_table()
/external/bcc/src/cc/frontends/clang/
Dloader.h54 int parse(std::unique_ptr<llvm::Module> *mod, TableStorage &ts,
60 int do_compile(std::unique_ptr<llvm::Module> *mod, TableStorage &ts,
Db_frontend_action.h155 BFrontendAction(llvm::raw_ostream &os, unsigned flags, TableStorage &ts,
168 TableStorage &table_storage() const { return ts_; } in table_storage()
177 TableStorage &ts_;
Dloader.cc107 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()
Db_frontend_action.cc760 TableStorage::iterator desc; in VisitCallExpr()
1117 TableStorage::iterator table_it; in VisitVarDecl()
1351 TableStorage &ts, const std::string &id, in BFrontendAction()
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.h46 class TableStorage; variable
68 STATUS_RETURN visit(Node *n, TableStorage &ts, const std::string &id,
Dloader.h41 TableStorage &ts, const std::string &id, const std::string &maps_ns);
Dloader.cc36 TableStorage &ts, const string &id, const std::string &maps_ns) { in parse()
Dcodegen_llvm.cc1233 StatusTuple CodegenLLVM::visit(Node *root, TableStorage &ts, const string &id, in visit()
/external/bcc/examples/cpp/
DUseExternalMap.cc88 std::unique_ptr<ebpf::TableStorage> local_ts = in main()