perf diff: Change compute methods to work with pair directly
authorJiri Olsa <jolsa@redhat.com>
Wed, 28 Nov 2012 13:52:40 +0000 (14:52 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 9 Dec 2012 11:46:06 +0000 (08:46 -0300)
commit05472daa4d8ab88a071bfcaa3bb47473e4071848
treecf86ff56669b9967fed53839b5e6f4e6cd820a57
parentfa283ada1606e687641dc2b157d66ef0f9c9aa8a
perf diff: Change compute methods to work with pair directly

Changing compute methods to operate over hist entry and its pair
directly. This makes the code more obvious and readable, instead of all
time checking for pair being != NULL.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
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/1354110769-2998-6-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-diff.c
tools/perf/ui/hist.c
tools/perf/util/hist.h
This page took 0.027411 seconds and 5 git commands to generate.