summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@google.com>2017-04-21 14:32:11 -0700
committerTodd Kjos <tkjos@google.com>2017-07-13 15:19:32 +0000
commitda957e45dd21fee345544dadf0fc426abe503d28 (patch)
tree4ef2d274a12c6e047686476bdb05e76173f0317a /tools/perf/scripts/python/export-to-postgresql.py
parent6fcb2b9ac4aed1946358073c3a2802aa8bd57c3d (diff)
FROMLIST: binder: protect against stale pointers in print_binder_transaction
(from https://patchwork.kernel.org/patch/9817761/) When printing transactions there were several race conditions that could cause a stale pointer to be deferenced. Fixed by reading the pointer once and using it if valid (which is safe). The transaction buffer also needed protection via proc lock, so it is only printed if we are holding the correct lock. Bug: 36650912 Test: tested manually Change-Id: I78240f99cc1a070d70a841c0d84d4306e2fd528d Signed-off-by: Todd Kjos <tkjos@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions