OSDN Git Service

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:28:38 +0000 (14:28 +0200)
commit7929b50dedd131be308f8b3cd54b6cb1c4c5b949
tree02022d26beb4790543c88bdb01009f070a9cb1ae
parente3cea38357ea66d63b1c42500c69ca88a3f0c44f
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