Add binary option for command outputs collected by ovs-bugtool
authorShih-Hao Li <shihli@vmware.com>
Fri, 22 Feb 2013 16:54:04 +0000 (08:54 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Mon, 25 Feb 2013 20:33:00 +0000 (12:33 -0800)
commit4a39a40abaf92bc8e02161497f57a5fbd0ce6ecd
treed2c996ef515ef84b1041a7c13bed74ec2e0ef5b9
parent59b0682a257a77de09439ecbf46bbdd5e997026d
Add binary option for command outputs collected by ovs-bugtool

Current ovs-bugtool collects command outputs as text strings.
Thus it reads the output by lines. For commands that generate
huge binary data, it becomes very inefficient to read the output.

The change here is to use a 1MB buffer to read binary data
instead of reading them by lines.

Signed-off-by: Shih-Hao Li <shihli@vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
utilities/bugtool/ovs-bugtool.in