Skip to content

Commit e94699d

Browse files
committed
Show line number
1 parent 06cc09b commit e94699d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/stackprof/report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def convert_to_d3_flame_graph_format(name, stacks, depth)
191191
end
192192
else
193193
frame = @data[:frames][val]
194-
child_name = "#{ frame[:name] } : #{ frame[:file] }"
194+
child_name = "#{ frame[:name] } : #{ frame[:file] } : #{ frame[:line] }"
195195
child_data = convert_to_d3_flame_graph_format(child_name, child_stacks, depth + 1)
196196
weight += child_data["value"]
197197
children << child_data

0 commit comments

Comments
 (0)