kselftests/ftrace: Detect tracefs mount point
authorNamhyung Kim <namhyung@kernel.org>
Tue, 10 May 2016 14:53:05 +0000 (23:53 +0900)
committerShuah Khan <shuahkh@osg.samsung.com>
Mon, 16 May 2016 15:01:49 +0000 (09:01 -0600)
commit5a614ec8a7cfe9098475fa1221b409fb7eec6054
tree20b5f1687c46d778514306ec70f21bc1a1ac05a9
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
kselftests/ftrace: Detect tracefs mount point

Currently ftracetest assumes tracing directory is located under
$DEBUGFS/tracing.  But it's possible to mount tracefs directly without
debugfs.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/ftrace/ftracetest