summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added ppc64 _stp_stack_printhien2005-11-022-0/+87
|
* 2005-11-02 Martin Hunt <hunt@redhat.com>hunt2005-11-023-2/+7
| | | | | * Makefile.am (EXTRA_DIST): Add session.h. * Makefile.in: Regenerated.
* 2005-11-01 Frank Ch. Eigler <fche@elastic.org>fche2005-11-025-491/+20
| | | | | | | | Sound advice from <drepper@redhat.com>: * configure.ac: Undo last change. * configure.ac: Unregenerated. * parse.cxx: Use glibc strverscmp function instead of rpmlib. * stap.1.in: Update correspondingly.
* 2005-11-01 Graydon Hoare <graydon@redhat.com>graydon2005-11-012-86/+102
| | | | | | | | | | * translate.cxx (c_unparser::collect_map_index_types) (c_unparser::emit_map_type_instantiations) (c_unparser::visit_arrayindex) (c_unparser::visit_array_in) (delete_statement_operand_visitor::visit_arrayindex) (c_unparser_assignment::visit_arrayindex) (mapvar::*): Update to new runtime map API.
* 2005-11-01 Frank Ch. Eigler <fche@elastic.org>fche2005-11-0111-116/+874
| | | | | | | | | | | | | | | | | | | | PR 1425. * configure.ac: Look for rpm-devel headers and libs. * configure: Regenerated. * session.h: New file to contain systemtap_session decl. * staptree.h: Likewise evict statistics_decl. * elaborate.h: Corresponding changes. * main.cxx (usage): Elaborate. Re-enable "-r RELEASE" option. * parse.cxx (parser): Add systemtap_session& field. Update users. (scan_pp, eval_pp_conditional): New routines for preprocessing. (peek, next): Call it. (lexer::scan): Lex the preprocessor operators. (parser::parse): Include an extra level of exception catching for parse errors that occur during recovery. * parse.h: Corresponding changes. (parse_error): Allow explicit token parameter. * stap.1.in: Document preprocessing. * testsuite/parseok/fourteen.stp: New test.
* .roland2005-11-011-0/+3
|
* 2005-10-31 Roland McGrath <roland@redhat.com>roland2005-11-013-11/+15
| | | | | * systemtap.spec.in, configure.ac: Version 0.4.2 cooked. * configure: Regenerated.
* .roland2005-10-311-0/+14
|
* 2005-10-31 Roland McGrath <roland@redhat.com>roland2005-10-315-164/+163
| | | | | | | | | | | | | | * configure.ac: Update libdw test to require 0.116 with dwarf_diecu. * configure: Regenerated. * systemtap.spec.in: Update elfutils requirement to 0.116. * loc2c.c: Dwarf_Loc -> Dwarf_Op. (location_from_address): dwarf_addrloclists -> dwarf_getlocation_addr. (c_translate_location): Likewise. (max_fetch_size): Remove fakeo dwarf_diecu macro. * tapsets.cxx (dwflpp): Dwarf_Func -> Dwarf_Die; dwarf_func_name -> dwarf_diename; dwarf_func_entrypc -> dwarf_entrypc; dwarf_func_file, dwarf_func_line -> dwarf_decl_file, dwarf_decl_line.
* 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-289-3/+287
| | | | | | | 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.
* .roland2005-10-261-0/+5
|
* 2005-10-26 Roland McGrath <roland@redhat.com>roland2005-10-261-1/+1
| | | | | * loc2c.c (max_fetch_size): Default to host pointer size, while still waiting for new libdw entrypoint.
* 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.
* .roland2005-10-261-12/+19
|
* 2005-10-25 Roland McGrath <roland@redhat.com>roland2005-10-263-1/+18
| | | | | | | PR 1271 cont'd. * testsuite/buildok/twentytwo.stp: New file. * testsuite/buildok/twentythree.stp: New file. * loc2c.c (discontiguify): Add missing ; in output.
* 2005-10-20 Graydon Hoare <graydon@redhat.com>graydon2005-10-2015-50/+439
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 917 (incomplete) * staptree.h (struct statistic_decl): New struct. (stapfile::stat_decls): New member. * parse.h, parse.cxx (parser::expect_known): Fix typo. (parser::expect_number): New method. (parser::parse_global): Parse global statistic_decls. * elaborate.h (systemtap_session::stat_decls): New member. * elaborate.cxx (semantic_pass_symbols): Copy per-file stat_decls to session-wide. (typeresolution_info::visit_assignment): Detect some semantic stats errors in type resolution pass. * translate.cxx (var::sd): New private member. (var::var): Initialize it. (var::sdecl): New accessor. (var::init): Handle stats values. (mapvar::mapvar): Pass through statistic_decl to var ctor. (mapvar::get): Test for long explicitly. (mapvar::set): Likewise. (mapvar::init): Handle stats values. (c_unparser::emit_common_header): Remove typedef of stats_t, include stat.c when necessary. (mapvar::key_typename): Typo. (c_unparser::emit_map_type_instantiations): Thinko: value_typename not key_typename. (c_unparser::c_typename): Implementation typename is "Stat", not "stats_t". (c_unparser::c_assign): Fix bad error message. (c_unparser_assignment::c_assignop): Handle operator <<<. (c_unparser::getvar): Feed session statistic_decl into var. (c_unparser::getmap): Likewise. (c_unparser::visit_assignment): Handle operator <<<. (c_tmpcounter_assignment::visit_symbol): Derive type from rvalue when present. (c_unparser_assignment::visit_symbol) (c_tmpcounter_assignment::visit_arrayindex) (c_unparser_assignment::load_map_indices): Likewise. (c_unparser::visit_arrayindex): Likewise, and Prohibit statistic rvalues. (c_unparser_assignment::visit_arrayindex): Handle operator <<<. * testsuite/semko/twentyfour.stp: * testsuite/semko/twentyfive.stp: * testsuite/semko/twentysix.stp: * testsuite/semko/twentyseven.stp: * testsuite/semko/twentyeight.stp: * testsuite/semko/twentynine.stp: * testsuite/semko/thirty.stp: * testsuite/semko/thirtyone.stp: New tests for prohibited statistic contexts. * testsuite/buildok/twentytwo.stp: New test for legal statistic contexts.
* 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
|