perf maps: Add maps__refcnt() accessor to allow checking maps pointer
To remove one more direct access to 'struct maps' so that we can
intercept accesses to its instantiations and refcount check it to catch
use after free, etc.
Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
parent
3ad1be6f
Please register or sign in to comment