| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
More fully parse & elaborate "expr in array" construct.
* staptree.h (array_in): Make this unary. Update .cxx to match.
* parse.cxx (parse_array_in): Rewrite.
(parse_symbol_plain): Removed. Update .h to match.
* elaborate.cxx (typeresolution_info::visit_array_in): New function.
(find_array): Tentatively, accept arity=0.
* translate.cxx (c_unparser::c_assign): New functions to eliminate
much ugly duplication. Use throughout.
(visit_symbol): Correct function formal argument search.
(c_tmpcounter*::visit): Add missing recursion in several functions.
* testsuite/*: Add new tests for array-in construct. Add the
first "transok" test.
* Makefile.am: Add transok tests.
* Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
| |
* translate.cxx: Traverse trees just for common-header generation,
to emit explicit temp variables into context. Switch to explicit
"frame" pointer in generated function/probe bodies. Initialize
locals in function bodies. Rename "test_unparser" to "c_unparser"
throughout.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* current.c (_stp_sprint_regs): Implement for i386.
* sym.c (_stp_symbol_sprint): Check name before trying to
print it.
(_stp_symbol_print): Change to macro that calls _stp_symbol_sprint().
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* elaborate.cxx (find_array): Support automagic tapset globals.
* testsuite/semok/nine.stp: Test it ...
* testsuite/semlib/g2.stp: ... using this global array.
* staptree.cxx (stapfile print): List globals.
|
|
|
|
|
| |
* testsuite/semlib/*: New tapset library chunks for "-I" testing.
* testsuite/semok/eight.stp, nine.stp: New tests.
|
|
|
|
|
|
| |
* Makefile.am (gcov): New target to generate test-coverage data from
a testsuite run.
* Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-20 Frank Ch. Eigler <fche@redhat.com>
Many changes throughout. Partial sketch of translation output.
* elaborate.*: Elaboration pass.
* translate.*: Translation pass.
* staptree.*: Simplified for visitor concept.
* main.cxx: Translator mainline.
* *test.cxx: Removed.
* testsuite/*: Some new tests, some changed for newer syntax.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* print.c: All functions except _stp_print_flush() are
now macros which use _stp_stdout.
* string.c: Add _stp_stdout support. Data written to
_stp_stdout is automatically flushed when the print buffer
is full.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* transport.c (_stp_transport_close): Call stp_exit_helper()
directly instead of using work queue.
|
|
|
|
|
| |
* relay.c (relay_switch_subbuf): Applied patch
[PATCH 2.6.12-rc1-mm2] relayfs: properly handle oversized events
|
|
|
|
|
|
|
|
|
|
|
|
| |
* map.c (needed_space): Use do_div().
(_stp_map_print_histogram): Ditto.
(_stp_map_print): Ditto.
* map-values.c (_stp_map_add_int64_stat): Use do_div() when
computing histogram bucket.
* map-keys.c (_stp_map_key): Fix some warnings on 32-bit machines
by using key_data casts.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Changed some include paths.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* transport.c (_stp_cmd_handler): For STP_EXIT, schedule a
work queue to do the exit functions.
(_stp_transport_close): Call work queue for STP_EXIT.
(_stp_transport_send): Call _stp_ctrl_send() like before, except
when in probe_exit(). In that case, keep retrying on send errors
until we succeed.
* transport.h (_stp_transport_write): Change to call
_stp_transport_send() for NETLINK_ONLY.
* Makefile (KDIR): set to /lib/modules/... instead of
/usr/local/src/...
|
|
|
|
|
|
| |
* librelay.c (sigproc): If STP_EXIT send fails, keep retrying
every 10ms.
(init_stp): Don't set n_subbufs and subbuf_size params.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-05 Frank Ch. Eigler <fche@redhat.com>
* parse.cxx (parse): Add helper methods.
(lexer::scan, parse_assignment): Parse "<<<" operator. Fix assignment
associativity.
(parse_symbol): Permit function with empty arg list.
(parse_global, parse_statement, parse_functiondecl): Expect
unconsumed leading keyword.
(parse_global): Don't use ";" termination.
* parse.h: Corresponding changes.
* staptree.cxx (binary_expression::resolve_types): Fix <<<
type inference.
(translator_output): Improve pretty-printing.
(*): Add general visitors to statement/expression types.
* staptree.h: Corresponding changes. Tweak symresolution_info fields.
Add semantic_error class.
* semtest.cxx: Adapt to this.
* testsuite/parseok/two.stp, semok/*.stp: Adapt to syntax changes.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* inode.c: Latest kernels have modified backing_dev_info. Detect
newer version and set appropriately.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|