summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Added #ifdef'ed support for kernels containing the recent relayfs API changestrz2005-10-145-0/+64
|
* Fix for PR 1476trz2005-10-142-9/+35
|
* Fix for PR 1455trz2005-10-143-1/+8
|
* 2005-10-06 Frank Ch. Eigler <fche@elastic.org>fche2005-10-064-13/+91
| | | | | | | | | | | | | | | | | | 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.
* stap command-line option additions: -b (bulk mode), -s (buffer size)trz2005-10-053-2/+9
|
* [ChangeLog]graydon2005-10-012-12/+16
| | | | | | | | | | | | | | | | | | | | | | | 2005-09-30 Graydon Hoare <graydon@redhat.com> PR 1131. * tapsets.cxx (dwflpp::find_variable_and_frame_base) (dwflpp::translate_components) (dwflpp::resolve_unqualified_inner_typedie) (dwflpp::translate_final_fetch_or_store): New functions. (dwflpp::literal_stmt_for_local): Factor a bit. (variable_flavour_calculating_visitor::visit_target_symbol): Don't fault on lvalue, just collect an extra char. (var_expanding_copy_visitor::target_symbol_setter_functioncalls): New member. (var_expanding_copy_visitor::visit_assignment): New method. (var_expanding_copy_visitor::visit_target_symbol): Permit lvalues. [runtime/ChangeLog] 2005-09-30 Graydon Hoare <graydon@redhat.com> * loc2c-runtime.h (_put_user_asm): Fix bracket-matching.
* Test -- please ignore.kevinrs2005-09-291-0/+2
|
* Test -- please ignore.kevinrs2005-09-291-2/+0
|
* 2005-09-23 Martin Hunt <hunt@redhat.com>hunt2005-09-232-59/+68
| | | | | * map.c (_stp_map_sortn): Call _stp_map_sort() when n is 0.
* 2005-09-23 Martin Hunt <hunt@redhat.com>hunt2005-09-232-1/+189
| | | | | | | | | * map.c (_stp_cmp): New comparison function for sorts. (_stp_swap): New swap function for bubble sort. (_stp_map_sortn): New function. (_stp_map_sort): New function. (_stp_map_printn): New function. (_stp_map_print): Convert to a macro.
* 005-09-23 Martin Hunt <hunt@redhat.com>hunt2005-09-233-0/+294
| | | | | * maps/map.test: Add sort results. * maps/sort.c: New test.
* 2005-09-22 Martin Hunt <hunt@redhat.com>hunt2005-09-222-1/+10
| | | | | * regs.h: PPC64 version from Ananth N Mavinakayanahalli <ananth@in.ibm.com>
* 2005-09-22 Martin Hunt <hunt@redhat.com>hunt2005-09-224-4/+63
| | | | | | | | | | | | * 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-09-14 Martin Hunt <hunt@redhat.com>hunt2005-09-142-0/+32
| | | | | * map.c (_stp_map_clear): New function. CLears a map but does not free it.
* 2005-09-14 Martin Hunt <hunt@redhat.com>hunt2005-09-143-0/+26
| | | | | * maps/ii.c (main): Add test for _stp_map_clear(). * maps/map.test: Update results.
* missed old log commitroland2005-09-141-5/+9
|
* 2005-09-14 Martin Hunt <hunt@redhat.com>hunt2005-09-142-9/+27
| | | | | | | * copy.c (__stp_strncpy_from_user): Add ppc64 support. (_stp_strncpy_from_user): Call access_ok(). (_stp_string_from_user): Ditto. (_stp_copy_from_user): Ditto.
* 2005-09-12 Martin Hunt <hunt@redhat.com>hunt2005-09-122-2/+7
| | | | | * io.c (ERR_STRING): Remove ansi codes. (WARN_STRING): Ditto.
* 2005-09-12 Martin Hunt <hunt@redhat.com>hunt2005-09-122-205/+195
| | | | | | | * arith.c (_stp_div64): Check for division by 0 or -1 first. This simplifies things and removes the possibility of x86_64 trying LLONG_MIN/-1 and faulting. (_stp_mod64): Ditto.
* 2005-09-12 Martin Hunt <hunt@redhat.com>hunt2005-09-122-12/+19
| | | | | | | | | | | | * math/div64.c (main): Set the expected result for LLONG_MIN/-1 to be LLONG_MIN (overflow) instead of 0. 2005-09-09 Martin Hunt <hunt@redhat.com> * math/div64.c (main): Fixes for running on 64-bit hardware. * README: Update. * math/div64.c: New file. 64-bit division tests.
* 2005-09-10 Frank Ch. Eigler <fche@elastic.org>fche2005-09-102-159/+175
| | | | * arith.c: Add some comments explaining why the last change works.
* 2005-09-09 Roland McGrath <roland@redhat.com>roland2005-09-091-0/+1
| | | | * loc2c-runtime.h [__powerpc__] (store_register): Add #undef.
* 2005-09-09 Martin Hunt <hunt@redhat.com>hunt2005-09-092-1/+14
| | | | * math/div64.c (main): Fixes for running on 64-bit hardware.
* Fix for jiffies.hunt2005-09-093-4/+4
|
* 2005-09-09 Martin Hunt <hunt@redhat.com>hunt2005-09-093-18/+22
| | | | | | | | * stat-common.c (_stp_stat_print_valtype): Use _stp_div64(). * arith.c (_stp_div64): Check error before writing to it. Remove check against 32-bit LONG_MIN and -1. That only applies to 64-bit. (_stp_mod64): Ditto.
* 2005-09-09 Martin Hunt <hunt@redhat.com>hunt2005-09-096-1/+208
| | | | | * README: Update. * math/div64.c: New file. 64-bit division tests.
* 2005-09-09 Martin Hunt <hunt@redhat.com>hunt2005-09-094-0/+11
| | | | | | * runtime.h: Add arith.c * recreate_links: Add arith.c * emul.h: Define jiffies so arith.c will compile.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-4/+9
| | | | | * arith.c (_stp_div64): Check for overflow. (_stp_mod64): Ditto.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-63/+281
| | | | | | | | * arith.c (_stp_div64): For 64-bit cpus, just use native division. Otherwise call _div64(). (_stp_mod64): Call _mod64() isf necessary. (_div64): 64-bit division for 32-bit cpus. (_mod64): 64-bit modulo for 32-bit cpus.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-3/+13
| | | | | | * procfs.c (_stp_register_procfs): Change ifdefs to eliminate unused variable warnings. (_stp_unregister_procfs): Ditto.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-1/+4
| | | | * map-values.c (_stp_map_entry_exists): Remove unused var.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-2/+6
| | | | | * scf/scf.c (inst_smp_call_function): Add new verbose arg to _stp_stack_sprint() call.
* 2005-09-06 Martin Hunt <hunt@redhat.com>hunt2005-09-063-21/+79
| | | | | | | | | | | | * librelay.c: Remove all USE_PROCFS ifdefs. (sig_usr): Signal handler for SIGUSR1. (start_cmd): New function to handle "-c" option, forks() off a new process then waits for SIGUSR1 to exec it. (init_stp): Call start_cmd(). (stp_main_loop): Set a signal handler for SIGCHLD. * stpd.c (main): Add "-t" and "-c" options. (usage): Update with new options.
* 2005-09-06 Martin Hunt <hunt@redhat.com>hunt2005-09-062-6/+8
| | | | | * transport.c (_stp_handle_start): Always reply to a start message with STP_START.
* 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
|