2016-07-27 16:21:09 +00:00
|
|
|
// Copyright 2016 the V8 project authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#ifndef V8_LIBPLATFORM_V8_TRACING_H_
|
|
|
|
#define V8_LIBPLATFORM_V8_TRACING_H_
|
|
|
|
|
2019-02-20 09:02:06 +00:00
|
|
|
#include <atomic>
|
2016-07-27 16:21:09 +00:00
|
|
|
#include <fstream>
|
|
|
|
#include <memory>
|
2016-09-27 20:12:41 +00:00
|
|
|
#include <unordered_set>
|
2016-07-27 16:21:09 +00:00
|
|
|
#include <vector>
|
|
|
|
|
2016-10-10 08:51:48 +00:00
|
|
|
#include "libplatform/libplatform-export.h"
|
2020-04-27 16:29:03 +00:00
|
|
|
#include "v8-platform.h" // NOLINT(build/include_directory)
|
2016-09-27 18:08:34 +00:00
|
|
|
|
2019-07-08 08:29:54 +00:00
|
|
|
namespace perfetto {
|
2020-04-17 20:46:18 +00:00
|
|
|
namespace trace_processor {
|
|
|
|
class TraceProcessorStorage;
|
|
|
|
}
|
2019-07-08 08:29:54 +00:00
|
|
|
class TracingSession;
|
|
|
|
}
|
|
|
|
|
2016-07-27 16:21:09 +00:00
|
|
|
namespace v8 {
|
2016-09-27 20:12:41 +00:00
|
|
|
|
|
|
|
namespace base {
|
|
|
|
class Mutex;
|
|
|
|
} // namespace base
|
|
|
|
|
2016-07-27 16:21:09 +00:00
|
|
|
namespace platform {
|
|
|
|
namespace tracing {
|
|
|
|
|
2019-05-27 12:46:35 +00:00
|
|
|
class TraceEventListener;
|
2019-04-30 11:11:39 +00:00
|
|
|
|
2016-08-02 17:12:20 +00:00
|
|
|
const int kTraceMaxNumArgs = 2;
|
|
|
|
|
2016-10-10 08:51:48 +00:00
|
|
|
class V8_PLATFORM_EXPORT TraceObject {
|
2016-07-27 16:21:09 +00:00
|
|
|
public:
|
2016-08-02 17:12:20 +00:00
|
|
|
union ArgValue {
|
2019-11-07 17:07:34 +00:00
|
|
|
V8_DEPRECATED("use as_uint ? true : false") bool as_bool;
|
2016-08-02 17:12:20 +00:00
|
|
|
uint64_t as_uint;
|
|
|
|
int64_t as_int;
|
|
|
|
double as_double;
|
|
|
|
const void* as_pointer;
|
|
|
|
const char* as_string;
|
|
|
|
};
|
|
|
|
|
2018-09-19 17:03:08 +00:00
|
|
|
TraceObject() = default;
|
2016-08-02 17:12:20 +00:00
|
|
|
~TraceObject();
|
2016-09-27 18:08:34 +00:00
|
|
|
void Initialize(
|
|
|
|
char phase, const uint8_t* category_enabled_flag, const char* name,
|
|
|
|
const char* scope, uint64_t id, uint64_t bind_id, int num_args,
|
|
|
|
const char** arg_names, const uint8_t* arg_types,
|
|
|
|
const uint64_t* arg_values,
|
|
|
|
std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
|
2018-01-05 01:20:36 +00:00
|
|
|
unsigned int flags, int64_t timestamp, int64_t cpu_timestamp);
|
|
|
|
void UpdateDuration(int64_t timestamp, int64_t cpu_timestamp);
|
2016-09-27 18:08:34 +00:00
|
|
|
void InitializeForTesting(
|
|
|
|
char phase, const uint8_t* category_enabled_flag, const char* name,
|
|
|
|
const char* scope, uint64_t id, uint64_t bind_id, int num_args,
|
|
|
|
const char** arg_names, const uint8_t* arg_types,
|
|
|
|
const uint64_t* arg_values,
|
|
|
|
std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
|
|
|
|
unsigned int flags, int pid, int tid, int64_t ts, int64_t tts,
|
|
|
|
uint64_t duration, uint64_t cpu_duration);
|
2016-07-27 16:21:09 +00:00
|
|
|
|
|
|
|
int pid() const { return pid_; }
|
|
|
|
int tid() const { return tid_; }
|
|
|
|
char phase() const { return phase_; }
|
|
|
|
const uint8_t* category_enabled_flag() const {
|
|
|
|
return category_enabled_flag_;
|
|
|
|
}
|
|
|
|
const char* name() const { return name_; }
|
|
|
|
const char* scope() const { return scope_; }
|
|
|
|
uint64_t id() const { return id_; }
|
|
|
|
uint64_t bind_id() const { return bind_id_; }
|
2016-08-02 17:12:20 +00:00
|
|
|
int num_args() const { return num_args_; }
|
|
|
|
const char** arg_names() { return arg_names_; }
|
|
|
|
uint8_t* arg_types() { return arg_types_; }
|
|
|
|
ArgValue* arg_values() { return arg_values_; }
|
2016-09-27 18:08:34 +00:00
|
|
|
std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables() {
|
|
|
|
return arg_convertables_;
|
|
|
|
}
|
2016-07-27 16:21:09 +00:00
|
|
|
unsigned int flags() const { return flags_; }
|
|
|
|
int64_t ts() { return ts_; }
|
|
|
|
int64_t tts() { return tts_; }
|
|
|
|
uint64_t duration() { return duration_; }
|
|
|
|
uint64_t cpu_duration() { return cpu_duration_; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
int pid_;
|
|
|
|
int tid_;
|
|
|
|
char phase_;
|
|
|
|
const char* name_;
|
|
|
|
const char* scope_;
|
|
|
|
const uint8_t* category_enabled_flag_;
|
|
|
|
uint64_t id_;
|
|
|
|
uint64_t bind_id_;
|
2016-09-27 18:08:34 +00:00
|
|
|
int num_args_ = 0;
|
2016-08-02 17:12:20 +00:00
|
|
|
const char* arg_names_[kTraceMaxNumArgs];
|
|
|
|
uint8_t arg_types_[kTraceMaxNumArgs];
|
|
|
|
ArgValue arg_values_[kTraceMaxNumArgs];
|
2016-09-27 18:08:34 +00:00
|
|
|
std::unique_ptr<v8::ConvertableToTraceFormat>
|
|
|
|
arg_convertables_[kTraceMaxNumArgs];
|
2016-08-02 17:12:20 +00:00
|
|
|
char* parameter_copy_storage_ = nullptr;
|
2016-07-27 16:21:09 +00:00
|
|
|
unsigned int flags_;
|
|
|
|
int64_t ts_;
|
|
|
|
int64_t tts_;
|
|
|
|
uint64_t duration_;
|
|
|
|
uint64_t cpu_duration_;
|
|
|
|
|
|
|
|
// Disallow copy and assign
|
|
|
|
TraceObject(const TraceObject&) = delete;
|
|
|
|
void operator=(const TraceObject&) = delete;
|
|
|
|
};
|
|
|
|
|
2016-10-10 08:51:48 +00:00
|
|
|
class V8_PLATFORM_EXPORT TraceWriter {
|
2016-07-27 16:21:09 +00:00
|
|
|
public:
|
2018-09-19 17:03:08 +00:00
|
|
|
TraceWriter() = default;
|
|
|
|
virtual ~TraceWriter() = default;
|
2016-07-27 16:21:09 +00:00
|
|
|
virtual void AppendTraceEvent(TraceObject* trace_event) = 0;
|
|
|
|
virtual void Flush() = 0;
|
|
|
|
|
|
|
|
static TraceWriter* CreateJSONTraceWriter(std::ostream& stream);
|
2018-05-04 16:37:50 +00:00
|
|
|
static TraceWriter* CreateJSONTraceWriter(std::ostream& stream,
|
|
|
|
const std::string& tag);
|
2016-07-27 16:21:09 +00:00
|
|
|
|
Step 1 (of 3-ish): Basic ETW Instrumentation in V8
Design doc:
https://docs.google.com/document/d/1xkXj94iExFgLWc_OszTNyNGi523ARaKMWPZTeomhI4U
A lot has changed since the last patchset! I recommend revisiting this
design doc and reading the parts in green. I explain the roadmap for
what changes to expect from ETW instrumentation as well as the
instrumentation of this particular CL.
I'll do my best to answer any further questions anyone has about my
particular instrumentation or ETW in general :)
---
This is the first of a series of changelists to round out ETW
instrumentation for V8.
This changelist represents the most minimal change needed to instrument
ETW in V8. In particular, it:
- defines and registers the ETW provider,
- interacts minimally with the rest of V8, by hooking into the
existing TracingController::AddTraceEvent function,
- is designed with a platform-agnostic layer, so that event tracers
for other platforms can be instrumented in teh future.
Some notes on instrumentation (aka I copied stuff from the design doc):
We make heavy use of the TraceLogging API to log events. It differs from
previous methods of emitting ETW events in that it doesn<E2><80><99>t
require the overhead of a separate manifest file to keep track of
metadata; rather, events using this API are self-descriptive.
Here are the five major steps to instrument the TraceLogging API:
- Forward declare the provider (from provider-win.h)
- Define the provider in a .cc file (from provider-win.cc)
- Register the provider (called from v8.cc).
- Write events (called from libplatform/tracing-controller.cc)
- Unregister the provider (called from v8.cc)
At the base, we have an abstract provider class that encapsulates the
functionality of an event provider. These are things like registering
and unregistering the provider, and the actual event-logging.
The provider class is split into provider-win and provider-mac
(currently not instantiated) classes, with OS-dependent implementations
of the above functions.
In particular, the TraceLogging API is used only in provider-win. It is
here that we forward declare and define the provider, as well as write
ETW events.
Finally, there is a v8-provider class that serves as a top-level API and
is exposed to the rest of V8. It acts as a wrapper for the
platform-specific providers.
The .wprp file is needed so that Windows Performance Recorder knows how
to capture our events.
Some considerations:
- Is TracingController::AddTraceEvent the best place from which to
write my events?
- Is src/libplatform/tracing the best place to put my instrumentation?
- Right now, I fail the preupload because of this, which tells me my
files are probably not in the best location:
You added one or more #includes that violate checkdeps rules.
src\init\v8.cc Illegal include: "src/libplatform/tracing/v8-provider.h"
Because of "-src/libplatform" from src's include_rules.
Change-Id: Id53e4a034c9e526524a17000da0a647a95d93edf
Bug: v8:11043
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2233407
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Sara Tang <sartang@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#71918}
2021-01-05 18:43:34 +00:00
|
|
|
static TraceWriter* CreateSystemInstrumentationTraceWriter();
|
|
|
|
|
2016-07-27 16:21:09 +00:00
|
|
|
private:
|
|
|
|
// Disallow copy and assign
|
|
|
|
TraceWriter(const TraceWriter&) = delete;
|
|
|
|
void operator=(const TraceWriter&) = delete;
|
|
|
|
};
|
|
|
|
|
2016-10-10 08:51:48 +00:00
|
|
|
class V8_PLATFORM_EXPORT TraceBufferChunk {
|
2016-07-27 16:21:09 +00:00
|
|
|
public:
|
|
|
|
explicit TraceBufferChunk(uint32_t seq);
|
|
|
|
|
|
|
|
void Reset(uint32_t new_seq);
|
|
|
|
bool IsFull() const { return next_free_ == kChunkSize; }
|
|
|
|
TraceObject* AddTraceEvent(size_t* event_index);
|
|
|
|
TraceObject* GetEventAt(size_t index) { return &chunk_[index]; }
|
|
|
|
|
|
|
|
uint32_t seq() const { return seq_; }
|
|
|
|
size_t size() const { return next_free_; }
|
|
|
|
|
|
|
|
static const size_t kChunkSize = 64;
|
|
|
|
|
|
|
|
private:
|
|
|
|
size_t next_free_ = 0;
|
|
|
|
TraceObject chunk_[kChunkSize];
|
|
|
|
uint32_t seq_;
|
|
|
|
|
|
|
|
// Disallow copy and assign
|
|
|
|
TraceBufferChunk(const TraceBufferChunk&) = delete;
|
|
|
|
void operator=(const TraceBufferChunk&) = delete;
|
|
|
|
};
|
|
|
|
|
2016-10-10 08:51:48 +00:00
|
|
|
class V8_PLATFORM_EXPORT TraceBuffer {
|
2016-07-27 16:21:09 +00:00
|
|
|
public:
|
2018-09-19 17:03:08 +00:00
|
|
|
TraceBuffer() = default;
|
|
|
|
virtual ~TraceBuffer() = default;
|
2016-07-27 16:21:09 +00:00
|
|
|
|
|
|
|
virtual TraceObject* AddTraceEvent(uint64_t* handle) = 0;
|
|
|
|
virtual TraceObject* GetEventByHandle(uint64_t handle) = 0;
|
|
|
|
virtual bool Flush() = 0;
|
|
|
|
|
|
|
|
static const size_t kRingBufferChunks = 1024;
|
|
|
|
|
|
|
|
static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks,
|
|
|
|
TraceWriter* trace_writer);
|
|
|
|
|
|
|
|
private:
|
|
|
|
// Disallow copy and assign
|
|
|
|
TraceBuffer(const TraceBuffer&) = delete;
|
|
|
|
void operator=(const TraceBuffer&) = delete;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Options determines how the trace buffer stores data.
|
|
|
|
enum TraceRecordMode {
|
|
|
|
// Record until the trace buffer is full.
|
|
|
|
RECORD_UNTIL_FULL,
|
|
|
|
|
|
|
|
// Record until the user ends the trace. The trace buffer is a fixed size
|
|
|
|
// and we use it as a ring buffer during recording.
|
|
|
|
RECORD_CONTINUOUSLY,
|
|
|
|
|
|
|
|
// Record until the trace buffer is full, but with a huge buffer size.
|
|
|
|
RECORD_AS_MUCH_AS_POSSIBLE,
|
|
|
|
|
|
|
|
// Echo to console. Events are discarded.
|
|
|
|
ECHO_TO_CONSOLE,
|
|
|
|
};
|
|
|
|
|
2016-10-10 08:51:48 +00:00
|
|
|
class V8_PLATFORM_EXPORT TraceConfig {
|
2016-07-27 16:21:09 +00:00
|
|
|
public:
|
|
|
|
typedef std::vector<std::string> StringList;
|
|
|
|
|
2016-08-10 17:10:51 +00:00
|
|
|
static TraceConfig* CreateDefaultTraceConfig();
|
|
|
|
|
2016-10-12 15:34:40 +00:00
|
|
|
TraceConfig() : enable_systrace_(false), enable_argument_filter_(false) {}
|
2016-07-27 16:21:09 +00:00
|
|
|
TraceRecordMode GetTraceRecordMode() const { return record_mode_; }
|
2020-04-17 20:46:18 +00:00
|
|
|
const StringList& GetEnabledCategories() const {
|
|
|
|
return included_categories_;
|
|
|
|
}
|
2016-07-27 16:21:09 +00:00
|
|
|
bool IsSystraceEnabled() const { return enable_systrace_; }
|
|
|
|
bool IsArgumentFilterEnabled() const { return enable_argument_filter_; }
|
|
|
|
|
|
|
|
void SetTraceRecordMode(TraceRecordMode mode) { record_mode_ = mode; }
|
|
|
|
void EnableSystrace() { enable_systrace_ = true; }
|
|
|
|
void EnableArgumentFilter() { enable_argument_filter_ = true; }
|
|
|
|
|
|
|
|
void AddIncludedCategory(const char* included_category);
|
|
|
|
|
|
|
|
bool IsCategoryGroupEnabled(const char* category_group) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
TraceRecordMode record_mode_;
|
|
|
|
bool enable_systrace_ : 1;
|
|
|
|
bool enable_argument_filter_ : 1;
|
|
|
|
StringList included_categories_;
|
|
|
|
|
|
|
|
// Disallow copy and assign
|
|
|
|
TraceConfig(const TraceConfig&) = delete;
|
|
|
|
void operator=(const TraceConfig&) = delete;
|
|
|
|
};
|
|
|
|
|
2017-06-22 07:25:30 +00:00
|
|
|
#if defined(_MSC_VER)
|
|
|
|
#define V8_PLATFORM_NON_EXPORTED_BASE(code) \
|
|
|
|
__pragma(warning(suppress : 4275)) code
|
|
|
|
#else
|
|
|
|
#define V8_PLATFORM_NON_EXPORTED_BASE(code) code
|
|
|
|
#endif // defined(_MSC_VER)
|
|
|
|
|
|
|
|
class V8_PLATFORM_EXPORT TracingController
|
|
|
|
: public V8_PLATFORM_NON_EXPORTED_BASE(v8::TracingController) {
|
2016-07-27 16:21:09 +00:00
|
|
|
public:
|
2020-04-17 20:46:18 +00:00
|
|
|
TracingController();
|
|
|
|
~TracingController() override;
|
|
|
|
|
|
|
|
#if defined(V8_USE_PERFETTO)
|
|
|
|
// Must be called before StartTracing() if V8_USE_PERFETTO is true. Provides
|
|
|
|
// the output stream for the JSON trace data.
|
|
|
|
void InitializeForPerfetto(std::ostream* output_stream);
|
|
|
|
// Provide an optional listener for testing that will receive trace events.
|
|
|
|
// Must be called before StartTracing().
|
|
|
|
void SetTraceEventListenerForTesting(TraceEventListener* listener);
|
|
|
|
#else // defined(V8_USE_PERFETTO)
|
2019-02-19 10:19:49 +00:00
|
|
|
// The pointer returned from GetCategoryGroupEnabled() points to a value with
|
|
|
|
// zero or more of the following bits. Used in this class only. The
|
|
|
|
// TRACE_EVENT macros should only use the value as a bool. These values must
|
|
|
|
// be in sync with macro values in TraceEvent.h in Blink.
|
2016-07-27 16:21:09 +00:00
|
|
|
enum CategoryGroupEnabledFlags {
|
|
|
|
// Category group enabled for the recording mode.
|
|
|
|
ENABLED_FOR_RECORDING = 1 << 0,
|
|
|
|
// Category group enabled by SetEventCallbackEnabled().
|
|
|
|
ENABLED_FOR_EVENT_CALLBACK = 1 << 2,
|
|
|
|
// Category group enabled to export events to ETW.
|
|
|
|
ENABLED_FOR_ETW_EXPORT = 1 << 3
|
|
|
|
};
|
|
|
|
|
2019-08-05 14:57:31 +00:00
|
|
|
// Takes ownership of |trace_buffer|.
|
2016-07-27 16:21:09 +00:00
|
|
|
void Initialize(TraceBuffer* trace_buffer);
|
2017-06-22 07:25:30 +00:00
|
|
|
|
|
|
|
// v8::TracingController implementation.
|
|
|
|
const uint8_t* GetCategoryGroupEnabled(const char* category_group) override;
|
2016-09-27 18:08:34 +00:00
|
|
|
uint64_t AddTraceEvent(
|
|
|
|
char phase, const uint8_t* category_enabled_flag, const char* name,
|
|
|
|
const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
|
|
|
|
const char** arg_names, const uint8_t* arg_types,
|
|
|
|
const uint64_t* arg_values,
|
|
|
|
std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
|
2017-06-22 07:25:30 +00:00
|
|
|
unsigned int flags) override;
|
2018-01-11 21:20:24 +00:00
|
|
|
uint64_t AddTraceEventWithTimestamp(
|
|
|
|
char phase, const uint8_t* category_enabled_flag, const char* name,
|
|
|
|
const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
|
|
|
|
const char** arg_names, const uint8_t* arg_types,
|
|
|
|
const uint64_t* arg_values,
|
|
|
|
std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
|
|
|
|
unsigned int flags, int64_t timestamp) override;
|
2016-07-27 16:21:09 +00:00
|
|
|
void UpdateTraceEventDuration(const uint8_t* category_enabled_flag,
|
2017-06-22 07:25:30 +00:00
|
|
|
const char* name, uint64_t handle) override;
|
2020-04-17 20:46:18 +00:00
|
|
|
|
|
|
|
static const char* GetCategoryGroupName(const uint8_t* category_enabled_flag);
|
|
|
|
#endif // !defined(V8_USE_PERFETTO)
|
|
|
|
|
2017-06-22 07:25:30 +00:00
|
|
|
void AddTraceStateObserver(
|
|
|
|
v8::TracingController::TraceStateObserver* observer) override;
|
|
|
|
void RemoveTraceStateObserver(
|
|
|
|
v8::TracingController::TraceStateObserver* observer) override;
|
2016-07-27 16:21:09 +00:00
|
|
|
|
|
|
|
void StartTracing(TraceConfig* trace_config);
|
|
|
|
void StopTracing();
|
|
|
|
|
2018-01-05 01:20:36 +00:00
|
|
|
protected:
|
2020-04-17 20:46:18 +00:00
|
|
|
#if !defined(V8_USE_PERFETTO)
|
2018-01-05 01:20:36 +00:00
|
|
|
virtual int64_t CurrentTimestampMicroseconds();
|
|
|
|
virtual int64_t CurrentCpuTimestampMicroseconds();
|
2020-04-17 20:46:18 +00:00
|
|
|
#endif // !defined(V8_USE_PERFETTO)
|
2018-01-05 01:20:36 +00:00
|
|
|
|
2016-07-27 16:21:09 +00:00
|
|
|
private:
|
2020-04-17 20:46:18 +00:00
|
|
|
#if !defined(V8_USE_PERFETTO)
|
2016-07-27 16:21:09 +00:00
|
|
|
void UpdateCategoryGroupEnabledFlag(size_t category_index);
|
|
|
|
void UpdateCategoryGroupEnabledFlags();
|
2020-04-17 20:46:18 +00:00
|
|
|
#endif // !defined(V8_USE_PERFETTO)
|
2016-07-27 16:21:09 +00:00
|
|
|
|
2016-09-27 20:12:41 +00:00
|
|
|
std::unique_ptr<base::Mutex> mutex_;
|
2020-04-17 20:46:18 +00:00
|
|
|
std::unique_ptr<TraceConfig> trace_config_;
|
2019-02-20 09:02:06 +00:00
|
|
|
std::atomic_bool recording_{false};
|
2020-04-17 20:46:18 +00:00
|
|
|
std::unordered_set<v8::TracingController::TraceStateObserver*> observers_;
|
|
|
|
|
|
|
|
#if defined(V8_USE_PERFETTO)
|
2019-05-23 10:44:11 +00:00
|
|
|
std::ostream* output_stream_ = nullptr;
|
2020-04-17 20:46:18 +00:00
|
|
|
std::unique_ptr<perfetto::trace_processor::TraceProcessorStorage>
|
|
|
|
trace_processor_;
|
2019-05-27 12:46:35 +00:00
|
|
|
TraceEventListener* listener_for_testing_ = nullptr;
|
2019-07-08 08:29:54 +00:00
|
|
|
std::unique_ptr<perfetto::TracingSession> tracing_session_;
|
2020-04-17 20:46:18 +00:00
|
|
|
#else // !defined(V8_USE_PERFETTO)
|
|
|
|
std::unique_ptr<TraceBuffer> trace_buffer_;
|
|
|
|
#endif // !defined(V8_USE_PERFETTO)
|
2016-07-27 16:21:09 +00:00
|
|
|
|
|
|
|
// Disallow copy and assign
|
|
|
|
TracingController(const TracingController&) = delete;
|
|
|
|
void operator=(const TracingController&) = delete;
|
|
|
|
};
|
|
|
|
|
2017-06-22 07:25:30 +00:00
|
|
|
#undef V8_PLATFORM_NON_EXPORTED_BASE
|
|
|
|
|
2016-07-27 16:21:09 +00:00
|
|
|
} // namespace tracing
|
|
|
|
} // namespace platform
|
|
|
|
} // namespace v8
|
|
|
|
|
|
|
|
#endif // V8_LIBPLATFORM_V8_TRACING_H_
|