tools lib: Adopt zalloc()/zfree() from tools/perf
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 4 Jul 2019 14:32:27 +0000 (11:32 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 9 Jul 2019 13:13:26 +0000 (10:13 -0300)
commit7f7c536f23e6afaa5d5d4b0e0958b0be8922491f
tree961ca1cb94ac6ea74be5859ca6c9881b260ea479
parente5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c
tools lib: Adopt zalloc()/zfree() from tools/perf

Eroding a bit more the tools/perf/util/util.h hodpodge header.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-natazosyn9rwjka25tvcnyi0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
103 files changed:
tools/include/linux/zalloc.h [new file with mode: 0644]
tools/lib/zalloc.c [new file with mode: 0644]
tools/perf/MANIFEST
tools/perf/arch/arm/annotate/instructions.c
tools/perf/arch/arm/util/auxtrace.c
tools/perf/arch/arm/util/cs-etm.c
tools/perf/arch/arm64/util/arm-spe.c
tools/perf/arch/common.c
tools/perf/arch/powerpc/util/perf_regs.c
tools/perf/arch/s390/util/auxtrace.c
tools/perf/arch/s390/util/header.c
tools/perf/arch/x86/util/event.c
tools/perf/arch/x86/util/intel-bts.c
tools/perf/arch/x86/util/intel-pt.c
tools/perf/arch/x86/util/perf_regs.c
tools/perf/bench/mem-functions.c
tools/perf/bench/numa.c
tools/perf/builtin-annotate.c
tools/perf/builtin-bench.c
tools/perf/builtin-c2c.c
tools/perf/builtin-diff.c
tools/perf/builtin-help.c
tools/perf/builtin-kmem.c
tools/perf/builtin-kvm.c
tools/perf/builtin-lock.c
tools/perf/builtin-probe.c
tools/perf/builtin-report.c
tools/perf/builtin-sched.c
tools/perf/builtin-script.c
tools/perf/builtin-stat.c
tools/perf/builtin-timechart.c
tools/perf/builtin-trace.c
tools/perf/perf.c
tools/perf/tests/switch-tracking.c
tools/perf/ui/browser.c
tools/perf/ui/browsers/annotate.c
tools/perf/ui/browsers/hists.c
tools/perf/ui/gtk/util.c
tools/perf/ui/stdio/hist.c
tools/perf/util/Build
tools/perf/util/arm-spe.c
tools/perf/util/auxtrace.c
tools/perf/util/bpf-loader.c
tools/perf/util/build-id.c
tools/perf/util/call-path.c
tools/perf/util/callchain.c
tools/perf/util/cgroup.c
tools/perf/util/comm.c
tools/perf/util/config.c
tools/perf/util/counts.c
tools/perf/util/cpumap.c
tools/perf/util/cputopo.c
tools/perf/util/cs-etm-decoder/cs-etm-decoder.c
tools/perf/util/cs-etm.c
tools/perf/util/data-convert-bt.c
tools/perf/util/data.c
tools/perf/util/db-export.c
tools/perf/util/dso.c
tools/perf/util/env.c
tools/perf/util/event.c
tools/perf/util/evlist.c
tools/perf/util/evsel.c
tools/perf/util/header.c
tools/perf/util/help-unknown-cmd.c
tools/perf/util/hist.c
tools/perf/util/intel-bts.c
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c
tools/perf/util/intel-pt.c
tools/perf/util/llvm-utils.c
tools/perf/util/machine.c
tools/perf/util/map.c
tools/perf/util/mem2node.c
tools/perf/util/mmap.c
tools/perf/util/namespaces.c
tools/perf/util/parse-events.c
tools/perf/util/pmu.c
tools/perf/util/probe-event.c
tools/perf/util/probe-file.c
tools/perf/util/probe-finder.c
tools/perf/util/pstack.c
tools/perf/util/python-ext-sources
tools/perf/util/s390-cpumsf.c
tools/perf/util/session.c
tools/perf/util/srcline.c
tools/perf/util/stat.c
tools/perf/util/strbuf.c
tools/perf/util/strfilter.c
tools/perf/util/strlist.c
tools/perf/util/svghelper.c
tools/perf/util/symbol-elf.c
tools/perf/util/symbol-minimal.c
tools/perf/util/symbol.c
tools/perf/util/syscalltbl.c
tools/perf/util/thread-stack.c
tools/perf/util/thread.c
tools/perf/util/thread_map.c
tools/perf/util/trace-event-info.c
tools/perf/util/trace-event-scripting.c
tools/perf/util/unwind-libdw.c
tools/perf/util/util.h
tools/perf/util/values.c
tools/perf/util/vdso.c
tools/perf/util/xyarray.c