selftests: ftrace: Add -l/--logdir option
authorNamhyung Kim <namhyung@kernel.org>
Mon, 17 Apr 2017 02:44:29 +0000 (11:44 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 17 Apr 2017 21:26:50 +0000 (17:26 -0400)
commit560642d9ab5c37451ee43989dd9a35037ab5ab8d
tree4c9a6a213c3c98eece089f4c67c2223fb6408ef8
parent1e10486ffee0a5b060c58b9c8c712422f7b88b3b
selftests: ftrace: Add -l/--logdir option

In my virtual machine setup, running ftracetest failed on creating
LOG_DIR on a read-only filesystem.  It'd be convenient to provide an
option to specify a different directory as log directory.

Link: http://lkml.kernel.org/r/20170417024430.21194-4-namhyung@kernel.org
Cc: Ingo Molnar <mingo@kernel.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/ftracetest