OLD | NEW |
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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 void ProfilerBeginEvent(); | 381 void ProfilerBeginEvent(); |
382 | 382 |
383 // Emits callback event messages. | 383 // Emits callback event messages. |
384 void CallbackEventInternal(const char* prefix, | 384 void CallbackEventInternal(const char* prefix, |
385 Name* name, | 385 Name* name, |
386 Address entry_point); | 386 Address entry_point); |
387 | 387 |
388 // Internal configurable move event. | 388 // Internal configurable move event. |
389 void MoveEventInternal(LogEventsAndTags event, Address from, Address to); | 389 void MoveEventInternal(LogEventsAndTags event, Address from, Address to); |
390 | 390 |
391 // Internal configurable move event. | |
392 void DeleteEventInternal(LogEventsAndTags event, Address from); | |
393 | |
394 // Emits the source code of a regexp. Used by regexp events. | 391 // Emits the source code of a regexp. Used by regexp events. |
395 void LogRegExpSource(Handle<JSRegExp> regexp); | 392 void LogRegExpSource(Handle<JSRegExp> regexp); |
396 | 393 |
397 // Used for logging stubs found in the snapshot. | 394 // Used for logging stubs found in the snapshot. |
398 void LogCodeObject(Object* code_object); | 395 void LogCodeObject(Object* code_object); |
399 | 396 |
400 // Helper method. It resets name_buffer_ and add tag name into it. | 397 // Helper method. It resets name_buffer_ and add tag name into it. |
401 void InitNameBuffer(LogEventsAndTags tag); | 398 void InitNameBuffer(LogEventsAndTags tag); |
402 | 399 |
403 // Emits a profiler tick event. Used by the profiler thread. | 400 // Emits a profiler tick event. Used by the profiler thread. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 int64_t epoch_; | 459 int64_t epoch_; |
463 | 460 |
464 friend class CpuProfiler; | 461 friend class CpuProfiler; |
465 }; | 462 }; |
466 | 463 |
467 | 464 |
468 } } // namespace v8::internal | 465 } } // namespace v8::internal |
469 | 466 |
470 | 467 |
471 #endif // V8_LOG_H_ | 468 #endif // V8_LOG_H_ |
OLD | NEW |