diff options
author | Peter Zijlstra <[email protected]> | 2020-07-29 13:00:57 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-08-26 12:42:02 +0200 |
commit | a435b9a14356587cf512ea6473368a579373c74c (patch) | |
tree | a32c367027487b27bed5d119d1ed24ba36b1c9c0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6eb6d05958f3208b3dd2b5311f1a6e68abdbe5d5 (diff) |
locking/refcount: Provide __refcount API to obtain the old value
David requested means to obtain the old/previous value from the
refcount API for tracing purposes.
Duplicate (most of) the API as __refcount*() with an additional
'int *' argument into which, if !NULL, the old value will be stored.
Requested-by: David Howells <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions