summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* 2005-11-08 Martin Hunt <hunt@redhat.com>hunt2005-11-096-83/+97
| | | | | | | | * shellsnoop/shellsnoop.c: Updated to use new map API. * where_func/kprobe_where_funct.c: Ditto. * os_timer/os_timer.c (probe_start): Ditto. * test4/test4.c: Ditto. * scf/scf.c: Ditto.
* 2005-11-08 Martin Hunt <hunt@redhat.com>hunt2005-11-082-21/+3
| | | | | * alloc.c (__stp_valloc_percpu): Fix call to vmalloc_node. (vmalloc_node): Remove nonworking code.
* *** empty log message ***hunt2005-11-081-4/+4
|
* 2005-11-08 Martin Hunt <hunt@redhat.com>hunt2005-11-082-2/+5
| | | | * alloc.c (__stp_valloc_percpu): Fix call to vmalloc_node.
* 2005-11-08 Martin Hunt <hunt@redhat.com>hunt2005-11-0811-245/+1395
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * map.c (_stp_map_init): New function. Extracted from _stp_map_new() so it can be used in _stp_pmap_new(). (_stp_map_new): Call _stp_map_init(). (_stp_pmap_new): New function. (_stp_pmap_new_hstat_linear): New function. (_stp_pmap_new_hstat_log): New function. (_stp_pmap_del): New function. (_stp_pmap_printn_cpu): New function. (_stp_pmap_printn): New function. (_stp_new_agg): New function. (_stp_add_agg): New function. (_stp_pmap_agg): New function. (_new_map_clear_node): New function. * map.h (struct map_root): Add Hist struct. Add copy and cmp function pointers for pmaps. * stat.h: Remove Stat struct. Replace with Hist struct that is limited to only histogram params. * map-stat.c: Fix up references to histogram params in map_root. * stat-common.c: Ditto. * stat.c: Ditto. * pmap-gen.c: New file. Implements per-cpu maps. * map-gen.c: Minor bug fixes. Use new VAL_IS_ZERO() macro. * alloc.c (vmalloc_node): For NUMA, provide a vmalloc that does node-local allocations. (_stp_alloc_cpu): A version of _stp_alloc() that does node-local allocations. (_stp_valloc): A version of _stp_valloc() that does node-local allocations. (__stp_valloc_percpu): New function. Like alloc_percpu() except uses _stp_valloc(). (_stp_vfree_percpu): New function. Like free_percpu().
* 2005-11-08 Martin Hunt <hunt@redhat.com>hunt2005-11-084-3/+15
| | | | | | * recreate_links: Add link to pmap-gen.c * print.c (next_fmt): Remove unneeded dbug(). * alloc.c: Update to reflect changes to runtime/alloc.c.
* 2005-11-08 Martin Hunt <hunt@redhat.com>hunt2005-11-089-0/+730
| | | | * pmaps/*: Add new pmaps tests.
* *** empty log message ***hunt2005-11-041-0/+6
|
* 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-042-45/+19
| | | | anymore
* Added ppc64 _stp_stack_printhien2005-11-022-0/+87
|
* 2005-10-31 Martin Hunt <hunt@redhat.com>hunt2005-10-3122-38/+179
| | | | * ALL: Cleanup copyrights.
* IA64 Runtime support patches. With this in placeaskeshav2005-10-287-3/+273
| | | | | | | 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-28 Martin Hunt <hunt@redhat.com>hunt2005-10-283-33/+61
| | | | | | | | | | | | | | | | | | * map-gen.c (MAP_GET_VAL): Use the _stp_get_*() functions. (_stp_map_set_*): When setting to "", don't create node if key not found. (_stp_map_get_*): Use new MAP_GET_VAL. Return "" when string lookups not found. * map.c (_stp_get_int64): Check args and return 0 on bad args or wrong type. (_stp_get_stat): Ditto. (_stp_key_get_int64): Ditto. (_stp_get_str): Check args and return "bad type" on bad args or wrong type. (_stp_key_get_str): Ditto. (_new_map_set_str): If setting to "", delete node. (_new_map_get_*): Delete. Use _stp_get_*().
* 2005-10-28 Martin Hunt <hunt@redhat.com>hunt2005-10-286-13/+117
| | | | | | | | | | | | * maps/keys.c: New file. Tests specific to _stp_key_get_*(). * maps/iiss2.c (main): Add some comments to make clear expected results. * maps/is2.c (main): _stp_map_get_*s() now returns "" instead of NULL when lookup fails. _stp_map_set_*s() now deletes a node when setting to "" (as well as NULL). * maps/setadd.c (main): Ditto. * maps/map.test: update results.
* 2005-10-26 Martin Hunt <hunt@redhat.com>hunt2005-10-264-0/+109
| | | | | | * maps/map.test: Add results for iiiiii and ssssss. * maps/iiiiii.c: New file. * maps/ssssss.c: New file.
* 2005-10-26 Martin Hunt <hunt@redhat.com>hunt2005-10-262-4/+8
| | | | | * map-gen.c (KEY4CPY): Fix typo. (KEYCPY): Add missing semicolon.
* 2005-10-26 Martin Hunt <hunt@redhat.com>hunt2005-10-263-0/+50
| | | | * maps/map.test: Add results for issii2.
* 2005-10-26 Martin Hunt <hunt@redhat.com>hunt2005-10-2612-87/+752
| | | | | | | | | | | | | | | | | | * map.c (_new_map_create, _new_map_del_node, _new_map_del_node, _new_map_set_int64, _new_map_set_str,_new_map_get_int64, _new_map_get_str, _new_map_get_stat, _new_map_set_stat): New internal functions for the new API. * map-int.c (__stp_map_set_int64): Modify to return an error code. * map-stat.c (_stp_map_add_stat): Ditto. * map-str (_stp_map_set_str): Ditto. * Doxyfile: Remove predefines NEED_STRING_VALS, NEED_STATS, NEED_INT64. * map-keys.c: Ditto. * list.c (_stp_list_new): Ditto. Also set map->list. * map-values.c: Ditto.
* 2005-10-26 Martin Hunt <hunt@redhat.com>hunt2005-10-262-0/+5
| | | | * recreate_links: Add link to map-gen.c.
* 2005-10-26 Martin Hunt <hunt@redhat.com>hunt2005-10-2615-3/+1180
| | | | | | | * maps/map.test: Update with results for new tests. * maps/*2.c: Tests for the new API. * maps/ist.c: Renamed isx.c. * maps/setadd.c: New test of adding and setting.
* 2005-10-19 Martin Hunt <hunt@redhat.com>hunt2005-10-192-2/+14
| | | | | | * runtime.h (_stp_kallsyms_lookup_tabled): Only compile this for systemtap. Runtime-only examples don't need it.
* fixes part of PR1194 (passing -o option to stpd)trz2005-10-193-5/+34
|
* switch to binary TIMESTAMPtrz2005-10-196-14/+22
|
* bugfix patch appliedtrz2005-10-192-9/+24
|
* 2005-10-17 Martin Hunt <hunt@redhat.com>hunt2005-10-182-0/+15
| | | | | | | * transport.c (_stp_handle_start): Grab semaphore before calling probe_start() and release after it is done. (_stp_handle_exit): Ditto for exiting. This prevents exiting before probe_start() is finished.
* Applied bugfix patchtrz2005-10-142-1/+6
|
* 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.