perf sort: Do not compare dso again
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 18 Dec 2013 05:21:10 +0000 (14:21 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 18 Dec 2013 17:43:04 +0000 (14:43 -0300)
commit68f6d0224b2a19a4da4a12a5081f01776e5150df
treee89e1cc01a62c4d400bc43087ac2e65d71352877
parent2037be53b2bceac3c2e648b8ff3fd62e21af2d35
perf sort: Do not compare dso again

The commit 09600e0f9ebb ("perf tools: Compare dso's also when comparing
symbols") added a comparison of dso when comparing symbol.

But if the sort key already has dso, it doesn't need to do it again
since entries have a different dso already filtered out.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Arun Sharma <asharma@fb.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rodrigo Campos <rodrigo@sdfg.com.ar>
Link: http://lkml.kernel.org/r/1387344086-12744-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c