kernel_optimize_test/tools/perf/util
Jiri Olsa 0f5b1a28c0 libperf: Add PERF_RECORD_HEADER_EVENT_TYPE 'struct event_type_event' to perf/event.h
Move the PERF_RECORD_HEADER_EVENT_TYPE event definition to libperf's event.h.

In order to keep libperf simple, we switch 'u64/u32/u16/u8'
types used events to their generic '__u*' versions.

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 <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190828135717.7245-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-08-28 18:15:04 -03:00
..
c++ perf clang: Delete needless util-cxx.h header 2019-08-28 18:14:57 -03:00
cs-etm-decoder
include
intel-pt-decoder
libunwind
scripting-engines libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
annotate.c perf srcline: Add missing srcline.h header to files needing its defs 2019-08-26 11:58:29 -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
arm-spe.h
auxtrace.c perf evlist: Remove needless util.h from evlist.h 2019-08-28 17:19:35 -03:00
auxtrace.h perf tools: Add itrace option 'o' to synthesize aux-output events 2019-08-14 10:59:59 -03:00
block-range.c
block-range.h
bpf_map.c
bpf_map.h
bpf-event.c perf tool: Rename perf_tool::bpf_event to bpf 2019-08-26 19:39:11 -03:00
bpf-event.h perf tool: Rename perf_tool::bpf_event to bpf 2019-08-26 19:39:11 -03:00
bpf-loader.c perf clang: Delete needless util-cxx.h header 2019-08-28 18:14:57 -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
bpf-prologue.h
branch.c
branch.h
Build perf cacheline: Move cacheline related routines to separate files 2019-08-26 11:58:29 -03:00
build-id.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -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 cacheline: Move cacheline related routines to separate files 2019-08-26 11:58:29 -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 sort: Remove needless headers from sort.h, provide fwd struct decls 2019-08-26 11:58:29 -03:00
callchain.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -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 libperf: Include perf_evlist in evlist object 2019-07-29 18:34:44 -03:00
cgroup.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
cloexec.c
cloexec.h
color_config.c
color.c
color.h
comm.c
comm.h
compress.h
config.c
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 cpumap: Remove needless includes from cpumap.h 2019-08-22 17:16:57 -03:00
cpumap.h perf cpumap: No need to include perf.h, ditch it 2019-08-26 08:36:25 -03:00
cputopo.c perf cpumap: Remove needless includes from cpumap.h 2019-08-22 17:16:57 -03:00
cputopo.h
cs-etm.c perf cs-etm: Support sample flags 'insn' and 'insnlen' 2019-08-20 12:20:52 -03:00
cs-etm.h
data-convert-bt.c libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:45 -03:00
data-convert-bt.h
data-convert.h
data.c perf tools: Remove duplicate headers 2019-08-26 11:58:29 -03:00
data.h
db-export.c libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:45 -03:00
db-export.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
debug.c
debug.h
demangle-java.c
demangle-java.h
demangle-rust.c
demangle-rust.h
dso.c
dso.h
dump-insn.c
dump-insn.h
dwarf-aux.c
dwarf-aux.h
dwarf-regs.c
env.c perf cpumap: Remove needless includes from cpumap.h 2019-08-22 17:16:57 -03:00
env.h perf cpu_map: Rename struct cpu_map to struct perf_cpu_map 2019-07-29 18:34:42 -03:00
event.c perf event: Check ref_reloc_sym before using it 2019-08-28 17:17:51 -03:00
event.h libperf: Add PERF_RECORD_HEADER_EVENT_TYPE 'struct event_type_event' to perf/event.h 2019-08-28 18:15:04 -03:00
evlist.c perf evlist: Remove needless util.h from evlist.h 2019-08-28 17:19:35 -03:00
evlist.h perf evlist: Remove needless util.h from evlist.h 2019-08-28 17:19:35 -03:00
evsel_fprintf.c libperf: Move nr_members from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:46 -03:00
evsel.c perf evlist: Remove needless util.h from evlist.h 2019-08-28 17:19:35 -03:00
evsel.h perf evsel: Rename perf_missing_features::bpf_event to ::bpf 2019-08-26 19:39:11 -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
find-map.c
genelf_debug.c
genelf.c
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 libperf: Add PERF_RECORD_EVENT_UPDATE 'struct event_update_event' to perf/event.h 2019-08-28 18:15:04 -03:00
header.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
help-unknown-cmd.c
help-unknown-cmd.h
hist.c perf top: Fix event group with more than two events 2019-08-28 18:15:03 -03:00
hist.h perf top: Fix event group with more than two events 2019-08-28 18:15:03 -03:00
intel-bts.c libperf: Rename the PERF_RECORD_ structs to have a "perf" suffix 2019-08-26 19:39:11 -03:00
intel-bts.h
intel-pt.c perf intel-pt: Process options for PEBS event synthesis 2019-08-14 10:59:59 -03:00
intel-pt.h
intlist.c
intlist.h
jit.h
jitdump.c libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:45 -03:00
jitdump.h
kvm-stat.h perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00
levenshtein.c
levenshtein.h
llvm-utils.c
llvm-utils.h
lzma.c
machine.c perf tool: Rename perf_tool::bpf_event to bpf 2019-08-26 19:39:11 -03:00
machine.h perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58: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 unwind: Fix libunwind when tid != pid 2019-08-16 12:25:57 -03:00
map.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
mem-events.c
mem-events.h
mem2node.c perf cpumap: Remove needless includes from cpumap.h 2019-08-22 17:16:57 -03:00
mem2node.h
memswap.c
memswap.h
metricgroup.c perf metricgroup: Remove needless includes from metricgroup.h 2019-08-22 17:16:56 -03:00
metricgroup.h perf metricgroup: Remove needless includes from metricgroup.h 2019-08-22 17:16:56 -03:00
mmap.c perf tools: Use perf_cpu_map__nr instead of cpu_map__nr 2019-08-22 11:14:54 -03:00
mmap.h
namespaces.c libperf: Rename the PERF_RECORD_ structs to have a "perf" suffix 2019-08-26 19:39:11 -03:00
namespaces.h libperf: Rename the PERF_RECORD_ structs to have a "perf" suffix 2019-08-26 19:39:11 -03:00
ordered-events.c
ordered-events.h
parse-branch-options.c perf record: Enable LBR callstack capture jointly with thread stack 2019-08-20 12:18:58 -03:00
parse-branch-options.h
parse-events.c perf tools: Add aux-output config term 2019-08-14 10:59:59 -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
path.h
perf_regs.c
perf_regs.h
perf-hooks-list.h
perf-hooks.c
perf-hooks.h
PERF-VERSION-GEN
pmu.c perf cpumap: Remove needless includes from cpumap.h 2019-08-22 17:16:57 -03:00
pmu.h perf cpu_map: Rename struct cpu_map to struct perf_cpu_map 2019-07-29 18:34:42 -03:00
pmu.l
pmu.y
print_binary.c
print_binary.h
probe-event.c perf/urgent fixes: 2019-07-23 23:41:33 +02:00
probe-event.h
probe-file.c
probe-file.h
probe-finder.c
probe-finder.h
pstack.c
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: Rename the PERF_RECORD_ structs to have a "perf" suffix 2019-08-26 19:39:11 -03:00
rb_resort.h
rblist.c
rblist.h
record.c perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -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
rwsem.h
s390-cpumcf-kernel.h
s390-cpumsf-kernel.h
s390-cpumsf.c libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:45 -03:00
s390-cpumsf.h
s390-sample-raw.c libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:45 -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 evlist: Remove needless util.h from evlist.h 2019-08-28 17:19:35 -03:00
session.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -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 report: Use timestamp__scnprintf_nsec() for time sort key 2019-08-26 11:58:29 -03:00
sort.h perf sort: Remove needless headers from sort.h, provide fwd struct decls 2019-08-26 11:58:29 -03:00
srccode.c
srccode.h
srcline.c
srcline.h
stat-display.c perf tools: Remove duplicate headers 2019-08-26 11:58:29 -03:00
stat-shadow.c libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:45 -03:00
stat.c perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00
stat.h perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00
strbuf.c
strbuf.h
strfilter.c
strfilter.h
string.c
string2.h
strlist.c
strlist.h
svghelper.c perf cpumap: Remove needless includes from cpumap.h 2019-08-22 17:16:57 -03:00
svghelper.h
symbol_conf.h
symbol_fprintf.c
symbol-elf.c
symbol-minimal.c
symbol.c perf symbols: Use CAP_SYSLOG with kptr_restrict checks 2019-08-28 17:19:19 -03:00
symbol.h perf annotate: Fix s390 gap between kernel end and module start 2019-08-08 15:41:25 -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
target.h
term.c
term.h
thread_map.c libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
thread_map.h libperf: Add perf_thread_map__nr/perf_thread_map__pid functions 2019-08-22 17:16:57 -03:00
thread-stack.c
thread-stack.h
thread.c libperf: Rename the PERF_RECORD_ structs to have a "perf" suffix 2019-08-26 19:39:11 -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
time-utils.h
tool.h perf tool: Rename perf_tool::bpf_event to bpf 2019-08-26 19:39:11 -03:00
top.c libperf: Add cpus to struct perf_evlist 2019-07-29 18:34:45 -03:00
top.h perf record: Move record_opts and other record decls out of perf.h 2019-08-26 11:58:22 -03:00
trace-event-info.c libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:45 -03:00
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
trace-event.c
trace-event.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
trigger.h
tsc.c
tsc.h
units.c
units.h
unwind-libdw.c
unwind-libdw.h
unwind-libunwind-local.c perf unwind: Fix libunwind when tid != pid 2019-08-16 12:25:57 -03:00
unwind-libunwind.c perf unwind: Remove unnecessary test 2019-08-16 12:30:14 -03:00
unwind.h perf unwind: Fix libunwind when tid != pid 2019-08-16 12:25:57 -03:00
usage.c
util.c perf cacheline: Move cacheline related routines to separate files 2019-08-26 11:58:29 -03:00
util.h perf cacheline: Move cacheline related routines to separate files 2019-08-26 11:58:29 -03:00
values.c
values.h
vdso.c
vdso.h
xyarray.c
zlib.c
zstd.c perf session: Fix loading of compressed data split across adjacent records 2019-07-23 09:04:03 -03:00