Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | BZ 9719: Improve type mismatch messages | Rajan Arora | 2009-02-18 | 1 | -6/+53 | |
| | ||||||
* | Bump copyright years to 2009 | Josh Stone | 2009-02-18 | 1 | -1/+1 | |
| | ||||||
* | Enable session-wide code filtering | Josh Stone | 2009-02-18 | 1 | -0/+6 | |
| | | | | | | | | | | This will be used to hook to dwarf_builder to all functions and probes so it can attempt @cast expansion. * session.h (systemtap_session): Add a vector of update_visitors that will act as filters for all probes and functions. * elaborate.cxx (semantic_pass_symbols): Run probes and functions through each registered code filter. | |||||
* | Add high-level support for @cast()ing | Josh Stone | 2009-02-18 | 1 | -0/+31 | |
| | | | | | | | | | | | | | | | | | | This handles all of the parsing, traversal, and optimization. It doesn't actually resolve the cast yet though. * staptree.h (struct cast_op, visitor::visit_cast_op): New. * staptree.cxx (cast_op::print/visit, various visitor::visit_cast_op's): Incorporate cast_op into the basic tree operations. * parse.cxx (parser::parse_symbol): Parse @cast operator with an expression operand, type string, and optional module string. * translate.cxx (c_unparser::visit_cast_op): Error out if a @cast survives to translation. * elaborate.cxx (typeresolution_info::visit_cast_op): Error out if a @cast survives to type resolution. (symbol_fetcher::visit_cast_op): treat @casts as a symbol target (void_statement_reducer::visit_cast_op): unused @casts can be discarded, but the operand should still be evaluated. | |||||
* | Simplify void_statement_reducer | Josh Stone | 2009-02-10 | 1 | -94/+67 | |
| | | | | * elaborate.cxx (void_statement_reducer): Convert to an update_visitor. | |||||
* | Simplify dead_stmtexpr_remover | Josh Stone | 2009-02-10 | 1 | -54/+37 | |
| | | | | | | * staptree.h (update_visitor::require): Add a clearok parameter for optimizing traversers to signal that they're ready for NULL back. * elaborate.cxx (dead_stmtexpr_remover): Convert to an update_visitor. | |||||
* | Simplify dead_assignment_remover | Josh Stone | 2009-02-10 | 1 | -108/+16 | |
| | | | | | | | | By converting to an update_visitor, we now get full statement coverage in this optimizer for free. * elaborate.cxx (dead_assignment_remover): Convert into an update_visitor and remove its now-redundant traversal methods. | |||||
* | match_node::find_and_build disambiguate error messages. | Mark Wielaard | 2009-02-03 | 1 | -1/+2 | |
| | ||||||
* | Add Vim modelines for GNU style in stap | Josh Stone | 2009-01-28 | 1 | -0/+1 | |
| | ||||||
* | First attempt at printf kernel memory hex dump | Elliott Baron | 2008-12-19 | 1 | -0/+1 | |
| | ||||||
* | PR7051: Remove broken printf %n directive support | root | 2008-12-05 | 1 | -4/+2 | |
| | ||||||
* | PR7053: Add checking empty aggregate and default print where @count==0. | Wenji Huang | 2008-12-02 | 1 | -1/+37 | |
| | ||||||
* | PR6477: tolerate null token, e.g., from unwindsym warning message | Frank Ch. Eigler | 2008-11-28 | 1 | -1/+3 | |
| | ||||||
* | PR7035: don't suppress all error messages during listings mode | Wenji Huang | 2008-11-27 | 1 | -3/+0 | |
| | ||||||
* | RHBZ 468139 avoid display of tapset globals | Rajan Arora | 2008-10-27 | 1 | -2/+11 | |
| | ||||||
* | partial revert of 212a56 | Frank Ch. Eigler | 2008-10-26 | 1 | -2/+10 | |
| | ||||||
* | Unused global variables display in guru mode fix (rh bz 468139) | Rajan Arora | 2008-10-25 | 1 | -1/+2 | |
| | ||||||
* | PR6851: Added support for %c printf conversion specifier [trying again] | Elliott Baron | 2008-10-20 | 1 | -3/+4 | |
| | ||||||
* | Display source context for error and warning messages (6701) | Rajan Arora | 2008-10-09 | 1 | -0/+43 | |
| | ||||||
* | sort arrays by value- subject to automagic foreach/printf | Frank Ch. Eigler | 2008-09-26 | 1 | -1/+2 | |
| | ||||||
* | PR6916: fix STRUCT1 ($var alternatives error message syntax) regression | Frank Ch. Eigler | 2008-09-26 | 1 | -13/+30 | |
| | ||||||
* | Fix redundant implicit probe points in listing mode | Wenji Huang | 2008-09-12 | 1 | -0/+2 | |
| | ||||||
* | PR6876: translator speedup for many $vars | Frank Ch. Eigler | 2008-09-10 | 1 | -95/+111 | |
| | ||||||
* | Handle scalar statistics. | Stan Cox | 2008-09-05 | 1 | -8/+25 | |
| | ||||||
* | Simplify add_global_var_display token use. | Stan Cox | 2008-09-02 | 1 | -23/+10 | |
| | ||||||
* | Display written but unread global statistics. | Stan Cox | 2008-09-01 | 1 | -4/+31 | |
| | ||||||
* | Repopulate symbol/type info. | Stan Cox | 2008-08-29 | 1 | -35/+10 | |
| | ||||||
* | fix global-var array index rendering | Frank Ch. Eigler | 2008-08-28 | 1 | -148/+154 | |
| | | | | (plus emacs' automagic whitespace fixes) | |||||
* | Automatically print written but unread globals | Stan Cox | 2008-08-27 | 1 | -7/+195 | |
| | ||||||
* | session.h (struct systemtap_session): Added itrace_derived_probe | dcn | 2008-07-29 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | group. elaborate.cxx (systemtap_session::systemtap_session): Added initialization of itrace_derived_probes. tapsets.cxx (struct itrace_derived_probe): Add derived_probe struct for holding info needed by itrace probes. (struct itrace_derived_probe_group): New derived_probe_group to handle itrace probes. (itrace_derived_probe::itrace_derived_probe): Needed for use with task_finder. (itrace_derived_probe_group::join_group): Ditto. (itrace_derived_probe_group::enroll): Ditto. (itrace_derived_probe_group::emit_probe_decl): Ditto. (itrace_derived_probe_group::emit_module_decls): Ditto. (itrace_derived_probe_group::emit_module_init): Ditto. (itrace_derived_probe_group::emit_module_exit): Ditto. stapprobes.5.in : Added documentation of itrace probe. | |||||
* | make module_cache a session field rather than plain static | Frank Ch. Eigler | 2008-06-23 | 1 | -0/+1 | |
| | ||||||
* | Get rid of the dynamic_cast<>s in void_statement_reducer. | Josh Stone | 2008-06-19 | 1 | -57/+49 | |
| | | | | | | | | Instead, visit_expr_statement can explicitly load a pointer to use for back-references. I also decided to be less-clever about reusing expr_statements. It's a little leakier as a result, but I like having less magic in the air. | |||||
* | Prove that I know how to spell. | Josh Stone | 2008-06-18 | 1 | -1/+1 | |
| | ||||||
* | Add Intel to copyright header on elaborate.cxx | Josh Stone | 2008-06-18 | 1 | -0/+1 | |
| | ||||||
* | New optimization to break up statements in void contexts. | Josh Stone | 2008-06-18 | 1 | -19/+419 | |
| | | | | | | | | | | | | | | | | PR 6644 * elaborate.cxx (dead_stmtexpr_remover::visit_block): Flatten nested block statements into a single block. (dead_stmtexpr_remover::visit_if_statement): Remove the possibility of if_statements with a null thenblock. When an if lacks both then and else, either remove it completely or reduce it to a simple statment evaluating the condition. With an else and no then, invert the condition and else becomes then. (void_statement_reducer): New optimization visitor that breaks statements in void context into smaller pieces, to expose more optimization opportunities. (semantic_pass_opt5, semantic_pass_opt6): Bump opt5 to opt6, and create a new opt5 that runs through void_statement_reducer. | |||||
* | Merge branch 'master' of ssh://sources.redhat.com/git/systemtap | Frank Ch. Eigler | 2008-06-16 | 1 | -1/+0 | |
|\ | | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Improved callback handling. Create alternative list only as needed. | |||||
| * | Create alternative list only as needed. | Stan Cox | 2008-06-16 | 1 | -28/+29 | |
| | | ||||||
* | | warning/error message compaction by removing duplicated token file names | Frank Ch. Eigler | 2008-06-16 | 1 | -56/+94 | |
|/ | ||||||
* | Bug 6611: read-only variable typo warnings should list alternatives. | Stan Cox | 2008-06-16 | 1 | -6/+40 | |
| | ||||||
* | Make print_warning parm a const. | Stan Cox | 2008-06-12 | 1 | -1/+1 | |
| | ||||||
* | Micro-optimize print_warning output. Fix warnings.exp line count. | Mark Wielaard | 2008-06-11 | 1 | -2/+1 | |
| | ||||||
* | ha ha ha | Frank Ch. Eigler | 2008-06-11 | 1 | -1/+1 | |
| | ||||||
* | duplicate warning thinko fox | Frank Ch. Eigler | 2008-06-11 | 1 | -2/+2 | |
| | ||||||
* | Eliminate duplicate warnings. | Stan Cox | 2008-06-11 | 1 | -11/+23 | |
| | ||||||
* | Merge branch 'master' of ssh://sources.redhat.com/git/systemtap | Frank Ch. Eigler | 2008-05-21 | 1 | -0/+13 | |
|\ | | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Use pointer_arg to fetch arguments for syscall.utime and compat_utime. Optimize compound and binary expression assignments. | |||||
| * | Optimize compound and binary expression assignments. | Stan Cox | 2008-05-21 | 1 | -0/+13 | |
| | | ||||||
* | | PR6538: fix treatment of initialized globals | Frank Ch. Eigler | 2008-05-21 | 1 | -1/+2 | |
| | | ||||||
* | | PR6538: warn about read-only variables | Frank Ch. Eigler | 2008-05-20 | 1 | -3/+29 | |
|/ | ||||||
* | Optimize away assignments in other contexts. | Stan Cox | 2008-05-19 | 1 | -0/+62 | |
| | ||||||
* | suppress "pass-2 failed" messages from "stap -l FOOBAR"; just produce empty ↵ | Frank Ch. Eigler | 2008-05-17 | 1 | -6/+3 | |
| | | | | output |