diff options
| author | Waiman Long <[email protected]> | 2020-02-06 10:24:05 -0500 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-02-11 13:10:49 +0100 |
| commit | 1d44bcb4fdb650b2a57c9ff593a4d246a10ad801 (patch) | |
| tree | 70c71d94edb4c03863c5679c659a6eed69170f3e /tools/perf/scripts/python | |
| parent | b9875e9882295749a14b31e16dd504ae904cf070 (diff) | |
locking/lockdep: Track number of zapped classes
The whole point of the lockdep dynamic key patch is to allow unused
locks to be removed from the lockdep data buffers so that existing
buffer space can be reused. However, there is no way to find out how
many unused locks are zapped and so we don't know if the zapping process
is working properly.
Add a new nr_zapped_classes counter to track that and show it in
/proc/lockdep_stats.
Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions