WSL2-Linux-Kernel/tools/perf/util
Jiri Olsa 9a5edde6d3 libperf: Add perf_evlist__add() function
Add the perf_evlist__add() function to add a perf_evsel in a perf_evlist
struct.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <ak@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/20190721112506.12306-40-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-07-29 18:34:44 -03:00
..
c++
cs-etm-decoder tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
include
intel-pt-decoder tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
libunwind
scripting-engines perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
Build perf tools: Introduce rlimit__bump_memlock() helper 2019-07-09 14:59:11 -03:00
PERF-VERSION-GEN
annotate.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
annotate.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
archinsn.h
arm-spe-pkt-decoder.c
arm-spe-pkt-decoder.h
arm-spe.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
arm-spe.h
auxtrace.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
auxtrace.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
block-range.c
block-range.h
bpf-event.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
bpf-event.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
bpf-loader.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -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
bpf_map.c
bpf_map.h
branch.c
branch.h
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
call-path.c perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
call-path.h
callchain.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
callchain.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -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.c
color.h
color_config.c
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 evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
cpu-set-sched.h
cpumap.c libperf: Add perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -03:00
cpumap.h libperf: Add perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -03:00
cputopo.c libperf: Add perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -03:00
cputopo.h
cs-etm.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
cs-etm.h
data-convert-bt.c perf evlist: Rename perf_evlist__delete() to evlist__delete() 2019-07-29 18:34:43 -03:00
data-convert-bt.h
data-convert.h
data.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
data.h
db-export.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -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 libperf: Add perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -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_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
event.h perf tools: Rename struct thread_map to struct perf_thread_map 2019-07-29 18:34:42 -03:00
evlist.c libperf: Add perf_evlist__add() function 2019-07-29 18:34:44 -03:00
evlist.h libperf: Include perf_evlist in evlist object 2019-07-29 18:34:44 -03:00
evsel.c libperf: Add perf_evsel__init function 2019-07-29 18:34:44 -03:00
evsel.h libperf: Include perf_evsel in evsel object 2019-07-29 18:34:44 -03:00
evsel_fprintf.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
expr.h
expr.y
find-map.c
genelf.c
genelf.h
genelf_debug.c
generate-cmdlist.sh
get_current_dir_name.c perf tools: Move get_current_dir_name() cond prototype out of util.h 2019-07-09 10:13:26 -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: Include perf_evlist in evlist object 2019-07-29 18:34:44 -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 evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
hist.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
intel-bts.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
intel-bts.h
intel-pt.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
intel-pt.h
intlist.c
intlist.h
jit.h
jitdump.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
jitdump.h
kvm-stat.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -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 evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
machine.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
map.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
map.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
map_groups.h
map_symbol.h
mem-events.c
mem-events.h
mem2node.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
mem2node.h
memswap.c
memswap.h
metricgroup.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
metricgroup.h perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
mmap.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
mmap.h
namespaces.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
namespaces.h perf namespaces: Move the conditional setns() prototype to namespaces.h 2019-07-09 10:13:26 -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 tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
parse-branch-options.h
parse-events.c libperf: Include perf_evlist in evlist object 2019-07-29 18:34:44 -03:00
parse-events.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
parse-events.l
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-hooks-list.h
perf-hooks.c
perf-hooks.h
perf_regs.c
perf_regs.h
pmu.c libperf: Add perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -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 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
pstack.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
pstack.h
python-ext-sources tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
python.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
rb_resort.h
rblist.c
rblist.h
record.c libperf: Add perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -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 perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
s390-cpumsf.h
s390-sample-raw.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -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_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -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 libperf: Add libperf to the python.so build 2019-07-29 18:34:44 -03:00
smt.c
smt.h
sort.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
sort.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -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 libperf: Include perf_evlist in evlist object 2019-07-29 18:34:44 -03:00
stat-shadow.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
stat.c perf evsel: Rename perf_evsel__cpus() to evsel__cpus() 2019-07-29 18:34:43 -03:00
stat.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -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
string2.h
strlist.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
strlist.h
svghelper.c libperf: Add perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -03:00
svghelper.h
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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
symbol.h
symbol_conf.h
symbol_fprintf.c
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-stack.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
thread-stack.h
thread.c perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
thread.h
thread_map.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
thread_map.h libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
time-utils.c
time-utils.h
tool.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
top.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
top.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
trace-event-info.c libperf: Include perf_evsel in evsel object 2019-07-29 18:34:44 -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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
unwind-libdw.h
unwind-libunwind-local.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
unwind-libunwind.c
unwind.h
usage.c perf tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
util-cxx.h
util.c
util.h tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -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
xyarray.h
zlib.c
zstd.c perf session: Fix loading of compressed data split across adjacent records 2019-07-23 09:04:03 -03:00