linux-xiaomi-chiron/tools/perf/util
Linus Torvalds 46f5c0cc3a Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf tooling updates from Thomas Gleixner:
 "A set of perf improvements and fixes:

  perf db-export:
   - Improvements in how COMM details are exported to databases for post
     processing and use in the sql-viewer.py UI.

   - Export switch events to the database.

  BPF:
   - Bump rlimit(MEMLOCK) for 'perf test bpf' and 'perf trace', just
     like selftests/bpf/bpf_rlimit.h do, which makes errors due to
     exhaustion of this limit, which are kinda cryptic (EPERM sometimes)
     less frequent.

  perf version:
   - Fix segfault due to missing OPT_END(), noticed on PowerPC.

  perf vendor events:
   - Add JSON files for IBM s/390 machine type 8561.

  perf cs-etm (ARM):
   - Fix two cases of error returns not bing done properly: Invalid
     ERR_PTR() use and loss of propagation error codes"

* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (28 commits)
  perf version: Fix segfault due to missing OPT_END()
  perf vendor events s390: Add JSON files for machine type 8561
  perf cs-etm: Return errcode in cs_etm__process_auxtrace_info()
  perf cs-etm: Remove errnoeous ERR_PTR() usage in cs_etm__process_auxtrace_info
  perf scripts python: export-to-postgresql.py: Export switch events
  perf scripts python: export-to-sqlite.py: Export switch events
  perf db-export: Export switch events
  perf db-export: Factor out db_export__threads()
  perf script: Add scripting operation process_switch()
  perf scripts python: exported-sql-viewer.py: Use new 'has_calls' column
  perf scripts python: exported-sql-viewer.py: Remove redundant semi-colons
  perf scripts python: export-to-postgresql.py: Add has_calls column to comms table
  perf scripts python: export-to-sqlite.py: Add has_calls column to comms table
  perf db-export: Also export thread's current comm
  perf db-export: Factor out db_export__comm()
  perf scripts python: export-to-postgresql.py: Export comm details
  perf scripts python: export-to-sqlite.py: Export comm details
  perf db-export: Export comm details
  perf db-export: Fix a white space issue in db_export__sample()
  perf db-export: Move export__comm_thread into db_export__sample()
  ...
2019-07-20 11:06:12 -07:00
..
c++
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 perf db-export: Export switch events 2019-07-10 12:35:38 -03:00
annotate.c perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
annotate.h
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 tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
auxtrace.h
block-range.c
block-range.h
bpf-event.c
bpf-event.h
bpf-loader.c perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
bpf-loader.h
bpf-prologue.c
bpf-prologue.h
bpf_map.c
bpf_map.h
branch.c
branch.h
Build perf tools: Introduce rlimit__bump_memlock() helper 2019-07-09 14:59:11 -03:00
build-id.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
build-id.h
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 tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
callchain.h
cgroup.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
cgroup.h
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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
counts.h
cpu-set-sched.h
cpumap.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
cpumap.h
cputopo.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
cputopo.h
cs-etm.c perf cs-etm: Return errcode in cs_etm__process_auxtrace_info() 2019-07-11 12:45:02 -03:00
cs-etm.h
data-convert-bt.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -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 db-export: Export switch events 2019-07-10 12:35:38 -03:00
db-export.h perf db-export: Export switch events 2019-07-10 12:35:38 -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 tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
env.h
event.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
event.h
evlist.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
evlist.h
evsel.c perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
evsel.h
evsel_fprintf.c
expr.h
expr.y
find-map.c
genelf.c
genelf.h
genelf_debug.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 479 2019-06-19 17:09:51 +02:00
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 perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
header.h
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 tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
hist.h perf diff: Print the basic block cycles diff 2019-07-02 13:20:51 -03:00
intel-bts.c perf intel-bts: Fix potential NULL pointer dereference found by the smatch tool 2019-07-09 10:13:28 -03:00
intel-bts.h
intel-pt.c perf intel-pt: Fix potential NULL pointer dereference found by the smatch tool 2019-07-09 10:13:28 -03:00
intel-pt.h
intlist.c
intlist.h
jit.h
jitdump.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
jitdump.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 480 2019-06-19 17:09:51 +02:00
kvm-stat.h
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 tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
machine.h
map.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
map.h
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 metricgroup: Add missing list_del_init() when flushing egroups list 2019-07-09 10:13:27 -03:00
metricgroup.h
mmap.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -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 perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
parse-events.h
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-VERSION-GEN
perf_regs.c
perf_regs.h
pmu.c perf tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
pmu.h
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 The main changes in this release include: 2019-07-18 11:51:00 -07: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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
python.c perf tools: Add missing util.h to pick up 'page_size' variable 2019-06-25 18:35:34 -03:00
rb_resort.h
rblist.c
rblist.h
record.c
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 tools: Use list_del_init() more thorougly 2019-07-09 10:13:27 -03:00
s390-cpumsf.h
s390-sample-raw.c
sample-raw.c
sample-raw.h
session.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
session.h
setns.c perf namespaces: Move the conditional setns() prototype to namespaces.h 2019-07-09 10:13:26 -03:00
setup.py perf python: Remove -fstack-protector-strong if clang doesn't have it 2019-07-07 12:32:46 -03:00
smt.c
smt.h
sort.c
sort.h perf diff: Use hists to manage basic blocks per symbol 2019-07-02 12:47:07 -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 stat: Don't merge events in the same PMU 2019-07-01 22:50:41 -03:00
stat-shadow.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
stat.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
stat.h
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 tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -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 perf symbol: Create block_info structure 2019-07-02 12:44:19 -03:00
symbol_conf.h perf diff: Print the basic block cycles diff 2019-07-02 13:20:51 -03:00
symbol_fprintf.c
syscalltbl.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
syscalltbl.h
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 perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
thread_map.h
time-utils.c perf time-utils: Use skip_spaces() 2019-06-25 21:39:18 -03:00
time-utils.h
tool.h
top.c
top.h
trace-event-info.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -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
trace-event-scripting.c tools lib: Adopt zalloc()/zfree() from tools/perf 2019-07-09 10:13:26 -03:00
trace-event.c
trace-event.h perf script: Add scripting operation process_switch() 2019-07-10 12:34:09 -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 perf kallsyms: Adopt hex2u64 from tools/perf/util/util.h 2019-06-25 18:13:17 -03:00
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