Lines Matching refs:agent
14 * `-Xplugin` and `-agentpath` need to be used, otherwise libtitrace agent will fail during init.
22 #### Enable permissions for attaching an agent
32 If this step is skipped, attaching the agent will not succeed.
33 #### Deploy agent to device
34 The agent must be located in an app-accessible directory.
42 Copy the agent into an app-accessible directory, and make the file owned by the app.
44 #### Attach agent to application
46 ##### Option 1: Attach the agent before any app code runs.
47 > `adb shell am start --attach-agent /data/data/com.littleinc.orm_benchmark/files/libtitrace.so com…
53 ##### Option 2: Attach the agent to an already-running app.
54 > `adb shell am attach-agent $(pid com.littleinc.orm_benchmark) /data/data/com.littleinc.orm_bench…
61 Will initiate a dump of the agent (to logcat).