Bug 11405 - tolerate/ignore tapsets with syntax errors
Summary: tolerate/ignore tapsets with syntax errors
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-20 07:54 UTC by Josh Stone
Modified: 2010-03-20 20:01 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 Josh Stone 2010-03-20 07:54:26 UTC
In the near future, we're going to start seeing other packages install files
into our tapset directory.  If there's a syntax error in one of those files, all
of stap grinds to a halt.  Our lives will be easier if we ignore such files,
perhaps with a warning that we're skipping it.

For example: https://bugzilla.redhat.com/show_bug.cgi?id=575336
Comment 1 Josh Stone 2010-03-20 20:01:53 UTC
We now print a warning like:

  WARNING: tapset '/path/to/foo.stp' has errors, and will be skipped.

If the user didn't give -W, stap will continue without the erroneous file.

commit 1d844b57ab0a846b6059e682a6a70403aaef6ebc