2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 10:13:57 +08:00
linux-next/tools/perf/util
Jiri Olsa 186fbb7432 perf tools: Add reference counting for thread_map object
Adding reference counting for thread_map object, so it could be easily
shared among other objects.

Using thread_map__put instead thread_map__delete and making
thread_map__delete static.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1435012588-9007-5-git-send-email-jolsa@kernel.org
[ Adjustments to move it ahead of the "comm" patches ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-06-25 15:15:50 -03:00
..
include tools: Move tools/perf/util/include/linux/{list.h,poison.h} to tools/include 2015-06-02 19:07:29 -03:00
scripting-engines
abspath.c
alias.c
annotate.c perf annotate: Rename source_line_percent to source_line_samples 2015-06-19 16:39:21 -03:00
annotate.h perf annotate: Rename source_line_percent to source_line_samples 2015-06-19 16:39:21 -03:00
auxtrace.c perf tools: Allow auxtrace data alignment 2015-06-23 18:28:37 -03:00
auxtrace.h perf tools: Allow auxtrace data alignment 2015-06-23 18:28:37 -03:00
bitmap.c
Build perf stat: Move shadow stat counters into separate object 2015-06-08 10:30:31 -03:00
build-id.c perf machine: No need to have two DSOs lists 2015-05-29 12:43:43 -03:00
build-id.h
cache.h
callchain.c
callchain.h
cgroup.c
cgroup.h
cloexec.c
cloexec.h
color.c
color.h
comm.c perf comm: Use atomic.h for refcounting 2015-05-27 12:21:43 -03:00
comm.h
config.c
cpumap.c perf tools: Add reference counting for cpu_map object 2015-06-25 15:15:50 -03:00
cpumap.h perf tools: Add reference counting for cpu_map object 2015-06-25 15:15:50 -03:00
ctype.c
data-convert-bt.c
data-convert-bt.h
data.c
data.h
db-export.c perf db-export: Fix thread ref-counting 2015-05-29 12:43:39 -03:00
db-export.h
debug.c
debug.h
dso.c perf tools: Reference count struct dso 2015-06-08 10:31:40 -03:00
dso.h perf tools: Reference count struct dso 2015-06-08 10:31:40 -03:00
dwarf-aux.c
dwarf-aux.h
environment.c
event.c perf thread_map: Don't access the array entries directly 2015-06-23 18:21:44 -03:00
event.h perf tools: Configurable per thread proc map processing time out 2015-06-19 18:27:13 -03:00
evlist.c perf tools: Add reference counting for thread_map object 2015-06-25 15:15:50 -03:00
evlist.h perf evlist: Add toggle_enable() method 2015-06-17 16:40:26 -03:00
evsel.c perf tools: Add reference counting for cpu_map object 2015-06-25 15:15:50 -03:00
evsel.h perf tools: Move perf_evsel__(alloc|free|reset)_counts into stat object 2015-06-16 10:34:40 -03:00
exec_cmd.c
exec_cmd.h
find-vdso-map.c
generate-cmdlist.sh
header.c perf header: Delete an unnecessary check before the calling free_event_desc() 2015-06-25 15:15:49 -03:00
header.h
help.c
help.h
hist.c perf tools: Replace map->referenced & maps->removed_maps with map->refcnt 2015-06-16 10:34:38 -03:00
hist.h perf hists: Reducing arguments of hist_entry_iter__add() 2015-05-27 12:21:43 -03:00
intlist.c
intlist.h
kvm-stat.h
levenshtein.c
levenshtein.h
lzma.c
machine.c perf tools: Configurable per thread proc map processing time out 2015-06-19 18:27:13 -03:00
machine.h perf tools: Configurable per thread proc map processing time out 2015-06-19 18:27:13 -03:00
map.c perf tools: Replace map->referenced & maps->removed_maps with map->refcnt 2015-06-16 10:34:38 -03:00
map.h perf tools: Replace map->referenced & maps->removed_maps with map->refcnt 2015-06-16 10:34:38 -03:00
ordered-events.c
ordered-events.h
pager.c
parse-branch-options.c perf record: Add support for sampling indirect jumps 2015-06-07 16:08:31 +02:00
parse-branch-options.h perf tools: Move branch option parsing to own file 2015-05-27 21:02:17 -03:00
parse-events.c perf tools: Add reference counting for cpu_map object 2015-06-25 15:15:50 -03:00
parse-events.h
parse-events.l perf tools: Allow events with dot 2015-06-23 18:21:37 -03:00
parse-events.y perf tools: Fix parse_events_error dereferences 2015-05-27 12:21:43 -03:00
parse-options.c
parse-options.h
path.c
perf_regs.c
perf_regs.h
PERF-VERSION-GEN
pmu.c perf pmu: Split perf_pmu__new_alias() 2015-06-23 18:21:30 -03:00
pmu.h
pmu.l
pmu.y
probe-event.c perf probe: Fix failure to probe events on arm 2015-06-23 18:21:44 -03:00
probe-event.h perf probe: Show the error reason comes from invalid DSO 2015-05-27 12:21:45 -03:00
probe-finder.c perf tools: Reference count struct dso 2015-06-08 10:31:40 -03:00
probe-finder.h
pstack.c
pstack.h
python-ext-sources perf tools: Move perf_evsel__(alloc|free|reset)_counts into stat object 2015-06-16 10:34:40 -03:00
python.c perf tools: Add reference counting for thread_map object 2015-06-25 15:15:50 -03:00
quote.c
quote.h
rblist.c
rblist.h
record.c perf tools: Add reference counting for cpu_map object 2015-06-25 15:15:50 -03:00
run-command.c
run-command.h
session.c perf tools: Add reference counting for cpu_map object 2015-06-25 15:15:50 -03:00
session.h
setup.py
sigchain.c
sigchain.h
sort.c perf report: Fix sort__sym_cmp to also compare end of symbol 2015-06-19 18:14:05 -03:00
sort.h
srcline.c
stat-shadow.c perf stat: Move shadow stat counters into separate object 2015-06-08 10:30:31 -03:00
stat.c perf stat: Introduce perf_counts__(new|delete|reset) functions 2015-06-16 10:34:41 -03:00
stat.h perf stat: Introduce perf_counts__(new|delete|reset) functions 2015-06-16 10:34:41 -03:00
strbuf.c
strbuf.h
strfilter.c
strfilter.h
string.c
strlist.c
strlist.h
svghelper.c perf tools: Add reference counting for cpu_map object 2015-06-25 15:15:50 -03:00
svghelper.h
symbol-elf.c perf tools: Reference count struct dso 2015-06-08 10:31:40 -03:00
symbol-minimal.c
symbol.c perf tools: Reference count struct dso 2015-06-08 10:31:40 -03:00
symbol.h
target.c
target.h
thread_map.c perf tools: Add reference counting for thread_map object 2015-06-25 15:15:50 -03:00
thread_map.h perf tools: Add reference counting for thread_map object 2015-06-25 15:15:50 -03:00
thread-stack.c perf tools: Ensure thread-stack is flushed 2015-06-19 16:03:33 -03:00
thread-stack.h perf tools: Ensure thread-stack is flushed 2015-06-19 16:03:33 -03:00
thread.c perf tools: Remove redundant initialization of thread linkage members 2015-05-27 12:21:44 -03:00
thread.h
tool.h perf tools: handle PERF_RECORD_LOST_SAMPLES 2015-06-07 16:09:06 +02:00
top.c
top.h
trace-event-info.c
trace-event-parse.c perf tools: Assign default value for some pointers 2015-05-27 12:21:45 -03:00
trace-event-read.c
trace-event-scripting.c
trace-event.c
trace-event.h
tsc.c
tsc.h
unwind-libdw.c
unwind-libdw.h
unwind-libunwind.c perf unwind: Fix a compile error 2015-06-16 10:40:03 -03:00
unwind.h
usage.c
util.c perf tools: Avoid possible race condition in copyfile() 2015-06-10 11:51:24 -03:00
util.h
values.c
values.h
vdso.c perf tools: Reference count struct dso 2015-06-08 10:31:40 -03:00
vdso.h perf machine: Fix up vdso methods names 2015-05-29 12:43:44 -03:00
wrapper.c
xyarray.c perf tools: Introduce xyarray__reset function 2015-06-16 10:34:39 -03:00
xyarray.h perf tools: Introduce xyarray__reset function 2015-06-16 10:34:39 -03:00
zlib.c