trace-cmd: Split out the communication with listener from setup_network()

Split out the communication with listener from the setup_network() for avoiding
duplicate codes between listen mode and virt-server mode.

Link: http://lkml.kernel.org/r/20130819094630.26597.86145.stgit@yunodevel

Signed-off-by: Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed