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 Mar 2013 21:52:34 +0000 (14:52 -0700)
commitf2cdc0088bcf7e049cdc4b20b37cc0be47ec8d02
treeb8096bd4ffc3bc72a9b0f0ecd6e6a2723d87aa82
parent3383887a349c1227867c2a00d188bb8c4a53194a
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