Commit b5cadaff authored by Mauricio Vasquez B's avatar Mauricio Vasquez B
Browse files

fix get_table_offline for percpu hash table

Use get_value() instead of lookup() as the value as in the case of
percpu tables the ValueType is an std::vector that has to be resized
before performing the lookup function.

Add also some testing for it.

Solves https://github.com/iovisor/bcc/issues/1860



Signed-off-by: default avatarMauricio Vasquez B <mauricio.vasquez@polito.it>
parent 1cf67ae2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment