summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo.hunt2005-08-191-3/+3
|
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-192-15/+5
| | | | * stp_check.in: Remove stp-control.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-192-0/+5
| | | | * runtime.h: Include io.c.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-199-61/+16
| | | | | * shellsnoop/shellsnoop.c: Remove STP_NETLINK_ONLY. * stp: Deleted. Use stpd directly.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-193-213/+131
| | | | | * stpd.c (main): Simplify buffer size code. * librelay.c: Major changes to support procfs instead of netlink.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-1910-516/+436
| | | | | | | | | | | * transport.h: Remove netlink references. * transport.c: Remove netlink references. Ifdef relayfs code. * procfs.c: New file. * Makefile: Deleted. * control.c: Deleted. * control.h: Deleted. * netlink.c: Deleted. * netlink.h: Deleted.
* 2005-08-19 Martin Hunt <hunt@redhat.com>hunt2005-08-197-43/+31
| | | | | | | | | | * print.c: Change ifdefs to STP_RELAYFS. * runtime.h: Ditto. * io.c (_stp_vlog): Call _stp_write instead of _stp_ctrl_send. * Makefile: Don't build stp-control. * README.doc: Update. * TODO: Update.
* .roland2005-08-181-0/+7
|
* 2005-08-18 Roland McGrath <roland@redhat.com>roland2005-08-183-8/+24
| | | | | | | * loc2c.c (c_translate_addressof): Take TYPEDIE instead of TYPEATTR. * loc2c.h: Update decl. * loc2c-test.c (handle_variable): Handle DW_TAG_pointer_type target for fetch.
* Check to see if relayfs available via /proc/filesystems.wcohen2005-08-182-1/+5
|
* cleanup, unusedfche2005-08-181-26/+0
|
* nonefche2005-08-181-0/+2
|
* .roland2005-08-181-0/+16
|
* 2005-08-18 Roland McGrath <roland@redhat.com>roland2005-08-184-9/+46
| | | | | | | | | | | | | | | | * loc2c.c (struct location): New member `emit_address'. (alloc_location): Initialize new member from ORIGIN. (location_from_address): New argument EMIT_ADDRESS. Initialize new member. (translate): Use LOC->emit_address hook to format DW_OP_addr constant. (location_relative): Die if DW_OP_addr is used. (default_emit_address): New function. (c_translate_location): New argument EMIT_ADDRESS, pass it down. Use default_emit_address if argument is null. * loc2c.h: Update decl. * loc2c-test.c (handle_variable): Update caller. * tapsets.cxx (dwflpp::literal_stmt_for_local): Update caller. (dwflpp::loc2c_emit_address): New static method.
* .roland2005-08-181-0/+13
|
* 2005-08-17 Roland McGrath <roland@redhat.com>roland2005-08-181-6/+14
| | | | | | | | | | | | | | | PR systemtap/1197 * loc2c.c (struct location): New members `fail', `fail_arg'. (alloc_location): New function. Initialize those members. (new_synthetic_loc, translate): Use that instead of obstack_alloc. (location_from_address, location_relative): Likewise. (FAIL): New macro. Use it everywhere in place of `error'. (c_translate_location): Take new args FAIL, FAIL_ARG. * loc2c.h: Update declaration. * loc2c-test.c (fail): New function. (handle_variable): Pass it to c_translate_location. * tapsets.cxx (dwflpp::loc2c_error): New static method. (dwflpp::literal_stmt_for_local): Pass it to to c_translate_location.
* 2005-08-17 Roland McGrath <roland@redhat.com>roland2005-08-183-65/+117
| | | | | | | | | | | | | PR systemtap/1197 * loc2c.c (struct location): New members `fail', `fail_arg'. (alloc_location): New function. Initialize those members. (new_synthetic_loc, translate): Use that instead of obstack_alloc. (location_from_address, location_relative): Likewise. (FAIL): New macro. Use it everywhere in place of `error'. * loc2c-test.c (fail): New function. (handle_variable): Pass it to c_translate_location. * tapsets.cxx (dwflpp::loc2c_error): New static method. (dwflpp::literal_stmt_for_local): Pass it to to c_translate_location.
* .roland2005-08-181-0/+16
|
* 2005-08-17 Roland McGrath <roland@redhat.com>roland2005-08-181-14/+11
| | | | | | | | | | | | | * loc2c.c (c_translate_fetch): Take TYPEDIE instead of TYPEATTR. (c_translate_store): Likewise. * loc2c.h: Update decls. * loc2c-test.c (handle_variable): Update callers. Look up type, resolve typedefs, and check that it's DW_TAG_base_type. * tapsets.cxx (dwflpp::literal_stmt_for_local): Likewise. * loc2c.c (base_byte_size): Add assert on expected DIE tag. (c_translate_array, c_translate_pointer): Likewise. * loc2c.h: Amend comments to explicitly state type DIE tags expected. * loc2c.c: #include "loc2c.h".
* 2005-08-17 Roland McGrath <roland@redhat.com>roland2005-08-181-6/+6
| | | | | | | | | | | | * loc2c.c (c_translate_fetch): Take TYPEDIE instead of TYPEATTR. (c_translate_store): Likewise. * loc2c.h: Update decls. * loc2c-test.c (handle_variable): Update callers. Look up type, resolve typedefs, and check that it's DW_TAG_base_type. * tapsets.cxx (dwflpp::literal_stmt_for_local): Likewise. * loc2c.c (base_byte_size): Add assert on expected DIE tag. (c_translate_array, c_translate_pointer): Likewise. * loc2c.h: Amend comments to explicitly state type DIE tags expected.
* 2005-08-17 Roland McGrath <roland@redhat.com>roland2005-08-182-140/+181
| | | | | | | | | * loc2c.c (c_translate_fetch): Take TYPEDIE instead of TYPEATTR. (c_translate_store): Likewise. * loc2c.h: Update decls. * loc2c-test.c (handle_variable): Update callers. Look up type, resolve typedefs, and check that it's DW_TAG_base_type. * tapsets.cxx (dwflpp::literal_stmt_for_local): Likewise.
* nonefche2005-08-182-1/+8
|
* * bump to version 0.3fche2005-08-163-11/+14
|
* 2005-08-16 Frank Ch. Eigler <fche@elastic.org>fche2005-08-162-55/+123
| | | | | | | | | | PR systemtap/1180 * tapsets.cxx (*): Add more verbose-predicatation to informative messages. Correct more hex/dec ostream mismatches. (query_function): Use entry/querypc, not prologue-end, for function().return and .statement() probe points. (dwarf_derived_probe ctor): Reorganize function/statement probe point regeneration.
* 2005-08-16 Frank Ch. Eigler <fche@elastic.org>fche2005-08-163-7/+12
| | | | * main.cxx: Don't print library parse trees if last_pass=1.
* .roland2005-08-151-0/+5
|
* 2005-08-14 Roland McGrath <roland@redhat.com>roland2005-08-151-2/+2
| | | | | * systemtap.spec.in: Update elfutils_version requirement to 0.113; restore bundled_elfutils setting to 1.
* [ChangeLog]graydon2005-08-136-2/+95
| | | | | | | | | | | | | | | 2005-08-12 Graydon Hoare <graydon@redhat.com> * translate.cxx (c_tmpcounter::visit_array_in): Implement. (c_unparser::visit_array_in): Likewise. (mapvar::exists): New method. [runtime/ChangeLog] 2005-08-12 Graydon Hoare <graydon@redhat.com> * map-values.c (_stp_map_entry_exists): New function. * map.h (_stp_map_entry_exists): Declare it.
* 2005-08-12 Frank Ch. Eigler <fche@elastic.org>fche2005-08-1216-112/+230
| | | | | | | | | | | | | | | | | | | | | | | | PR systemtap/1122 et alii * parse.cxx (parse_literal): Parse and range-limit 64-bit numbers. (parse_unary): Correct precedence glitch. * staptree.h (literal_number): Store an int64_t. * staptree.cxx: Corresponding changes. * translate.cxx (check_dbz): Remove - insufficient. (emit_function): Define CONTEXT macro sibling for THIS. (c_typename): pe_long -> int64_t. (visit_literal_number): Format literal rigorously and uglily. (c_assignop, visit_binary_expression): Handle div/mod via new helper functions in runtime. * tapset/builtin_logging.stp: Add error, exit builtins. * testsuite/buildok/ten,eleven.stp: New tests. * testsuite/parse{ko,ok}/six.stp: Modify for larger numbers. * testsuite/transok/one.stp: Add more ";"s, maybe unnecessarily. 2005-08-12 Frank Ch. Eigler <fche@elastic.org> * arith.c: New file to contain arithmetic helper functions. * builtin_functions.h: Remove, unused. * runtime.h: Include it.
* 2005-08-11 Frank Ch. Eigler <fche@elastic.org>fche2005-08-112-6/+7
| | | | | * systemtap.spec.in: Tweak to turn into fedora-flavoured spec. Don't build/install runtime docs.
* 2005-08-11 Frank Ch. Eigler <fche@elastic.org>fche2005-08-113-2/+19
| | | | | * Makefile.am (uninstall-local): New target. * Makefile.in: Regenerate.
* 2005-08-11 Frank Ch. Eigler <fche@elastic.org>fche2005-08-1110-35/+65
| | | | | | | | * translate.cxx (emit_function): Add an extra { } around the function body visitation. * tapset/timestamp_functions.stp: New file. * tapset/builtin_conversions.stp: Aggregated from [hex]string. * tapset/builtin_logging.stp: Aggregated from log/warn/printk.
* 2005-08-11 Frank Ch. Eigler <fche@elastic.org>fche2005-08-112-31/+43
| | | | | | * tapsets.cxx: Tweak hex/decimal printing for consistency. (emit_registrations): Remove module-specific code, anticipating that libelf gives us run-time addresses already.
* .roland2005-08-111-0/+1
|
* 2005-08-10 Roland McGrath <roland@redhat.com>roland2005-08-111-1/+9
| | | | | | | | | * loc2c.c (emit_base_store): New function. (emit_bitfield): Rewritten to handle stores, change parameters. (c_translate_fetch): Update caller. (c_translate_store): New function. * loc2c.h: Declare it. * loc2c-test.c (handle_variable): Grok "=" last argument to do a store.
* .roland2005-08-112-30/+45
|
* 2005-08-10 Roland McGrath <roland@redhat.com>roland2005-08-111-1/+49
| | | | | * loc2c-runtime.h (store_bitfield): Fix argument use. (store_deref): New macro (three flavors).
* 2005-08-10 Roland McGrath <roland@redhat.com>roland2005-08-111-4/+20
| | | | | | | | * loc2c.c (emit_base_store): New function. (emit_bitfield): Rewritten to handle stores, change parameters. (c_translate_fetch): Update caller. (c_translate_store): New function. * loc2c-test.c (handle_variable): Grok "=" last argument to do a store.
* 2005-08-10 Roland McGrath <roland@redhat.com>roland2005-08-111-8/+113
| | | | | | | | | | | * loc2c.c (emit_base_store): New function. (emit_bitfield): Rewritten to handle stores, change parameters. (c_translate_fetch): Update caller. (c_translate_store): New function. * loc2c-test.c (handle_variable): Grok "=" last argument to do a store. * loc2c.c (c_translate_location): Increment INDENT. (c_translate_pointer): Likewise. (emit_loc_value): Increment INDENT after emit_header.
* 2005-08-10 Graydon Hoare <graydon@redhat.com>graydon2005-08-112-4/+115
| | | | | * tapsets.cxx (dwflpp::literal_stmt_for_local): Copy code from loc2c-test to implement target member variable access.
* 2005-08-10 Graydon Hoare <graydon@redhat.com>graydon2005-08-112-24/+77
| | | | | | | * tapsets.cxx (dwflpp::global_addr_of_line_in_cu): Implement next-line heuristic. (dwarf_query::get_number_param): Dwarf_Addr variant. (query_cu): Add line-selecting variant for function iteration.
* 2005-08-10 Frank Ch. Eigler <fche@elastic.org>fche2005-08-109-16/+44
| | | | | | | | | | | PR translator/1186 * elaborate.cxx (resolve_2types): Accept a flag to tolerate unresolved expression types. (visit_functioncall): Call it thusly. * translate.cxx (emit_function): Tolerate void functions. * stap.1.in: Document possibility of void functions. * tapset/builtin_{log,printk,warn}.stp: Make these void functions. * testsuite/buildok/nine.stp, semok/eighteen.stp: New tests.
* 2005-08-10 Frank Ch. Eigler <fche@elastic.org>fche2005-08-104-34/+34
| | | | | | * tapsets.cxx: Correct hex/decimal misformatting of verbose messages. * main.cxx: Add formal "-h" and "-V" options. * stap.1.in: Document them.
* 2005-08-10 Frank Ch. Eigler <fche@elastic.org>fche2005-08-102-7/+39
| | | | | | | * tapsets.cxx: Move around "focusing on ..." messages to print them only for matching functions/modules. (dwflpp ctor): Also add cu (source file) name to derived probe point.
* 2005-08-09 Graydon Hoare <graydon@redhat.com>graydon2005-08-106-24/+37
| | | | | * testsuite/parseok/nine.stp: Update * testsuite/semok/{six,seven,eleven,seventeen}.stp: Update.
* 2005-08-09 Graydon Hoare <graydon@redhat.com>graydon2005-08-109-176/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * staptree.{cxx,h} (target_symbol): New struct. (*_visitor::visit_target_symbol): Support it. (visitor::active_lvalues) (visitor::is_active_lvalue) (visitor::push_active_lvalue) (visitor::pop_active_lvalue): Support lvalue-detection. (delete_statement::visit) (pre_crement::visit) (post_crement::visit) (assignment::visit): Push and pop lvalue expressions. * elaborate.{cxx,h} (lvalule_aware_traversing_visitor): Remove class. (no_map_mutation_during_iteration_check) (mutated_map_collector): Update lvalue logic. (typeresolution_info::visit_target_symbol): Add, throw error. * parse.{cxx,h} (tt2str) (tok_is) (parser::expect_*) (parser::peek_*): New helpers. (parser::parse_symbol): Rewrite, support target_symbols. * translate.cxx (c_unparser::visit_target_symbol): Implement. * tapsets.cxx (var_expanding_copy_visitor): Update lvalue logic, change visit_symbol to visit_target_symbol.
* 2005-08-09 Martin Hunt <hunt@redhat.com>hunt2005-08-093-71/+8
| | | | | | PR 1174 * stp_check.in: Supply path for lsmod. * stp_check: Removed.
* 2005-08-09 Graydon Hoare <graydon@redhat.com>graydon2005-08-096-13/+147
| | | | | | | | | | | | | | | | | * elaborate.cxx: (delete_statement_symresolution_info): New struct. (symresolution_info::visit_delete_statement): Use it. (delete_statement_typeresolution_info): New struct. (typeresolution_info::visit_delete_statement): Use it. (symresolution_info::find_var): Accept -1 as 'unknown' arity. * elaborate.h: Update to reflect changes in .cxx. * translate.cxx (mapvar::del): New method. (c_unparser::getmap): Check arity >= 1; (delete_statement_operand_visitor): New struct. (c_unparser::visit_delete_statement): Use it. * staptree.cxx (vardecl::set_arity): Accept and ignore -1. (vardecl::compatible_arity): Likewise. * testsuite/buildok/eight.stp: New test for 'delete' operator.
* * typo fixfche2005-08-091-1/+1
|
* .roland2005-08-091-5/+12
|