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)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 27 Mar 2017 14:58:08 +0000 (11:58 -0300)
commitc3a0bbc7ad7598dec5a204868bdf8a2b1b51df14
treefb0a6572c4f724ea8036cdf6baf17259bce07049
parentef65e96e0762cb98d9abeb6737c721ca840f8092
perf auxtrace: Fix no_size logic in addr_filter__resolve_kernel_syms()

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>
Cc: stable@vger.kernel.org # v4.9+
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>
tools/perf/util/auxtrace.c