RE: [PATCH perf/core 00/22] perf refcnt debugger API and fixes

From: åæéå / HIRAMATUïMASAMI
Date: Thu Dec 10 2015 - 21:16:04 EST


From: 'Arnaldo Carvalho de Melo' [mailto:acme@xxxxxxxxxx]
>
>But this requires having these special refcnt__ routines, that will make
>tools/perf/ code patterns for reference counts look different that the
>refcount patterns in the kernel :-\

BTW, I think even without the refcnt debugger, we'd better introduce this
kind API to unify the refcnt operation in perf code. As I said, we have many
miscodings on current implementation. Unifying the API can enforce developers
to avoid such miscodings.

Thank you,