Re: [v8-users] How to trace JavaScript function enter/exit event?

2019-08-07 Thread Cong Zuo
Haha, pardon me for this silly question! Just forget about this option... Thank you Jakob! On Wednesday, August 7, 2019 at 10:08:24 PM UTC+8, Jakob Kummerow wrote: > > V8 already has a --trace flag that does precisely this. > > On Wed, Aug 7, 2019 at 4:06 PM Cong Zuo > > wrote: > >> Hey guys,

Re: [v8-users] How to trace JavaScript function enter/exit event?

2019-08-07 Thread Jakob Kummerow
V8 already has a --trace flag that does precisely this. On Wed, Aug 7, 2019 at 4:06 PM Cong Zuo wrote: > Hey guys, I want to trace JavaScript function enter and exit events to > generate function calling graphs just like DTrace/SystemTap could do. > > e.g. > > 0 <- rl_getc > 0 <-

[v8-users] How to trace JavaScript function enter/exit event?

2019-08-07 Thread Cong Zuo
Hey guys, I want to trace JavaScript function enter and exit events to generate function calling graphs just like DTrace/SystemTap could do. e.g. 0 <- rl_getc 0 <- rl_read_key 0 -> _rl_dispatch 0-> _rl_dispatch_subseq 0 -> rl_insert 0-> _rl_insert_char 0