perf probe: Fix the logic of die_compare_name
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Fri, 9 Jul 2010 09:29:17 +0000 (18:29 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Jul 2010 14:48:34 +0000 (11:48 -0300)
commit8217563359878d11ef03cc76bc935ada89d73efd
treecdf0d275229100cf1c5ce2aa2b19dfbceacef7d7
parent6a330a3c8a648916b3c6bda79a78c38ac093af17
perf probe: Fix the logic of die_compare_name

Invert the return value of die_compare_name(), because it returns a 'bool'
result which should be expeced true if the die's name is same as compared
string.

LKML-Reference: <4C36EBED.1000006@hitachi.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-finder.c