aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2017-06-27 10:52:57 -0300
committerArnaldo Carvalho de Melo <[email protected]>2017-06-27 10:52:57 -0300
commit881c362d34ef76600b859e3a034d4155139bad2c (patch)
treeca40b870b417b62141932e69f61aad85f9f7d555 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent19508c048a2f90facb64624340bf1b7ee555442e (diff)
perf help: Introduce exec_failed() to avoid code duplication
The warning(str_error_r(errno)) pattern can be replaced with a function, do it. And while at it use pr_warning(), we have way too many error reporting facilities, time to drop some, starting with the one we got from the git sources. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions