tmp_suning_uos_patched/tools/perf/util
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
..
include
scripting-engines perf tools: Fix a compiling error in trace-event-perl.c for 32 bits machine 2012-09-20 08:30:21 -03:00
abspath.c
alias.c
annotate.c
annotate.h perf tools: Convert to NEWT_SUPPORT 2012-10-02 18:36:22 -03:00
bitmap.c
build-id.c
build-id.h
cache.h perf tools: Convert to HAVE_STRLCPY 2012-10-02 18:36:24 -03:00
callchain.c
callchain.h
cgroup.c
cgroup.h
color.c
color.h
config.c
cpumap.c perf stat: Check PMU cpumask file 2012-09-17 13:12:02 -03:00
cpumap.h perf tools: Allow handling a NULL cpu_map as meaning "all cpus" 2012-09-26 12:41:14 -03:00
ctype.c
debug.c perf tools: Convert to GTK2_SUPPORT 2012-10-02 18:36:23 -03:00
debug.h perf tools: Convert to GTK2_SUPPORT 2012-10-02 18:36:23 -03:00
debugfs.c
debugfs.h
dso-test-data.c
dwarf-aux.c perf probe: Print an enum type variable in "enum variable-name" format when showing accessible variables 2012-09-27 10:58:57 -03:00
dwarf-aux.h
environment.c
event.c perf symbols: Filter samples with unresolved symbol when "--symbols" option is used 2012-09-17 13:10:57 -03:00
event.h
evlist.c perf evlist: Remove some unused methods 2012-10-03 11:52:07 -03:00
evlist.h perf evlist: Remove some unused methods 2012-10-03 11:52:07 -03:00
evsel.c perf evsel: Export the event_format constructor 2012-09-26 20:24:19 -03:00
evsel.h perf evsel: Export the event_format constructor 2012-09-26 20:24:19 -03:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh perf tools: Convert to LIBELF_SUPPORT 2012-09-28 21:07:36 -03:00
header.c perf evsel: Know if byte swap is needed 2012-09-26 12:48:18 -03:00
header.h perf header: Remove perf_header__read_feature 2012-09-24 11:47:46 -03:00
help.c
help.h
hist.c perf hists: Add more helpers for hist entry stat 2012-10-04 13:36:18 -03:00
hist.h perf diff: Add weighted diff computation way to compare hist entries 2012-10-05 14:10:42 -03:00
hweight.c
intlist.c
intlist.h
levenshtein.c
levenshtein.h
map.c perf tools: Convert to LIBELF_SUPPORT 2012-09-28 21:07:36 -03:00
map.h
pager.c
parse-events-test.c
parse-events.c perf tools: Use perf_evsel__newtp in the event parser 2012-09-26 18:29:19 -03:00
parse-events.h
parse-events.l
parse-events.y
parse-options.c perf tools: Long option completion support for each subcommands 2012-10-02 18:36:44 -03:00
parse-options.h perf tools: Long option completion support for each subcommands 2012-10-02 18:36:44 -03:00
path.c perf tools: Convert to HAVE_STRLCPY 2012-10-02 18:36:24 -03:00
perf_regs.h perf tools: Convert to LIBUNWIND_SUPPORT 2012-10-02 17:56:01 -03:00
PERF-VERSION-GEN
pmu.c perf stat: Check PMU cpumask file 2012-09-17 13:12:02 -03:00
pmu.h perf stat: Check PMU cpumask file 2012-09-17 13:12:02 -03:00
pmu.l
pmu.y
probe-event.c perf tools: remove sscanf extension %as 2012-09-24 11:49:31 -03:00
probe-event.h
probe-finder.c
probe-finder.h
pstack.c
pstack.h
python-ext-sources
python.c perf evsel: Know if byte swap is needed 2012-09-26 12:48:18 -03:00
quote.c
quote.h
rblist.c
rblist.h
run-command.c
run-command.h
session.c perf evsel: Know if byte swap is needed 2012-09-26 12:48:18 -03:00
session.h
setup.py
sigchain.c
sigchain.h
sort.c
sort.h perf diff: Add weighted diff computation way to compare hist entries 2012-10-05 14:10:42 -03:00
stat.c perf stat: Move stats related code to util/stat.c 2012-09-17 13:10:03 -03:00
stat.h perf stat: Move stats related code to util/stat.c 2012-09-17 13:10:03 -03:00
strbuf.c
strbuf.h
strfilter.c
strfilter.h
string.c
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol-elf.c
symbol-minimal.c
symbol.c
symbol.h perf tools: Convert to LIBELF_SUPPORT 2012-09-28 21:07:36 -03:00
sysfs.c
sysfs.h
target.c
target.h
thread_map.c
thread_map.h
thread.c
thread.h perf kvm: Events analysis tool 2012-09-21 12:51:22 -03:00
tool.h
top.c
top.h
trace-event-info.c
trace-event-parse.c perf tools: remove sscanf extension %as 2012-09-24 11:49:31 -03:00
trace-event-read.c
trace-event-scripting.c
trace-event.h
types.h
unwind.c
unwind.h perf tools: Convert to LIBUNWIND_SUPPORT 2012-10-02 17:56:01 -03:00
usage.c
util.c perf tools: Convert to BACKTRACE_SUPPORT 2012-10-02 18:36:45 -03:00
util.h
values.c
values.h
vdso.c
vdso.h
wrapper.c
xyarray.c
xyarray.h