aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorKinglong Mee <[email protected]>2017-02-08 09:54:33 +0800
committerJ. Bruce Fields <[email protected]>2017-02-08 16:49:32 -0500
commit471a930ad7d1b868456e835a67169a661ec73f65 (patch)
tree0b4cc18a4de82c303aceaa5ab72511acf21ebace /tools/perf/scripts/python/call-graph-from-postgresql.py
parent81fa3275f95ac357188fe3ca81b8e7c75360c88d (diff)
SUNRPC: Drop all entries from cache_detail when cache_purge()
User always free the cache_detail after sunrpc_destroy_cache_detail(), so, it must cleanup up entries that left in the cache_detail, otherwise, NULL reference may be caused when using the left entries. Also, NeriBrown suggests "write a stand-alone cache_purge()." v3, move the cache_fresh_unlocked() out of write lock, v2, a stand-alone cache_purge(), not only for sunrpc_destroy_cache_detail Signed-off-by: Kinglong Mee <[email protected]> Reviewed-by: NeilBrown <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions