summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix for PR 1455trz2005-10-143-1/+8
|
* .roland2005-10-141-0/+30
|
* 2005-10-14 Roland McGrath <roland@redhat.com>roland2005-10-141-133/+395
| | | | | | | | | | | | | | | | | | | | | | | | | | PR 1271. * loc2c.c (translate): Set LOC->byte_size in loc_noncontiguous result. (struct location.address): New member `declare'. (new_synthetic_loc, translate): Initialize it. (struct location.type): Add loc_fragment, loc_decl to enum. (c_emit_location): Emit unadorned code for loc_fragment. (discontiguify): New function. (c_translate_fetch, c_translate_store): Call it. (get_bitfield): New function, broken out of .... (emit_bitfield): ... here. Function removed. (declare_noncontig_union): New function. (max_fetch_size): New function. (translate_base_fetch): New function, broken out of ... (c_translate_fetch): ... here. Call it. Use get_bitfield here, not emit_bitfield. (c_translate_store): Likewise. (c_emit_location): Emit declarations first. * loc2c.c (dwarf_diename_integrate): Function removed. Change all callers to use dwarf_diename. 2005-10-13 Roland McGrath <roland@redhat.com> * loc2c.c (c_emit_location): Use final location's used_deref flag too. * loc2c.c (translate): Pass LOC to alloc_location, not INPUT.
* 2005-10-14 Roland McGrath <roland@redhat.com>roland2005-10-141-2/+2
| | | | | * loc2c-test.c (handle_variable): Check for "=" before fetching DIE from ATTR_MEM.
* .roland2005-10-141-0/+4
|
* 2005-10-13 Roland McGrath <roland@redhat.com>roland2005-10-141-0/+2
| | | | * loc2c-test.c (fail): Print a newline after the error message.
* typo fixfche2005-10-131-1/+1
|
* tapset/systemcall.stp:kevinrs2005-10-122-234/+418
| | | | | | | | | | * Tested the first 15 aliases on fc4. Cleaned up some code. tapset/aux_syscalls.stp: * Added file to contain aux helper functions that are used by the system call tapset. Added embed- ded C functions to extract values from user- space pointers.
* * typo fixfche2005-10-121-1/+1
|
* * new filefche2005-10-121-0/+90
|
* Corrected substr documentation.kevinrs2005-10-121-2/+2
|
* format typoroland2005-10-101-5/+6
|
* 2005-10-10 Frank Ch. Eigler <fche@elastic.org>fche2005-10-103-29/+49
| | | | | | * elaborate.cxx (match_node::bind): Improve error message. (register_library_aliases): Catch and verbosify error message. (semantic_pass): Provide a back-up exception catcher.
* 2005-10-10 Frank Ch. Eigler <fche@elastic.org>fche2005-10-102-9/+16
| | | | | | | | | | | | PR 1456. * translate.cxx (c_unparser_assignment): Rename "pre" field to "post", add blurb to clarify polarity. (visit_pre/post_crement): Flip passed flag value. 2005-10-10 Frank Ch. Eigler <fche@elastic.org> PR 1456. * systemtap.samples/arith.stp: Add pre/post-crement tests.
* 2005-10-07 Frank Ch. Eigler <fche@elastic.org>fche2005-10-0711-7/+102
| | | | | | | | | | | | | | | | PR 1366. * staptree.h (foreach_loop): Add sort_column, sort_direction fields. * parse.cxx (parse_foreach_loop): Parse "+"/"-" suffix operators. * stap.1.in, stapex.5.in: Document them. * staptree.cxx (foreach_loop print, copy): Propagate them. * translate.cxx (visit_foreach_loop): Support them. * testsuite/parseok/fifteen.stp, parseko/thirteen.stp, buildok/twentyone.stp: Test them. 2005-10-07 Frank Ch. Eigler <fche@elastic.org> PR 1366. * systemtap.samples/primes.*: Sort foreach gratuitiously.
* * tapset/system_calls.stp: All 281 syscalls *prototyped*. Theykevinrs2005-10-072-0/+741
| | | | | are still untested. Many of the aliases useability are contin- gent upon resolution of namely: bz #1295 & bz #1382.
* 2005-10-06 Frank Ch. Eigler <fche@elastic.org>fche2005-10-064-11/+25
| | | | | | * stap.1.in: Document -b/-s options. * main.cxx (usage): Clarify -b/-s blurbs. * translator.cxx (translate_pass): Handle bulk_mode here instead.
* 2005-10-06 Frank Ch. Eigler <fche@elastic.org>fche2005-10-066-15/+167
| | | | | | | | | | | | | | | | | | 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.
* 240 syscalls prototypedkevinrs2005-10-051-0/+702
|
* stap command-line option additions: -b (bulk mode), -s (buffer size)trz2005-10-057-4/+45
|
* 2005-10-04 Graydon Hoare <graydon@redhat.com>graydon2005-10-053-0/+24
| | | | | | | | | PR 1131. * tapsets.cxx (target_variable_flavour_calculating_visitor::visit_target_symbol) (var_expanding_copy_visitor::visit_target_symbol): Require guru mode for writing to target vars. * testsuite/buildok/twenty.stp: Test writing to target vars.
* 200+ syscalls prototypedkevinrs2005-10-051-0/+836
|
* 150 syscalls prototyped.kevinrs2005-10-031-71/+1193
|
* nonefche2005-10-031-1/+1
|
* 2005-10-01 Frank Ch. Eigler <fche@elastic.org>fche2005-10-012-18/+65
| | | | | | | | | * tapsets.cxx (get_module_dwarf): Add "required" parameter, which throws an exception if debuginfo is not found. (focus_on_module_containing_global_address): Tolerate miss. (query_kernel_exists): New function to test for "kernel" module in dwfl_getmodules() result set. (dwarf_builder::build): Call it if appropriate.
* [ChangeLog]graydon2005-10-014-132/+291
| | | | | | | | | | | | | | | | | | | | | | | 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.
* 2005-09-30 Frank Ch. Eigler <fche@elastic.org>fche2005-09-302-50/+58
| | | | | * tapset/system_calls.stp (*_str): Simplified boolean test logic throughout, fixed some typos.
* Added installation steps and tips.hien2005-09-301-0/+49
|
* More syscalls profiledkevinrs2005-09-301-0/+219
|
* Removed mask_string.stp, integrated into system_calls.stpkevinrs2005-09-292-151/+189
|
* Test -- please ignore.kevinrs2005-09-291-0/+2
|
* Test -- please ignore.kevinrs2005-09-291-2/+0
|
* stapfuncs.5.inkevinrs2005-09-291-2/+6
| | | | added documentation for new string function 'isinstr()'
* mask_string.stpkevinrs2005-09-293-109/+166
| | | | | | | | | function uses different algorithm to build symbolic flag string from int. Now uses locals to do so. SMP safe. string.stp add isinstr(s1,s2) - return 1 if s1 contains s2 else return 0
* 2005-09-28 Frank Ch. Eigler <fche@elastic.org>fche2005-09-287-6/+84
| | | | | | | | | | | | | | | | PR 1182. * main.cxx (main): Support -D macro-setting option. * stap.1.in: Document it and related macros. * buildrun.cxx (compile_pass): Emit macro definitions. * translate.cxx (translate_pass): Guard limit macros with #ifdef. Eliminate MAXCONCURRENCY macro. * elaborate.h (systemtap_session): Add "macros" field. * parse.cxx (parse_if_statement): Clear "elseblock" if needed. 2005-09-28 Frank Ch. Eigler <fche@elastic.org> PR 1182. * systemtap.samples/control_limits.*: New test.
* gpl headersfche2005-09-285-2/+40
|
* 2005-09-27 Frank Ch. Eigler <fche@elastic.org>fche2005-09-282-3/+9
| | | | | * tapsets.cxx (query_cu_containing_global_address): Tolerate way out of range addresses that result in null cudie pointers.
* tapset/mask_string.stp:kevinrs2005-09-284-44/+330
| | | | | | | | | | | | wrote a few aux functions that can be used by tapsets to derive a bitmask symbolic string from a given number tapset/string.stp: strlen: Returns the length of the string argument substr: Returns a substring starting at start/ending at stop stapfuncs.5.in: Added a STRING category with aforementioned functions tapset/system_calls.stp Exported more variable for more system calls
* nonefche2005-09-271-0/+1
|
* 2005-09-27 Frank Ch. Eigler <fche@elastic.org>fche2005-09-273-15/+77
| | | | | | | | PR 1368. * translate.cxx (emit_common_header): Move some MAX* definitions out ... (translate_pass): ... to here. Fix probe_start API impedance mismatch. (emit_module_init, exit): Tolerate registration errors, such as absence of kretprobes support.
* 2005-09-27 Frank Ch. Eigler <fche@elastic.org>fche2005-09-272-8/+18
| | | | | | | | PR 1311. * tapsets.cxx (target_variable_flavour_calculating_visitor:: visit_target_symbol): Print verbose error. (var_expanding_copy_visitor::visit_target_symbol): Throw simple error.
* 2005-09-26 Frank Ch. Eigler <fche@elastic.org>fche2005-09-273-133/+139
| | | | | * stapfuncs.5.in: Extend errno_str verbiage. * tapset/errno.stp: Canonicalize script code slightly.
* * quiet down re alias registrationfche2005-09-271-1/+1
|
* 2005-09-26 Frank Ch. Eigler <fche@elastic.org>fche2005-09-272-0/+78
| | | | | | | | | | | PR 1295. * tapsets.cxx (resolve_prologue_endings2): Try another heuristic for end-of-prologue. 2005-09-26 Frank Ch. Eigler <fche@elastic.org> PR 1295. * systemtap.samples/sysopen.*: New test.
* CV: ----------------------------------------------------------------------kevinrs2005-09-261-0/+6
|
* all script equivalent of errno.stpkevinrs2005-09-261-142/+142
|
* This function returns the errno string associated with the error code.kevinrs2005-09-261-0/+142
|
* system call tapset.kevinrs2005-09-261-0/+3144
|
* removing unnecessary testfche2005-09-241-2/+1
|
* Arch agnostic function to get at return vals until $retval built-in is working.kevinrs2005-09-241-0/+20
|