summaryrefslogtreecommitdiffstats
path: root/runtime/io.c
Commit message (Collapse)AuthorAgeFilesLines
* 2006-01-15 Frank Ch. Eigler <fche@elastic.org>fche2006-01-151-3/+0
| | | | | | | | PR 2148 * translate.cxx (MAXERRORS): Actually the max should be 0, so first error aborts session. * Revert last stp_exit change.
* 2006-01-10 Martin Hunt <hunt@redhat.com>hunt2006-01-101-0/+3
| | | | * io.c (_stp_exit): set STAP_SESSION_STOPPING.
* 2006-01-03 Frank Ch. Eigler <fche@redhat.com>fche2006-01-031-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2005-11-30 Martin Hunt <hunt@redhat.com>hunt2005-11-301-1/+1
| | | | | * io.c (_stp_exit): To prevent any possible interactions with the probed function, just set a flag here.
* 2005-10-31 Martin Hunt <hunt@redhat.com>hunt2005-10-311-1/+2
| | | | * ALL: Cleanup copyrights.
* 2005-09-12 Martin Hunt <hunt@redhat.com>hunt2005-09-121-2/+2
| | | | | * io.c (ERR_STRING): Remove ansi codes. (WARN_STRING): Ditto.
* 2005-08-24 Martin Hunt <hunt@redhat.com>hunt2005-08-241-2/+2
| | | | * io.c (_stp_vlog): Send warnings and errors to STP_OOB_DATA.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-191-7/+7
| | | | | | | | | | * print.c: Change ifdefs to STP_RELAYFS. * runtime.h: Ditto. * io.c (_stp_vlog): Call _stp_write instead of _stp_ctrl_send. * Makefile: Don't build stp-control. * README.doc: Update. * TODO: Update.
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-041-1/+13
| | | | | * io.c (_stp_vlog): Revert previous change for now. * print.c (_stp_print_flush): Ditto.
* Added transport failure messagetrz2005-08-031-4/+0
|
* 2005-08-01 Martin Hunt <hunt@redhat.com>hunt2005-08-011-1/+1
| | | | | | | * io.c (_stp_vlog): Use _stp_pid instead os _stp_tport->pid. * print.c (_stp_print_flush): Don't need _stp_tport. *runtime.h (probe_start): Just call _stp_transport_init(). (probe_exit): Just call _stp_transport_close().
* 2005-07-20 Martin Hunt <hunt@redhat.com>hunt2005-07-201-4/+2
| | | | | * io.c (_stp_vlog): Don't count transport failures for these messages.
* 2005-07-08 Martin Hunt <hunt@redhat.com>hunt2005-07-081-2/+7
| | | | | | * print.c (_stp_print_flush): Rename "t" to "_stp_tport". * io.c (_stp_vlog): Ditto.
* 2005-07-01 Martin Hunt <hunt@redhat.com>hunt2005-07-011-3/+3
| | | | | | | * string.c (_stp_string_init): CAll stp_error() on bad init. * list.c (_stp_list_clear): Call _stp_warn().
* 2005-07-01 Martin Hunt <hunt@redhat.com>hunt2005-07-011-16/+110
| | | | | | | | | | | | * alloc.c (_stp_alloc): Call _stp_error(). (_stp_valloc): Ditto. * io.c (_stp_warn): New function. (_stp_exit): New function. (_stp_error): New function. (_stp_dbug): New function. * runtime.h (dbug): Call _stp_dbug() if DEBUG is defined.
* 2005-06-18 Martin Hunt <hunt@redhat.com>hunt2005-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * counter.c: New file. Counter aggregations. * stat.c: New file. Stat aggregations. * stat.h: Header file for stats. * map-int.c: New file. Support for int64 values. * map-stat.c: New file. Support for stat values. * map-str.c: New file. Support for string values. * map-values.c: Now just includes the necessary map-*.c files. * stat-common.c: New file. Stats stuff common to Stats and maps containing stats. * Doxyfile: Bumped version to 0.6. * README: Renamed README.doc and reorganized.
* Rewritten maps and other updated files.hunt2005-05-171-2/+4
|
* updated to use new transporttrz2005-05-061-71/+3
|
* *** empty log message ***hunt2005-04-071-7/+16
|
* Update to use relayfs.hunt2005-04-071-30/+65
|
* *** empty log message ***hunt2005-03-291-89/+32
|
* *** empty log message ***hunt2005-03-221-1/+41
|
* *** empty log message ***hunt2005-03-211-0/+64
|
* Initial runtime checkin.hunt2005-03-091-0/+19