From: Wangnan (F) [mailto:wangnan0@xxxxxxxxxx]
On 2015/12/10 23:12, 'Arnaldo Carvalho de Melo' wrote:However, we have to customize it for each application. Perf itself might be OK
[SNIP]
But this requires having these special refcnt__ routines, that will makeNo. The requirement should be:
tools/perf/ code patterns for reference counts look different that the
refcount patterns in the kernel :-\
And would be a requirement to change the observed workload :-\
Is this _strictly_ required?
1. The create/get/put/delete functions are non-inline (because dwarf info
is not as reliable as symbol);
2. From their argument list, we can always get the variable we need (the
pointer of objects, the value of refcnt, etc.)
but others might have different implementation.