Home
last modified time | relevance | path

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

/external/bcc/src/cc/api/
DBPFTable.cc40 BPFTable::BPFTable(const TableDesc& desc) : BPFTableBase<void, void>(desc) {} in BPFTable() function in ebpf::BPFTable
42 StatusTuple BPFTable::get_value(const std::string& key_str, in get_value()
59 StatusTuple BPFTable::get_value(const std::string& key_str, in get_value()
84 StatusTuple BPFTable::update_value(const std::string& key_str, in update_value()
105 StatusTuple BPFTable::update_value(const std::string& key_str, in update_value()
132 StatusTuple BPFTable::remove_value(const std::string& key_str) { in remove_value()
147 StatusTuple BPFTable::clear_table_non_atomic() { in clear_table_non_atomic()
183 StatusTuple BPFTable::get_table_offline( in get_table_offline()
249 size_t BPFTable::get_possible_cpu_count() { return get_possible_cpus().size(); } in get_possible_cpu_count()
DCMakeLists.txt1 set(bcc_api_sources BPF.cc BPFTable.cc)
3 install(FILES BPF.h BPFTable.h COMPONENT libbcc DESTINATION include/bcc)
DBPFTable.h91 class BPFTable : public BPFTableBase<void, void> {
93 BPFTable(const TableDesc& desc);
167 ncpus(BPFTable::get_possible_cpu_count()) { in BPFPercpuArrayTable()
268 ncpus(BPFTable::get_possible_cpu_count()) { in BPFPercpuHashTable()
DBPF.h99 BPFTable get_table(const std::string& name) { in get_table()
102 return BPFTable(it->second); in get_table()
103 return BPFTable({}); in get_table()
/external/bcc/tests/cc/
Dtest_bpf_table.cc35 ebpf::BPFTable t = bpf->get_table("myhash");
105 ebpf::BPFTable t = bpf.get_table("myhash");
106 size_t ncpus = ebpf::BPFTable::get_possible_cpu_count();
Dtest_array_table.cc111 size_t ncpus = ebpf::BPFTable::get_possible_cpu_count();
Dtest_hash_table.cc108 size_t ncpus = ebpf::BPFTable::get_possible_cpu_count();