]> sourceware.org Git - systemtap.git/log
systemtap.git
18 years ago.
roland [Thu, 25 Aug 2005 22:38:11 +0000 (22:38 +0000)]
.

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

* loc2c-runtime.h (deref_string): Rewritten using deref.

18 years ago.
roland [Thu, 25 Aug 2005 21:53:52 +0000 (21:53 +0000)]
.

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

* Makefile.am (EXTRA_DIST): List .h files explicitly.
Automake really does not like wildcards.
* Makefile.in: Regenerated.

18 years ago2005-08-25 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 25 Aug 2005 20:45:33 +0000 (20:45 +0000)]
2005-08-25  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (docs): Removed target.
* Makefile.in: Regenerated.

18 years agoRegenerated.
roland [Thu, 25 Aug 2005 20:19:12 +0000 (20:19 +0000)]
Regenerated.

18 years ago.
roland [Thu, 25 Aug 2005 20:14:46 +0000 (20:14 +0000)]
.

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

* Makefile.am (EXTRA_DIST): Remove directory from wildcard file names.

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

* tapsets.cxx (dwflpp::literal_stmt_for_local): Fetch pointer types,
array types, strings, from target.

18 years ago.
roland [Thu, 25 Aug 2005 03:01:34 +0000 (03:01 +0000)]
.

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

* loc2c-test.c (handle_variable): Iterate on const_type/volatile_type.

18 years ago(deref_string): prettify
roland [Thu, 25 Aug 2005 01:43:59 +0000 (01:43 +0000)]
(deref_string): prettify

18 years agosilly macro typos
fche [Thu, 25 Aug 2005 01:41:48 +0000 (01:41 +0000)]
silly macro typos

18 years ago.
roland [Thu, 25 Aug 2005 01:15:01 +0000 (01:15 +0000)]
.

18 years ago2005-08-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Aug 2005 01:14:57 +0000 (01:14 +0000)]
2005-08-24  Roland McGrath  <roland@redhat.com>

* loc2c-runtime.h (deref_string): New macro.

18 years ago2005-08-24 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 25 Aug 2005 00:46:38 +0000 (00:46 +0000)]
2005-08-24  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac: Require elfutils 0.114.
* tapsets.cxx: Brought back graydon's changes.
* configure: Regenerated.

18 years ago.
roland [Wed, 24 Aug 2005 22:47:16 +0000 (22:47 +0000)]
.

18 years ago2005-08-24 Roland McGrath <roland@redhat.com>
roland [Wed, 24 Aug 2005 22:47:05 +0000 (22:47 +0000)]
2005-08-24  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Update elfutils requirement.

18 years ago2005-08-24 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 24 Aug 2005 17:37:00 +0000 (17:37 +0000)]
2005-08-24  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (emit_global, emit_module_init): Use 2.6.9-compatible
rwlock initialization.

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

* librelay.c (sigproc): Removed the "Exiting..."
message for now.

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

* tapsets.cxx (*::emit_probe_entries): Treat NULL and "" last_errors
both as clean early returns, not errors.
* translate.cxx: Revamp last_error handling logic.  Remove all
"goto out" paths from expression context.
(visit_statement): Handle last_error exit one nesting level at a time.
(visit_return_statement, visit_functioncall): Set/reset last_error="".
(c_tmpcounter::visit_for_loop): New routine.
(c_unparser::visit_foreach, visit_for_loop): Rewrite to properly
support continue/breaks, non-local exits, (foreach) locks.
(emit_global): Emit lock variable.
(varlock ctor, dtor): Lock/unlock global variable.
(varlock_w, varlock_r): New concrete subclasses.  Update all users.
* tapset/builtin_logging.stp (exit): Don't set last_error.
* src/testsuite/buildok/sixteen.stp: New test.

* tapsets.cxx: Temporarily rolled back graydon's changes.

18 years ago2005-08-24 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 16:29:46 +0000 (16:29 +0000)]
2005-08-24  Martin Hunt  <hunt@redhat.com>

* io.c (_stp_vlog): Send warnings and errors to STP_OOB_DATA.

18 years ago2005-08-24 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 16:28:38 +0000 (16:28 +0000)]
2005-08-24  Martin Hunt  <hunt@redhat.com>

* transport_msgs.h (enum): New type, STP_OOB_DATA.

18 years ago2005-08-24 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 16:27:35 +0000 (16:27 +0000)]
2005-08-24  Martin Hunt  <hunt@redhat.com>

* librelay.c (sigproc): Reestablish signal handler so
impatient people don't hit ^C twice and terminate the
program before it saves the data and removes the module.
Also print a message to stderr that it is exiting.
(stp_main_loop): Write OOB data (warnings, errors, etc)
to stderr instead of stdout.
* librelay.h: Write debug info to stderr.
* Makefile: add librelay.h to dependencies.

18 years ago*** empty log message ***
hunt [Wed, 24 Aug 2005 05:07:21 +0000 (05:07 +0000)]
*** empty log message ***

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

* librelay.c (merge_output): Don't add an extra \n.

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

* transport.c (_stp_cleanup_and_exit): Remove a 2 second sleep
that should no longer be necessary.

* procfs.c (_stp_write): If the ready queue is not empty
then attempt to grab the last buffer in it and append our data
to it.

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

* runtime.h: Add a prototype for _stp_dbug().

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

* librelay.c (read_last_buffers): New function. Directly grab the
last buffers.
(info_pending): Deleted.
(request_last_buffers): Deleted.

18 years ago2005-08-23 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 23 Aug 2005 20:04:05 +0000 (20:04 +0000)]
2005-08-23  Graydon Hoare  <graydon@redhat.com>

* tapsets.cxx: Re-implement dwarf probe-pattern resolution.

18 years agotypo fix
fche [Tue, 23 Aug 2005 15:32:27 +0000 (15:32 +0000)]
typo fix

18 years agoNew benchmark: trans_bench.
hunt [Mon, 22 Aug 2005 22:19:57 +0000 (22:19 +0000)]
New benchmark: trans_bench.

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.

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