Change auto-loading behavior of trace_print
authorBrenden Blanco <bblanco@plumgrid.com>
Wed, 9 Sep 2015 01:38:59 +0000 (18:38 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Wed, 9 Sep 2015 01:41:05 +0000 (18:41 -0700)
commitafea5ed8819ffe2b65077a22a04f14c8eca4ea56
treee1af7066dd3f60cd2cde40e1f8ee9b712143fefe
parentf63f35bc069dcbda88bd7ff5d1ffb0f3ff2ed56e
Change auto-loading behavior of trace_print

* As @brendangregg pointed out, users will probably assume that
  handily-named C functions that can be auto-loaded will be all the
  time, rather than just in the singleton case. This is pretty easy to
  implement, so changing the behavior.

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