summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2005-07-20 Frank Ch. Eigler <fche@redhat.com>fche2005-07-203-54/+169
| | | | | | | * tapsets.cxx (*::emit_[de]registrations): Add logic for probe lifecycle control (session_state). * translate.cxx (emit_common_header,emit_module_{init,exit}): Ditto. (visit_*): Use per-context errorcount.
* 2005-07-20 Martin Hunt <hunt@redhat.com>hunt2005-07-202-4/+7
| | | | | * io.c (_stp_vlog): Don't count transport failures for these messages.
* 2005-07-19 Martin Hunt <hunt@redhat.com>hunt2005-07-202-2/+10
| | | | | * print.c (_stp_print_flush): Check return value and increment transport failures.
* nonefche2005-07-192-2/+2
|
* 2005-07-19 Frank Ch. Eigler <fche@redhat.com>fche2005-07-193-4/+12
| | | | | * Makefile.am (dist-hook): Complete the resulting tarball. * Makefile.in: Regenerated.
* 2005-07-19 Frank Ch. Eigler <fche@redhat.com>fche2005-07-192-25/+12
| | | | | * translate.cxx (emit_module_init/exit, translate_pass): Conform to newer runtime startup/shutdown hooks.
* 2005-07-18 Martin Hunt <hunt@redhat.com>hunt2005-07-193-3/+47
| | | | | | | | | * transport.h (_stp_transport_write): Call _stp_relay_write(). * transport.c (_stp_cleanup_and_exit): Print transport failure count. (_stp_relay_write): Like relay_write() except returns -1 on error.
* 2005-07-18 Martin Hunt <hunt@redhat.com>hunt2005-07-192-2/+6
| | | | * stp_merge.c (main): Fix dropped count calculation.
* 2005-07-15 Frank Ch. Eigler <fche@redhat.com>fche2005-07-155-2/+20
| | | | | | * Makefile.am (install-data-local): Correct typo. * buildrun.cxx (compile_pass): Ditto. * main.cxx (main): Print errors if passes 4 or 5 fail.
* 2005-07-14 Frank Ch. Eigler <fche@redhat.com>fche2005-07-143-25/+87
| | | | | | | * buildrun.cxx (compile_pass, run_pass): Get closer to a working test_mode. * translate.cxx (emit_module_init, emit_common_header): Ditto. (translate_pass): Ditto.
* 2005-07-14 Frank Ch. Eigler <fche@redhat.com>fche2005-07-142-3/+7
| | | | * alloc.c (_stp_error): Rename, to avoid name collision with ../io.c.
* *** empty log message ***trz2005-07-142-0/+9
|
* fix unmatched mutex unlocktrz2005-07-141-0/+1
|
* add forgotten initializationtrz2005-07-141-0/+2
|
* nonefche2005-07-141-9/+99
|
* 2005-07-14 Frank Ch. Eigler <fche@redhat.com>fche2005-07-149-73/+86
| | | | | | | | | * Makefile.am (stpd): Install in $pkglibdir. (runtime): Copy to $pkgdatadir. * configure.ac: Pass along pkgdatadir and pkglibdir. * main.cxx: Default runtime_path from pkgdatadir. * buildrun.cxx (run_pass): Correct stpd directory. * Makefile.in, configure, config.in: Regenerated.
* 2005-07-14 Frank Ch. Eigler <fche@redhat.com>fche2005-07-142-1/+5
| | | | * builtin_functions.h (printk): Use explicit format string.
* 2005-07-14 Frank Ch. Eigler <fche@redhat.com>fche2005-07-143-3/+9
| | | | | * stpd.c (main): Pass !quiet mode to init_stp(). * librelay.c (init_relayfs): Be quiet if !print_totals.
* 2005-07-13 Martin Hunt <hunt@redhat.com>hunt2005-07-132-1/+3
| | | | * stpd.c (usage): Fix usage string.
* 2005-07-13 Martin Hunt <hunt@redhat.com>hunt2005-07-132-1/+5
| | | | * librelay.c (init_stp): Change last arg to NULL, not 0.
* 2005-07-12 Martin Hunt <hunt@redhat.com>hunt2005-07-135-81/+95
| | | | | | | | | | | | * bench/run_bench (do_time): Use ttest instead of "time". Fix processor computation. * bench/ttest.c: Like "time.c" except takes an argument to adjust loop size. Also computes system time + user time instead of real time. Added a warmup loop to get consistent results from cpus which adjust speed based on load. * bench/time.c: Replaced by ttest.c
* 2005-07-12 Graydon Hoare <graydon@redhat.com>graydon2005-07-138-21/+233
| | | | | | | | | | | | | | | | | * elaborate.cxx (semantic_pass_symbols): Only enter body if non-null. (semantic_pass_types): Likewise. (semantic_pass): Pass session to register_standard_tapsets. * translate.cxx (builtin_collector): New struct. (hookup_builtins): New function. (translate_pass): Only translate functions with bodies. (c_unparser::emit_common_header): Likewise, and call hookup_builtins. * tapsets.hh (builtin_function): New class. (register_standard_tapsets): Change parameter to session. * tapsets.cc (bultin_function::*): Implement class. (register_standard_tapsets): Register printk, log, warn. * testsuite/transok/six.stp: New test.
* nonefche2005-07-121-1/+1
|
* 2005-07-12 Frank Ch. Eigler <fche@redhat.com>fche2005-07-129-30/+177
| | | | | | | | | * buildrun.cxx (compile_pass): Make non-verbose mode quieter. (run_pass): Spawn stpd for dirty work. * Makefile.am: Also build stpd into libexecdir. * configure.ac: Pass LIBEXECDIR. * Makefile.in, configure, config.in: Regenerated. * AUTHORS: Update.
* Fix relayfs.hunt2005-07-121-3/+7
|
* 2005-07-11 Martin Hunt <hunt@redhat.com>hunt2005-07-1212-292/+78
| | | | | | | | | | * build_probe: Set RELAYFS correctly. * Makefile.template: Fix for RELAYFS. * stp: Moved here. All probes now use this copy. * ALL/stp: source the master copy of stp.
* 2005-07-11 Graydon Hoare <graydon@redhat.com>graydon2005-07-112-8/+13
| | | | | * staptree.cxx (require): Generally handle null pointers in src. (deep_copy_visitor::visit_if_statement): Revert fche's change.
* 2005-07-11 Frank Ch. Eigler <fche@redhat.com>fche2005-07-113-2/+11
| | | | | | * parse.cxx (parse_literal): Compile cleanly on 64-bit host. * staptree.cxx (deep_copy_visitor::visit_if_statement): Don't freak on a null if_statement.elseblock.
* 2005-07-10 Martin Hunt <hunt@redhat.com>hunt2005-07-112-0/+6
| | | | * runtime.h (init_module): Fix return value.
* Fix buildhunt2005-07-081-16/+2
|
* Update docshunt2005-07-081-0/+1
|
* *** empty log message ***hunt2005-07-081-1/+1
|
* Update.hunt2005-07-081-14/+7
|
* 2005-07-08 Martin Hunt <hunt@redhat.com>hunt2005-07-082-0/+26
| | | | | * runtime.h: Move some common pieces of modules into this file. Includes MODULE_LICENSE, cleanup_module and init_module.
* 2005-07-08 Martin Hunt <hunt@redhat.com>hunt2005-07-0814-189/+39
| | | | | | * ALL: Use new runtime.h. Change init_module() to probe_start() and don't do transport calls. Remove MODULE_LICENSE and cleanup_module().
* Fix accidently commented-out line.hunt2005-07-081-1/+1
|
* 2005-07-08 Martin Hunt <hunt@redhat.com>hunt2005-07-081-8/+20
| | | | | | * shellsnoop/shellsnoop.c (init_module): Call _stp_transport_close() if initialization fails. (cleanup_module): Call _stp_transport_cleanup().
* 2005-07-08 Martin Hunt <hunt@redhat.com>hunt2005-07-083-62/+88
| | | | | | | | | | | | | | | | | | * transport.c: Rename pid to _stp_pid. Rename t to _stp_tport. (_stp_cleanup_and_exit): New internal function. (stp_exit_helper): Call _stp_cleanup_and_exit(). (_stp_transport_cleanup): New function. (_stp_cmd_handler): Remove handler for STP_TRANSPORT_MODE. The transport now notifies the daemon of the transport. (_stp_transport_close): No longer calls _stp_exit_helper(). That is done by _stp_transport_cleanup(). (_stp_transport_open): When done, call _stp_handle_transport() to notify the daemon what our transport is. (_stp_transport_send): Put a retry limit on sends. * transport.h: Rename pid to _stp_pid. (_stp_transport_cleanup): Add prototype.
* 2005-07-08 Martin Hunt <hunt@redhat.com>hunt2005-07-083-4/+15
| | | | | | * print.c (_stp_print_flush): Rename "t" to "_stp_tport". * io.c (_stp_vlog): Ditto.
* 2005-07-08 Martin Hunt <hunt@redhat.com>hunt2005-07-083-54/+98
| | | | | | | | | | | | | | | | * librelay.c (sigchld): Signal handler to detect completion of module loading. (init_stp): Use fork/exec instead of system() so we can get async signal of module load success/failure. (cleanup_and_exit): New function. (sigproc): If module is not loaded, don't send message to it. (stp_main_loop): Call cleanup_and_exit() when STP_EXIT is received. Don't send a request for the transport mode. The module will send notification to the daemon when it is ready. * stpd.c (main): Don't print message until module is loaded.
* 2005-07-07 Graydon Hoare <graydon@redhat.com>graydon2005-07-085-10/+369
| | | | | | | | * staptree.{h,cxx} (deep_copy_visitor): New visitor. * elaborate.cxx (derived_probe::derived_probe): (alias_expansion_builder::build): Use it. * testsuite/semok/fifteen.stp: New test which relies on deep copy.
* nonefche2005-07-071-1/+1
|
* 2005-07-07 Frank Ch. Eigler <fche@redhat.com>fche2005-07-077-57/+84
| | | | | | | | | | * Makefile.am (dist): Package up the source tree, including testsuite and runtime. * main.cxx: Use clog instead of cerr for logging messages. * buildrun.cxx: Ditto. (compile_pass): Add -Iruntime/user for test mode. * translate.cxx (*): Commonalize test/real mode output. * Makefile.in: Regenerated.
* Demonstrate using an asynchronous probe (the os timer)cspiraki2005-07-074-0/+183
|
* 2005-07-05 Graydon Hoare <graydon@redhat.com>graydon2005-07-068-85/+193
| | | | | | | | | * elaborate.{h,cxx}: Revert previous changes. * tapsets.{h,cxx}: Adapt to verbose as a member of session. * elaborate.cxx (alias_expansion_builder::build): Avoid copying locals between alias definition and use. * testsuite/semok/{twelve,thirteen,fourteen}.stp: New tests. * staptree.cxx (probe_alias::printsig): Print equals sign.
* 2005-07-05 Frank Ch. Eigler <fche@redhat.com>fche2005-07-054-4/+4
| | | | | | | | | | | | | | * elaborate.h (systemtap_session): Add more command-line arguments. * staptree.h (verbose): Bad global, no donut. * elaborate.cxx: Temporarily disable verbose variable access. * main.cxx: Support more arguments, build/run passes. Revamp temporary file generation and partial-pass output generation. * tapsets.cxx, translate.cxx: Emit just enough extra punctuation and fluff to make generated probe pass -Werror. * buildrun.cxx, buildrun.h: New files for passes 4/5. Partial support for build pass, nothing on probe execution yet. * testsuite/transok/*.stp: Force just -p3, now that -p4/5 exist. * Makefile.am, Makefile.in: Corresponding changes.
* 2005-07-05 Frank Ch. Eigler <fche@redhat.com>fche2005-07-0513-95/+392
| | | | | | | | | | | | | | * elaborate.h (systemtap_session): Add more command-line arguments. * staptree.h (verbose): Bad global, no donut. * elaborate.cxx: Temporarily disable verbose variable access. * main.cxx: Support more arguments, build/run passes. Revamp temporary file generation and partial-pass output generation. * tapsets.cxx, translate.cxx: Emit just enough extra punctuation and fluff to make generated probe pass -Werror. * buildrun.cxx, buildrun.h: New files for passes 4/5. Partial support for build pass, nothing on probe execution yet. * testsuite/transok/*.stp: Force just -p3, now that -p4/5 exist. * Makefile.am, Makefile.in: Corresponding changes.
* 2005-07-04 Graydon Hoare <graydon@redhat.com>graydon2005-07-053-5/+52
| | | | | | | | | * elaborate.h (symresolution_info::current_derived_probe): New field. (symresolution_info::current_probe): Change type. * elaborate.cxx (semantic_pass_symbols): Add passes for resolving locals in pre-derivation base probes and pre-expansion aliases. (symresolution_info::visit_symbol): (symresolution_info::find_scalar): Update to match new field.
* 2005-07-01 Martin Hunt <hunt@redhat.com>hunt2005-07-014-5/+10
| | | | | | | * 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-014-51/+86
| | | | | | | | * Makefile.template (debug): New target. * build: Support "debug" target. * build_probe: Ditto.