diff options
author | 2020-05-11 22:36:27 +0900 | |
---|---|---|
committer | 2020-05-28 10:13:18 -0600 | |
commit | 8e923a2168afd221ea26e3d9716f21e9578b5c4d (patch) | |
tree | 1a6086aa8ba770367572fbca777e146ed7aa2b74 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/timens: handle a case when alarm clocks are not supported (diff) | |
download | linux-dev-8e923a2168afd221ea26e3d9716f21e9578b5c4d.tar.xz linux-dev-8e923a2168afd221ea26e3d9716f21e9578b5c4d.zip |
selftests/ftrace: Use printf for backslash included command
Since the built-in echo has different behavior in POSIX shell
(dash) and bash, kprobe_syntax_errors.tc can fail on dash which
interpret backslash escape automatically.
To fix this issue, we explicitly use printf "%s" (not interpret
backslash escapes) if the command string can include backslash.
Reported-by: Liu Yiding <yidingx.liu@intel.com>
Suggested-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions