OSDN Git Service

ART: Log all monitor operations to systrace
authorAndreas Gampe <agampe@google.com>
Tue, 26 Apr 2016 03:08:55 +0000 (20:08 -0700)
committerAndreas Gampe <agampe@google.com>
Fri, 29 Apr 2016 16:51:29 +0000 (09:51 -0700)
commitfc6898769ae1ef91ec3e41c0a273401213cb82cd
tree766ae0970a76adf66874d6c784171c0f84ed587a
parentcdca476bf3394ce9d97a369e84e701b427009318
ART: Log all monitor operations to systrace

Add a VLOG option ("-verbose:systrace-locks") to log all monitor
operations to systrace. This requires non-fastpath thread
entrypoints, and ATRACE tags for locking and unlocking.

Do a bit of cleanup to the entrypoint initialization to share
common setup.

Bug: 28423466
Change-Id: Ie67e4aa946ec15f8fcf8cb7134c5d3cff0119ab3
18 files changed:
cmdline/cmdline_types.h
runtime/arch/arm/entrypoints_init_arm.cc
runtime/arch/arm/quick_entrypoints_arm.S
runtime/arch/arm64/entrypoints_init_arm64.cc
runtime/arch/arm64/quick_entrypoints_arm64.S
runtime/arch/mips/entrypoints_init_mips.cc
runtime/arch/mips/quick_entrypoints_mips.S
runtime/arch/mips64/entrypoints_init_mips64.cc
runtime/arch/mips64/quick_entrypoints_mips64.S
runtime/arch/x86/entrypoints_init_x86.cc
runtime/arch/x86/quick_entrypoints_x86.S
runtime/arch/x86_64/entrypoints_init_x86_64.cc
runtime/arch/x86_64/quick_entrypoints_x86_64.S
runtime/base/logging.h
runtime/entrypoints/quick/quick_default_externs.h
runtime/entrypoints/quick/quick_default_init_entrypoints.h [new file with mode: 0644]
runtime/monitor.cc
runtime/monitor.h