Marc Horowitz 86f2eb18e5 Support JS Systrace on all platforms
Reviewed By: tadeuzagallo

Differential Revision: D3234830

fbshipit-source-id: 94cc870d47d620c8bd8d35f83d0b017e5ddba90d
2016-05-13 17:29:00 -07:00

20 lines
379 B
C++

// Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#if defined(WITH_JSC_EXTRA_TRACING) || DEBUG
#include <inttypes.h>
#include <JavaScriptCore/JSContextRef.h>
namespace facebook {
namespace react {
uint64_t tracingTagFromJSValue(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
void addNativeTracingHooks(JSGlobalContextRef ctx);
} }
#endif