Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Side by Side Diff: src/log.h

Issue 14253015: Skip samples where top function's stack frame is not setup properly (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips->mipsel Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Forward declarations. 73 // Forward declarations.
74 class LogMessageBuilder; 74 class LogMessageBuilder;
75 class Profiler; 75 class Profiler;
76 class Semaphore; 76 class Semaphore;
77 struct TickSample; 77 struct TickSample;
78 class Ticker; 78 class Ticker;
79 class Isolate; 79 class Isolate;
80 class PositionsRecorder; 80 class PositionsRecorder;
81 class CpuProfiler; 81 class CpuProfiler;
82 class CompilationInfo;
82 83
83 #undef LOG 84 #undef LOG
84 #define LOG(isolate, Call) \ 85 #define LOG(isolate, Call) \
85 do { \ 86 do { \
86 v8::internal::Logger* logger = \ 87 v8::internal::Logger* logger = \
87 (isolate)->logger(); \ 88 (isolate)->logger(); \
88 if (logger->is_logging()) \ 89 if (logger->is_logging()) \
89 logger->Call; \ 90 logger->Call; \
90 } while (false) 91 } while (false)
91 92
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 void GetterCallbackEvent(Name* name, Address entry_point); 229 void GetterCallbackEvent(Name* name, Address entry_point);
229 void SetterCallbackEvent(Name* name, Address entry_point); 230 void SetterCallbackEvent(Name* name, Address entry_point);
230 // Emits a code create event. 231 // Emits a code create event.
231 void CodeCreateEvent(LogEventsAndTags tag, 232 void CodeCreateEvent(LogEventsAndTags tag,
232 Code* code, const char* source); 233 Code* code, const char* source);
233 void CodeCreateEvent(LogEventsAndTags tag, 234 void CodeCreateEvent(LogEventsAndTags tag,
234 Code* code, Name* name); 235 Code* code, Name* name);
235 void CodeCreateEvent(LogEventsAndTags tag, 236 void CodeCreateEvent(LogEventsAndTags tag,
236 Code* code, 237 Code* code,
237 SharedFunctionInfo* shared, 238 SharedFunctionInfo* shared,
239 CompilationInfo* info,
238 Name* name); 240 Name* name);
239 void CodeCreateEvent(LogEventsAndTags tag, 241 void CodeCreateEvent(LogEventsAndTags tag,
240 Code* code, 242 Code* code,
241 SharedFunctionInfo* shared, 243 SharedFunctionInfo* shared,
244 CompilationInfo* info,
242 Name* source, int line); 245 Name* source, int line);
243 void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count); 246 void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count);
244 void CodeMovingGCEvent(); 247 void CodeMovingGCEvent();
245 // Emits a code create event for a RegExp. 248 // Emits a code create event for a RegExp.
246 void RegExpCodeCreateEvent(Code* code, String* source); 249 void RegExpCodeCreateEvent(Code* code, String* source);
247 // Emits a code move event. 250 // Emits a code move event.
248 void CodeMoveEvent(Address from, Address to); 251 void CodeMoveEvent(Address from, Address to);
249 // Emits a code delete event. 252 // Emits a code delete event.
250 void CodeDeleteEvent(Address from); 253 void CodeDeleteEvent(Address from);
251 // Emits a code line info add event with Postion type. 254 // Emits a code line info add event with Postion type.
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 int64_t epoch_; 504 int64_t epoch_;
502 505
503 friend class CpuProfiler; 506 friend class CpuProfiler;
504 }; 507 };
505 508
506 509
507 } } // namespace v8::internal 510 } } // namespace v8::internal
508 511
509 512
510 #endif // V8_LOG_H_ 513 #endif // V8_LOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698