MCPcopy Create free account
hub / github.com/iovisor/bcc / BPFQueueStackTable

Method BPFQueueStackTable

src/cc/api/BPFTable.h:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166class BPFQueueStackTable : public BPFQueueStackTableBase<void> {
167 public:
168 explicit BPFQueueStackTable(const TableDesc& desc) : BPFQueueStackTableBase(desc) {
169 if (desc.type != BPF_MAP_TYPE_QUEUE &&
170 desc.type != BPF_MAP_TYPE_STACK)
171 throw std::invalid_argument("Table '" + desc.name +
172 "' is not a queue/stack table");
173 }
174
175 virtual StatusTuple pop_value(ValueType& value) {
176 if (!this->pop(get_value_addr(value)))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected