kernel_optimize_test/tools/perf/util
Jiri Olsa 75a8c1ff28 perf annotate: Add PERCENT_HITS_GLOBAL percent value
Adding and computing global hits percent value for annotation line.
Storing it in struct annotation_data percent array under new
PERCENT_HITS_GLOBAL index.

At the moment it's not displayed, it's coming in following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20180804130521.11408-10-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-08-08 15:55:48 -03:00
..
c++ perf tools: Fix a clang 7.0 compilation error 2018-06-25 11:59:37 -03:00
cs-etm-decoder perf cs-etm: Fix start tracing packet handling 2018-07-31 10:57:56 -03:00
include
intel-pt-decoder perf intel-pt: Fix packet decoding of CYC packets 2018-06-25 11:59:36 -03:00
libunwind
scripting-engines perf script python: Fix dict reference counting 2018-07-11 09:45:24 -04:00
annotate.c perf annotate: Add PERCENT_HITS_GLOBAL percent value 2018-08-08 15:55:48 -03:00
annotate.h perf annotate: Add PERCENT_HITS_GLOBAL percent value 2018-08-08 15:55:48 -03:00
arm-spe-pkt-decoder.c perf tools: Add ARM Statistical Profiling Extensions (SPE) support 2018-01-17 10:23:31 -03:00
arm-spe-pkt-decoder.h perf tools: Add ARM Statistical Profiling Extensions (SPE) support 2018-01-17 10:23:31 -03:00
arm-spe.c perf tools: Add ARM Statistical Profiling Extensions (SPE) support 2018-01-17 10:23:31 -03:00
arm-spe.h perf tools: Add ARM Statistical Profiling Extensions (SPE) support 2018-01-17 10:23:31 -03:00
auxtrace.c perf auxtrace: Support for perf report -D for s390 2018-08-03 10:34:18 -03:00
auxtrace.h perf auxtrace: Support for perf report -D for s390 2018-08-03 10:34:18 -03:00
block-range.c
block-range.h
bpf-loader.c perf bpf: Show better message when failing to load an object 2018-07-31 11:58:57 -03:00
bpf-loader.h
bpf-prologue.c docs: Fix some broken references 2018-06-15 18:10:01 -03:00
bpf-prologue.h
branch.c
branch.h
Build perf auxtrace: Support for perf report -D for s390 2018-08-03 10:34:18 -03:00
build-id.c perf thread: Make thread__find_map() return the map 2018-04-26 13:47:08 -03:00
build-id.h
cache.h
call-path.c
call-path.h
callchain.c perf unwind: Do not look just at the global callchain_param.record_mode 2018-01-17 10:23:32 -03:00
callchain.h perf unwind: Do not look just at the global callchain_param.record_mode 2018-01-17 10:23:32 -03:00
cgroup.c perf cgroup: Make evlist__find_cgroup() more compact 2018-06-04 10:28:50 -03:00
cgroup.h perf cgroup: Make the cgroup name be const char * 2018-03-07 10:22:26 -03:00
cloexec.c
cloexec.h
color.c
color.h
comm.c perf tools: Fix struct comm_str removal crash 2018-07-24 14:54:03 -03:00
comm.h
compress.h
config.c perf config: Call perf_config__init() lazily 2018-05-16 16:11:09 -03:00
config.h perf config: Call perf_config__init() lazily 2018-05-16 16:11:09 -03:00
counts.c
counts.h
cpumap.c
cpumap.h
cs-etm.c perf cs-etm: Generate branch sample for CS_ETM_TRACE_ON packet 2018-07-31 11:22:50 -03:00
cs-etm.h coresight: Move to SPDX identifier 2018-04-19 12:29:41 -03:00
ctype.c
data-convert-bt.c
data-convert-bt.h
data-convert.h
data.c perf tools: Move conditional O_CLOEXEC to util.h 2018-01-23 09:48:20 -03:00
data.h
db-export.c perf symbols: Unify symbol maps 2018-04-27 10:47:06 -03:00
db-export.h
debug.c perf debug: Avoid setting 'quiet' to 'true' unnecessarily 2018-03-16 16:39:02 -03:00
debug.h
demangle-java.c
demangle-java.h
demangle-rust.c
demangle-rust.h
drv_configs.c
drv_configs.h
dso.c perf tools: Fix symbol and object code resolution for vdso32 and vdsox32 2018-06-06 12:52:04 -03:00
dso.h perf symbols: Unify symbol maps 2018-04-27 10:47:06 -03:00
dump-insn.c
dump-insn.h
dwarf-aux.c perf config: Rename to HAVE_DWARF_GETLOCATIONS_SUPPORT 2018-04-02 13:50:24 -03:00
dwarf-aux.h
dwarf-regs.c
env.c perf machine: Add nr_cpus_avail() 2018-05-22 10:52:49 -03:00
env.h perf machine: Add nr_cpus_avail() 2018-05-22 10:52:49 -03:00
event.c perf machine: Synthesize and process mmap events for x86 PTI entry trampolines 2018-05-23 10:26:39 -03:00
event.h perf machine: Synthesize and process mmap events for x86 PTI entry trampolines 2018-05-23 10:26:39 -03:00
evlist.c perf evlist: Introduce force_leader() method 2018-05-21 14:40:54 -03:00
evlist.h perf evlist: Introduce force_leader() method 2018-05-21 14:40:54 -03:00
evsel_fprintf.c
evsel.c perf evlist: Fix error out while applying initial delay and LBR 2018-07-31 09:56:46 -03:00
evsel.h perf annotate: Loop group events directly in annotation__calc_percent() 2018-08-08 15:55:47 -03:00
expr.h
expr.y
find-vdso-map.c
genelf_debug.c
genelf.c perf tools: Fix spelling mistake: "builid" -> "buildid" 2018-04-30 12:02:03 -03:00
genelf.h
generate-cmdlist.sh perf tools: Rename HAVE_SYSCALL_TABLE to HAVE_SYSCALL_TABLE_SUPPORT 2018-04-12 10:33:31 -03:00
group.h
header.c perf tools: Drop unneeded bitmap_zero() calls 2018-08-08 15:55:44 -03:00
header.h perf tools: Fix the build on the alpine:edge distro 2018-07-30 13:15:03 -03:00
help-unknown-cmd.c
help-unknown-cmd.h
hist.c perf hists: Reimplement hists__has_callchains() 2018-06-07 14:42:27 -03:00
hist.h perf hists: Clarify callchain disabling when available 2018-07-24 14:37:33 -03:00
intel-bts.c perf thread: Make thread__find_map() return the map 2018-04-26 13:47:08 -03:00
intel-bts.h
intel-pt.c perf intel-pt: Fix "Unexpected indirect branch" error 2018-06-06 12:52:08 -03:00
intel-pt.h
intlist.c
intlist.h
jit.h
jitdump.c
jitdump.h
kvm-stat.h
levenshtein.c
levenshtein.h
llvm-utils.c perf llvm-utils: Remove bashism from kernel include fetch script 2018-07-11 10:01:51 -03:00
llvm-utils.h
lzma.c
machine.c perf machine: Use last_match threads cache only in single thread mode 2018-07-24 14:53:52 -03:00
machine.h perf machine: Create maps for x86 PTI entry trampolines 2018-05-23 10:24:08 -03:00
map.c perf map: Consider PTI entry trampolines in rip_2objdump() 2018-06-06 12:52:06 -03:00
map.h perf srcline: Introduce map__srcline() to make code more compact 2018-06-04 10:28:52 -03:00
mem-events.c
mem-events.h
mem2node.c perf tools: Add mem2node object 2018-03-16 13:52:37 -03:00
mem2node.h perf tools: Add mem2node object 2018-03-16 13:52:37 -03:00
memswap.c
memswap.h
metricgroup.c perf list: Unify metric group description format with PMU event description 2018-07-31 11:35:44 -03:00
metricgroup.h perf stat: Add transaction flag (-T) support for s390 2018-07-24 14:49:37 -03:00
mmap.c perf mmap: Be consistent when checking for an unmaped ring buffer 2018-03-27 13:13:38 -03:00
mmap.h perf mmap: Simplify perf_mmap__read_init() 2018-03-08 10:05:53 -03:00
namespaces.c
namespaces.h perf tools: Fix the build on the alpine:edge distro 2018-07-30 13:15:03 -03:00
ordered-events.c
ordered-events.h
parse-branch-options.c
parse-branch-options.h
parse-events.c perf parse-events: Handle uncore event aliases in small groups properly 2018-05-30 10:40:44 -03:00
parse-events.h perf parse-events: Handle uncore event aliases in small groups properly 2018-05-30 10:40:44 -03:00
parse-events.l perf record: Enable arbitrary event names thru name= modifier 2018-06-06 12:52:04 -03:00
parse-events.y perf tools: Fix error index for pmu event parser 2018-06-07 15:50:14 -03:00
parse-regs-options.c
parse-regs-options.h
path.c perf utils: Move is_directory() to path.h 2017-12-27 12:15:48 -03:00
path.h perf utils: Move is_directory() to path.h 2017-12-27 12:15:48 -03:00
perf_regs.c
perf_regs.h
perf-hooks-list.h
perf-hooks.c
perf-hooks.h
PERF-VERSION-GEN
pmu.c Revert "perf list: Add s390 support for detailed/verbose PMU event description" 2018-07-24 14:48:58 -03:00
pmu.h
pmu.l
pmu.y
print_binary.c
print_binary.h
probe-event.c perf probe: Use return of map__get() to make code more compact 2018-06-04 10:28:50 -03:00
probe-event.h
probe-file.c tools lib api: Unexport 'tracing_path' variable 2018-05-16 16:27:14 -03:00
probe-file.h
probe-finder.c perf probe: Use right type to access array elements 2018-03-19 13:51:53 -03:00
probe-finder.h
pstack.c
pstack.h
python-ext-sources perf evsel: Fix swap for samples with raw data 2017-12-27 12:15:56 -03:00
python.c perf python: Reference Py_None before returning it 2018-03-23 16:45:20 -03:00
rb_resort.h
rblist.c
rblist.h
record.c perf record: Fix crash in pipe mode 2018-03-05 11:52:41 -03:00
rwsem.c
rwsem.h
s390-cpumsf-kernel.h perf report: Add raw report support for s390 auxiliary trace 2018-08-08 15:26:48 -03:00
s390-cpumsf.c perf report: Add GUI report support for s390 auxiliary trace 2018-08-08 15:49:17 -03:00
s390-cpumsf.h perf auxtrace: Support for perf report -D for s390 2018-08-03 10:34:18 -03:00
sane_ctype.h
session.c perf evsel: Add has_callchain() helper to make code more compact/clear 2018-06-05 10:09:54 -03:00
session.h
setns.c
setup.py perf tools: Fix python extension build for gcc 8 2018-03-19 13:39:46 -03:00
smt.c
smt.h
sort.c perf srcline: Make hist_entry srcline helper consistent with map's 2018-06-04 10:28:53 -03:00
sort.h perf hists: Make hist_entry__has_callchains() work with 'perf c2c' 2018-06-07 14:27:19 -03:00
srcline.c perf symbols: Store the ELF symbol type in the symbol struct 2018-04-26 13:47:18 -03:00
srcline.h perf report: Fix a wrong offset issue when using /proc/kcore 2018-01-08 11:11:57 -03:00
stat-shadow.c perf stat: Get rid of extra clock display function 2018-07-24 14:54:58 -03:00
stat.c perf stat: Make function perf_stat_evsel_id_init static 2018-03-16 13:56:17 -03:00
stat.h perf stat: Add --table option to display time of each run 2018-04-26 09:30:27 -03:00
strbuf.c
strbuf.h
strfilter.c
strfilter.h
string.c perf string: Add {strdup,strpbrk}_esc() 2017-12-27 12:15:55 -03:00
string2.h perf string: Add {strdup,strpbrk}_esc() 2017-12-27 12:15:55 -03:00
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol_fprintf.c perf symbols: Unify symbol maps 2018-04-27 10:47:06 -03:00
symbol-elf.c perf kcore_copy: Amend the offset of sections that remap kernel text 2018-05-23 10:26:44 -03:00
symbol-minimal.c perf symbols: Unify symbol maps 2018-04-27 10:47:06 -03:00
symbol.c perf symbols: Add BSS symbols when reading from /proc/kallsyms 2018-06-06 12:52:09 -03:00
symbol.h perf annotate: Adopt anotation options from symbol_conf 2018-06-04 10:28:53 -03:00
syscalltbl.c perf trace arm64: Use generated syscall table 2018-07-24 14:53:01 -03:00
syscalltbl.h
target.c
target.h perf stat: Remove --per-thread pid/tid limitation 2017-12-27 12:15:47 -03:00
term.c
term.h
thread_map.c perf stat: Ignore error thread when enabling system-wide --per-thread 2018-02-27 11:29:21 -03:00
thread_map.h perf stat: Ignore error thread when enabling system-wide --per-thread 2018-02-27 11:29:21 -03:00
thread-stack.c
thread-stack.h
thread.c perf symbols: Unify symbol maps 2018-04-27 10:47:06 -03:00
thread.h perf thread: Make thread__find_map() search all maps 2018-04-26 13:47:17 -03:00
time-utils.c perf util: Allocate time slices buffer according to number of comma 2018-01-17 10:23:36 -03:00
time-utils.h perf util: Allocate time slices buffer according to number of comma 2018-01-17 10:23:36 -03:00
tool.h perf tools: Make the tool's warning messages optional 2018-01-10 12:00:55 -03:00
top.c
top.h perf annotate stdio: Use annotation_options consistently 2018-06-04 10:28:52 -03:00
trace-event-info.c tools lib api fs tracing_path: Introduce get/put_events_file() helpers 2018-05-17 12:01:50 -03:00
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c perf script: Use HAVE_LIBXXX_SUPPORT to replace NO_LIBXXX 2018-04-12 10:33:29 -03:00
trace-event.c perf parse-events: Use get/put_events_file() 2018-05-17 14:49:36 -03:00
trace-event.h
trigger.h perf tools: Fix trigger class trigger_on() 2018-03-06 11:31:14 -03:00
tsc.c
tsc.h
units.c
units.h
unwind-libdw.c perf script: Show correct offsets for DWARF-based unwinding 2018-07-24 14:53:11 -03:00
unwind-libdw.h
unwind-libunwind-local.c perf script: Show correct offsets for DWARF-based unwinding 2018-07-24 14:53:11 -03:00
unwind-libunwind.c perf env: Adopt perf_env__arch() from the annotate code 2017-12-27 12:15:52 -03:00
unwind.h
usage.c
util-cxx.h
util.c perf tools: No need to unconditionally read the max_stack sysctls 2018-05-17 16:31:32 -03:00
util.h perf tools: No need to unconditionally read the max_stack sysctls 2018-05-17 16:31:32 -03:00
values.c
values.h
vdso.c perf map: Remove enum_type arg to map_groups__first() 2018-04-26 13:47:15 -03:00
vdso.h
xyarray.c
xyarray.h
zlib.c