Add a table.zero() function to bcc.TableBase
authorBrenden Blanco <bblanco@plumgrid.com>
Tue, 23 Feb 2016 21:10:50 +0000 (13:10 -0800)
committerBrenden Blanco <bblanco@plumgrid.com>
Tue, 23 Feb 2016 21:10:50 +0000 (13:10 -0800)
commit54797f8b2760c5b4896a7a7ffaee8f52901a48bd
treeaa06f24b1adfcca03313812fca64ffabb96a9381
parentd1a0e7f2c1c3c6c20712e9c2d23304ce2eccf01b
Add a table.zero() function to bcc.TableBase

It is sometimes useful to zero out the entries of table without erasing
the keys. Add a zero() function to make this easy.

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
src/python/bcc/table.py