summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
Commit message (Collapse)AuthorAgeFilesLines
...
* 2005-11-28 Martin Hunt <hunt@redhat.com>hunt2005-11-281-0/+1
| | | | | | | | | | | * alloc.c (__stp_valloc_percpu): Use same code for up and smp. (_stp_per_cpu_ptr): New macro. * user/alloc.c: Ditto. * map.c: Use _stp_map_cpu_ptr(). * map-stat.c: Ditto. * pmap-gen.c: Ditto. * runtime.h: Include alloc.c * user/runtime.h: Ditto.
* 2005-11-04 Martin Hunt <hunt@redhat.com>hunt2005-11-041-8/+3
| | | | | | * runtime.h: #include <linux/version.h>. (init_module): Remove old ppc comment. ifdef _stp_kta so it only gets set for x86 and x86_64.
* Remove validate_sp() dependency, therefore don't need CONFIG_KALLSYMS_ALL ↵hien2005-11-041-11/+1
| | | | anymore
* Added ppc64 _stp_stack_printhien2005-11-021-0/+17
|
* 2005-10-31 Martin Hunt <hunt@redhat.com>hunt2005-10-311-1/+2
| | | | * ALL: Cleanup copyrights.
* IA64 Runtime support patches. With this in placeaskeshav2005-10-281-0/+13
| | | | | | | Systemtap should now be able to build on Ia64. Includes supports for - function probes, return probes, function parameter access and dumping stack backtrace. Added by Anil S Keshavamurthy <Anil.s.keshavamurthy@intel.com>
* 2005-10-19 Martin Hunt <hunt@redhat.com>hunt2005-10-191-2/+8
| | | | | | * runtime.h (_stp_kallsyms_lookup_tabled): Only compile this for systemtap. Runtime-only examples don't need it.
* 2005-10-06 Frank Ch. Eigler <fche@elastic.org>fche2005-10-061-9/+59
| | | | | | | | | | | | | | | | | | PR 1332. * translate.cxx (emit_symbol_data): New function to transcribe a processed address->symbol lookup table, based upon /proc/kallsyms. 2005-10-06 Frank Ch. Eigler <fche@elastic.org> PR 1332. * sym.h: New file to declare explicit symbol table struct. * runtime.h (_stp_kallsyms_lookup_tabled): Use it if available. * sym.c (_stp_symbol_sprint): HAS_LOOKUP mooted. 2005-10-06 Frank Ch. Eigler <fche@elastic.org> PR 1132. * systemtap.samples/symbols.*: New test.
* 2005-09-22 Martin Hunt <hunt@redhat.com>hunt2005-09-221-3/+11
| | | | | | | | | | | | * runtime.h (init_module): Only initialize _stp_kta and _stp_kallsyms_lookup on i386 and x86_64. Define HAS_LOOKUP. * sym.c (_stp_symbol_sprint): If HAS_LOOKUP is not defined, just print address in hex. * current.c (_stp_ret_addr): Add ppc64 version. (_stp_sprint_regs): PPC64 version from Ananth N Mavinakayanahalli <ananth@in.ibm.com>
* 2005-08-31 Martin Hunt <hunt@redhat.com>hunt2005-08-311-1/+2
| | | | | * runtime.h (init_module): Include full prototype info in function cast to satisfy stap.
* 2005-08-31 Martin Hunt <hunt@redhat.com>hunt2005-08-311-0/+8
| | | | | | | | * 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-29 Martin Hunt <hunt@redhat.com>hunt2005-08-301-0/+1
| | | | | | * 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-23 Martin Hunt <hunt@redhat.com>hunt2005-08-241-0/+1
| | | | * runtime.h: Add a prototype for _stp_dbug().
* 2005-08-22 Martin Hunt <hunt@redhat.com>hunt2005-08-221-0/+2
| | | | * runtime.h (kbug): New dbug macros that calls printk.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-191-2/+2
| | | | | | | | | | * 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-12 Frank Ch. Eigler <fche@elastic.org>fche2005-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2005-08-01 Martin Hunt <hunt@redhat.com>hunt2005-08-011-12/+2
| | | | | | | * 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-10 Martin Hunt <hunt@redhat.com>hunt2005-07-111-0/+2
| | | | * runtime.h (init_module): Fix return value.
* Update docshunt2005-07-081-0/+1
|
* 2005-07-08 Martin Hunt <hunt@redhat.com>hunt2005-07-081-0/+23
| | | | | * runtime.h: Move some common pieces of modules into this file. Includes MODULE_LICENSE, cleanup_module and init_module.
* 2005-07-01 Martin Hunt <hunt@redhat.com>hunt2005-07-011-0/+18
| | | | | | | | | | | | * 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.
* Added merging/sorting of per-cpu data, transport config/selection by probe, etctrz2005-06-211-4/+8
|
* * runtime.h: Always include string.c.hunt2005-05-191-0/+2
|
* Rewritten maps and other updated files.hunt2005-05-171-0/+8
|
* Update to use relayfs.hunt2005-04-071-0/+2
|
* *** empty log message ***hunt2005-03-291-3/+6
|
* *** empty log message ***hunt2005-03-211-0/+3
|
* Initial runtime checkin.hunt2005-03-091-0/+18