kernel_optimize_test/tools/perf/util
Jiri Olsa 3e4c453f5c libperf: Add PERF_RECORD_THREAD_MAP 'struct thread_map_event' to perf/event.h
Move the PERF_RECORD_THREAD_MAP 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-15-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-08-29 08:36:11 -03:00
..
c++ perf clang: Delete needless util-cxx.h header 2019-08-28 18:14:57 -03:00
cs-etm-decoder tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
include perf tools: Remove old baggage that is util/include/linux/ctype.h 2019-06-25 18:31:12 -03:00
intel-pt-decoder tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
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 libperf: Add PERF_RECORD_AUXTRACE_INFO 'struct auxtrace_info_event' to perf/event.h 2019-08-29 08:34:52 -03:00
arm-spe.h
auxtrace.c libperf: Add PERF_RECORD_AUXTRACE_ERROR 'struct auxtrace_error_event' to perf/event.h 2019-08-29 08:36:11 -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 perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
call-path.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
comm.h
compress.h
config.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -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 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 perf header: Add die information in CPU topology 2019-06-10 15:50:02 -03:00
cs-etm.c libperf: Add PERF_RECORD_AUXTRACE_INFO 'struct auxtrace_info_event' to perf/event.h 2019-08-29 08:34:52 -03:00
cs-etm.h perf cs-etm: Remove duplicate GENMASK() define, use linux/bits.h instead 2019-06-10 16:20:11 -03:00
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 perf tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
debug.h
demangle-java.c perf tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
demangle-java.h
demangle-rust.c
demangle-rust.h
dso.c perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
dso.h
dump-insn.c
dump-insn.h
dwarf-aux.c perf tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
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 libperf: Add PERF_RECORD_AUX 'struct aux_event' to perf/event.h 2019-08-29 08:36:11 -03:00
event.h libperf: Add PERF_RECORD_THREAD_MAP 'struct thread_map_event' to perf/event.h 2019-08-29 08:36:11 -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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 479 2019-06-19 17:09:51 +02:00
genelf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 251 2019-06-05 17:30:26 +02: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 perf tools: Move get_current_dir_name() cond prototype out of util.h 2019-07-09 10:13:26 -03:00
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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
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: Add PERF_RECORD_AUXTRACE_INFO 'struct auxtrace_info_event' to perf/event.h 2019-08-29 08:34:52 -03:00
intel-bts.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
intel-pt.c libperf: Add PERF_RECORD_AUXTRACE_INFO 'struct auxtrace_info_event' to perf/event.h 2019-08-29 08:34:52 -03:00
intel-pt.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
intlist.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 305 2019-06-05 17:37:04 +02:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 480 2019-06-19 17:09:51 +02:00
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 perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
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 perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
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 perf parse-events: Remove unused variable: error 2019-07-09 10:13:27 -03:00
parse-regs-options.c perf tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
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 tools perf: Move from sane_ctype.h obtained from git to the Linux's original 2019-06-25 21:02:47 -03:00
print_binary.h
probe-event.c perf/urgent fixes: 2019-07-23 23:41:33 +02:00
probe-event.h
probe-file.c The main changes in this release include: 2019-07-18 11:51:00 -07:00
probe-file.h
probe-finder.c The main changes in this release include: 2019-07-18 11:51:00 -07:00
probe-finder.h tools perf: Move from sane_ctype.h obtained from git to the Linux's original 2019-06-25 21:02:47 -03:00
pstack.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -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: Rename the PERF_RECORD_ structs to have a "perf" suffix 2019-08-26 19:39:11 -03:00
rb_resort.h
rblist.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 305 2019-06-05 17:37:04 +02:00
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 perf tools: Introduce rlimit__bump_memlock() helper 2019-07-09 14:59:11 -03:00
rlimit.h perf tools: Introduce rlimit__bump_memlock() helper 2019-07-09 14:59:11 -03:00
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 libperf: Add PERF_RECORD_ID_INDEX 'struct id_index_event' to perf/event.h 2019-08-28 18:15:05 -03:00
session.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
setns.c perf namespaces: Move the conditional setns() prototype to namespaces.h 2019-07-09 10:13:26 -03:00
setup.py perf tools: Add helpers to use capabilities if present 2019-08-14 10:48:39 -03:00
smt.c perf tools: Apply new CPU topology sysfs attributes 2019-06-10 16:20:11 -03:00
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 perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
srccode.h
srcline.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
strbuf.h
strfilter.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
strfilter.h
string.c tools lib: Move argv_{split,free} from tools/perf/util/ 2019-07-01 22:50:40 -03:00
string2.h tools lib: Move argv_{split,free} from tools/perf/util/ 2019-07-01 22:50:40 -03:00
strlist.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
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 perf diff: Print the basic block cycles diff 2019-07-02 13:20:51 -03:00
symbol_fprintf.c
symbol-elf.c perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
symbol-minimal.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
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 perf tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
thread-stack.h perf/core improvements and fixes: 2019-06-17 20:48:14 +02:00
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 perf time-utils: Use skip_spaces() 2019-06-25 21:39:18 -03:00
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 tools perf: Move from sane_ctype.h obtained from git to the Linux's original 2019-06-25 21:02:47 -03:00
trace-event-read.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 393 2019-06-05 17:37:11 +02:00
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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
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 perf tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
values.h
vdso.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
vdso.h
xyarray.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
zlib.c
zstd.c perf session: Fix loading of compressed data split across adjacent records 2019-07-23 09:04:03 -03:00