]> sourceware.org Git - systemtap.git/log
systemtap.git
18 years agocleanup, unused
fche [Thu, 18 Aug 2005 17:26:00 +0000 (17:26 +0000)]
cleanup, unused

18 years agonone
fche [Thu, 18 Aug 2005 14:46:54 +0000 (14:46 +0000)]
none

18 years ago.
roland [Thu, 18 Aug 2005 08:51:35 +0000 (08:51 +0000)]
.

18 years ago2005-08-18 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 08:51:30 +0000 (08:51 +0000)]
2005-08-18  Roland McGrath  <roland@redhat.com>

* 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.

18 years ago.
roland [Thu, 18 Aug 2005 03:42:32 +0000 (03:42 +0000)]
.

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 03:42:24 +0000 (03:42 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

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.

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 03:41:29 +0000 (03:41 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

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.

18 years ago.
roland [Thu, 18 Aug 2005 02:47:29 +0000 (02:47 +0000)]
.

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 02:46:22 +0000 (02:46 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

* 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".

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 02:46:17 +0000 (02:46 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

* 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.

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 02:46:10 +0000 (02:46 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

* 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.

18 years agonone
fche [Thu, 18 Aug 2005 01:14:52 +0000 (01:14 +0000)]
none

18 years ago* bump to version 0.3
fche [Tue, 16 Aug 2005 20:08:39 +0000 (20:08 +0000)]
* bump to version 0.3

18 years ago2005-08-16 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 16 Aug 2005 18:41:02 +0000 (18:41 +0000)]
2005-08-16  Frank Ch. Eigler  <fche@elastic.org>

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.

18 years ago2005-08-16 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 16 Aug 2005 14:04:02 +0000 (14:04 +0000)]
2005-08-16  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx: Don't print library parse trees if last_pass=1.

18 years ago.
roland [Mon, 15 Aug 2005 01:41:23 +0000 (01:41 +0000)]
.

18 years ago2005-08-14 Roland McGrath <roland@redhat.com>
roland [Mon, 15 Aug 2005 01:41:00 +0000 (01:41 +0000)]
2005-08-14  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Update elfutils_version requirement to 0.113;
restore bundled_elfutils setting to 1.

18 years ago[ChangeLog]
graydon [Sat, 13 Aug 2005 01:36:41 +0000 (01:36 +0000)]
[ChangeLog]

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.

18 years ago2005-08-12 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 12 Aug 2005 19:43:55 +0000 (19:43 +0000)]
2005-08-12  Frank Ch. Eigler  <fche@elastic.org>

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.

18 years ago2005-08-11 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 11 Aug 2005 19:16:34 +0000 (19:16 +0000)]
2005-08-11  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.spec.in: Tweak to turn into fedora-flavoured spec.
Don't build/install runtime docs.

18 years ago2005-08-11 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 11 Aug 2005 17:03:05 +0000 (17:03 +0000)]
2005-08-11  Frank Ch. Eigler  <fche@elastic.org>

* Makefile.am (uninstall-local): New target.
* Makefile.in: Regenerate.

18 years ago2005-08-11 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 11 Aug 2005 16:53:45 +0000 (16:53 +0000)]
2005-08-11  Frank Ch. Eigler  <fche@elastic.org>

* 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.

18 years ago2005-08-11 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 11 Aug 2005 13:40:10 +0000 (13:40 +0000)]
2005-08-11  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx: Tweak hex/decimal printing for consistency.
(emit_registrations): Remove module-specific code, anticipating
that libelf gives us run-time addresses already.

18 years ago.
roland [Thu, 11 Aug 2005 04:27:34 +0000 (04:27 +0000)]
.

18 years ago2005-08-10 Roland McGrath <roland@redhat.com>
roland [Thu, 11 Aug 2005 04:27:29 +0000 (04:27 +0000)]
2005-08-10  Roland McGrath  <roland@redhat.com>

* 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.

18 years ago.
roland [Thu, 11 Aug 2005 04:26:47 +0000 (04:26 +0000)]
.

18 years ago2005-08-10 Roland McGrath <roland@redhat.com>
roland [Thu, 11 Aug 2005 04:26:41 +0000 (04:26 +0000)]
2005-08-10  Roland McGrath  <roland@redhat.com>

* loc2c-runtime.h (store_bitfield): Fix argument use.
(store_deref): New macro (three flavors).

18 years ago2005-08-10 Roland McGrath <roland@redhat.com>
roland [Thu, 11 Aug 2005 04:26:33 +0000 (04:26 +0000)]
2005-08-10  Roland McGrath  <roland@redhat.com>

* 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.

18 years ago2005-08-10 Roland McGrath <roland@redhat.com>
roland [Thu, 11 Aug 2005 04:26:30 +0000 (04:26 +0000)]
2005-08-10  Roland McGrath  <roland@redhat.com>

* 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.

18 years ago2005-08-10 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 11 Aug 2005 03:25:11 +0000 (03:25 +0000)]
2005-08-10  Graydon Hoare  <graydon@redhat.com>

* tapsets.cxx (dwflpp::literal_stmt_for_local): Copy code from
loc2c-test to implement target member variable access.

18 years ago2005-08-10 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 11 Aug 2005 01:51:04 +0000 (01:51 +0000)]
2005-08-10  Graydon Hoare  <graydon@redhat.com>

* 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.

18 years ago2005-08-10 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 10 Aug 2005 23:11:15 +0000 (23:11 +0000)]
2005-08-10  Frank Ch. Eigler  <fche@elastic.org>

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.

18 years ago2005-08-10 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 10 Aug 2005 20:25:35 +0000 (20:25 +0000)]
2005-08-10  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx: Correct hex/decimal misformatting of verbose messages.
* main.cxx: Add formal "-h" and "-V" options.
* stap.1.in: Document them.

18 years ago2005-08-10 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 10 Aug 2005 15:49:43 +0000 (15:49 +0000)]
2005-08-10  Frank Ch. Eigler  <fche@elastic.org>

* 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.

18 years ago2005-08-09 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 10 Aug 2005 03:18:10 +0000 (03:18 +0000)]
2005-08-09  Graydon Hoare  <graydon@redhat.com>

* testsuite/parseok/nine.stp: Update
* testsuite/semok/{six,seven,eleven,seventeen}.stp: Update.

18 years ago2005-08-09 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 10 Aug 2005 03:15:21 +0000 (03:15 +0000)]
2005-08-09  Graydon Hoare  <graydon@redhat.com>

* 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.

18 years ago2005-08-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Aug 2005 19:19:51 +0000 (19:19 +0000)]
2005-08-09  Martin Hunt  <hunt@redhat.com>

PR 1174
* stp_check.in: Supply path for lsmod.
* stp_check: Removed.

18 years ago2005-08-09 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 9 Aug 2005 18:17:24 +0000 (18:17 +0000)]
2005-08-09  Graydon Hoare  <graydon@redhat.com>

* 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.

18 years ago* typo fix
fche [Tue, 9 Aug 2005 13:19:43 +0000 (13:19 +0000)]
* typo fix

18 years ago.
roland [Tue, 9 Aug 2005 01:05:47 +0000 (01:05 +0000)]
.

18 years ago2005-08-08 Roland McGrath <roland@redhat.com>
roland [Tue, 9 Aug 2005 01:05:39 +0000 (01:05 +0000)]
2005-08-08  Roland McGrath  <roland@redhat.com>

* 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.

18 years ago*** empty log message ***
fche [Tue, 9 Aug 2005 00:51:16 +0000 (00:51 +0000)]
*** empty log message ***

18 years agonone
fche [Mon, 8 Aug 2005 20:23:13 +0000 (20:23 +0000)]
none

18 years ago2005-08-08 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 8 Aug 2005 16:03:38 +0000 (16:03 +0000)]
2005-08-08  Frank Ch. Eigler  <fche@elastic.org>

* stap.1.in: Autoconfify old man page.
* configure.ac: Make it so.
* stap.1: Removed.
* configure, Makefile.in, aclocal.m4: Regenerated.

18 years ago2005-08-05 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 5 Aug 2005 19:06:50 +0000 (19:06 +0000)]
2005-08-05  Frank Ch. Eigler  <fche@elastic.org>

* runtest.sh: Keep around log files from crashed processes,
those whose rc is neither 0 nor 1.

18 years ago2005-08-05 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 5 Aug 2005 19:03:59 +0000 (19:03 +0000)]
2005-08-05  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (query_statement|function|cu|module): Add explicit
nested try/catch, since elfutils iteration seems to block
exception catching.

18 years ago2005-08-05 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 5 Aug 2005 17:04:29 +0000 (17:04 +0000)]
2005-08-05  Frank Ch. Eigler  <fche@elastic.org>

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

18 years agospread the love
fche [Thu, 4 Aug 2005 12:32:16 +0000 (12:32 +0000)]
spread the love

18 years ago2005-08-03 Martin Hunt <hunt@redhat.com> release-0.2.2
hunt [Thu, 4 Aug 2005 00:02:12 +0000 (00:02 +0000)]
2005-08-03  Martin Hunt  <hunt@redhat.com>

* io.c  (_stp_vlog): Revert previous change for now.
* print.c (_stp_print_flush): Ditto.

18 years ago2005-08-03 Martin Hunt <hunt@redhat.com>
hunt [Wed, 3 Aug 2005 23:50:24 +0000 (23:50 +0000)]
2005-08-03  Martin Hunt  <hunt@redhat.com>

* transport.c: Comment out a couple printks.

18 years agoalternate entry point
fche [Wed, 3 Aug 2005 23:18:53 +0000 (23:18 +0000)]
alternate entry point

18 years ago2005-08-03 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 3 Aug 2005 22:40:13 +0000 (22:40 +0000)]
2005-08-03  Graydon Hoare  <graydon@redhat.com>

* tapsets.cxx (dwflpp): Fix address calculation logic a bit,
and use prologue-end addresses for function probes.

18 years ago2005-08-03 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 3 Aug 2005 22:14:41 +0000 (22:14 +0000)]
2005-08-03  Frank Ch. Eigler  <fche@redhat.com>

* 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.

18 years agoAdded buf info tracking, removed buf-full warning
trz [Wed, 3 Aug 2005 21:28:26 +0000 (21:28 +0000)]
Added buf info tracking, removed buf-full warning

18 years agoAdded transport failure message
trz [Wed, 3 Aug 2005 21:12:29 +0000 (21:12 +0000)]
Added transport failure message

18 years ago2005-08-03 Martin Hunt <hunt@redhat.com>
hunt [Wed, 3 Aug 2005 20:32:01 +0000 (20:32 +0000)]
2005-08-03  Martin Hunt  <hunt@redhat.com>

* 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.

18 years ago2005-08-03 Martin Hunt <hunt@redhat.com>
hunt [Wed, 3 Aug 2005 19:38:43 +0000 (19:38 +0000)]
2005-08-03  Martin Hunt  <hunt@redhat.com>
* librelay.c (init_stp): Change variable name to eliminate shadow warning.

18 years ago2005-08-03 Martin Hunt <hunt@redhat.com>
hunt [Wed, 3 Aug 2005 19:03:03 +0000 (19:03 +0000)]
2005-08-03  Martin Hunt  <hunt@redhat.com>

* configure.ac: Add stp_check to AC_CONFIG_FILES.
* stp_check.in : New file.

18 years ago2005-08-03 Martin Hunt <hunt@redhat.com>
hunt [Wed, 3 Aug 2005 18:52:23 +0000 (18:52 +0000)]
2005-08-03  Martin Hunt  <hunt@redhat.com>

* 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.

18 years ago2005-08-03 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 3 Aug 2005 16:54:12 +0000 (16:54 +0000)]
2005-08-03  Frank Ch. Eigler  <fche@elastic.org>

* README: Be more specific about prerequisites.
* tapset/builtin_string.stp: New builtin.
* testsuite/buildok/seven.stp, semko/eighteen.stp: New tests.

18 years ago.
roland [Wed, 3 Aug 2005 13:06:12 +0000 (13:06 +0000)]
.

18 years ago2005-08-03 Roland McGrath <roland@redhat.com>
roland [Wed, 3 Aug 2005 13:05:49 +0000 (13:05 +0000)]
2005-08-03  Roland McGrath  <roland@redhat.com>

* configure.ac, systemtap.spec.in: Version 0.2.1.
* Makefile.in, aclocal.m4, configure: Regenerated.

18 years ago.
roland [Wed, 3 Aug 2005 12:56:52 +0000 (12:56 +0000)]
.

18 years ago2005-08-02 Roland McGrath <roland@redhat.com>
roland [Wed, 3 Aug 2005 12:56:41 +0000 (12:56 +0000)]
2005-08-02  Roland McGrath  <roland@redhat.com>

* 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.

18 years ago.
roland [Tue, 2 Aug 2005 21:24:14 +0000 (21:24 +0000)]
.

18 years ago2005-08-02 Roland McGrath <roland@redhat.com>
roland [Tue, 2 Aug 2005 21:23:58 +0000 (21:23 +0000)]
2005-08-02  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in (%install): Remove parameters after %makeinstall.

18 years agombehm grammarianisms
fche [Tue, 2 Aug 2005 18:49:45 +0000 (18:49 +0000)]
mbehm grammarianisms

18 years ago2005-08-02 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 2 Aug 2005 18:03:17 +0000 (18:03 +0000)]
2005-08-02  Frank Ch. Eigler  <fche@elastic.org>

* 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.

18 years ago2005-08-02 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 2 Aug 2005 16:46:43 +0000 (16:46 +0000)]
2005-08-02  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (emit_registrations): Treat module_name="kernel"
as if module_name="".

18 years agonone
fche [Tue, 2 Aug 2005 11:15:26 +0000 (11:15 +0000)]
none

18 years ago2005-08-01 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 2 Aug 2005 03:17:28 +0000 (03:17 +0000)]
2005-08-01  Graydon Hoare  <graydon@redhat.com>

* 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().

18 years agotypo
fche [Mon, 1 Aug 2005 23:27:38 +0000 (23:27 +0000)]
typo

18 years ago2005-08-01 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 1 Aug 2005 23:23:08 +0000 (23:23 +0000)]
2005-08-01  Frank Ch. Eigler  <fche@redhat.com>

* librelay.c: Correct fwrite api usage.
* all: Correct copyright holder name.

18 years agotypos
fche [Mon, 1 Aug 2005 23:19:48 +0000 (23:19 +0000)]
typos

18 years ago2005-08-01 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 1 Aug 2005 22:53:56 +0000 (22:53 +0000)]
2005-08-01  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx: Support ".return" option for function probe points.
* testuite/buildok/five.stp: Try it.

18 years ago2005-08-01 Martin Hunt <hunt@redhat.com>
hunt [Mon, 1 Aug 2005 22:25:11 +0000 (22:25 +0000)]
2005-08-01  Martin Hunt  <hunt@redhat.com>

* 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.

18 years agoRemove "static" from probe_exit declaration.
hunt [Mon, 1 Aug 2005 22:09:32 +0000 (22:09 +0000)]
Remove "static" from probe_exit declaration.

18 years ago2005-08-01 Martin Hunt <hunt@redhat.com>
hunt [Mon, 1 Aug 2005 21:40:52 +0000 (21:40 +0000)]
2005-08-01  Martin Hunt  <hunt@redhat.com>

* 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.

18 years ago2005-08-01 Martin Hunt <hunt@redhat.com>
hunt [Mon, 1 Aug 2005 21:39:52 +0000 (21:39 +0000)]
2005-08-01  Martin Hunt  <hunt@redhat.com>

* 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().

18 years ago2005-08-01 Martin Hunt <hunt@redhat.com>
hunt [Mon, 1 Aug 2005 21:39:14 +0000 (21:39 +0000)]
2005-08-01  Martin Hunt  <hunt@redhat.com>

* 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.

18 years ago2005-08-01 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 1 Aug 2005 19:39:05 +0000 (19:39 +0000)]
2005-08-01  Frank Ch. Eigler  <fche@elastic.org>

* 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.

18 years ago2005-08-01 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 1 Aug 2005 17:40:26 +0000 (17:40 +0000)]
2005-08-01  Frank Ch. Eigler  <fche@elastic.org>

* 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.

18 years agomore meat
fche [Sun, 31 Jul 2005 16:01:36 +0000 (16:01 +0000)]
more meat

18 years ago* some more meat
fche [Fri, 29 Jul 2005 22:11:15 +0000 (22:11 +0000)]
* some more meat

18 years ago2005-07-29 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 29 Jul 2005 19:30:20 +0000 (19:30 +0000)]
2005-07-29  Frank Ch. Eigler  <fche@redhat.com>

From Graydon Hoare <graydon@redhat.com:
* tapsets.cxx (var_expanding_copy_visitor): Correct lvalue cases.

18 years ago2005-07-29 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 29 Jul 2005 18:48:38 +0000 (18:48 +0000)]
2005-07-29  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am: Make sure stpd goes into libexec/systemtap/
* Makefile.in: Regenerated.

18 years ago2005-07-29 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 29 Jul 2005 18:18:10 +0000 (18:18 +0000)]
2005-07-29  Frank Ch. Eigler  <fche@redhat.com>

* configure.ac: Fail configure stage if elfutils 0.111+ is not found.
* Makefile.am, elaborate.cxx, tapsets.cxx: Unconditionalize.
* configure, Makefile.in, config.in: Regenerated.

18 years ago.
roland [Fri, 29 Jul 2005 08:37:51 +0000 (08:37 +0000)]
.

18 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:14 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* configure.ac: Add AM_CONDITIONAL definition of HAVE_LIBDW.
* Makefile.am [HAVE_LIBDW] (stap_SOURCES_libdw): New variable.
(stap_SOURCES): Use it, moving loc2c.c there.
* configure, config.in: Regenerated.
* configure.ac: Don't check for libelf.h, not actually #include'd.
Update -ldw check for merged libdwfl+libdw.
(stap_LIBS): New substituted variable.  Set only this, not LIBS,
with -ldw check.
* Makefile.am (stap_LDADD): New variable, use @stap_LIBS@.

18 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:11 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* configure.ac: Add AM_CONDITIONAL definition of HAVE_LIBDW.
* Makefile.am [HAVE_LIBDW] (stap_SOURCES_libdw): New variable.
(stap_SOURCES): Use it, moving loc2c.c there.
* configure, config.in: Regenerated.

18 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:09 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Include %{_datadir}/systemtap/tapset directory.
(%check): Add section, run make check.
* Makefile.am (EXTRA_DIST): Add runtest.sh.
* Makefile.in: Regenerated.

18 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:06 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Include %{_datadir}/systemtap/tapset directory.
(%check): Add section, run make check.
* Makefile.am (EXTRA_DIST): Add runtest.sh.
* Makefile.in: Regenerated.
* systemtap.spec.in: Include man pages.
* Makefile.am (man_MANS): Renamed to dist_man_MANS.
* configure.ac: Add AM_CONDITIONAL definition of HAVE_LIBDW.
* Makefile.am [HAVE_LIBDW] (stap_SOURCES_libdw): New variable.
(stap_SOURCES): Use it, moving loc2c.c there.
* configure, config.in: Regenerated.
* configure.ac: Don't check for libelf.h, not actually #include'd.
Update -ldw check for merged libdwfl+libdw.
(stap_LIBS): New substituted variable.  Set only this, not LIBS,
with -ldw check.
* Makefile.am (stap_LDADD): New variable, use @stap_LIBS@.
* Makefile.am (AM_CPPFLAGS): Use ${pkgdatadir}.
(AM_CFLAGS): Use -W instead of -Wextra, for gcc 3 compatibility.
(stpd_LDFLAGS): Variable removed.
(AM_MAKEFLAGS): Variable removed.

18 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:04 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Include %{_datadir}/systemtap/tapset directory.
(%check): Add section, run make check.
* Makefile.am (EXTRA_DIST): Add runtest.sh.
* Makefile.in: Regenerated.
* systemtap.spec.in: Include man pages.
* Makefile.am (man_MANS): Renamed to dist_man_MANS.
* systemtap.spec.in (LDFLAGS): Punt using $ORIGIN here, just hard-code
%{_libdir}.
(elfutils_version): Bump to 0.111.
[bundled_elfutils]: Don't massage libdwfl.h header any more.

18 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:01 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* tapsets.cxx: <libdw.h> -> <elfutils/libdw.h>
* loc2c.c, loc2c.h: Likewise.

18 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:36:58 +0000 (08:36 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* configure.ac: Add AM_CONDITIONAL definition of HAVE_LIBDW.
* Makefile.am [HAVE_LIBDW] (stap_SOURCES_libdw): New variable.
(stap_SOURCES): Use it, moving loc2c.c there.
* configure, config.in: Regenerated.
* tapsets.cxx: <libdw.h> -> <elfutils/libdw.h>
* loc2c.c, loc2c.h: Likewise.

18 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:36:56 +0000 (08:36 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* main.cxx (main): Check return value of system.

18 years ago.
roland [Fri, 29 Jul 2005 08:18:22 +0000 (08:18 +0000)]
.

18 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:18:18 +0000 (08:18 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* librelay.c (process_subbufs): Use unsigned for I.
(sigproc): Add  __attribute__((unused)) on parameter.
(sigchld): Likewise.  Avoid shadowing global variable name.
(stp_main_loop): Add a cast.

18 years ago2005-07-28 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 29 Jul 2005 02:03:12 +0000 (02:03 +0000)]
2005-07-28  Frank Ch. Eigler  <fche@elastic.org>

* elaborate.cxx (find_var): Correct array dereferencing thinko.

18 years ago2005-07-28 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 29 Jul 2005 01:47:56 +0000 (01:47 +0000)]
2005-07-28  Graydon Hoare  <graydon@redhat.com>

* elaborate.cxx (derived_probe::derived_probe): Accept NULL probe.
* staptree.cxx (provide, require): Move from here...
* staptree.h: to here, and virtualize deep-copy methods.
* translate.cxx
(c_unparser::emit_common_header): Include loc2c-runtime.h
* tapsets.cxx
(dwflpp::iterate_over_modules): Use new, faster getmodules loop.
(dwflpp::literal_stmt_for_local): New method, call loc2c.
(var_expanding_copy_visitor): New struct which expands $-vars.
(dwarf_derived_probe): Rebuild this->body using var expander.
(query_function): Refactor logic a bit for speed.
* loc2c.{c,h}: Copies (with minor changes) of Roland's work
from elfutils CVS.
* Makefile.am (AM_CFLAGS): Set to elfutils-style.
(stap_SOURCES): Add loc2c.c.
* Makefile.in: Regenerate.

2005-07-28  Graydon Hoare  <graydon@redhat.com>

* loc2c-runtime.h: New file from elfutils CVS.

This page took 0.070168 seconds and 5 git commands to generate.