perf auxtrace: Fix no_size logic in addr_filter__resolve_kernel_syms()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 24 Mar 2017 12:15:52 +0000 (14:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 May 2017 12:49:45 +0000 (14:49 +0200)
commit08b0b5bd543a9f8fee67283e980cd7db51165bf9
tree36dce9f49cf59231e4eaa22bda62842862d7d8a4
parent2d5845224145b04699bf157d0acbe817bd0dbadc
perf auxtrace: Fix no_size logic in addr_filter__resolve_kernel_syms()

commit c3a0bbc7ad7598dec5a204868bdf8a2b1b51df14 upstream.

Address filtering with kernel symbols incorrectly resulted in the error
"Cannot determine size of symbol" because the no_size logic was the wrong
way around.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1490357752-27942-1-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/perf/util/auxtrace.c