summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2016-05-03 14:11:03 -0600
committerKyle Yan <kyan@codeaurora.org>2016-05-26 15:26:48 -0700
commitd16c4eb6879a0cf677144fbfa2621670252f629a (patch)
tree1cd9fad7d7358c3e0ad9bfcd11e63b90ea2aea3b /tools/perf/scripts/python/call-graph-from-postgresql.py
parenteb2c3035ea0e6556fa7a411198662ab1739c8b6c (diff)
msm: kgsl: Defer adding the mem entry to a process
If we add the mem entry pointer in the process mem_idr too early other threads can do operations on the entry by guessing the ID or GPU address before the object gets returned by the creating operation. Allocate an ID for the object but don't assign the pointer until right before the creating function returns ensuring that another operation can't access it until it is ready. CRs-Fixed: 1002974 Change-Id: Ic0dedbadc0dd2125bd2a7bcc152972c0555e07f8 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions