trace-cmd: Move to output dir specified by -d in listen command

If -d is specified on the command line for 'trace-cmd listen' then
change to that directory to write the data files to.

Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed