linux/tools/perf
Arnaldo Carvalho de Melo 046625231a perf tools: Introduce zfree
For the frequent idiom of:

   free(ptr);
   ptr = NULL;

Make it expect a pointer to the pointer being freed, so that it becomes
clear at first sight that the variable being freed is being modified.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-pfw02ezuab37kha18wlut7ir@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-12-27 15:17:00 -03:00
..
arch perf tools: Introduce zfree 2013-12-27 15:17:00 -03:00
bench
config perf config: Ignore generated files in feature-checks 2013-12-23 16:49:51 -03:00
Documentation perf timechart: Add --highlight option 2013-12-17 16:33:55 -03:00
python
scripts
tests perf tests: Factor make install tests 2013-12-19 16:18:08 -03:00
ui perf tools: Introduce zfree 2013-12-27 15:17:00 -03:00
util perf tools: Introduce zfree 2013-12-27 15:17:00 -03:00
.gitignore
builtin-annotate.c perf tools: Introduce zfree 2013-12-27 15:17:00 -03:00
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-diff.c perf kvm: Make perf kvm diff support --guestmount. 2013-12-09 15:24:25 -03:00
builtin-evlist.c
builtin-help.c
builtin-inject.c perf inject: Handle output file via perf_data_file object 2013-12-19 11:38:49 -03:00
builtin-kmem.c
builtin-kvm.c perf tools: No need to test against NULL before calling free() 2013-12-26 15:58:52 -03:00
builtin-list.c
builtin-lock.c
builtin-mem.c perf mem: Remove unused parameter from dump_raw_samples() 2013-12-19 17:03:39 -03:00
builtin-probe.c perf probe: Support basic dwarf-based operations on uprobe events 2013-12-26 11:22:01 -03:00
builtin-record.c perf tools: Rename 'perf_record_opts' to 'record_opts 2013-12-19 14:43:45 -03:00
builtin-report.c perf report: Print session information only if --stdio is given 2013-12-20 13:36:41 -03:00
builtin-sched.c
builtin-script.c perf symbols: Add 'machine' member to struct addr_location 2013-12-19 17:38:27 -03:00
builtin-stat.c perf tools: Introduce zfree 2013-12-27 15:17:00 -03:00
builtin-timechart.c perf tools: Introduce zfree 2013-12-27 15:17:00 -03:00
builtin-top.c perf tools: Rename 'perf_record_opts' to 'record_opts 2013-12-19 14:43:45 -03:00
builtin-trace.c perf tools: Introduce zfree 2013-12-27 15:17:00 -03:00
builtin.h
command-list.txt
CREDITS
design.txt
Makefile perf tools: Fix tags/TAGS targets rebuilding 2013-11-27 16:47:14 -03:00
Makefile.perf perf ui/tui: Implement header window 2013-12-26 11:22:02 -03:00
MANIFEST tools lib symbol: Start carving out symbol parsing routines from perf 2013-12-13 10:30:20 -03:00
perf-archive.sh
perf-completion.sh perf completion: Complete 'perf kvm' 2013-12-13 10:30:21 -03:00
perf.c tools/: Convert to new topic libraries 2013-12-16 16:03:27 -03:00
perf.h perf tools: Rename 'perf_record_opts' to 'record_opts 2013-12-19 14:43:45 -03:00