aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-diff.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2020-02-28 09:36:16 +0000
committerArnaldo Carvalho de Melo <[email protected]>2020-03-10 00:43:25 +0000
commitd942815a76463fa53b81d3d1c064f76bb3f80ead (patch)
tree1093c14b0055977bfbb1319625eaa13c6c72864e /tools/perf/builtin-diff.c
parentperf expr: Straighten expr__parse()/expr__find_other() interface (diff)
downloadkernel-d942815a76463fa53b81d3d1c064f76bb3f80ead.tar.gz
kernel-d942815a76463fa53b81d3d1c064f76bb3f80ead.zip
perf expr: Make expr__parse() return -1 on error
To match the error value of the expr__find_other function, so all exported expr functions return the same values: 0 on success, -1 on error. Signed-off-by: Jiri Olsa <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: John Garry <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ravi Bangoria <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-diff.c')
0 files changed, 0 insertions, 0 deletions