In the performance-log viewer, add an option to filter which threads, and which states of each thread, are included in the profile. By default, all threads in the RUNNING state are included. (cherry picked from commit 3f630378)