aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-10-14 17:57:11 -0300
committerArnaldo Carvalho de Melo <[email protected]>2016-10-24 11:07:44 -0300
commite7b32d12a287a79f2831c1246baf3de0aed95dcc (patch)
treebda9f8eedf847d0579bc2de14e3dd43bd8ddcd2d /tools/perf/scripts/python/Perf-Trace-Util
parent47b5757bac03c3387ccbe95507917b0f1dd6bb5b (diff)
perf tools: Normalize sq_quote_argv() error reporting
It already returns whatever strbuf_(grow|addch)() returns in case of failure, so just return -ENOSPC in the only case where it was die()ing. When it returns, its only caller will call die() anyway, so no need to be so eager, die later. 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/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions