perf hists: Rename hist_entry__add_pair arguments
authorJiri Olsa <jolsa@redhat.com>
Thu, 13 Dec 2012 13:09:00 +0000 (14:09 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 May 2013 13:24:02 +0000 (16:24 +0300)
commit4d23322a0b8d0f40819dc02ea15a732a78b0a1c0
tree4c0c82a28c4970dc044520134f0f3a6e65dec102
parent367c53c08f84bb554a3aae18b65e5419fe4b164a
perf hists: Rename hist_entry__add_pair arguments

The current logic is to attach pair to the leader hist_entry.

Arguments of hist_entry__add_pair function were placed the other way
round.. driving me crazy.

I.e. list_add_tail expects (new_node, head).

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1355404152-16523-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.h