aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2018-10-22 00:08:20 +0900
committerSteven Rostedt (VMware) <[email protected]>2018-10-28 04:58:15 -0400
commit18858511fd8a877303cc34c06efa461b26a0e070 (patch)
tree12f44dd2fc90a9bbdf54c6927245bdf8eb65414a /tools/perf/scripts/python/bin/export-to-postgresql-report
parentba0e41ca81b935b958006c7120466e2217357827 (diff)
tracing: Return -ENOENT if there is no target synthetic event
Return -ENOENT error if there is no target synthetic event. This notices an operation failure to user as below; # echo 'wakeup_latency u64 lat; pid_t pid;' > synthetic_events # echo '!wakeup' >> synthetic_events sh: write error: No such file or directory Link: http://lkml.kernel.org/r/154013449986.25576.9487131386597290172.stgit@devbox Acked-by: Tom Zanussi <[email protected]> Tested-by: Tom Zanussi <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Rajvi Jingar <[email protected]> Cc: [email protected] Fixes: 4b147936fa50 ('tracing: Add support for 'synthetic' events') Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions