From: Andrii Nakryiko <andriin@xxxxxx> When doing BTF encoding/deduping, DWARF CUs are never used after BTF encoding is done, so there is no point in wasting memory and keeping them in memory. So discard them immediately. Signed-off-by: Andrii Nakryiko <andriin@xxxxxx> --- pahole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pahole.c b/pahole.c index 61522175519e..bd9b993777ee 100644 --- a/pahole.c +++ b/pahole.c @@ -2384,7 +2384,7 @@ static enum load_steal_kind pahole_stealer(struct cu *cu, fprintf(stderr, "Encountered error while encoding BTF.\n"); exit(1); } - return LSK__KEEPIT; + return LSK__DELETE; } if (ctf_encode) { -- 2.24.1