Project

General

Profile

Actions

Bug #7586

closed

Useless sourceline in DTrace parse__begin and parse__end probes

Bug #7586: Useless sourceline in DTrace parse__begin and parse__end probes

Added by vo.x (Vit Ondruch) almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0dev (2012-12-17 trunk 38422) [x86_64-linux]
Backport:
[ruby-core:50964]

Description

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?

Actions

Also available in: PDF Atom