]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34a72733c322a4200752690db8a7e2594513f32c
treecdf0d275229100cf1c5ce2aa2b19dfbceacef7d7
parenta632772d1638bbfdc50781932dcea824066ba2d6
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