ANDROID: tracecmd: Fix temp file paths

Android doesn't mount /tmp. Fixup the temp file paths to
/data/local/tmp/ if this is an Android build.

This is needed for tracing VMs to work correctly.

Bug: 223905587
Test: guest$ trace-cmd agent
Test: host$ trace-cmd record -e sched:* -A microdroid@24:823 -e sched:*
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Change-Id: Ie690c33feb29ae9931fc3c3e1a4656c4645faf90
3 files changed