From: "vo.x (Vit Ondruch)" Date: 2012-12-18T18:41:41+09:00 Subject: [ruby-core:50964] [ruby-trunk - Bug #7586][Open] Useless sourceline in DTrace parse__begin and parse__end probes Issue #7586 has been reported by vo.x (Vit Ondruch). ---------------------------------------- Bug #7586: Useless sourceline in DTrace parse__begin and parse__end probes https://bugs.ruby-lang.org/issues/7586 Author: vo.x (Vit Ondruch) Status: Open Priority: Normal Assignee: tenderlovemaking (Aaron Patterson) Category: Target version: ruby -v: ruby 2.0.0dev (2012-12-17 trunk 38422) [x86_64-linux] I am not 100% sure, but isn't the 'parser->parser_ruby_sourceline' at https://github.com/ruby/ruby/blob/trunk/parse.y#L5322 always '1'? Does it make sense to pass this information to DTrace parse__begin(const char *, int) and parse__end(const char *, int) probes? -- http://bugs.ruby-lang.org/