]> git.baikalelectronics.ru Git - kernel.git/commit
perf machine: Fix the search for the kernel DSO on the unified list
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 2 Jun 2015 14:28:13 +0000 (11:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 2 Jun 2015 18:15:37 +0000 (15:15 -0300)
commit5fd1f9cbdc488b0a670b6c41b8a925bb6f980cc2
tree6e3c077b9df3958578aa98a501cd1d03a9cc6e3d
parent95e0024ec1b0fd8fbce70cf5f149cacf060cd54f
perf machine: Fix the search for the kernel DSO on the unified list

When unifying the user_dsos and kernel_dsos a bug was introduced by
inverting the check for dso->kernel, fix it.

Fixes: c72d210967f6 ("perf machine: No need to have two DSOs lists")
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/tip-xnrnq0kams3s2z9ek1wjb506@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c