perf tools: Add .DELETE_ON_ERROR special Makefile target to clean up partially...
Changbin Du authored
perf tools: Add .DELETE_ON_ERROR special Makefile target to clean up partially updated files on error.

As kbuild, this adds .DELETE_ON_ERROR special target to clean up
partially updated files on error. A known issue is the empty vmlinux.h
generted by bpftool if it failed to dump btf info.
Reviewed-by: default avatarLeo Yan <leo.yan@linaro.org>
Signed-off-by: default avatarChangbin Du <changbin.du@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221217225151.90387-1-changbin.du@gmail.com

Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
0c0a0db8
Name Last commit Last update
..
Documentation perf lock contention: Add -L/--lock-filter option
arch tools headers UAPI: Sync powerpc syscall table with the kernel sources
bench perf tools: Use dedicated non-atomic clear/set bit helpers
dlfilters perf tools: Fix usage of the verbose variable
examples/bpf perf trace: Remove unused bpf map 'syscalls'
include/perf perf bpf: Remove now unused BPF headers
jvmti perf tools: Fix various typos in comments
pmu-events perf jevents: Parse metrics during conversion
python perf python: Convert tracepoint.py example to python3
scripts perf script: task-analyzer add csv support
tests perf test: Update 'perf lock contention' test
trace perf tools: Use "grep -E" instead of "egrep"
ui perf tools: Fix "kernel lock contention analysis" test by not printing warnings in quiet mode
util perf lock contention: Support lock addr/name filtering for BPF
.gitignore perf build: Install libsymbol locally when building
Build perf build: Use libtraceevent from the system
CREDITS perf_counter tools: Add CREDITS file for Git contributors
MANIFEST tools lib traceevent: Remove libtraceevent
Makefile perf tools: Use "grep -E" instead of "egrep"
Makefile.config perf python: Don't stop building if python setuptools isn't installed
Makefile.perf perf tools: Add .DELETE_ON_ERROR special Makefile target to clean up partially updated files on error.
builtin-annotate.c perf build: Use libtraceevent from the system
builtin-bench.c perf bench: Add breakpoint benchmarks
builtin-buildid-cache.c perf record: Disable debuginfod by default
builtin-buildid-list.c perf buildid-list: Add a "-m" option to show kernel and modules build-ids
builtin-c2c.c
builtin-config.c
builtin-daemon.c
builtin-data.c
builtin-diff.c
builtin-evlist.c
builtin-ftrace.c
builtin-help.c
builtin-inject.c
builtin-kallsyms.c
builtin-kmem.c
builtin-kvm.c
builtin-kwork.c
builtin-list.c
builtin-lock.c
builtin-mem.c
builtin-probe.c
builtin-record.c
builtin-report.c
builtin-sched.c
builtin-script.c
builtin-stat.c
builtin-timechart.c
builtin-top.c
builtin-trace.c
builtin-version.c
builtin.h
check-headers.sh
command-list.txt
design.txt
perf-archive.sh
perf-completion.sh
perf-iostat.sh
perf-read-vdso.c
perf-sys.h
perf.c
perf.h