Thanks Ben that seems to have worked. I am able to see the js symbols now.
However, I get the following error when running 'make native':

make[1]: Entering directory `/home/dhruvbird/projects/node/deps/v8/out'
  CXX(target) 
/home/dhruvbird/projects/node/deps/v8/out/native/obj.target/cctest/test/cctest/test-api.o
../test/cctest/test-api.cc: In function ‘void TestRegress260106()’:
../test/cctest/test-api.cc:17712:34: error: ‘class v8::Context’ has no 
member named ‘GetIsolate’
make[1]: *** 
[/home/dhruvbird/projects/node/deps/v8/out/native/obj.target/cctest/test/cctest/test-api.o]
 
Error 1
make[1]: Leaving directory `/home/dhruvbird/projects/node/deps/v8/out'
make: *** [native] Error 2

I'm assuming this is because of some API mismatch. How can I get make 
dependencies pull the correct subversion version of the code? Also, can I 
be certain that the symbols displayed in the profile are accurate despite 
the API differences?


On Saturday, November 9, 2013 8:58:03 AM UTC-8, Ben Noordhuis wrote:
>
> On Sat, Nov 9, 2013 at 4:53 AM, dhruvbird <[email protected] <javascript:>> 
> wrote: 
> > Hi Ben, 
> > 
> > On Friday, November 8, 2013 3:42:53 AM UTC-8, Ben Noordhuis wrote: 
> >> 
> >> On Thu, Nov 7, 2013 at 7:46 PM, dhruvbird <[email protected]> wrote: 
> >> > Hello, 
> >> > 
> >> > I'm running my script as: node --prof script.js 
> >> > And the profiling using: 
> >> > cd <path to v8 checkout> 
> >> > ./tools/linux-tick-processor <path to v8.log> 
> >> > 
> >> > but I only see the [C++] symbols, and not the [Javascript] symbols. 
> Is 
> >> > there 
> >> > something I'm doing wrong here? 
> >> 
> >> Does adding --log or --log_all help? 
> > 
> > Nope, it doesn't help :( 
> > 
> >> 
> >> If it doesn't, try the bundled 
> >> V8 - the format of the v8.log changes over time. 
> > 
> > 
> > I'm trying this, but deps/v8 is refusing to compile. 
> > 
> > .../node-v0.10.17/deps/v8$ make native 
> > make: *** No rule to make target `test/cctest/cctest.gyp', needed by 
> > `out/Makefile.native'.  Stop. 
> > 
> > However, I can build the v8 from svn. 
>
> Clone the node repository and check out the relevant tag.  The 
> tarballs are distributed without V8's test suite (because it's big and 
> the tarball is already 7 or 8 MB.) 
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to