summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* 2005-09-01 Martin Hunt <hunt@redhat.com>hunt2005-09-012-32/+31
| | | | | * stack.c (_stp_stack_sprint): Add a verbose arg to pass along to underlying funcs.
* 2005-08-31 Martin Hunt <hunt@redhat.com>hunt2005-08-312-1/+5
| | | | | * runtime.h (init_module): Include full prototype info in function cast to satisfy stap.
* 2005-08-31 Martin Hunt <hunt@redhat.com>hunt2005-08-315-23/+16
| | | | | | | | * sym.c (_stp_kallsyms_lookup): Moved to runtime.h. * stack.c (_stp_kta): Moved to runtime.h. * runtime.h (init_module): Initialize _stp_kallsyms_lookup and _stp_kta. * probes.c (_stp_lookup_name): Replaced by kallsyms_lookup_name().
* 2005-08-31 Martin Hunt <hunt@redhat.com>hunt2005-08-312-0/+7
| | | | | * list.c (_stp_copy_argv_from_user): ifdef this function NEED_STRING_VALS.
* 2005-08-31 Martin Hunt <hunt@redhat.com>hunt2005-08-312-5/+6
| | | | | * Makefile.template: Remove KTA, KALLSYMS_LOOKUP, and KALLSYMS_LOOKUP_NAME
* 2005-08-31 Martin Hunt <hunt@redhat.com>hunt2005-08-314-3/+17
| | | | | | * emul.h (_stp_kallsyms_lookup): Renamed from kallsyms_lookup. * runtime.h: Add prototype for exit(); * copy.c: New file. Just some empty functions.
* .roland2005-08-311-0/+7
|
* 2005-08-30 Roland McGrath <roland@redhat.com>roland2005-08-311-26/+36
| | | | | | | * loc2c-runtime.h (fetch_register, store_register): Rewritten to pass REGS to dwarf_register_<N> as a macro argument. [__i386__, __x86_64__]: Update dwarf_register_* macros. [__i386__] (dwarf_register_4): Define special case for stack pointer.
* 2005-08-29 Martin Hunt <hunt@redhat.com>hunt2005-08-304-33/+43
| | | | | | * list.c (_stp_copy_argv_from_user): Move to here. * copy.c (_stp_copy_argv_from_user): Delete. * runtime.h: Always include copy.h.
* 2005-08-29 Martin Hunt <hunt@redhat.com>hunt2005-08-292-17/+29
| | | | | * stpd.c main): Add enable_relayfs flag. Turn it off with "-r".
* (deref_string): terminateroland2005-08-251-0/+1
|
* .roland2005-08-251-0/+4
|
* 2005-08-25 Roland McGrath <roland@redhat.com>roland2005-08-251-2/+8
| | | | * loc2c-runtime.h (deref_string): Rewritten using deref.
* (deref_string): prettifyroland2005-08-251-5/+5
|
* silly macro typosfche2005-08-251-5/+5
|
* .roland2005-08-251-2/+6
|
* 2005-08-24 Roland McGrath <roland@redhat.com>roland2005-08-251-0/+7
| | | | * loc2c-runtime.h (deref_string): New macro.
* 2005-08-24 Martin Hunt <hunt@redhat.com>hunt2005-08-242-1/+6
| | | | | * librelay.c (sigproc): Removed the "Exiting..." message for now.
* 2005-08-24 Martin Hunt <hunt@redhat.com>hunt2005-08-242-2/+6
| | | | * io.c (_stp_vlog): Send warnings and errors to STP_OOB_DATA.
* 2005-08-24 Martin Hunt <hunt@redhat.com>hunt2005-08-242-0/+5
| | | | * transport_msgs.h (enum): New type, STP_OOB_DATA.
* 2005-08-24 Martin Hunt <hunt@redhat.com>hunt2005-08-244-3/+20
| | | | | | | | | | | * librelay.c (sigproc): Reestablish signal handler so impatient people don't hit ^C twice and terminate the program before it saves the data and removes the module. Also print a message to stderr that it is exiting. (stp_main_loop): Write OOB data (warnings, errors, etc) to stderr instead of stdout. * librelay.h: Write debug info to stderr. * Makefile: add librelay.h to dependencies.
* *** empty log message ***hunt2005-08-241-5/+19
|
* 2005-08-23 Martin Hunt <hunt@redhat.com>hunt2005-08-242-3/+5
| | | | * librelay.c (merge_output): Don't add an extra \n.
* 2005-08-23 Martin Hunt <hunt@redhat.com>hunt2005-08-243-6/+28
| | | | | | | | | * transport.c (_stp_cleanup_and_exit): Remove a 2 second sleep that should no longer be necessary. * procfs.c (_stp_write): If the ready queue is not empty then attempt to grab the last buffer in it and append our data to it.
* 2005-08-23 Martin Hunt <hunt@redhat.com>hunt2005-08-242-0/+5
| | | | * runtime.h: Add a prototype for _stp_dbug().
* 2005-08-23 Martin Hunt <hunt@redhat.com>hunt2005-08-242-38/+29
| | | | | | | * librelay.c (read_last_buffers): New function. Directly grab the last buffers. (info_pending): Deleted. (request_last_buffers): Deleted.
* typo fixfche2005-08-231-1/+1
|
* New benchmark: trans_bench.hunt2005-08-2210-56/+384
|
* 2005-08-22 Martin Hunt <hunt@redhat.com>hunt2005-08-222-0/+6
| | | | * runtime.h (kbug): New dbug macros that calls printk.
* 2005-08-22 Martin Hunt <hunt@redhat.com>hunt2005-08-223-10/+24
| | | | | | * transport.h: Don't define _stp_transport_write. * transport.c (_stp_transport_write): Use _stp_transport_send() when in probe_exit().
* 2005-08-22 Martin Hunt <hunt@redhat.com>hunt2005-08-224-7/+21
| | | | | | * Makefile (debug): Add debug target. * librelay.h (dbug): Define. * librelay.c: Enable some dbug lines.
* 2005-08-21 Frank Ch. Eigler <fche@redhat.com>fche2005-08-212-11/+15
| | | | | | | | | | | | | | | | | PR systemtap/1195, systemtap/1193 * elaborate.cxx (alias_expansion_builder): Set new block token. * parse.cxx (parse_symbol): Set new target_symbol token. * runtest.sh: Store more pertinent failure data. * tapsets.cxx (emit_probe_entries): Rewrite error-handling path. * translate.cxx (emit_common_header): Goodbye errorcount, hello last_error & last_stmt. (c_unparser::visit_statement): New "header" for all other stmts. (c_assignop, visit_binary_expression): Adapt to last_error. * tapset/builtin_logging.stp: Adapt to last_error. 2005-08-21 Frank Ch. Eigler <fche@redhat.com> * arith.c (*): Adapt to last_error context variable.
* 2005-08-19 Frank Ch. Eigler <fche@elastic.org>fche2005-08-192-1/+27
| | | | | | | | | | | | | | | | | PR systemtap/1209 * tapsets.cxx * elaborate.cxx (derived_probe_builder): Add get_param function. * elaborate.h: Declare them. * tapsets.cxx (dwarf_query::get_*_param): Call them. (timer_derived_probe, timer_builder): New classes. (register_standard_tapsets): Register timer.jiffies(N) and friend. * translate.cxx (translate_pass): #include <linux/timers.h>. * stap.1.in: Document timer.jiffies(N) probe points. * testsuite/buildok/fourteen.stp: New test. 2005-08-19 Frank Ch. Eigler <fche@elastic.org> * arith.c (_stp_random_pm): New function.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-193-46/+18
| | | | | | | | | | * transport.c (_stp_cmd_handler): Remove. This was used by stp-control. * procfs.c (_stp_proc_write_cmd): Call schedule_work() instead of running _stp_exit_handler immediately. Fixes a problem where the module couldn't exit if all the output buffers were full. Set .owner for the filesystem entries.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-192-1/+6
| | | | * librelay.c (reader_thread): Check the return value for write().
* 2005-08-19 Frank Ch. Eigler <fche@elastic.org>fche2005-08-193-3/+19
| | | | | | * librelay.c (modpath): New global. Use it for insmod only. * stpd.c (main): Set both modpath and modname, to support modules specified by full path name.
* Fix typo.hunt2005-08-191-3/+3
|
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-192-0/+5
| | | | * runtime.h: Include io.c.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-199-61/+16
| | | | | * shellsnoop/shellsnoop.c: Remove STP_NETLINK_ONLY. * stp: Deleted. Use stpd directly.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-193-213/+131
| | | | | * stpd.c (main): Simplify buffer size code. * librelay.c: Major changes to support procfs instead of netlink.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-1910-516/+436
| | | | | | | | | | | * transport.h: Remove netlink references. * transport.c: Remove netlink references. Ifdef relayfs code. * procfs.c: New file. * Makefile: Deleted. * control.c: Deleted. * control.h: Deleted. * netlink.c: Deleted. * netlink.h: Deleted.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-197-43/+31
| | | | | | | | | | * 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.
* [ChangeLog]graydon2005-08-133-0/+16
| | | | | | | | | | | | | | | 2005-08-12 Graydon Hoare <graydon@redhat.com> * translate.cxx (c_tmpcounter::visit_array_in): Implement. (c_unparser::visit_array_in): Likewise. (mapvar::exists): New method. [runtime/ChangeLog] 2005-08-12 Graydon Hoare <graydon@redhat.com> * map-values.c (_stp_map_entry_exists): New function. * map.h (_stp_map_entry_exists): Declare it.
* 2005-08-12 Frank Ch. Eigler <fche@elastic.org>fche2005-08-124-60/+86
| | | | | | | | | | | | | | | | | | | | | | | | PR systemtap/1122 et alii * parse.cxx (parse_literal): Parse and range-limit 64-bit numbers. (parse_unary): Correct precedence glitch. * staptree.h (literal_number): Store an int64_t. * staptree.cxx: Corresponding changes. * translate.cxx (check_dbz): Remove - insufficient. (emit_function): Define CONTEXT macro sibling for THIS. (c_typename): pe_long -> int64_t. (visit_literal_number): Format literal rigorously and uglily. (c_assignop, visit_binary_expression): Handle div/mod via new helper functions in runtime. * tapset/builtin_logging.stp: Add error, exit builtins. * testsuite/buildok/ten,eleven.stp: New tests. * testsuite/parse{ko,ok}/six.stp: Modify for larger numbers. * testsuite/transok/one.stp: Add more ";"s, maybe unnecessarily. 2005-08-12 Frank Ch. Eigler <fche@elastic.org> * arith.c: New file to contain arithmetic helper functions. * builtin_functions.h: Remove, unused. * runtime.h: Include it.
* .roland2005-08-111-24/+27
|
* 2005-08-10 Roland McGrath <roland@redhat.com>roland2005-08-111-1/+49
| | | | | * loc2c-runtime.h (store_bitfield): Fix argument use. (store_deref): New macro (three flavors).
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-043-1/+22
| | | | | * io.c (_stp_vlog): Revert previous change for now. * print.c (_stp_print_flush): Ditto.
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-032-3/+7
| | | | * transport.c: Comment out a couple printks.
* Added buf info tracking, removed buf-full warningtrz2005-08-032-9/+31
|
* Added transport failure messagetrz2005-08-033-6/+14
|