Closed ramosian-glider closed 4 years ago
Use a per-CPU sample counter, adding a single load and a branch to the fast path. kmalloc() requires some plumbing - we pass the requested size via _RET_IP_ now. This might be a bit questionable, but ends up being almost non-intrusive.
_RET_IP_
Use a per-CPU sample counter, adding a single load and a branch to the fast path. kmalloc() requires some plumbing - we pass the requested size via
_RET_IP_
now. This might be a bit questionable, but ends up being almost non-intrusive.