Support for hotplug cpu cases in percpu array sizing
authorBrenden Blanco <bblanco@gmail.com>
Fri, 20 Jan 2017 23:34:36 +0000 (15:34 -0800)
committerBrenden Blanco <bblanco@gmail.com>
Sat, 21 Jan 2017 06:09:23 +0000 (22:09 -0800)
commit8338b3a7d318a6c05c2efe505e08f79666d1441b
tree065c1a466b1efee5c40f7697293033f2be006c1b
parentbfc13759753671fb6ad3a3e909c132914bc64e59
Support for hotplug cpu cases in percpu array sizing

The kernel uses number of possible cpus to size the leaf, not the num of
online cpus. Fixup the python side appropriately.
Update: use num_possible_cpus() helper instead

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