aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChengguang Xu <[email protected]>2018-02-23 17:09:38 +0800
committerIlya Dryomov <[email protected]>2018-04-02 10:12:46 +0200
commitb884014a91a49ed0e7198d276b28887cc48363bd (patch)
tree5bef0732e3736d68dbb5c57f60bc532d3fe74d40 /tools/perf/util/scripting-engines/trace-event-python.c
parentf2f87877b8f29a4aa0000a2e3cdf806ac645500e (diff)
ceph: adding protection for showing cap reservation info
Adding spinlock protection during getting cap reservation ralated fields so that the numbers match below BUG_ON condition in the code. BUG_ON(mdsc->caps_total_count != mdsc->caps_use_count + mdsc->caps_reserve_count + mdsc->caps_avail_count); Signed-off-by: Chengguang Xu <[email protected]> Reviewed-by: "Yan, Zheng" <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions