trace-cmd: Split out the communication with client from process_client()

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

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

Signed-off-by: Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
[ Added minor cosmetic changes - SR ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed