summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorYao Jiang <yaojia@codeaurora.org>2018-09-27 11:53:55 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-10-07 18:33:31 -0700
commit3acc958e8df36b84ee25c950b1f7e39931a6e0bc (patch)
tree5c8cc37b1fcc315d4f1b48308ebb39c1229ec0f4 /tools/perf/scripts/python/check-perf-trace.py
parent3b8fc0b7a3fcc809378d82dbf66b417e186af205 (diff)
soc: qcom: hab: replace kref_get with kref_get_unless_zero
If refcount was 0 before increment, it maybe has a race condition that this kref is freeing by some other thread right now. In this case we should not increments refcount, so replace with kref_get_unless_zero. Change-Id: Ic15eaefc111770a966094d05b19eca2a04d52fc2 Signed-off-by: Yao Jiang <yaojia@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions