summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* updated, still need more workshien2006-02-091-53/+175
|
* 2006-02-08 Martin Hunt <hunt@redhat.com>hunt2006-02-093-222/+160
| | | | | | * aux_syscalls.stp(_msync_flag_str): Fix. (_wait_opt_str): Fix. * syscalls.stp: Latest.
* 2006-02-07 Frank Ch. Eigler <fche@elastic.org>fche2006-02-083-1/+13
| | | | | | * src/testsuite/buildok/syscalls.stp: Build with "-u" to build-test all auxiliary functions. * tapsets.cxx (dwarf_query::add_probe_point): Add some "-vv" output.
* 2006-02-07 Josh Stone <joshua.i.stone@intel.com>jistone2006-02-082-0/+7
| | | | | | PR 2068 * tapsets.cxx (dwarf_query::blacklisted_p): add __switch_to to the blacklist for x86_64 architecture only.
* 2006-02-07 Martin Hunt <hunt@redhat.com>hunt2006-02-075-89/+254
| | | | | | | | | | | | | * syscalls.stp: Latest. * syscalls2.stp: Commented out pciconfig calls. Those need to go in arch-specific directories. * aux_syscalls.stp (_access_mode_str): Fix. (_mmap_flags): New Function. (_mprotect_prot_str): Fix. (__string): New. (__get_argv): New. (__fork_flags): New.
* more generic documentationfche2006-02-071-2/+5
|
* Correct opening comment typo.wcohen2006-02-062-1/+5
|
* Remove closing comment typos.wcohen2006-02-062-3/+4
|
* updated- still need more workshien2006-02-041-2324/+2215
|
* 2006-02-01 Frank Ch. Eigler <fche@elastic.org>fche2006-02-012-2/+6
| | | | * testsuite/semko/one.stp: Make sure test case stays broken.
* 2006-02-01 Martin Hunt <hunt@redhat.com>hunt2006-02-013-0/+26
| | | | | | * stapfuncs.5.in: Document is_return(), returnval() and probefunc(). * testsuite/buildok/syscall.stp: Basic syscall test.
* Remove inadventently checked in change.hunt2006-02-011-17/+1
|
* 2006-02-01 Frank Ch. Eigler <fche@elastic.org>fche2006-02-014-11/+19
| | | | | * configure.ac, systemtap.spec.in: Version 0.5.4. * configure: Regenerated.
* 2006-02-01 Martin Hunt <hunt@redhat.com>hunt2006-02-0111-12813/+2506
| | | | | | | * syscalls.stp: New syscall file. * syscall2.stp: More syscalls. * i686/syscalls.stp: x86-specific calls. * x86_64/syscalls.stp: x86_64-specific calls.
* 2006-01-31 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-312-1/+7
| | | | | | PR 2252 * translate.cxx (translate_pass): Fix legacy definition of read_trylock.
* * clarify non-reliance on system elfutilsfche2006-01-311-1/+3
|
* 2006-01-30 Martin Hunt <hunt@redhat.com>hunt2006-01-312-0/+31
| | | | | | * context.stp (probefunc): New function. (is_return): New function. (returnval): New function.
* 2006-01-30 Frank Ch. Eigler <fche@elastic.org>fche2006-01-302-2/+23
| | | | * main.cxx (main): Also print elapsed real time for each pass.
* copyright year updatefche2006-01-281-1/+1
|
* 2006-01-27 Frank Ch. Eigler <fche@elastic.org>fche2006-01-288-64/+61
| | | | | | | | * main.cxx: Make "-v" (verbose) flag a counter. * stap.1.in: Document this. * session.h: Corresponding changes. * {elaborate,buildrun,tapsets,translate}.cxx: Update all uses of verbose flag to compare it to sensible level for value of message.
* 2006-01-27 Frank Ch. Eigler <fche@elastic.org>fche2006-01-283-10/+53
| | | | | | * main.cxx (main): In verbose mode, print user+sys times after each pass. * buildrun.cxx (compile_pass): Move success message back to main().
* 2006-01-26 Frank Ch. Eigler <fche@elastic.org>fche2006-01-266-12/+209
| | | | | | | | | | | | | | | | | | | | | PR 2060: lock elevation, mop-up * staptree.cxx (functioncall_traversing_visitor): Store a current_function pointer during traversal. (visit_embeddedcode): Use it to handle $target-synthesized functions. (varuse_collecting_visitor::visit_assignment): Correct l-lr typo. (visit_foreach_loop): Note added write on sorted foreach. (visit_delete_statement): Note as read+write. * staptree.h: Corresponding changes. * elaborate.cxx (dead_assignment_remover::visit_expr_statement): Correct stmt token after possible expression rewriting. * tapsets.cxx (visit_target_symbol): Create naming convention to recognize $target-synthesized functions. * translate.cxx (emit_locks, emit_unlocks): New functions to emit lock/unlock sequences at the outermost level of a probe. (emit_probe): Call them. (varlock_*): #if-0 out the lock code generation. Later, these classes should be removed. (translate_pass): Emit read_trylock() kludge macro for old kernels.
* test for pr2205fche2006-01-251-0/+3
|
* 2006-01-25 Frank Ch. Eigler <fche@elastic.org>fche2006-01-252-1/+6
| | | | | PR 2205, patch from <hiramatu@sdl.hitachi.co.jp>: * parse.cxx (scan): Correct EOF detection for %{ %} case.
* Cleanuphunt2006-01-251-2/+6
|
* 2006-01-25 Martin Hunt <hunt@redhat.com>hunt2006-01-252-0/+7
| | | | * agg/stats.c (main): Delete Stats when done.
* 2006-01-25 Martin Hunt <hunt@redhat.com>hunt2006-01-252-0/+40
| | | | | * alloc.c (_stp_alloc_percpu): New function. (_stp_free_percpu): New function.
* 2006-01-25 Martin Hunt <hunt@redhat.com>hunt2006-01-253-3/+85
| | | | | | | | * stat.c (_stp_stat_init): Use _stp_alloc_percpu(). (_stp_stat_del): New function. * alloc.c (_stp_alloc_percpu): New function. (_stp_free_percpu): New function.
* Took sys_execve off the blacklist for return probes, now that RHEL4 U3kenistoj2006-01-241-2/+1
| | | | includes the fix for PR #1345.
* 2006-01-24 Frank Ch. Eigler <fche@elastic.org>fche2006-01-2425-237/+726
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 2060 etc. * tapsets.cxx (visit_target_symbol): Tolerate failed resolution by letting target_symbol instance pass through to optimizer and type checker. * elaborate.cxx (semantic_pass_optimize): New family of functions and associated visitor classes. (visit_for_loop): Tolerate absent init/incr clauses. (semantic_pass): Invoke unless unoptimized (-u) option given. * main.cxx, session.h: Add support for flag. * staptree.cxx (visit_for_loop): Tolerate absent init/incr clauses. (traversing_visitor::visit_arrayindex): Visit the index expressions. (functioncall_traversing_visitor): New class. (varuse_tracking_visitor): New class. * staptree.h: Corresponding changes. * parse.cxx (parse_for_loop): Represent absent init/incr expressions with null statement pointer instead of optimized-out dummy numbers. * stap.1.in: Document optimization. * testsuite/{semko,transko}/*.stp: Added "-u" or other code to many tests to check bad code without optimizer elision. * testsuite/semok/optimize.stp: New test. * elaborate.cxx (unresolved, invalid, mismatch): Standardize error message wording. * stapfuncs.5.in: Tweak print/printf docs. * tapset/logging.stp: Remove redundant "print" auxiliary function, since it's a translator built-in. * testsuite/transok/five.stp: Extend test. * translate.cxx (emit_symbol_data): Put symbol table into a separate temporary header file, to make "-p3" output easier on the eyes. * buildrun.cxx (compile_pass): Eliminate test-mode support throughout. * main.cxx, session.h, translate.cxx: Ditto. * main.cxx (main): For last-pass=2 runs, print post-optimization ASTs.
* 2006-01-19 Martin Hunt <hunt@redhat.com>hunt2006-01-193-11/+15
| | | | | * pmap-gen.c (_stp_pmap_get): Fix bug where old data from agg map could be returned after element was deleted.
* 2006-01-18 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-182-0/+6
| | | | | * tapsets.cxx (profile_derived_probe::emit_probe_entries): Setup c->regs properly in light of the emit_probe_prologue change.
* 2006-01-18 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-182-1/+6
| | | | | * translate.cxx (c_unparser::visit_foreach_loop): improved the error message when _stp_pmap_agg fails.
* * simplified build instructionsfche2006-01-181-44/+25
|
* 2006-01-18 Frank Ch. Eigler <fche@elastic.org>fche2006-01-182-4/+10
| | | | | * translate.cxx (c_unparser_assignment::visit_arrayindex): Eliminate dummy assignments for "<<<" code.
* 2006-01-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-182-1/+13
| | | | | PR 2156 * testsuite/buildok/pmap_foreach.stp: Add test with sorting
* 2006-01-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-182-4/+16
| | | | | | PR 2156 * translate.cxx (c_unparser::visit_foreach_loop): Check the return value of _stp_pmap_agg() for NULL.
* 2006-01-17 Frank Ch. Eigler <fche@elastic.org>fche2006-01-172-2/+8
| | | | | | * systemtap.spec.in: Remove explicit kernel-devel dependency, since some old kernel rpm builds don't virtual-provide it for e.g. smp, hugemem.
* 2006-01-17 Frank Ch. Eigler <fche@elastic.org>fche2006-01-173-16/+75
| | | | | | | | | | | PR 2142 * translate.cxx (EXTRACTORS_PERMISSIVE): New experimental policy parameter. (c_unparser::visit_arrayindex, visit_print_format, visit_stat_op): Tolerate absent index (= NULL runtime return) in pmap. (*): Make semantic_error messages consistently lower case. * testsuite/buildok/iterate_histogram_buckets.stp: Note some missing functionality.
* 2006-01-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-172-0/+16
| | | | * stap.1.in: Document the 'delete' operator.
* .roland2006-01-171-1/+7
|
* 2006-01-16 Roland McGrath <roland@redhat.com>roland2006-01-173-12/+16
| | | | | | * systemtap.spec.in (elfutils_version): Require 0.119 now. * configure.ac, systemtap.spec.in: Version 0.5.3. * configure: Regenerated.
* 2006-01-16 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-166-18/+121
| | | | | | | | | | | | | | | | | | PR 2140 * translate.cxx (mapvar::del): Add ability to delete an indexed stat from (p)maps. (delete_statement_operand_visitor::visit_symbol): Add ability to delete entire pmaps and scalars. (delete_statement_operand_tmp_visitor): Add a special tmpvar visitor to parallel delete_statement_operand_visitor. (c_tmpcounter::visit_delete_statement): Invoke the new visitor. * testsuite/buildok/delete.stp: Also test scalar deletes. * vim/syntax/stap.vim: Recognize 'delete' operator. 2006-01-16 Josh Stone <joshua.i.stone@intel.com> * stat.c (_stp_stat_clear): add a function that just clears a Stat, so we can use delete in the translator.
* 2006-01-16 Martin Hunt <hunt@redhat.com>hunt2006-01-162-3/+12
| | | | | * map.c (_stp_pmap_agg): Return NULL when aggregation fails.
* 2006-01-15 Frank Ch. Eigler <fche@elastic.org>fche2006-01-156-5/+16
| | | | | | | | PR 2148 * translate.cxx (MAXERRORS): Actually the max should be 0, so first error aborts session. * Revert last stp_exit change.
* 2006-01-13 Frank Ch. Eigler <fche@elastic.org>fche2006-01-132-5/+19
| | | | | * main.cxx (main): Suppress "Try again with -v" message if already verbose.
* 2006-01-13 Frank Ch. Eigler <fche@elastic.org>fche2006-01-132-1/+5
| | | | * translate.cxx (c_unparser:getmap): Correct exception throwing typo.
* 2006-01-12 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-132-15/+106
| | | | | | | | | | | | | | | | | | | PR 2056 * translate.cxx (c_unparser::aggregation_locks): Keeps track of foreach's locks on pmaps to avoid extra aggregation. (c_unparser::visit_foreach_loop): Set aggregation_locks appropriately. (c_unparser::load_aggregate, mapvar::call_prefix, mapvar::get): Use a new parameter to indicate that we should read from the already-aggregated map rather than the full pmap.. (c_unparser::visit_arrayindex c_unparser::visit_print_format, c_unparser::visit_stat_op): Use aggregation_locks to avoid taking a lock and aggregating the pmap. (c_unparser::emit_map_type_instantiations): To read from a pmap's aggregated map, we need to include map-gen.c for the _stp_map_* functions. (c_unparser::obtained_locks, varlock::varlock, varlock::~varlock): Add simple static checking to detect incompatible nested locks during translation, and flag it as an error.
* 2006-01-11 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-112-0/+26
| | | | | | PR 2140 * testsuite/buildok/delete.stp: Test correct compilation of the 'delete' operator for all "legal" variations.
* 2006-01-11 Frank Ch. Eigler <fche@elastic.org>fche2006-01-112-1/+5
| | | | * translate.cxx (MAXERRORS): Oops, set back to intended default of 1.