linux_dsm_epyc7002/tools/perf/util
Jiri Olsa 8df7a86981 libperf: Add 'overwrite' to 'struct perf_mmap'
Move 'overwrite' from tools/perf's mmap to libperf's perf_mmap struct.

Committer notes:

Add stdbool.h as we start using 'bool'.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lore.kernel.org/lkml/20190913132355.21634-17-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-09-25 09:51:46 -03:00
..
c++ perf clang: Delete needless util-cxx.h header 2019-08-28 18:14:57 -03:00
cs-etm-decoder perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
include
intel-pt-decoder perf intel-pt: Use shared x86 insn decoder 2019-08-31 22:27:52 -03:00
libunwind perf tools: Remove debug.h from places where it is not needed 2019-09-20 09:19:20 -03:00
scripting-engines perf env: Remove needless cpumap.h header 2019-09-20 09:19:21 -03:00
annotate.c perf evlist: Adopt backwards ring buffer state enum 2019-09-25 09:51:45 -03:00
annotate.h libperf: Add nr_entries to struct perf_evlist 2019-07-29 18:34:45 -03:00
archinsn.h
arm-spe-pkt-decoder.c
arm-spe-pkt-decoder.h
arm-spe.c perf env: Remove needless cpumap.h header 2019-09-20 09:19:21 -03:00
arm-spe.h
auxtrace.c perf evlist: Adopt backwards ring buffer state enum 2019-09-25 09:51:45 -03:00
auxtrace.h perf tools: Rename 'struct perf_mmap' to 'struct mmap' 2019-09-25 09:51:44 -03:00
block-range.c
block-range.h
bpf_map.c
bpf_map.h
bpf-event.c perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
bpf-event.h perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
bpf-loader.c perf auxtrace: Uninline functions that touch perf_session 2019-08-31 22:24:10 -03:00
bpf-loader.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
bpf-prologue.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
bpf-prologue.h
branch.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
branch.h perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
Build perf tools: Move event synthesizing routines to separate .c file 2019-09-20 10:28:21 -03:00
build-id.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
build-id.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
cache.h
cacheline.c perf tools: Remove perf.h from source files not needing it 2019-08-29 17:38:32 -03:00
cacheline.h perf cacheline: Move cacheline related routines to separate files 2019-08-26 11:58:29 -03:00
call-path.c
call-path.h
callchain.c perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
callchain.h perf callchain: Remove needless event.h include 2019-09-20 09:19:21 -03:00
cap.c perf tools: Add helpers to use capabilities if present 2019-08-14 10:48:39 -03:00
cap.h perf tools: Add CAP_SYSLOG define for older systems 2019-08-14 10:59:59 -03:00
cgroup.c perf auxtrace: Uninline functions that touch perf_session 2019-08-31 22:24:10 -03:00
cgroup.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
cloexec.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
cloexec.h
color_config.c perf tools: Remove needless evlist.h include directives 2019-08-31 22:24:10 -03:00
color.c perf tools: Remove needless evlist.h include directives 2019-08-31 22:24:10 -03:00
color.h
comm.c
comm.h
compress.h
config.c perf auxtrace: Uninline functions that touch perf_session 2019-08-31 22:24:10 -03:00
config.h
counts.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
counts.h perf counts: Add missing headers needed for types used 2019-08-22 17:16:56 -03:00
cpu-set-sched.h
cpumap.c perf tools: Remove perf.h from source files not needing it 2019-08-29 17:38:32 -03:00
cpumap.h libperf: Rename the PERF_RECORD_ structs to have a "perf" prefix 2019-08-29 08:36:12 -03:00
cputopo.c perf cpumap: Remove needless includes from cpumap.h 2019-08-22 17:16:57 -03:00
cputopo.h perf env: Remove env.h from other headers where just a fwd decl is needed 2019-08-31 19:10:40 -03:00
cs-etm.c perf tools: Move event synthesizing routines to separate .c file 2019-09-20 10:28:21 -03:00
cs-etm.h perf auxtrace: Uninline functions that touch perf_session 2019-08-31 22:24:10 -03:00
data-convert-bt.c perf session: Return error code for perf_session__new() function on failure 2019-09-20 15:58:11 -03:00
data-convert-bt.h
data-convert.h
data.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
data.h
db-export.c perf dsos: Move the dsos struct and its methods to separate source files 2019-08-31 22:24:10 -03:00
db-export.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
debug.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
debug.h perf debug: No need to include ui/util.h 2019-09-20 09:19:20 -03:00
demangle-java.c perf tools: Remove debug.h from places where it is not needed 2019-09-20 09:19:20 -03:00
demangle-java.h
demangle-rust.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
demangle-rust.h
dso.c perf auxtrace: Uninline functions that touch perf_session 2019-08-31 22:24:10 -03:00
dso.h perf dsos: Move the dsos struct and its methods to separate source files 2019-08-31 22:24:10 -03:00
dsos.c perf dsos: Move the dsos struct and its methods to separate source files 2019-08-31 22:24:10 -03:00
dsos.h perf dsos: Move the dsos struct and its methods to separate source files 2019-08-31 22:24:10 -03:00
dump-insn.c
dump-insn.h
dwarf-aux.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
dwarf-aux.h perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
dwarf-regs.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
env.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
env.h perf env: Remove needless cpumap.h header 2019-09-20 09:19:21 -03:00
event.c perf tools: Move event synthesizing routines to separate .c file 2019-09-20 10:28:21 -03:00
event.h perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
events_stats.h perf tools: Move 'struct events_stats' and prototypes to separate header 2019-08-31 22:24:10 -03:00
evlist.c libperf: Add 'overwrite' to 'struct perf_mmap' 2019-09-25 09:51:46 -03:00
evlist.h perf evlist: Adopt backwards ring buffer state enum 2019-09-25 09:51:45 -03:00
evsel_fprintf.c perf callchain: Remove needless event.h include 2019-09-20 09:19:21 -03:00
evsel.c perf record: Fix priv level with branch sampling for paranoid=2 2019-09-23 11:15:46 -03:00
evsel.h perf memswap: Adopt 'struct u64_swap' from evsel.h 2019-09-20 09:19:22 -03:00
evswitch.c perf evswitch: Add hint when not finding specified on/off events 2019-08-15 12:26:13 -03:00
evswitch.h perf evswitch: Introduce init() method to set the on/off evsels from the command line 2019-08-15 12:25:55 -03:00
expr.h
expr.y perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
find-map.c
genelf_debug.c perf tools: Remove perf.h from source files not needing it 2019-08-29 17:38:32 -03:00
genelf.c perf tools: Remove perf.h from source files not needing it 2019-08-29 17:38:32 -03:00
genelf.h
generate-cmdlist.sh
get_current_dir_name.c perf tools: Remove duplicate headers 2019-08-26 11:58:29 -03:00
get_current_dir_name.h
group.h
header.c perf tools: Fix segfault in cpu_cache_level__read() 2019-09-20 15:17:59 -03:00
header.h perf tools: Move event synthesizing routines to separate .c file 2019-09-20 10:28:21 -03:00
help-unknown-cmd.c
help-unknown-cmd.h
hist.c perf symbols: Move mem_info and branch_info out of symbol.h 2019-08-31 22:27:48 -03:00
hist.h perf hist: Add missing 'struct branch_stack' forward declaration 2019-09-20 09:19:22 -03:00
intel-bts.c perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
intel-bts.h
intel-pt.c perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
intel-pt.h
intlist.c
intlist.h
jit.h
jitdump.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
jitdump.h
kvm-stat.h perf kvm: Add arch neutral function to choose event for perf kvm record 2019-09-20 10:28:26 -03:00
levenshtein.c
levenshtein.h
llvm-utils.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
llvm-utils.h perf tools: Remove debug.h from header files not needing it 2019-08-29 17:38:32 -03:00
lzma.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
machine.c perf tools: Move event synthesizing routines to separate .c file 2019-09-20 10:28:21 -03:00
machine.h perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
map_groups.h perf unwind: Fix libunwind when tid != pid 2019-08-16 12:25:57 -03:00
map_symbol.h
map.c perf symbols: Move mem_info and branch_info out of symbol.h 2019-08-31 22:27:48 -03:00
map.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
mem2node.c perf env: Remove env.h from other headers where just a fwd decl is needed 2019-08-31 19:10:40 -03:00
mem2node.h perf env: Remove env.h from other headers where just a fwd decl is needed 2019-08-31 19:10:40 -03:00
mem-events.c perf symbols: Move mem_info and branch_info out of symbol.h 2019-08-31 22:27:48 -03:00
mem-events.h perf symbols: Move mem_info and branch_info out of symbol.h 2019-08-31 22:27:48 -03:00
memswap.c
memswap.h perf memswap: Adopt 'struct u64_swap' from evsel.h 2019-09-20 09:19:22 -03:00
metricgroup.c perf metricgroup: Support multiple events for metricgroup 2019-08-31 22:27:52 -03:00
metricgroup.h perf metricgroup: Scale the metric result 2019-08-31 22:27:52 -03:00
mmap.c libperf: Add 'overwrite' to 'struct perf_mmap' 2019-09-25 09:51:46 -03:00
mmap.h libperf: Add 'overwrite' to 'struct perf_mmap' 2019-09-25 09:51:46 -03:00
namespaces.c perf tools: Move event synthesizing routines to separate .c file 2019-09-20 10:28:21 -03:00
namespaces.h perf tools: Move event synthesizing routines to separate .c file 2019-09-20 10:28:21 -03:00
ordered-events.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
ordered-events.h
parse-branch-options.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
parse-branch-options.h
parse-events.c perf evlist: Adopt backwards ring buffer state enum 2019-09-25 09:51:45 -03:00
parse-events.h perf tools: Add aux-output config term 2019-08-14 10:59:59 -03:00
parse-events.l perf tools: Add aux-output config term 2019-08-14 10:59:59 -03:00
parse-events.y
parse-regs-options.c
parse-regs-options.h
path.c perf tools: Remove needless evlist.h include directives 2019-08-31 22:24:10 -03:00
path.h perf tools: Remove needless evlist.h include directives 2019-08-31 22:24:10 -03:00
perf_regs.c
perf_regs.h
perf-hooks-list.h
perf-hooks.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
perf-hooks.h
PERF-VERSION-GEN
pmu.c perf env: Remove needless cpumap.h header 2019-09-20 09:19:21 -03:00
pmu.h perf pmu: Change convert_scale from static to global 2019-08-31 22:27:51 -03:00
pmu.l
pmu.y
print_binary.c
print_binary.h
probe-event.c perf probe: Fix to clear tev->nargs in clear_probe_trace_event() 2019-09-20 15:30:09 -03:00
probe-event.h
probe-file.c perf probe: Add missing build-id.h header. 2019-09-20 09:19:20 -03:00
probe-file.h
probe-finder.c perf probe: Skip same probe address for a given line 2019-09-20 15:22:00 -03:00
probe-finder.h
pstack.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
pstack.h
python-ext-sources perf tools: Add helpers to use capabilities if present 2019-08-14 10:48:39 -03:00
python.c libperf: Add 'cpu' to struct perf_mmap 2019-09-25 09:51:45 -03:00
rb_resort.h
rblist.c
rblist.h
record.c perf env: Remove needless cpumap.h header 2019-09-20 09:19:21 -03:00
record.h perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00
rlimit.c
rlimit.h
rwsem.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
rwsem.h
s390-cpumcf-kernel.h
s390-cpumsf-kernel.h
s390-cpumsf.c perf env: Remove needless cpumap.h header 2019-09-20 09:19:21 -03:00
s390-cpumsf.h
s390-sample-raw.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
sample-raw.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
sample-raw.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
session.c perf session: Return error code for perf_session__new() function on failure 2019-09-20 15:58:11 -03:00
session.h perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
setns.c
setup.py perf tools: Add helpers to use capabilities if present 2019-08-14 10:48:39 -03:00
smt.c
smt.h
sort.c perf symbols: Move mem_info and branch_info out of symbol.h 2019-08-31 22:27:48 -03:00
sort.h perf tools: Move 'struct events_stats' and prototypes to separate header 2019-08-31 22:24:10 -03:00
srccode.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
srccode.h
srcline.c
srcline.h
stat-display.c perf auxtrace: Uninline functions that touch perf_session 2019-08-31 22:24:10 -03:00
stat-shadow.c perf metricgroup: Support multiple events for metricgroup 2019-08-31 22:27:52 -03:00
stat.c perf stat: Reset previous counts on repeat with interval 2019-09-20 10:28:26 -03:00
stat.h perf stat: Reset previous counts on repeat with interval 2019-09-20 10:28:26 -03:00
strbuf.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
strbuf.h
strfilter.c
strfilter.h
string2.h
string.c
strlist.c
strlist.h
svghelper.c perf env: Remove needless cpumap.h header 2019-09-20 09:19:21 -03:00
svghelper.h perf timechart: Refactor svg_build_topology_map() 2019-08-29 17:38:31 -03:00
symbol_conf.h
symbol_fprintf.c perf symbols: Move symsrc prototypes to a separate header 2019-08-31 22:24:05 -03:00
symbol-elf.c perf symbols: Add missing dso.h header 2019-09-20 09:19:21 -03:00
symbol-minimal.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
symbol.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
symbol.h perf symbols: Move mem_info and branch_info out of symbol.h 2019-08-31 22:27:48 -03:00
symsrc.h perf symbols: Move symsrc prototypes to a separate header 2019-08-31 22:24:05 -03:00
synthetic-events.c perf tools: Move event synthesizing routines to separate .c file 2019-09-20 10:28:21 -03:00
synthetic-events.h perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
syscalltbl.c perf trace: Preallocate the syscall table 2019-07-29 18:34:42 -03:00
syscalltbl.h perf trace: Preallocate the syscall table 2019-07-29 18:34:42 -03:00
target.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
target.h
term.c
term.h
thread_map.c libperf: Rename the PERF_RECORD_ structs to have a "perf" prefix 2019-08-29 08:36:12 -03:00
thread_map.h libperf: Rename the PERF_RECORD_ structs to have a "perf" prefix 2019-08-29 08:36:12 -03:00
thread-stack.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
thread-stack.h
thread.c perf dsos: Move the dsos struct and its methods to separate source files 2019-08-31 22:24:10 -03:00
thread.h libperf: Rename the PERF_RECORD_ structs to have a "perf" suffix 2019-08-26 19:39:11 -03:00
time-utils.c perf tools: Remove perf.h from source files not needing it 2019-08-29 17:38:32 -03:00
time-utils.h perf time-utils: Adopt rdclock() from perf.h 2019-08-29 17:38:32 -03:00
tool.h perf tool: Rename perf_tool::bpf_event to bpf 2019-08-26 19:39:11 -03:00
top.c perf env: Remove needless cpumap.h header 2019-09-20 09:19:21 -03:00
top.h perf auxtrace: Uninline functions that touch perf_session 2019-08-31 22:24:10 -03:00
trace-event-info.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
trace-event-parse.c libtraceevent, perf tools: Changes in tep_print_event_* APIs 2019-08-31 22:19:28 -03:00
trace-event-read.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
trace-event-scripting.c perf tools: Remove perf.h from source files not needing it 2019-08-29 17:38:32 -03:00
trace-event.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
trace-event.h perf tools: Remove needless libtraceevent include directives 2019-08-29 17:38:32 -03:00
trigger.h perf tools: Remove debug.h from header files not needing it 2019-08-29 17:38:32 -03:00
tsc.c
tsc.h perf tools: Move event synthesizing routines to separate header 2019-09-20 09:19:22 -03:00
units.c
units.h
unwind-libdw.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
unwind-libdw.h
unwind-libunwind-local.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
unwind-libunwind.c perf dsos: Move the dsos struct and its methods to separate source files 2019-08-31 22:24:10 -03:00
unwind.h perf unwind: Fix libunwind when tid != pid 2019-08-16 12:25:57 -03:00
usage.c perf tools: Remove debug.h from places where it is not needed 2019-09-20 09:19:20 -03:00
util.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
util.h perf cacheline: Move cacheline related routines to separate files 2019-08-26 11:58:29 -03:00
values.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
values.h
vdso.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
vdso.h
xyarray.c
zlib.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
zstd.c