V8 profiling: linux-tick processor not working with d8

I am trying to get v8 profiling and linux-tick processor running on my ubuntu.

I basically did the following steps:

$ git clone git://github.com/v8/v8.git v8 && cd v8 $ make dependencie $ make native // added d8 to $PATH $ d8 --prof primes.js // v8.log is created $ /home/username/v8/tools/linux-tick-processor 

But it does not work, as a result I get:

 Statistical profiling result from v8.log, (0 ticks, 0 unaccounted, 0 excludes). 

So, I assume that v8.log was not created correctly, because this result is indicated with every other file that you pass to the linux-tick processor. I checked v8.log and created with some content:

http://pastebin.com/VLLWMKKM

It seems to me that it was created correctly.

I tried profiling with node and this works:

 $ node --prof primes.js $ /home/username/v8/tools/linux-tick-processor // correct output 

But I want to use d8 profiling.

Does anyone have any ideas or solutions to this problem?

Thanks in advance.

+4
source share
1 answer

There is an error in V8. I opened the error report here: http://code.google.com/p/v8/issues/detail?id=2364

+3
source

Source: https://habr.com/ru/post/1439650/


All Articles