summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 2005-08-08 Roland McGrath <roland@redhat.com>roland2005-08-094-337/+417
| | | | | | | * loc2c-test.c: New file. * Makefile.am (stpd_LDADD): Add loc2c-test. (loc2c_test_SOURCES, loc2c_test_LDADD): New variables. * Makefile.in, aclocal.m4: Regenerated.
* *** empty log message ***fche2005-08-091-1/+1
|
* nonefche2005-08-081-0/+10
|
* 2005-08-08 Frank Ch. Eigler <fche@elastic.org>fche2005-08-086-158/+377
| | | | | | | * stap.1.in: Autoconfify old man page. * configure.ac: Make it so. * stap.1: Removed. * configure, Makefile.in, aclocal.m4: Regenerated.
* 2005-08-05 Frank Ch. Eigler <fche@elastic.org>fche2005-08-052-1/+6
| | | | | * runtest.sh: Keep around log files from crashed processes, those whose rc is neither 0 nor 1.
* 2005-08-05 Frank Ch. Eigler <fche@elastic.org>fche2005-08-052-135/+169
| | | | | | * tapsets.cxx (query_statement|function|cu|module): Add explicit nested try/catch, since elfutils iteration seems to block exception catching.
* 2005-08-05 Frank Ch. Eigler <fche@elastic.org>fche2005-08-057-30/+78
| | | | | | | | | | | | | | | | PR translator/1175 * translate.cxx (*): Added unlikely() markers to most emitted error checks. (mapvar::get,set): Handle NULL<->"" impedance mismatch. (itervar::get_key): Ditto. Use base index=1 for keys. * testsuite/buildok/one.stp: Extend. And it runs with -p5 too. * stap.1: Document use of ";" statament as mechanism for grammar ambiguity resolution. * stp_check.in: Set $prefix. * systemtap.spec.in: Prereq kernel-devel, kernel-debuginfo, and not tcl. * tapsets.cxx: Make slightly less verbose. * translate.cxx
* spread the lovefche2005-08-041-4/+5
|
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-043-1/+22
| | | | | * io.c (_stp_vlog): Revert previous change for now. * print.c (_stp_print_flush): Ditto.
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-032-3/+7
| | | | * transport.c: Comment out a couple printks.
* alternate entry pointfche2005-08-031-3/+5
|
* 2005-08-03 Graydon Hoare <graydon@redhat.com>graydon2005-08-032-91/+203
| | | | | * tapsets.cxx (dwflpp): Fix address calculation logic a bit, and use prologue-end addresses for function probes.
* 2005-08-03 Frank Ch. Eigler <fche@redhat.com>fche2005-08-036-65/+351
| | | | | | | | * stap.1: More meat, all stub sections filled. * elaborate.cxx (visit_assignment): Add numerous missing cases. * parse.cxx: Parse ".=" operator. * testsuite/semok/sixteen.stp: Check them. * main.cxx (usage): Don't show incompletely supported options.
* Added buf info tracking, removed buf-full warningtrz2005-08-032-9/+31
|
* Added transport failure messagetrz2005-08-033-6/+14
|
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-038-22/+42
| | | | | | | | * stp_check.in : Copy sources to /var/cache/systemtap. * systemtap.spec.in: Install stp_check. Create /var/cache/systemtap * Makefile.am (install-exec-local): Install stp_check. * configure.ac, systemtap.spec.in: Version 0.2.2. * Makefile.in, aclocal.m4, configure: Regenerated.
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-032-3/+5
| | | | * librelay.c (init_stp): Change variable name to eliminate shadow warning.
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-037-11/+151
| | | | | * configure.ac: Add stp_check to AC_CONFIG_FILES. * stp_check.in : New file.
* 2005-08-03 Martin Hunt <hunt@redhat.com>hunt2005-08-033-21/+112
| | | | | | | | | * librelay.c (open_control_channel): Set the receive buffer to 512K, or the max allowed. * stpd.c: Remove "-n" subbug option and change "-b" option so you can specify buffering in different ways. Add a verbose option. Exec the "stp_check" script.
* 2005-08-03 Frank Ch. Eigler <fche@elastic.org>fche2005-08-036-5/+47
| | | | | | * README: Be more specific about prerequisites. * tapset/builtin_string.stp: New builtin. * testsuite/buildok/seven.stp, semko/eighteen.stp: New tests.
* .roland2005-08-031-0/+5
|
* 2005-08-03 Roland McGrath <roland@redhat.com>roland2005-08-035-344/+143
| | | | | * configure.ac, systemtap.spec.in: Version 0.2.1. * Makefile.in, aclocal.m4, configure: Regenerated.
* .roland2005-08-031-0/+4
|
* 2005-08-02 Roland McGrath <roland@redhat.com>roland2005-08-031-7/+9
| | | | | | * loc2c.c (emit_bitfield): Return bool, value from emit_base_fetch. (c_translate_fetch): Update caller. (c_translate_pointer): Never ignore emit_base_fetch return value.
* .roland2005-08-021-1/+5
|
* 2005-08-02 Roland McGrath <roland@redhat.com>roland2005-08-021-1/+1
| | | | * systemtap.spec.in (%install): Remove parameters after %makeinstall.
* mbehm grammarianismsfche2005-08-021-24/+24
|
* 2005-08-02 Frank Ch. Eigler <fche@elastic.org>fche2005-08-025-8/+33
| | | | | | | | | * loc2.c (emit_loc_address): Emit interleaved declaration into its own nested { } block. * tapsets.cxx (literal_stmt_for_local): Emit deref_fault block unconditionally. * tapset/builtin_hexstring.stp: New builtin. * testsuite/buildok/six.stp: New test.
* 2005-08-02 Frank Ch. Eigler <fche@elastic.org>fche2005-08-022-12/+11
| | | | | * tapsets.cxx (emit_registrations): Treat module_name="kernel" as if module_name="".
* nonefche2005-08-021-0/+1
|
* 2005-08-01 Graydon Hoare <graydon@redhat.com>graydon2005-08-024-46/+72
| | | | | | | | | | * staptree.{cxx,h} (probe_point::component): Add a ctor. * tapsets.cxx (dwarf_derived_probe): Synthesize concrete probe_point for matched pattern. (dwarf_probe_type) (dwarf_query::add_kernel_probe) (dwarf_query::add_module_probe): Remove, they were noise. (dwflpp::module_name_matches): Don't call get_module_dwarf().
* typofche2005-08-011-3/+6
|
* 2005-08-01 Frank Ch. Eigler <fche@redhat.com>fche2005-08-015-5/+10
| | | | | * librelay.c: Correct fwrite api usage. * all: Correct copyright holder name.
* typosfche2005-08-012-3/+3
|
* 2005-08-01 Frank Ch. Eigler <fche@elastic.org>fche2005-08-013-25/+66
| | | | | * tapsets.cxx: Support ".return" option for function probe points. * testuite/buildok/five.stp: Try it.
* 2005-08-01 Martin Hunt <hunt@redhat.com>hunt2005-08-0114-13/+29
| | | | | | | | | | | | | | | | * agg/stat1.c (probe_exit): Remove "static" * agg/count1.c (probe_exit): Ditto. * agg/count2.c (probe_exit): Ditto. * bench/bench_io2.c (probe_exit): Ditto. * bench/bench_io1.c (probe_exit): Ditto. * bench/bench.c (probe_exit): Ditto. * bench/bench_ret.c (probe_exit): Ditto. * bench/bench_multi.c (probe_exit): Ditto. * where_func/kprobe_where_funct.c (probe_exit): Ditto. * test4/test4.c (probe_exit): Ditto. * tasklet/stp_tasklet.c (probe_exit): Ditto. * os_timer/os_timer.c (probe_exit): Ditto. * scf/scf.c (probe_exit): Ditto.
* Remove "static" from probe_exit declaration.hunt2005-08-011-1/+1
|
* 2005-08-01 Martin Hunt <hunt@redhat.com>hunt2005-08-015-128/+134
| | | | | | | | | | | | | | | | | | | | | | | | * librelay.h: Get structs and enums from ../transport/transport_msgs.h to eliminate duplication. * librelay.c (send_request): Retry if send fails. (open_relayfs_files): Use fopen() instead of open() for the percpu tmpfiles. (request_last_buffers): Just send cpu number for STP_BUF_INFO request. (reader_thread): Ditto. (process_subbufs): Use fwrite_unlocked() instead of write(). (sigchld): Removed. (init_stp): Go back to using system() instead of fork and exec to load module. When done, send a TRANSPORT_INFO request. (cleanup_and_exit): Change parameter to simple flag to indicate if the module needs removing. (sigproc): Remove complicated logic and just send STP_EXIT. (stp_main_loop): When receiving STP_TRANSPORT_INFO, set the local params and reply with a STP_START. When receiving STP_START, there was an error, so cleanup and exit. * stpd.c (main): Added new options to set number of buffers and their size.
* 2005-08-01 Martin Hunt <hunt@redhat.com>hunt2005-08-014-15/+12
| | | | | | | * io.c (_stp_vlog): Use _stp_pid instead os _stp_tport->pid. * print.c (_stp_print_flush): Don't need _stp_tport. *runtime.h (probe_start): Just call _stp_transport_init(). (probe_exit): Just call _stp_transport_close().
* 2005-08-01 Martin Hunt <hunt@redhat.com>hunt2005-08-015-217/+217
| | | | | | | | | | | | | | * control.h: Remove STP commands from here and put in transport_msgs. * transport_msgs.h: New file containing the structs and values for the messages exchanged between stpd and transport. * transport.h: Moved stuff shared with stpd to transport_msgs.h * transport.c: Complete rewrite to better handle complicated initialization involving exchanging data with stpd. Supports buffer size negotiation and more.
* 2005-08-01 Frank Ch. Eigler <fche@elastic.org>fche2005-08-015-55/+68
| | | | | | | | | * elaborate.cxx (derive_probes, semantic_pass_symbols): Improve error message specificity. * translate.cxx (emit_module_init): Compact partial registration recovery code. (emit_module_exit): Invert deregistration sequence. * testsuite/buildok/four.stp: Some module() test case.
* 2005-08-01 Frank Ch. Eigler <fche@elastic.org>fche2005-08-0110-147/+426
| | | | | | | | | | | * elaborate.cxx (derive_probes): Print error if results empty. * tapsets.cxx (dwflpp_assert): Handle positive RCs, which likely came from errno. (dwflpp::setup): Improve missing debug-info messages. * testsuite/semko/sixteen,seventeen.stp: New tests. * runtest.sh: Save stdout/stderr of FAIL/XPASS test cases. * Makefile.am (clean-local): Clean up testsuite/. * Makefile.in, aclocal.m4: Regenerated.
* more meatfche2005-07-311-36/+96
|
* * some more meatfche2005-07-291-18/+164
|
* 2005-07-29 Frank Ch. Eigler <fche@redhat.com>fche2005-07-292-6/+14
| | | | | From Graydon Hoare <graydon@redhat.com: * tapsets.cxx (var_expanding_copy_visitor): Correct lvalue cases.