Use the Events Library provided in the Custom Analysis configuration to select Linux* Ftrace* and Android* framework events to monitor with the event-based sampling collector.
By default, each thread in your application is displayed in the timeline track with a default label generated from the process ID and the thread ID, or with the OS thread name. You can use the Thread Naming API in your code to give threads meaningful names.
Thread Naming API is a per-thread function that works in all states (paused or resumed).
Limit the amount of raw data (in MB) to be collected.