]> sourceware.org Git - systemtap.git/log
systemtap.git
18 years ago2005-08-22 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 22 Aug 2005 19:14:35 +0000 (19:14 +0000)]
2005-08-22  Frank Ch. Eigler  <fche@elastic.org>

PR systemtap/1134
* elaborate.h (module_fds): New member in systemtap_session.
* tapsets.cxx (dwarf_derived_probe ctor): Open /sys/module/$MOD/.text
for the duration of a systemtap session, to lock module in memory.

18 years ago2005-08-22 Martin Hunt <hunt@redhat.com>
hunt [Mon, 22 Aug 2005 19:12:38 +0000 (19:12 +0000)]
2005-08-22  Martin Hunt  <hunt@redhat.com>

* runtime.h (kbug): New dbug macros that calls printk.

18 years ago2005-08-22 Martin Hunt <hunt@redhat.com>
hunt [Mon, 22 Aug 2005 19:10:57 +0000 (19:10 +0000)]
2005-08-22  Martin Hunt  <hunt@redhat.com>

* transport.h: Don't define _stp_transport_write.
* transport.c (_stp_transport_write): Use
_stp_transport_send() when in probe_exit().

18 years ago2005-08-22 Martin Hunt <hunt@redhat.com>
hunt [Mon, 22 Aug 2005 19:06:42 +0000 (19:06 +0000)]
2005-08-22  Martin Hunt  <hunt@redhat.com>

* Makefile (debug): Add debug target.
* librelay.h (dbug): Define.
* librelay.c: Enable some dbug lines.

18 years agonone
fche [Mon, 22 Aug 2005 16:23:57 +0000 (16:23 +0000)]
none

18 years ago2005-08-21 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 21 Aug 2005 12:11:41 +0000 (12:11 +0000)]
2005-08-21  Frank Ch. Eigler  <fche@redhat.com>

PR systemtap/1195, systemtap/1193
* elaborate.cxx (alias_expansion_builder): Set new block token.
* parse.cxx (parse_symbol): Set new target_symbol token.
* runtest.sh: Store more pertinent failure data.
* tapsets.cxx (emit_probe_entries): Rewrite error-handling path.
* translate.cxx (emit_common_header): Goodbye errorcount, hello
last_error & last_stmt.
(c_unparser::visit_statement): New "header" for all other stmts.
(c_assignop, visit_binary_expression): Adapt to last_error.
* tapset/builtin_logging.stp: Adapt to last_error.

2005-08-21  Frank Ch. Eigler  <fche@redhat.com>

* arith.c (*): Adapt to last_error context variable.

18 years agonone
fche [Fri, 19 Aug 2005 22:04:42 +0000 (22:04 +0000)]
none

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

PR systemtap/1213
* translate.cxx (visit_if_statement): Translate else arms.

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

PR systemtap/1209
* tapsets.cxx
* elaborate.cxx (derived_probe_builder): Add get_param function.
* elaborate.h: Declare them.
* tapsets.cxx (dwarf_query::get_*_param): Call them.
(timer_derived_probe, timer_builder): New classes.
(register_standard_tapsets): Register timer.jiffies(N) and friend.
* translate.cxx (translate_pass): #include <linux/timers.h>.
* stap.1.in: Document timer.jiffies(N) probe points.
* testsuite/buildok/fourteen.stp: New test.

2005-08-19  Frank Ch. Eigler  <fche@elastic.org>

* arith.c (_stp_random_pm): New function.

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

* transport.c (_stp_cmd_handler): Remove. This was used by
stp-control.

* procfs.c (_stp_proc_write_cmd): Call schedule_work() instead
of running _stp_exit_handler immediately. Fixes a problem where
the module couldn't exit if all the output buffers were full.
Set .owner for the filesystem entries.

18 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 16:41:47 +0000 (16:41 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* librelay.c (reader_thread): Check the return value for write().

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

* librelay.c (modpath): New global.  Use it for insmod only.
* stpd.c (main): Set both modpath and modname, to support
modules specified by full path name.

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

* elaborate.cxx (find_var): Remove $pid/$tid builtin logic.

18 years agoFix typo.
hunt [Fri, 19 Aug 2005 11:46:52 +0000 (11:46 +0000)]
Fix typo.

18 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:38:43 +0000 (11:38 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* stp_check.in: Remove stp-control.

18 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:37:32 +0000 (11:37 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* runtime.h: Include io.c.

18 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:36:07 +0000 (11:36 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* shellsnoop/shellsnoop.c: Remove STP_NETLINK_ONLY.
* stp: Deleted. Use stpd directly.

18 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:27:04 +0000 (11:27 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* stpd.c (main): Simplify buffer size code.
* librelay.c: Major changes to support procfs instead of netlink.

18 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:23:57 +0000 (11:23 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

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

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

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

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

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

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

18 years agoCheck to see if relayfs available via /proc/filesystems.
wcohen [Thu, 18 Aug 2005 19:46:32 +0000 (19:46 +0000)]
Check to see if relayfs available via /proc/filesystems.

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.

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