linux_dsm_epyc7002/tools/perf/util
Jiri Olsa f4c8bae192 perf diff: Change formula methods to work with pair directly
Changing formula 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-7-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-12-09 08:46:07 -03:00
..
include perf: Fix UAPI fallout 2012-10-14 12:22:52 -07:00
scripting-engines perf tools: Remove duplicated include from trace-event-python.c 2012-10-07 13:15:04 -03:00
abspath.c
alias.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
annotate.c perf annotate: Merge same lines in summary view 2012-11-09 16:50:18 -03:00
annotate.h perf annotate: Merge same lines in summary view 2012-11-09 16:50:18 -03:00
bitmap.c
build-id.c perf tools: Move build_id__sprintf into build-id object 2012-10-29 11:34:46 -02:00
build-id.h perf tools: Move BUILD_ID_SIZE into build-id object 2012-10-29 11:35:32 -02:00
cache.h perf ui: Always compile browser setup code 2012-11-14 16:53:03 -03:00
callchain.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
callchain.h tools: perf: Fix typo in tools/perf 2012-09-01 08:49:34 -07:00
cgroup.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
cgroup.h
color.c
color.h
config.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
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 ui/helpline: Introduce ui_helpline__vshow() 2012-12-09 08:46:04 -03:00
debug.h perf ui: Always compile error printing code 2012-12-09 08:46:04 -03:00
debugfs.c
debugfs.h
dso.c perf symbols: Fix dso__fprintf() print statement 2012-12-09 08:46:04 -03:00
dso.h perf tools: Move dso_* related functions into dso object 2012-10-29 11:37:25 -02:00
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 tools: Use sscanf for parsing /proc/pid/maps 2012-11-14 16:51:40 -03:00
event.h perf tools: Move BUILD_ID_SIZE into build-id object 2012-10-29 11:35:32 -02:00
evlist.c perf evsel: Convert to _is_group_leader method 2012-12-09 08:46:06 -03:00
evlist.h perf evlist: Remove some unused methods 2012-10-03 11:52:07 -03:00
evsel.c perf evsel: Convert to _is_group_leader method 2012-12-09 08:46:06 -03:00
evsel.h perf evsel: Convert to _is_group_leader method 2012-12-09 08:46:06 -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 Merge branch 'linus' into perf/core 2012-12-08 15:25:06 +01:00
header.h Merge branch 'linus' into perf/core 2012-12-08 15:25:06 +01:00
help.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
help.h
hist.c perf hists: Link hist entry pairs to leader 2012-12-09 08:46:06 -03:00
hist.h perf diff: Change formula methods to work with pair directly 2012-12-09 08:46:07 -03:00
hweight.c
intlist.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
intlist.h
levenshtein.c
levenshtein.h
machine.c perf machine: Move more methods to machine.[ch] 2012-11-09 11:32:52 -03:00
machine.h perf machine: Move more methods to machine.[ch] 2012-11-09 11:32:52 -03:00
map.c perf machine: Move more methods to machine.[ch] 2012-11-09 11:32:52 -03:00
map.h perf machine: Move more methods to machine.[ch] 2012-11-09 11:32:52 -03:00
pager.c
parse-events.c Merge branch 'linus' into perf/core 2012-12-08 15:25:06 +01:00
parse-events.h Merge branch 'linus' into perf/core 2012-12-08 15:25:06 +01:00
parse-events.l perf tools: Add basic event modifier sanity check 2012-11-14 16:52:24 -03:00
parse-events.y perf tools: Add support to specify hw event as PMU event term 2012-10-24 10:41:27 +02:00
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 perf tools: Handle --version string generation on machines without git 2012-10-31 12:17:49 -02:00
pmu.c perf tests: Move pmu tests into separate object 2012-11-14 16:50:19 -03:00
pmu.h Merge branch 'linus' into perf/core 2012-12-08 15:25:06 +01:00
pmu.l
pmu.y perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
probe-event.c perf tools: remove sscanf extension %as 2012-09-24 11:49:31 -03:00
probe-event.h
probe-finder.c perf probe: Add union member access support 2012-09-14 15:48:08 -03:00
probe-finder.h
pstack.c perf tools: Stop using 'self' in pstack 2012-11-14 16:50:38 -03:00
pstack.h
python-ext-sources Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-10-01 09:06:36 -07:00
python.c perf python: Initialize 'page_size' variable 2012-10-29 12:36:46 -02:00
quote.c
quote.h
rblist.c Account the nr_entries in rblist properly 2012-10-24 14:20:11 -02:00
rblist.h
run-command.c
run-command.h
session.c perf tools: Fix mmap limitations on 32-bit 2012-12-09 08:46:05 -03:00
session.h perf tools: Fix mmap limitations on 32-bit 2012-12-09 08:46:05 -03:00
setup.py perf python: Properly link with libtraceevent 2012-10-20 02:43:08 +02:00
sigchain.c
sigchain.h
sort.c perf tools: Remove warnings on JIT samples for srcline sort key 2012-10-16 13:05:38 -03:00
sort.h perf diff: Remove displacement from struct hist_entry_diff 2012-12-09 08:46:06 -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 perf tools: Fix strbuf_addf() when the buffer needs to grow 2012-10-30 10:32:56 -02:00
strbuf.h
strfilter.c
strfilter.h
string.c perf tools: Move strxfrchar into string object 2012-10-29 11:36:28 -02:00
strlist.c perf tools: Remove the node from rblist in strlist__remove 2012-09-05 17:36:42 -03:00
strlist.h
svghelper.c
svghelper.h
symbol-elf.c perf symbols: Ignore ABS symbols when loading data maps 2012-12-09 08:46:05 -03:00
symbol-minimal.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
symbol.c perf machine: Move more methods to machine.[ch] 2012-11-09 11:32:52 -03:00
symbol.h perf tests: Final cleanup for builtin-test move 2012-11-14 16:50:24 -03:00
sysfs.c
sysfs.h
target.c perf tools: Replace mempcpy with memcpy 2012-09-05 19:35:21 -03:00
target.h
thread_map.c
thread_map.h
thread.c Merge branch 'perf/urgent' into perf/core 2012-10-24 10:20:57 +02:00
thread.h perf machine: Introduce find_thread method 2012-10-06 16:33:22 -03:00
tool.h
top.c perf evlist: Introduce evsel list accessors 2012-08-15 10:14:18 -03:00
top.h perf tools: fix missing winsize definition 2012-09-07 22:07:32 -03:00
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 perf tools: Have the page size value available for all tools 2012-10-06 16:33:14 -03:00
trace-event-scripting.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
trace-event.h
types.h
unwind.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
unwind.h perf tools: Convert to LIBUNWIND_SUPPORT 2012-10-02 17:56:01 -03:00
usage.c
util.c perf tools: Move hex2u64 into util object 2012-10-29 11:36:02 -02:00
util.h perf tools: Move strxfrchar into string object 2012-10-29 11:36:28 -02:00
values.c
values.h
vdso.c perf tools: Back [vdso] DSO with real data 2012-09-11 12:08:30 -03:00
vdso.h perf tools: Back [vdso] DSO with real data 2012-09-11 12:08:30 -03:00
wrapper.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
xyarray.c
xyarray.h