-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow switching to/from traced and traced_relay
Allow switching to/from traced and traced_relay via the persist.traced.enable system property. Setting the property to 0 disables everything, setting it to 1 enables traced and setting it to 2 enables traced_relay. Enabling traced_relay is mutually exclusive with traced. Therefore when traced_relay is enabled, traced is stopped and when traced_relay is disabled, traced is started. Also, one can pass the relay socket to traced_relay via the traced_relay.relay_port system property. This allows us to dynamically pass the relay socket in a multi-machine virtualized environment. To switch to traced_relay, run: adb root adb shell setprop traced_relay.relay_port <vsock-address> adb shell setprop persist.traced.enable 2 To switch from traced_relay to traced, run: adb shell setprop persist.traced.enable 1 Test: build in Android tree, switch back and forth to traced_relay Bug: 393210308 Change-Id: I5e7a38c94d8c49974a74518074367e1d7ad3002a
- Loading branch information
Jahdiel Alvarez
committed
Feb 4, 2025
1 parent
22c1eb4
commit 71d2c08
Showing
6 changed files
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters