perf tools: Compare hists comm by addresses
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 11 Sep 2013 15:18:09 +0000 (17:18 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 4 Nov 2013 15:14:59 +0000 (12:14 -0300)
commitfedd63d3cdc9004df43b02df5c874b8957992fe8
tree5de83afc26e66cae4e613514ea2bc476553b8f24
parent1902efe7f626fdebe1520f5ff11f1309ec506708
perf tools: Compare hists comm by addresses

Now that comm strings are allocated only once and refcounted to be shared
among threads, these can now be safely compared by addresses. This
should remove most hists collapses on post processing.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Tested-by: Jiri Olsa <jolsa@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1381468543-25334-8-git-send-email-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/sort.c