Bug 18673 - .statement line-number-range slow for large ranges
Summary: .statement line-number-range slow for large ranges
Status: NEW
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-14 18:53 UTC by Frank Ch. Eigler
Modified: 2015-07-14 18:53 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2015-07-14 18:53:58 UTC
We have at least two problems:

- that something like probe FOO.statement("*@*:1-99999999")  
  creates a very large linenos[] vector in dwarf_query::parse_function_spec

- and then in dwflpp::iterate_over_srcfile_lines, we iterate over each element (line number) in collect_lines_for_single_lineno, repeating a large amount of computation