Fix: make lttng expand path for trace output opt
authorDavid Goulet <>
Thu, 5 Apr 2012 15:39:59 +0000 (11:39 -0400)
committerDavid Goulet <>
Thu, 5 Apr 2012 15:58:01 +0000 (11:58 -0400)
lttng create --output was passing the path string to the session daemon
and thus, for relative path like './mytraces', it was created in the
current directory of the session daemon.

Now lttng command line uses the realpath(3) of the --output string and
denies creation if multiple level of directory does not exist (Ex:
/tmp/foo/bar/chap, if foo/ does not exist, it is refused).

Directory creation still occurs on the session daemon side.

Reported-by: Ettore Del Negro <>
Signed-off-by: David Goulet <>

No differences found
This page took 0.040786 seconds and 4 git commands to generate.