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.
source share