| Index: src/log.h
|
| diff --git a/src/log.h b/src/log.h
|
| index e5137378608a384b4295ec624fc7e6c5b27e9692..e95f3d94e129cce296af7a5a97bd9ed4ff8b5d6d 100644
|
| --- a/src/log.h
|
| +++ b/src/log.h
|
| @@ -91,6 +91,7 @@ class CompressionHelper;
|
| V(CODE_CREATION_EVENT, "code-creation", "cc") \
|
| V(CODE_MOVE_EVENT, "code-move", "cm") \
|
| V(CODE_DELETE_EVENT, "code-delete", "cd") \
|
| + V(CODE_MOVING_GC, "code-moving-gc", "cg") \
|
| V(FUNCTION_CREATION_EVENT, "function-creation", "fc") \
|
| V(FUNCTION_MOVE_EVENT, "function-move", "fm") \
|
| V(FUNCTION_DELETE_EVENT, "function-delete", "fd") \
|
| @@ -209,6 +210,7 @@ class Logger {
|
| static void CodeCreateEvent(LogEventsAndTags tag, Code* code, String* name,
|
| String* source, int line);
|
| static void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count);
|
| + static void CodeMovingGCEvent();
|
| // Emits a code create event for a RegExp.
|
| static void RegExpCodeCreateEvent(Code* code, String* source);
|
| // Emits a code move event.
|
| @@ -317,6 +319,12 @@ class Logger {
|
| // Used for logging stubs found in the snapshot.
|
| static void LogCodeObject(Object* code_object);
|
|
|
| + // Emits general information about generated code.
|
| + static void LogCodeInfo();
|
| +
|
| + // Handles code creation when low-level profiling is active.
|
| + static void LowLevelCodeCreateEvent(Code* code, LogMessageBuilder* msg);
|
| +
|
| // Emits a profiler tick event. Used by the profiler thread.
|
| static void TickEvent(TickSample* sample, bool overflow);
|
|
|
|
|