Re: [PATCH] perf: makefile: add .DELETE_ON_ERROR special target

From: Leo Yan
Date: Mon Dec 19 2022 - 20:58:12 EST


On Sun, Dec 18, 2022 at 06:51:51AM +0800, Changbin Du wrote:
> 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.
>
> Signed-off-by: Changbin Du <changbin.du@xxxxxxxxx>
> Cc: Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx>

Reviewed-by: Leo Yan <leo.yan@xxxxxxxxxx>