summaryrefslogtreecommitdiff
path: root/tools/field-null-percent/check-null-fields.py
AgeCommit message (Collapse)Author
2019-03-22Move all tools/ agents into tools/jvmti-agents directory Alex Light
This organizes all the various jvmti agents we have into a single, easy-to-search place. Test: build Change-Id: I92aeaf92e70bedabc38000bb14d4aac17a929793
2018-09-07Add tool to help gathering fieldnull data Alex Light
The libfieldnull.so tool allows one to determine how many of a classes instances have various fields set to null. This can be useful but actually gathering the data for a large number of processes can be difficult. This adds a check-null-fields.py program that will attach the fieldnull agent to every process it can on a device and record the results. Test: ./tools/field-null-percent/check-null-fields.py 'Ljava/lang/Class;.name:Ljava/lang/String;' Bug: 32635074 Change-Id: I308387a0a4e9366020cb5e18c5cb5a70d7d6ddb0