perf sort: Factor out common code in sort_dimension__add()
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 3 Apr 2013 12:26:10 +0000 (21:26 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 May 2013 13:23:53 +0000 (16:23 +0300)
commit2f532d09fa3a7eaf7cf1c23de9767eab8c8c0e7e
treec4731ac35cd5ecf6bc7201bce7e4069c0321dd38
parent55369fc179b0572d0b4a06a9be1d2779b3ac22e0
perf sort: Factor out common code in sort_dimension__add()

Let's remove duplicate code.

Suggested-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@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: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1364991979-3008-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c