diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-05-25 19:20:57 +0900 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-05-28 10:14:52 -0600 |
commit | 619ee76f5c9f6a1d601d1a056a454d62bf676ae4 (patch) | |
tree | b56818c9ca37143b03646fa99948136b3bc70fb0 /lib | |
parent | 8e923a2168afd221ea26e3d9716f21e9578b5c4d (diff) |
selftests/ftrace: Return unsupported if no error_log file
Check whether error_log file exists in tracing/error_log testcase
and return UNSUPPORTED if no error_log file.
This can happen if we run the ftracetest on the older stable
kernel.
Fixes: 4eab1cc461a6 ("selftests/ftrace: Add tracing/error_log testcase")
Cc: stable@vger.kernel.org
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions