-
timothy@apple.com authored
that allows starting and stopping the profiler remotely for use in conjunction with the profiler's DTace probes. https://bugs.webkit.org/show_bug.cgi?id=21719 Reviewed by Timothy Hatcher. * JavaScriptCore.xcodeproj/project.pbxproj: * kjs/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData): Calls startProfilerServerIfNeeded. * profiler/ProfilerServer.h: Added. * profiler/ProfilerServer.mm: Added. (+[ProfilerServer sharedProfileServer]): (-[ProfilerServer init]): (-[ProfilerServer startProfiling]): (-[ProfilerServer stopProfiling]): (JSC::startProfilerServerIfNeeded): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4435cf2b