Reland "Set SA_SIGINFO. Rename thread to include perfetto."

This would work before because sa_handler and sa_sigaction are in a
union, so we also assigned sa_handler. Because we do not use
any of the arguments passed to the functions, our function is also a
valid sa_handler.

This reverts commit a8fe58f0512a2147580b798e1cb8308420f8ae99
and updates another use of the old name to fix issues
with the original change.

Change-Id: I00aebe34438f7905f9b626e92252abbfe949b638
2 files changed