summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2006-01-10 Frank Ch. Eigler <fche@redhat.com>fche2006-01-103-1/+14
| | | | | | | PR 1972. * tapsets.cxx (var_expanding_copy_visitor::visit_target_symbol): Produce error message for $var access within .return probes. * testsuite/semko/thirtyfour.stp: New test.
* 2006-01-10 Martin Hunt <hunt@redhat.com>hunt2006-01-102-1/+6
| | | | | * logging.stp: Don't set STAP_SESSION_STOPPING. That it done in _stp_exit().
* 2006-01-10 Martin Hunt <hunt@redhat.com>hunt2006-01-102-0/+7
| | | | * io.c (_stp_exit): set STAP_SESSION_STOPPING.
* 2006-01-10 Frank Ch. Eigler <fche@redhat.com>fche2006-01-105-81/+125
| | | | | | | | | | | | | PR 2060. * buildrun.cxx (compile_pass): Add "V=1" to kbuild if verbose. * translate.cxx (translator_output): For output-file constructor, set an explicit output buffer. (emit_module_init, emit_module_exit): Reorganize output, to spit each individual probe registration/deregistration blurb into a separate function. * translate.h: Corresponding changes; set default buffer size to 8K. * translate.cxx, tapsets.cxx: Replace "endl" by buffer-friendly "\n" throughout code generation routines.
* 2006-01-09 Frank Ch. Eigler <fche@redhat.com>fche2006-01-092-5/+12
| | | | * HACKING: Extend guidelines for tapset testing.
* Better support for code coverage with gcov and lcov.wcohen2006-01-063-4/+28
|
* 2006-01-05 Josh Stone <joshua.i.stone@intel.com>jistone2006-01-053-15/+70
| | | | | | | | | | | | | PR 2056 * translate.cxx (var::~var, var::hist, var::buckets): make these methods virtual, so we can use polymorphism. (mapvar::hist, mapvar::buckets): Override the corresponding var methods to handle pmaps correctly. (c_unparser::visit_arrayindex, c_unparser::visit_print_format): Make use of the new polymorphic behavior of var & mapvar when dealing with histogram data. * testsuite/buildok/pmap_foreach.stp: Add tests to check histogram accesses with for/foreach.
* 2006-01-04 Frank Ch. Eigler <fche@elastic.org>fche2006-01-042-3/+9
| | | | | | PR 2057. * translate.cxx (c_unparser_assignment::visit_arrayindex): Don't take write lock around pmap accumulation.
* Improve test coverage.wcohen2006-01-042-1/+9
|
* 2006-01-03 Frank Ch. Eigler <fche@redhat.com>fche2006-01-032-4/+8
| | | | * tapsets.cxx (emit_deregistration): Fix bad thinko on loop nesting.
* 2006-01-03 Frank Ch. Eigler <fche@redhat.com>fche2006-01-039-139/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1144, 1379 * tapsets.cxx (emit_probe_prologue, _epilogue): New routines. Call from existing derived_probe spots. Implement soft errors in epilogue code. Implement reentrancy detection in prologue code. (dwarf_derived_probe::emit_deregistration): Add kprobes layer "nmissed" to skipped_count. * translate.cxx (varlock): Use nsleep(TRYLOCKDELAY) in lock contention loop. (emit_module_exit): Report number of soft errors and skipped probes. (emit_function, _probe): Add __restrict__ marker to context pointer. (translate_pass): Define new MAXTRYLOCK, TRYLOCKDELAY, MAXERRORS, MAXSKIPPED parameters. * tapset/logging.stp (error): Don't stp_error, just set context state. * stap.1.in, stapfuncs.5.in: Document soft errors. * elaborate.h: Corresponding changes. 2006-01-03 Frank Ch. Eigler <fche@redhat.com> * io.c (_stp_softerror): New function. 2006-01-03 Frank Ch. Eigler <fche@redhat.com> * systemtap.base/timers.exp: Extend the test run duration. Accept skipped probe warnings at shutdown.
* * formatting/typo fixesfche2006-01-032-6/+8
|
* 2005-12-23 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-236-0/+5107
| | | | | | | | | | | | | | | | | | | | | SCRIPTS: run.sh - This is the driver for automated testing. To run: ./run.sh stpdirectory c_binaries_directory Result: log/timestamp.log discerpancy report ctostp.sh - This script generates corresponding stp probe script files for every C file found in the input directory. To Run: ctostp.sh input output where input is the directory containing the C files to convert. Output is the directory to store the corresponding stp files. build.sh - This script expedites the process of compiling all of the c files. When the "compile" flag is given it creates a directory called bin, which stores the compiled C programs. ./build.sh clean removes the binaries, and ./build.sh run attempts to execute all of the programs in cfiles/bin.
* 2005-12-23 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-231-0/+7
| | | | | | | | | * tapset/2.6.9-20.ELsmp/syscalls.stp: added kernel version tapset * tapset/2.6.9-20.ELsmp/i686/syscalls.stp: added kernel version arch specific tapset * tapset/doc/dicrepancies.txt: log of kernel version discrepancies.
* 2005-12-23 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-233-0/+5447
| | | | | | | | | * tapset/2.6.9-20.ELsmp/syscalls.stp: added kernel version tapset * tapset/2.6.9-20.ELsmp/i686/syscalls.stp: added kernel version arch specific tapset * tapset/doc/dicrepancies.txt: log of kernel version discrepancies.
* .roland2005-12-221-0/+5
|
* 2005-12-22 Roland McGrath <roland@redhat.com>roland2005-12-222-2/+10
| | | | | * configure.ac: Pass LDFLAGS to elfutils configure to force DT_RUNPATH. * configure: Regeneraed.
* add PR note to ChangeLogjistone2005-12-211-0/+1
|
* 2005-12-21 Josh Stone <joshua.i.stone@intel.com>jistone2005-12-212-1/+8
| | | | * translate.cxx (itervar::next): emit different code for pmaps
* 2005-12-21 Frank Ch. Eigler <fche@elastic.org>fche2005-12-212-0/+8
| | | | * loc2c.h: Add __attribute__ defeating code for g++ 3.3 compatibility.
* 2005-12-20 Josh Stone <joshua.i.stone@intel.com>jistone2005-12-215-0/+174
| | | | | | | * vim/filetype.vim: defines *.stp files as SystemTap scripts * vim/ftplugin/stap.vim: sets the comment styles * vim/indent/stap.vim: enables simple auto-indenting * vim/syntax/stap.vim: defines syntax highlighting
* .roland2005-12-201-0/+5
|
* 2005-12-19 Roland McGrath <roland@redhat.com>roland2005-12-203-11/+14
| | | | | * configure.ac, systemtap.spec.in: Version 0.5.2. * configure: Regenerated.
* .roland2005-12-181-10/+15
|
* 2005-12-13 Roland McGrath <roland@redhat.com>roland2005-12-181-23/+24
| | | | * staptree.h: #include <cassert> here.
* Anil S Keshavamurthy - Blacklist'ing notifier_call_chain() function, as thisaskeshav2005-12-161-0/+1
| | | | | function is on kprobes critical path, having probes on this will damage the system.
* Added cpuid().hien2005-12-151-0/+3
|
* *** empty log message ***hunt2005-12-151-0/+22
|
* *** empty log message ***hunt2005-12-151-22/+0
|
* 2005-12-14 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-151-0/+9
| | | | | | | | | | | * 2.6.14/syscalls.stp: added 2.6.14 syscalls to tapset * 2.6.14/i686/syscalls.stp: added i386 arch specific syscalls to tapset for kernel 2.6.14 * 2.6.9-24.ELsmp/syscalls.stp: added 2.6.9-24.ELsmp syscalls to tapset * 2.6.9-24.ELsmp/x86_64/syscalls.stp: added x86_64 arch specific syscalls to tapset for kernel 2.6.9-24.ELsmp * system_calls.stp: removed generic system_calls.stp tapset.