aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2016-02-16 23:08:22 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-02-19 19:14:20 -0300
commit2d713b809d89a3d10c6a85162bf7cce0468e45d9 (patch)
treecf07b0c8830df64d09d27ab1f5edc45d836faab9 /tools/perf/util/scripting-engines
parent8451cbb9b174a9b6e016d7f1bff81ff12dbd1990 (diff)
perf callchain: Add enum match_result for match_chain()
The append_chain() might return either result of match_chain() or other (error) code. But match_chain() can return any value in s64 type so it's hard to check the error case. Add new enum match_result and make match_chain() return non-negative values only so that we can check the error cases. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1455631723-17345-5-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions