Added code to allow method tracing from command line.
Crated a set of command line switches to allow method tracing to be
enabled from the command line. They are -Xmethod-trace,
-Xmethod-trace-file, and -Xmethod-trace-file-size.
Change-Id: I7ecaa07aba3d7ca41f2ff3a9a9341d97833afe36
diff --git a/src/trace.h b/src/trace.h
index c84e99e..d545b14 100644
--- a/src/trace.h
+++ b/src/trace.h
@@ -52,6 +52,7 @@
static void Start(const char* trace_filename, int trace_fd, int buffer_size, int flags, bool direct_to_ddms);
static void Stop();
+ static void Shutdown();
void LogMethodTraceEvent(Thread* self, const Method* method, TraceEvent event);
@@ -59,7 +60,7 @@
void RemoveSavedCodeFromMap(const Method* method);
const void* GetSavedCodeFromMap(const Method* method);
- void SaveAndUpdateCode(Method* method, const void* new_code);
+ void SaveAndUpdateCode(Method* method);
void ResetSavedCode(Method* method);
private: