1
0
Fork 0
alistair23-linux/tools/perf/ui
Jiri Olsa 81d5f95819 perf diff: Add weighted diff computation way to compare hist entries
Adding 'wdiff' as new computation way to compare hist entries.

If specified the 'Weighted diff' column is displayed with value 'd'
computed as:

   d = B->period * WEIGHT-A - A->period * WEIGHT-B

  - A/B being matching hist entry from first/second file specified
    (or perf.data/perf.data.old) respectively.
  - period being the hist entry period value
  - WEIGHT-A/WEIGHT-B being user suplied weights in the the '-c' option
    behind ':' separator like '-c wdiff:1,2'.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <andi@firstfloor.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/1349448287-18919-5-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-10-05 14:10:42 -03:00
..
browsers perf hists: Introduce struct he_stat 2012-10-04 13:34:22 -03:00
gtk perf hists: Introduce struct he_stat 2012-10-04 13:34:22 -03:00
stdio perf hists: Introduce struct he_stat 2012-10-04 13:34:22 -03:00
tui perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
browser.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
browser.h perf annotate browser: Read perf config file for settings 2012-05-29 22:06:30 -03:00
helpline.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
helpline.h perf tools: Convert to GTK2_SUPPORT 2012-10-02 18:36:23 -03:00
hist.c perf diff: Add weighted diff computation way to compare hist entries 2012-10-05 14:10:42 -03:00
keysyms.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
libslang.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
progress.c perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
progress.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
setup.c perf tool: Add hpp interface to enable/disable hpp column 2012-10-04 13:30:27 -03:00
ui.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
util.c perf ui: Introduce struct perf_error_ops 2012-06-19 13:06:18 -03:00
util.h perf ui: Introduce struct perf_error_ops 2012-06-19 13:06:18 -03:00