v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
log.cc File Reference
#include "src/logging/log.h"
#include <atomic>
#include <cstdarg>
#include <memory>
#include <sstream>
#include "include/v8-locker.h"
#include "src/api/api-inl.h"
#include "src/base/hashing.h"
#include "src/base/platform/mutex.h"
#include "src/base/platform/platform.h"
#include "src/base/platform/wrappers.h"
#include "src/builtins/profile-data-reader.h"
#include "src/codegen/bailout-reason.h"
#include "src/codegen/compiler.h"
#include "src/codegen/macro-assembler.h"
#include "src/codegen/source-position-table.h"
#include "src/common/assert-scope.h"
#include "src/deoptimizer/deoptimizer.h"
#include "src/diagnostics/perf-jit.h"
#include "src/execution/isolate.h"
#include "src/execution/v8threads.h"
#include "src/execution/vm-state-inl.h"
#include "src/execution/vm-state.h"
#include "src/handles/global-handles.h"
#include "src/heap/combined-heap.h"
#include "src/heap/heap-inl.h"
#include "src/heap/heap-layout-inl.h"
#include "src/init/bootstrapper.h"
#include "src/interpreter/bytecodes.h"
#include "src/interpreter/interpreter.h"
#include "src/libsampler/sampler.h"
#include "src/logging/code-events.h"
#include "src/logging/counters.h"
#include "src/logging/log-file.h"
#include "src/logging/log-inl.h"
#include "src/objects/api-callbacks.h"
#include "src/objects/code-kind.h"
#include "src/objects/code.h"
#include "src/profiler/tick-sample.h"
#include "src/snapshot/embedded/embedded-data.h"
#include "src/strings/string-stream.h"
#include "src/strings/unicode-inl.h"
#include "src/tracing/tracing-category-observer.h"
#include "src/utils/memcopy.h"
#include "src/utils/version.h"
Include dependency graph for log.cc:

Go to the source code of this file.

Classes

class  v8::internal::CodeEventLogger::NameBuffer
 
class  v8::internal::LowLevelLogger
 
struct  v8::internal::LowLevelLogger::CodeCreateStruct
 
struct  v8::internal::LowLevelLogger::CodeMoveStruct
 
class  v8::internal::JitLogger
 
class  v8::internal::SamplingThread
 
class  v8::internal::Profiler
 
class  v8::internal::Ticker
 
class  v8::internal::VMStateIfMainThread< tag >
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define DECLARE_EVENT(ignore1, name)
 
#define DECLARE_EVENT(ignore1, name)
 
#define CALL_CODE_EVENT_HANDLER(Call)
 
#define MSG_BUILDER()
 
#define V(TimerName, expose)
 

Functions

std::ostream & v8::internal::operator<< (std::ostream &os, LogEventListener::CodeTag tag)
 
std::ostream & v8::internal::operator<< (std::ostream &os, LogEventListener::Event event)
 
static std::vector< std::pair< Handle< SharedFunctionInfo >, Handle< AbstractCode > > > v8::internal::EnumerateCompiledFunctions (Heap *heap)
 
static void v8::internal::AddIsolateIdIfNeeded (std::ostream &os, Isolate *isolate)
 
static void v8::internal::PrepareLogFileName (std::ostream &os, Isolate *isolate, const char *file_name)
 

Variables

static const char * v8::internal::kLogEventsNames []
 
static const char * v8::internal::kCodeTagNames []
 

Macro Definition Documentation

◆ CALL_CODE_EVENT_HANDLER

#define CALL_CODE_EVENT_HANDLER ( Call)
Value:
if (listener_) { \
listener_->Call; \
} else { \
PROFILE(isolate_, Call); \
}
Isolate * isolate_

Definition at line 122 of file log.cc.

◆ DECLARE_EVENT [1/2]

#define DECLARE_EVENT ( ignore1,
name )
Value:
const char * name
Definition builtins.cc:39

◆ DECLARE_EVENT [2/2]

#define DECLARE_EVENT ( ignore1,
name )
Value:
#name,

◆ MSG_BUILDER

#define MSG_BUILDER ( )
Value:
std::unique_ptr<LogFile::MessageBuilder> msg_ptr = \
log_file_->NewMessageBuilder(); \
if (!msg_ptr) return; \
LogFile::MessageBuilder& msg = *msg_ptr.get();

Definition at line 1224 of file log.cc.

◆ V

#define V ( TimerName,
expose )
Value:
template void TimerEventScope<TimerEvent##TimerName>::LogTimerEvent( \
LogEventStatus

Definition at line 1343 of file log.cc.