summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-197-8/+46
|
* switch to binary TIMESTAMPtrz2005-10-196-14/+22
|
* bugfix patch appliedtrz2005-10-192-9/+24
|
* 2005-10-18 Frank Ch. Eigler <fche@redhat.com>fche2005-10-184-8/+27
| | | | | | | PR 1477. * main.cxx (main): Set PATH and LC_ALL, so * buildrun.cxx (compile_pass, run_pass): ... and ... * translate.cxx (emit_symbol_data): ... don't have to.
* 2005-10-18 Frank Ch. Eigler <fche@elastic.org>fche2005-10-183-6/+19
| | | | | | | | PR 1482 cont'd. * translator.cxx (emit_module_init): Set aside a variable for detailed probe point id. * tapsets.cxx (emit_registrations): Use it. (add_probe_point): Correct synthesized probe-point typo.
* 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.
* 2005-10-17 Martin Hunt <hunt@redhat.com>hunt2005-10-182-1/+6
| | | | | | PR 1482 * tapsets.cxx (emit_registrations): On failure, don't forget to unregister probe 0;
* * verbosify wildcard/alias nested error messagesfche2005-10-181-1/+1
|
* 2005-10-17 Frank Ch. Eigler <fche@elastic.org>fche2005-10-1810-144/+189
| | | | | | | | | | | | | | | | | | | | PR 1338. * parse.cx (parse_probe): Unconditionally visit parse_probe_point. (parse_probe_point): Accept "*" as component name. * stapprobes.5.in: Document this. * elaborate.cxx (derive_probes): Rewrite. Make top-level function. (match_node::find_and_build): New function to replace (find_builder): Removed. (match_key operator <): Correct one nasty typo. (match_node::bind): Refuse to bind "*" component names. (derived_probe_builder::build): Remove recursion output param. (alias_expandion_builder::build): Recurse to derive_probes instead. * elaborate.h: Corresponding changes. * tapsets.cxx: Ditto. (query_cu): Elide prologue finding for uninteresting CUs. * testsuite/semok/nineteen.stp: New test. * testsuite/semko/twentythree.stp: New test. * testsuite/semko/twentyone/two.stp: Fix -p2.
* 2005-10-17 Graydon Hoare <graydon@redhat.com>graydon2005-10-176-29/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/semko/twentyone.stp: Check function doesn't match inline. * testsuite/semko/twentytwo.stp: Check inline doesn't match function. * testsuite/buildok/six.stp: Change "function" to "inline". * stapprobes.5.in: Describe "inline" probes. * tapsets.cxx (TOK_INLINE): New token "inline". (dwarf_query::has_inline_str) (dwarf_query::has_inline_num) (dwarf_query::inline_str_val) (dwarf_query::inline_num_val): New members. (dwarf_query::dwarf_query): Load new members. (query_dwarf_inline_instance) (query_dwarf_func) (query_cu) (query_module) (dwarf_derived_probe::add_probe_point) (dwarf_builder::build): Use inline-related members where appropriate. (dwarf_derived_probe::register_inline_variants): New method. (dwarf_derived_probe::register_function_and_statement_variants): Call it.
* 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
|
* .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
|