Hi, thanks for the heads up. However, could I get profiling information into some other place than file. For example, there is this GetLogLines() in log.h: // If logging is performed into a memory buffer, allows to // retrieve previously written messages. See v8.h. int GetLogLines(int from_pos, char* dest_buf, int max_size);
Does this mean that I don't have to read profiling information from file but instead directly from memory. Also, how could I enable logging into memory buffer? Br, Janne On Aug 30, 1:44 pm, Mikhail Naganov <[email protected]> wrote: > Hi, > > I'm sorry, the documentation wasn't up to date. We have removed the > "module" parameter from the message some time ago. What you can do > with it is just starting and stopping CPU profiling. You need to have > profiling enabled (see --prof switch description). Profiling data is > recorded into a log file. Please see this page for further > info:http://code.google.com/p/v8/wiki/V8Profiler > > On Tue, Aug 30, 2011 at 10:27, janne.virranmaki > > <[email protected]> wrote: > > Hi, > > > I tried to look at V8's DebuggerProtocol wiki page and read source > > code but still I have a questions, if someone already knows: > > > What is the response message to default "profile" request message? > > Can I register listener function to "profile" response by using > > v8::Debug::SetMessageHandler2(<listener function>)? Or probably there > > is some other for Profiler. > > > Thanks for any help! > > > Br, > > > Janne > > > -- > > v8-users mailing list > > [email protected] > >http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
