Right now we can't use the profiler out of the box on b2g because SIGUSR2 is also used by B2G. The reason we use SIGUSR2 is because SIGUSR1 is used by the dalvik VM. Since we have the flexibility on B2G can we change that signal number?
Yes, we can grab one of the SIGRT's.
Actually, we could use SIGUSR1, since we don't have dalvik.
Created attachment 645877 [details] [diff] [review]
Comment on attachment 645877 [details] [diff] [review]
hg blame says that I pulled SIGUSR2 out of my butt in bug 749551 comment 53, so I don't see anything wrong a priori with switching to SIGUSR1 if it's indeed dalvik using that and not bionic.