Add field support to trace_print and friends
authorBrenden Blanco <bblanco@plumgrid.com>
Mon, 24 Aug 2015 19:06:36 +0000 (12:06 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Mon, 24 Aug 2015 19:14:29 +0000 (12:14 -0700)
commit022f3d7753100aca79aaa8936e6e795391eda45d
tree3a505be3b92e92a85ce0ae00471f8bea459b4087
parentee28632646bfe2b6c189906adaf57e144c6fe08a
Add field support to trace_print and friends

Add trace_readline_fields helper to parse the output of trace_pipe
Add field parsing support to trace_print. Addresses #149.
Fix typo in trace_open s/trace/tracefile/
Make nonblocking=False the default in trace_readline
Use IOError vs BlockingIOError for greater compatibility (untested)

Fixes: #149
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
examples/hello_world.py
src/python/bpf/__init__.py