Move the trace file out of the profiles folder.
/dalvik-cache/profiles/ is going away. Create the trace file under
/data/misc/trace.
This enable tracing without forcing SElinux into permissive mode.
Bug: 24698874
Bug: 25612377
Change-Id: I78d09ef629bebe635c3baabaf88f01996d3333e5
diff --git a/runtime/runtime_options.def b/runtime/runtime_options.def
index 7b5bc1a..c96ff03 100644
--- a/runtime/runtime_options.def
+++ b/runtime/runtime_options.def
@@ -97,7 +97,7 @@
RUNTIME_OPTIONS_KEY (unsigned int, LockProfThreshold)
RUNTIME_OPTIONS_KEY (std::string, StackTraceFile)
RUNTIME_OPTIONS_KEY (Unit, MethodTrace)
-RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/method-trace-file.bin")
+RUNTIME_OPTIONS_KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin")
RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB)
RUNTIME_OPTIONS_KEY (Unit, MethodTraceStreaming)
RUNTIME_OPTIONS_KEY (TraceClockSource, ProfileClock, kDefaultTraceClockSource) // -Xprofile: