summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9459
-rw-r--r--Makefile.am3
-rw-r--r--Makefile.in19
-rw-r--r--doc/ChangeLog148
-rw-r--r--doc/Makefile.in3
-rw-r--r--initscript/ChangeLog6
-rw-r--r--man/ChangeLog24
-rw-r--r--runtime/ChangeLog2519
-rw-r--r--runtime/staprun/ChangeLog910
-rw-r--r--runtime/transport/ChangeLog862
-rw-r--r--tapset/ChangeLog2116
-rw-r--r--testsuite/ChangeLog2190
-rw-r--r--testsuite/Makefile.in95
-rw-r--r--testsuite/systemtap.examples/ChangeLog349
-rw-r--r--testsuite/systemtap.syscall/ChangeLog229
15 files changed, 76 insertions, 18856 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 315265a7..00000000
--- a/ChangeLog
+++ /dev/null
@@ -1,9459 +0,0 @@
-2009-02-19 Mark Wielaard <mjw@redhat.com>
-
- * translate.cxx (dump_unwindsyms): Ignore symbols before module
- base address.
-
-2009-02-18 Frank Ch. Eigler <fche@elastic.org>
-
- PR9719.
- * elaborate.cxx (typeresolution_info::mismatch): Initialize
- some locals so optimized code works too.
-
-2009-02-18 Rajan Arora <rarora@redhat.com>
-
- * testuite/semko/typemismatch.stp: New test.
-
-2009-02-18 Rajan Arora <rarora@redhat.com>
-
- * elaborate.cxx (typeresolution_info::mismatch): Generate semantic
- error for the token where type was resolved and add to chain
- * elaborate.h (struct typeresolution_info: public visitor): New
- members 'resolved_toks' and 'printed_toks'
-
-2009-02-18 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (dwarf_builder::build): If not found in .probes, use .label
- * includes/sys/sdt.h (STAP_PROBE): Always create .probes section.
- * dtrace: Use basename of -s if no -o given.
-
-2009-02-18 Josh Stone <jistone@redhat.com>
-
- * loc2c.c (c_translate_argument): Create a dummy location to start
- the address computation from a function parameter.
- * translate.cxx (base_query, dwarf_query): Move some members from
- base_query to dwarf_query, so the former can be more generic. Also
- add a constructor using a module string instead of probe parameters.
- (dwflpp::query_modules, dwflpp::iterate_over_modules): Use a generic
- base_query instead of a dwarf_query.
- (dwarf_cast_query): New query to scan the modules and CUs for a
- matching type definition, and then produce a code fragment to deref
- each component.
- (dwarf_cast_expanding_visitor): Tries to replace @casts with a function
- call to the result of a dwarf_cast_query.
- (dwflpp::declaration_resolve): Search by name instead of by die.
- (dwflpp::translate_components): Use the incoming vardie as the first
- type die, so we don't assume that attr_mem has a DW_AT_type already.
- (dwflpp::literal_stmt_for_pointer): Construct a C fragment that starts
- with a pointer argument (THIS->pointer) and dereferences each member
- component from there.
- (*_derived_probe::register_patterns): Take a session parameter instead
- of a match_node, so we can manipulate session-wide data.
- (dwarf_derived_probe::register_patterns): Add a session code filter to
- expand @casts with a dwarf_cast_expanding_visitor.
-
-2009-02-18 Josh Stone <jistone@redhat.com>
-
- * session.h (systemtap_session): Add a vector of update_visitors
- that will act as filters for all probes and functions.
- * elaborate.cxx (semantic_pass_symbols): Run probes and functions
- through each registered code filter.
-
-2009-02-18 Josh Stone <jistone@redhat.com>
-
- * tapsets.cxx (dwarf_var_expanding_visitor::visit_cast_op): While
- expanding dwarf probes, provide the current module as a default to
- @casts without a module name.
-
-2009-02-18 Josh Stone <jistone@redhat.com>
-
- * staptree.h (struct cast_op, visitor::visit_cast_op): New.
- * staptree.cxx (cast_op::print/visit, various visitor::visit_cast_op's):
- Incorporate cast_op into the basic tree operations.
- * parse.cxx (parser::parse_symbol): Parse @cast operator with an
- expression operand, type string, and optional module string.
- * translate.cxx (c_unparser::visit_cast_op): Error out if a @cast
- survives to translation.
- * elaborate.cxx (typeresolution_info::visit_cast_op): Error out if a
- @cast survives to type resolution.
- (symbol_fetcher::visit_cast_op): treat @casts as a symbol target
- (void_statement_reducer::visit_cast_op): unused @casts can be discarded,
- but the operand should still be evaluated.
-
-2009-02-17 Frank Ch. Eigler <fche@elastic.org>
-
- * AUTHORS: Regenerated with ...
- * AUTHORS.sh: New script.
-
-2009-02-17 Frank Ch. Eigler <fche@elastic.org>
-
- * configury throughout: autoreconf -f -i'd.
-
-2009-02-17 Frank Ch. Eigler <fche@elastic.org>
-
- * includes/sys/sdt.h: Change all parameter register constraints to
- "X" from "g".
-
-2009-02-17 Mark Wielaard <mjw@redhat.com>
-
- * Makefile.am (oldinclude_HEADERS): Set to includes/sys/sdt.h.
- (check): Explicitly set PWD and SYSTEMTAP_INCLUDES.
- * includes/sys/sdt.h: Moved from runtime dir.
- * Makefile.in: Regenerated.
- * aclocal.m4: Likewise.
- * configure: Likewise.
-
-2009-02-17 Elliott Baron <ebaron@redhat.com>
-
- PR 9716
- * configure.ac: Replace pkgconfig tests for NSS/NSPR includes/libs
- with AC macros.
- * Makefile.in: Regenerated.
- * aclocal.m4: Likewise.
- * configure: Likewise.
- * doc/Makefile.in: Likewise.
- * doc/SystemTap_Tapset_Reference/Makefile.in: Likewise.
- * testsuite/Makefile.in: Likewise.
- * testsuite/aclocal.m4: Likewise.
- * testsuite/configure: Likewise.
-
-2009-02-16 Mark Wielaard <mjw@redhat.com>
-
- PR 9850
- * dtrace: Use a list of arguments for call.
-
-2009-02-16 Mark Wielaard <mjw@redhat.com>
-
- PR 9851
- * dtrace: Use os.path.splitext instead of string.replace.
-
-2009-02-16 Mark Wielaard <mjw@redhat.com>
-
- PR 9849
- * dtrace: Use mkstemp.
-
-2009-02-15 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (dwflpp::iterate_over_cu_labels): Handle missing DW_AT_low_pc
- * (dwarf_builder::build): Handle c++ via .probe, c via .label.
-
-2009-02-13 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (dump_unwindsyms): Use \n instead of endl throughout
- for writing to the generated .c/.h files.
-
-2009-02-12 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (procfs_derived_probe_group::emit_module_decls):
- Moved inclusion of procfs.c here from runtime/transport.c
-
-2009-02-12 Mark Wielaard <mjw@redhat.com>
-
- * translate.cxx (dump_unwindsyms): Use "\n" instead of endl in
- inner loops.
-
-2009-02-11 Dave Brolley <brolley@redhat.com>
-
- * stap-client: s/jar/zip/.
- (unpack_response): Server response is now a .zip file. No longer
- signed, so no longer needs verification. Move Contents of server
- response down one directory level. META-INF no longer required to be
- present in the server response.
- * stap-server: s/jar/zip/.
- (create_response): Don't sign the server response. Use zip instead.
- * stap-server-connect.c: s/jar/zip/.
-
-2009-02-10 Josh Stone <jistone@redhat.com>
-
- * staptree.h (update_visitor::require): Add a clearok parameter for
- optimizing traversers to signal that they're ready for NULL back.
- * elaborate.cxx (dead_assignment_remover): Convert into an
- update_visitor and remove its now-redundant traversal methods.
- * elaborate.cxx (dead_stmtexpr_remover): Convert to an update_visitor.
- * elaborate.cxx (void_statement_reducer): Convert to an update_visitor.
-
-2009-02-10 Josh Stone <jistone@redhat.com>
-
- * tapsets.cxx (var_expanding_copy_visitor): This struct becomes
- var_expanding_visitor and inherits from update_visitor instead of
- deep_copy_visitor. Each of the probe-type variants of this are also no
- longer copiers.
-
-2009-02-10 Josh Stone <jistone@redhat.com>
-
- * staptree.h (update_visitor): A new visitor to make it easier to
- rewrite parts of a probe or function without making a full copy.
- * staptree.cxx (update_visitor::*): Each child is recursed with a
- require() call, and then the parent returns itself with provide().
- * staptree.h (deep_copy_visitor): Inherit from update_visitor to get
- the recursive descent while updating nodes.
- * staptree.cxx (deep_copy_visitor::*): Use the implicit copy
- constructors to copy all fields, then defer to update_visitor for the
- recursion. Referents are still cleared from the copies of symbols and
- function calls.
-
-2009-02-10 Josh Stone <jistone@redhat.com>
-
- * staptree.h (require, provide): Simplify stack operations with less
- pointer magic, and move to be deep_copy_visitor members.
- * staptree.h (deep_copy_visitor::deep_copy): Templatize
- * staptree.cxx, tapsets.cxx: Refactor require/provide callers
-
-2009-02-10 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (find_variable_and_frame_base): Tolerate -1 return
- value from dwarf_getscope_die.
-
-2009-02-07 Josh Stone <jistone@redhat.com>
-
- * buildrun.cxx (compile_pass): Pull in autoconf options in a header
- of #defines rather than -DXXX, and make that header a build dependency.
- * buildrun.cxx (output_autoconf): New function to consolidate the
- computation of each autoconf test.
- * cache.cxx (add_to_cache, get_from_cache, clean_cache): Start treating
- the stapconf header as a first-class cached item.
- * cache.h: Move definitions of things only needed in cache.cxx
- * hash.cxx (find_stapconf_hash): Generate stapconf_name as a .h now.
- * main.cxx (main): Default the stapconf_name based on getpid().
-
-2009-02-06 Josh Stone <jistone@redhat.com>
-
- * hash.cxx (find_hash): Compute a separate script-independent hash
- for caching autoconf values, saved in session.stapconf_path.
- * buildrun.cxx (compile_pass): Tweak the Makefile to read/save
- the autoconf values in the cache directory
-
-2009-02-06 Frank Ch. Eigler <fche@elastic.org>
-
- * buildrun.cxx: Add STAPCONF_PROCFS_OWNER test.
-
-2009-02-05 Will Cohen <wcohen@redhat.com>
-
- PR9756.
- * scripts/kernel-doc: Correct productname tag.
-
-2009-02-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR9740/9816?
- * buildrun.cxx: Add STAPCONF_VM_AREA autoconf test.
-
-2009-02-04 Mark Wielaard <mjw@redhat.com>
-
- * NEWS: process().mark(), sys/sdt.h and dtrace compatibility script.
-
-2009-02-04 Mark Wielaard <mjw@redhat.com>
-
- * NEWS: Mention run-stap.
-
-2009-02-04 Mark Wielaard <mjw@redhat.com>
-
- * NEWS: Add Beginner Guide.
-
-2009-02-04 Mark Wielaard <mjw@redhat.com>
-
- * NEWS: Mention SystemTap Tapset Reference Manual.
-
-2009-02-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR6961/9810.
- * tapsets.cxx (common_probe_entryfn_prologue): Revert.
- * translate.cxx (emit_common_header): Revert.
-
-2009-02-03 Dave Brolley <brolley@redhat.com>
-
- * NEWS: Update status of client/server.
- * stap-server.8.in: Add description of client/server certificate
- management and tools.
- * stap-server (initialization): Ensure that all server response
- files are created.
- (check_request): Parse the client's command line here.
- (check_comnpatibility): Don't require client/server platform match
- for phases 1-4.
- (fatal,error): Correct quoting typos.
- stap-server.8.in: Add SSL information.
- * stap-stop-server: Use 'ps -e' to list processes.
- * stap-add-server-cert: The directory name now refers to the database
- directly, not the directory below it.
- * stap-serverd: Specify the full database directory name when calling
- stap-add-server-cert.
-
-2009-02-03 Mark Wielaard <mjw@redhat.com>
-
- * elaborate.cxx (match_node::find_and_build): Disambiguate error
- messages.
-
-2009-02-02 Stan Cox <scox@redhat.com>
-
- * NEWS, stapprobes.5.in: Add process.label.
-
-2009-02-01 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (dwflpp::iterate_over_cu_labels): New.
- (query_cu): Use it.
- (dwarf_derived_probe::register_patterns): Register .label.
-
-2009-02-01 Mark Wielaard <mjw@redhat.com>
-
- * translate.cxx (dump_unwindsyms): Process extra_offset with
- dwfl_module_relocate_address.
-
-2009-01-30 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR6936
- * configure.ac (AC_CONFIG_FILES): Add initscript/systemtap.in.
- * configure: Regenerated.
- * systemtap.spec: Add systemtap-initscript subpackage.
-
-2009-01-30 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (install-scripts): New target. Set exec_prefix and
- sysconfdir properly in installed scripts.
- * stap-find-or-start-server: Set exec_prefix and sysconfdir for use
- from the source tree by dejagnu. Leave a hook to modify them when
- installed.
- * stap-start-server: Likewise.
- * stap-client (configuration): Likewise. Check for the existence of the
- default certificate databases before checking their security.
- (parse_options): Issue fatal error if no usable certificate databases
- found or specified.
- (check_db,check_db_file): Check that the database and files are owned
- by the user running the client.
- (fatal): Print "ERROR:" tag here. Adjust all callers.
- * stap-server (initialization): Set exec_prefix and sysconfdir for use
- from the source tree by dejagnu. Leave a hook to modify them when
- installed. Check that all specified files and directories exist.
- (fatal): Print "ERROR:" tag here. Adjust all callers.
- (error): Likewise.
- * stap-serverd (initialization): Set exec_prefix and sysconfdir for use
- from the source tree by dejagnu. Leave a hook to modify them when
- installed.
- (check_db,check_db_file,check_db_cert): Check that the database and
- files are owned by the user running the server.
- (fatal): Print "ERROR:" tag here. Adjust all callers.
- * Makefile.in: Regenerated.
- * aclocal.m4: Regenerated.
-
-2009-01-30 Frank Ch. Eigler <fche@elastic.org>
-
- * git_version.sh: Don't print GIT_BRANCH into GIT_MESSAGE, as it
- is local, and "(no branch)" confuses other stuff. The SHA1 commit
- ID is enough.
-
-2009-01-29 Dave Brolley <brolley@redhat.com>
-
- * stap-client (initialization): Set our_host_name and our_domain_name
- here.
- (find_and_connect_to_server): Correct the extraction of a host name
- looked up by ip address. Replace 'localhost' with the actual host name.
- (choose_server): Don't set our_host_name and our_domain_name here.
- Don't change the name of our host to 'localhost' here. Check that
- ahavi has provided the host name. Don't check that avahi has provided
- the ip address. Pass the host name to send_receive.
- (send_receive): Change the name of our host to 'localhost' here.
- (check_db): Add recommended (but not fatal) access permission checks.
- (check_db_file): Likewise.
- * stap-gen-server-cert: Create the certificate database and the
- certificate file with the recommended access permissions.
- * stap-server (initialization): Call check_db to check the security of
- the chosen certificate database.
- (check_db,check_db_file,check_cert_file,warning): New functions.
-
-2009-01-28 Dave Brolley <brolley@redhat.com>
-
- * stap-client (initialization): Call check_db to check the security of
- the default certificate databases. Initialize find_all.
- (parse_options): Handle the --server option.
- (process_server): New function.
- (process_ssl): Call check_db to check the security of the specified
- certificate database.
- (find_and_connect_to_server): Create the server's .jar file
- here. Create the connection log file here. Process $specified_servers
- if present. Use $find_all on stap-find-servers. Issue server connection
- error here ...
- (choose_server): ... not here.
- (send_receive): Don't create the server's .jar file here.
- Always check the local certificate databases. Echo the
- name of the database used to successfully authenticate the
- server.
- (check_db,check_db_file): New functions.
- (warning): New function.
- * stap-add-server-cert: Create the client database with 755 permissions.
- * stap-client-connect.c (sslerr.h): #include it.
- (errWarn): Handle SEC_ERROR_BAD_DATABASE and SSL_ERROR_BAD_CERT_DOMAIN.
- (do_connect): Don't call PR_GetHostByName or PR_EnumerateHostEnt.
- (client_main): No longer takes 'hostName' argument. Update all callers.
-
-2009-01-26 Mark Wielaard <mjw@redhat.com>
-
- * dtrace: Handle (absense of) -o argument correctly.
-
-2009-01-26 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (find_variable_and_frame_base): Allow for disjoint
- pc and scope_die.
- * runtime/sdt.h: Change label prefix.
-
-2009-01-26 Mark Wielaard <mjw@redhat.com>
-
- * configure.ac: Check for version.h.in before installing.
- * configure: Regenerated.
-
-2009-01-23 Frank Ch. Eigler <fche@elastic.org>
-
- PR9768.
- * tapsets.cxx (translate_location, translate_components,
- translate_final_fetch_or_store, literal_stmt_for_*): Don't pass
- superfluous module_bias down to loc2c code, since it's been
- subtracted out already.
-
-2009-01-23 Mark Wielaard <mjw@redhat.com>
-
- * configure.ac: Use install-pkgincludeHEADERS for elfutils to only
- get include-elfutils/elfutils/version.h. And explicitly exit if
- configuring elfutils fails.
- * configure: Regenerated.
- * .gitignore: Add build-elfutils, include-elfutils, lib-elfutils
- and stamp-elfutils.
-
-2009-01-23 Mark Wielaard <mjw@redhat.com>
-
- * configure.ac: Use make -k install-data for elfutils.
- * configure: Regenerated.
-
-2009-01-22 David Smith <dsmith@redhat.com>
-
- * systemtap.spec: Added 'nss-devel' buildreq so that the 'client'
- subpackage could be built correctly. Added file-based buildreq
- for xmlto's pdf support, which works on f8, f9, f9, and rhel5.
-
- * configure.ac: Fixed typo.
- * configure: Regenerated.
-
-2009-01-22 Stan Cox <scox@redhat.com>
-
- * dtrace: Rewritten to handle dtrace -h -G
- * runtime/sdt.h: New .probes layout. Make labels unique, args unused.
- * tapsets.cxx (dwarf_builder::build): New .probes layout.
- Don't reset location->components[0].
-
-2009-01-21 Mark Wielaard <mjw@redhat.com>
-
- * configure.ac: Create PIECFLAGS and PIECXXFLAGS, like PIELDFLAGS.
- Don't duplicate -pie in PIELDFLAGS.
- * configure: Regenerated.
- * Makefile.am: Add @PIECFLAGS@ and @PIECXXFLAGS@ to executable
- flags.
- * Makefile.in: Regenerated.
-
-2009-01-21 Mark Wielaard <mjw@redhat.com>
-
- * Makefile.am (distclean-local): Remove build-elfutils,
- include-elfutils and lib-elfutils here, not in clean-local.
- * Makefile.in: Regenerated.
- * configure.ac: Only muck with CPPFLAGS and include-elfutils when
- actually building with bundled elfutils.
- * configure: Regenerated.
-
-2009-01-21 Mark Wielaard <mjw@redhat.com>
-
- * Makefile.am (clean-local): Remove build-elfutils, include-elfutils
- and lib-elfutils.
- * Makefile.in: Regenerated.
- * aclocal.m4: Regenerated.
- * configure: Regenerated.
-
-2009-01-20 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (dwarf..:visit_target_symbol): Print more data
- for failed $$vars fields to help explain printed "var=?".
-
-2009-01-20 Frank Ch. Eigler <fche@elastic.org>
-
- * dwarf_wrappers.cxx (dwfl_assert): Tolerate rc==-1, for which
- dwfl_errmsg(-1)=>NULL.
-
-2009-01-19 Dave Brolley <brolley@redhat.com>
-
- * stap-serverd (initialization): Call stap-add-server-cert only if
- it has been installed.
-
-2009-01-13 Stan Cox <scox@redhat.com>
-
- * systemtap.spec (sdt-devel): New subpackage.
- * Makefile.am (oldincludedir): New.
- (oldinclude_HEADERS): New.
- (bin_SCRIPTS): Add dtrace
- * Makefile.in: Regenerated.
- * runtime/sduprobes.h: Renamed to sdt.h
-
-2009-01-13 Dave Brolley <brolley@redhat.com>
-
- * stap-find-or-start-server,stap-start-server,stap-serverd,stap-server:
- Ensure we call other systemtap tools from the installed location.
- * stap-client: Likewise. Also, use SYSTEMTAP_STAPRUN if it is set.
-
-2009-01-13 Dave Brolley <brolley@redhat.com>
-
- * stap-add-server-cert: Failure to make the client database readable
- is now only a warning. Directory argument now refers to the location
- of the 'client' directory.
- * stap-gen-server-cert: Ensure that the certificate is readable by
- all. Warn if unsuccessful. Don't add the certificate to the local
- client-side database.
- * stap-serverd: Call stap-add-server-cert after stap-gen-server-cert.
-
-2009-01-11 Wenji Huang <wenji.huang@oracle.com>
-
- * tapsets.cxx (dwarf_derived_probe_group::emit_module_decls): Fix too
- large number on 32-bits machines.
- (uprobe_derived_probe_group::emit_module_decls): Ditto.
-
-2009-01-11 Mark Wielaard <mjw@redhat.com>
-
- * configure.ac: Add prefix as STAP_PREFIX for config.h.
- * config.in: Regenerated.
- * configure: Regenerated.
-
-2009-01-09 Elliott Baron <ebaron@redhat.com>
-
- * stap.1.in: Added %M info.
-
-2009-01-09 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (stamp-ssl): Removed.
- (ssl/server/stap-server.cert): Removed.
- (install-data-local): Don't install $(builddir)/ssl.
- (stap-add-server-cert): Create database directory if it does not
- exist. Ensure the database is readable by others.
- * stap-client (initialization): Initialize local_ssl_dbs and
- public_ssl_dbs. Don't initialize ssl_db.
- (parse_options): Concatenate additional_local_ssl_dbs with
- local_ssl_dbs.
- (process_ssl): Build up additional_local_ssl_dbs in the order
- specified on the command line.
- (choose_server): Set server for non-local domains. Print
- $tmpdir_client/connect to stderr if we can't connect.
- (send_receive): Try connecting to the given server using all of the
- databases in $local_ssl_dbs and $public_ssl_dbs. Keep log in
- $tmpdir_client/connect.
- (interrupt): Use SIGTERM to kill stap-client-connect.
- * stap-client-connect.c (prerror.h,secerror.h): #include them.
- (errWarn): Try to the the error text from NSPR. Handle specific errors
- manually otherwise.
- (handle_connection): Stop processing on write error of the local file.
- (do_connect): Cleanup on error. Call SSL_ForceHandshake to catch
- authentication errors here.
- * stap-gen-server-cert: Don't create the client's database directory.
- * stap-server: Redirect the output of signtool to /dev/null.
- * stap-server-connect.c (handle_connect): Call SSL_ForceHandshake to catch
- authentication errors here. Clean up temp files on error.
- (accept_connection): Don't close the socket on error.
- stap-serverd (initialization): Print a message if the given socket is busy.
- Search for a local certificate database. Create and initialize one if not
- found.
- (listen): Don't discard stderr fomr stap-server-connect.
- * stap-start-server: Check for existence of local certificate database as
- evidence that the server is listening.
- * Makefile.in: Regenerated.
-
-2009-01-08 William Cohen <wcohen@redhat.com>
-
- * configure.ac: Check for xmlto that generates pdf.
- * configure: Regenerated.
-
-2009-01-07 William Cohen <wcohen@redhat.com>
-
- * configure.ac: Add --enable-refdocs configure option and
- set check for xmlto
- * Makefile.in: Regenerated.
- * aclocal.m4: Likewise.
- * configure: Likewise.
-
-2009-01-07 Mark Wielaard <mjw@redhat.com>
-
- * configure.ac: Warn when not building docs because tools not found.
- * configure: Regenerated.
-
-2009-01-07 Mark Wielaard <mjw@redhat.com>
-
- * configure.ac: Add --enable-server configure option and
- set BUILD_SERVER appropriately.
- * Makefile.am (man_MANS, bin_PROGRAMS, bin_SCRIPTS): Only add
- stap-server and friends when BUILD_SERVER set.A
- * Makefile.in: Regenerated.
- * aclocal.m4: Likewise.
- * configure: Likewise.
-
-2009-01-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR9699.
- * buildrun.cxx (compile_pass): Add $(LINUXINCLUDES) to autoconf
- trial builds. Add new autoconf test for task_struct uid->cred switch.
-
-2009-01-06 Dave Brolley <brolley@redhat.com>
-
- * systemtap.spec (stap-client): Add stap-add-server-cert,
- stap-client-connect.
- (stap-server): Add stap-server-connect.
-
-2009-01-05 Dave Brolley <brolley@redhat.com>
-
- PR9702
- * stap-gen-server-cert: Try mkpasswd, apg and then user_enter_password
- when generating the password for the server certificate/key
- database.
- (user_enter_password): New function.
-
-2008-12-31 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (dump_unwindsyms): Adapt to elfutils build-id
- bug that was fixed in 0.138.
- * configure.ac: Look for elfutils/version.h.
- * config.in, configure: Regenerated.
-
-2008-12-30 Dave Brolley <brolley@redhat.com>
-
- PR9692
- From Eugeniy Meshcheryakov <eugen@debian.org>
- * Makefile.am (stap_client_connect_CFLAGS): Use $(nss_CFLAGS) and
- $(nspr_CFLAGS).
- (stap_server_connect_CFLAGS): Likewise.
- * configure.ac: Use PKG_CHECK_MODULES to configure nss and nspr.
- * Makefile.in: Regenerated.
- * aclocal.m4: Regenerated.
- * configure: Regenerated.
-
-2008-12-30 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (install-data-local): Test for existence of $(builddir)/ssl
- before installing it.
- * Makefile.in: Regenerated.
-
-2008-12-29 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (install-data, uninstall-data): Use
- $(DESTDIR)$(sysconfdir) instead of hard-coded /etc paths.
-
-2008-12-26 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (stamp-ssl): Disable automatic building of this target.
- * Makefile.in: Regenerated.
-
-2008-12-24 Dave Brolley <brolley@redhat.com>
-
- * stap-client (netcat): Removed.
- (initialization): Initialize ssl_db.
- (parse_options): Handle the --ssl option.
- (process_ssl): New function.
- (send_request): Removed.
- (receive_response): Removed.
- (unpack_response): Use signtool to verify the contents of the
- server's response against a local copy of the server's
- certificate.
- (find_and_connect_to_server): Make sure the server is referred to
- as localhost if it is running on the local host. Call send_receive
- in order to contact the server and perform the transaction.
- (connect_to_server): Removed.
- (disconnect_from_server): Removed.
- (send_receive): New function.
- (process_response): Work in $tmpdir_server.
- (terminate, interrupt): Kill any running stap-client-connect.
- * stap-find-or-start-server: Pass arguments to stap-start-server.
- * stap-start-server: Pass arguments to stap-serverd.
- * stap-server (port): Removed.
- (netcat): Removed.
- (receive_request): Removed.
- (unpack_request): Use unzip.
- (package_response): Use signtool to sign the response into a .jar
- archive.
- (send_response): Removed.
- * stap-serverd (netcat): Removed.
- (port1): Removed.
- (initialize): Don't call recursively. Use a loop to select a port.
- (listen): Call stap-server-connect.
- (process_request): Removed.
- (terminate): Kill any running stap-server-connect job.
- * systemtap.spec: client and server sub packages require nss and nss-tools,
- and no longer require nc or net-tools.
- * Makefile.am (bin_PROGRAMS): Add stap-client-connect and
- stap-server-connect.
- (bin_SCRIPTS): Add stap-gen-server-cert.
- (stap_client_connect_LDFLAGS, stap_server_connect_LDFLAGS): New.
- (stamp-ssl): New target.
- (ssl/server/stap-server.cert): New target.
- (stap_client_connect_*): New.
- (stap_server_connect_*): New.
- (install-data-local): Install /etc/systemtap/ssl.
- (uninstall-local): Remove /etc/systemtap.
- * Makefile.in: Regenerated.
- * aclocal.m4: Regenerated.
-
-2008-12-22 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR7090
- * buildrun.cxx (compile_pass): Use flags macro to expand KBUILD_CFLAGS
- for support kernels built with O= option.
-
-2008-12-21 Will Cohen <wcohen@redhat.com>
-
- * systemtap.spec: Add generations of tapset reference manual material.
-
-2008-12-21 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (dwflpp::die_has_pc): Don't abort if dwarf_ranges fails.
- (dwflpp::find_variable_and_frame_base): A pc requires dwarf_nscopes
-
-2008-12-19 Elliott Baron <ebaron@redhat.com>
-
- PR3668
- * elaborate.cxx: Handling for %M.
- * runtime/vsprintf.c: Likewise.
- * staptree.cxx: Likewise.
- * translate.cxx: Likewise.
- * staptree.h: Added %M converter, conv_memory_hex, to enum
-
-2008-12-16 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec (Requires): Add kernel-devel, is correct virtual
- provide in kernel-*-devel rpms.
- (with_sqlite): Typo fix in default defn check.
- [%{with_sqlite}] (Requires): Remove. BuildRequires causes the correct
- automatic dependency.
-
-2008-12-16 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (dwarf_builder::build): Consider alignment when
- fetching .probes values. Convert .mark to .statement(0x) instead
- of .statement(foo.c:N)
-
-2008-12-11 Dave Brolley <brolley@redhat.com>
-
- PR7087
- * stap-client: Don't use -d on netcat. Redirect from /dev/null instead.
- * stap-server: Likewise.
- * stap-serverd: Likewise.
-
-2008-12-09 Frank Ch. Eigler <fche@elastic.org>
-
- PR6961
- * tapsets.cxx (common_probe_entryfn_prologue): Add new "fakeregs"
- param. Set context regs_buffer with plausible dummy values if needed.
- Update callers.
- (mark_builder::build): Add kernel to unwindsyms_modules.
- * translate.cxx (emit_common_header): Add pt_regs regs_buffer field
- to context.
-
-2008-12-09 Dave Brolley <brolley@redhat.com>
-
- PR7087
- * stap-client: Use netcat or nc, whichever is available.
- * stap-server: Likewise.
- * stap-serverd: Likewise.
-
-2008-12-08 David Smith <dsmith@redhat.com>
-
- RHBZ 474390
- * tapsets.cxx (dwflpp::cu_function_caching_callback): Handles NULL
- return from dwarf_diename().
- (dwflpp::print_locals): Ditto.
- (dwflpp::find_variable_and_frame_base): Ditto.
- (dwflpp::literal_stmt_for_return): Ditto.
- (dwarf_builder::build): Ditto.
-
-2008-12-08 Frank Ch. Eigler <fche@elastic.org>
-
- PR7062
- * buildrun.cxx (uprobes_home): Make local, based on
- session.runtime_path.
-
-2008-12-05 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx, translate.cxx: Set default elfutils debuginfo_path
- to start with "+", to enable debuginfo<->stripped checksum checking.
- * stap.1.in: Note this.
-
-2008-12-05 Kent Sebastian <ksebasti@redhat.com>
-
- PR7051
- * doc/langref.tex, elaborate.cxx, runtime/vsprintf.c,
- stap.1.in, staptree.cxx, staptree.h, translate.cxx:
- Remove printf %n directive and references to it in documentation.
-
-2008-12-03 Roland McGrath <roland@redhat.com>
-
- PR6925
- * run-stap.in: New file.
- * configure.ac: Generate run-stap from it.
- * configure: Regenerated.
-
- PR7063
- * buildrun.cxx (run_pass): Obey SYSTEMTAP_STAPRUN environment variable.
-
-2008-12-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR6925
- * configure.ac: Suggest --prefix if configured without.
- * configure: Regenerated.
-
-2008-12-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5982: rename -B to -r
- * main.cxx (main): Treat -r REV and -r /PATH as complimentary.
- Imply -p4 if target mismatches host versions.
- (usage): Document -r more.
- * hash.cxx (find_hash): Add in the kernel_build_tree.
- * buildrun.cxx (compile_pass, kernel_built_uprobes): Simplify
- logic.
- * tapsets.cxx (setup_kernel, setup_user): Ditto.
- * translate.cxx (emit_symbol_data): Ditto.
- * stap.1.in: Document -r /PATH.
-
-2008-12-01 Rajan Arora <rarora@redhat.com>
-
- PR 5892: Add -B and parameterize all occurences of /lib/modules/...
- * buildrun.cxx (compile_pass, kernel_built_uprobes): Audit
- mentions of /lib/modules/... with path to kernel_build_tree
- provided by -B.
- * tapsets.cxx (setup_kernel, setup_user, mark_builder::build):
- Likewise.
- * translate.cxx (emit_symbol_data): Likewise.
- * session.h (struct systemtap_session): New member kernel_build_tree.
- * main.cxx (main): Add case for 'B' and attempt to fetch Version for
- the kernel build tree using include/config/kernel.release in build
- path, remove -r REV implies -p4 logic altogether.
-
-
-2008-11-29 Frank Ch. Eigler <fche@elastic.org>
-
- Warnings cleanup.
- * buildrun.cxx (verify_uprobes_uptodate, make_uprobes): Simplify
- messages.
- * cache.cxx (add_to_cache, clean_cache): Reset s.use_cache upon
- failure.
- * hash.cxx (find_hash): Ditto.
- * main.cxx (main): Simplify/conditionalize warning messages. Save
- module to $cwd if last_pass==4 but cache encountered errors.
-
-2008-11-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6965.
- * translate.cxx (dump_unwindsyms): Tweak symbols for
- STP_NEED_{SYMBOL,UNWIND}_DATA
-
-2008-11-28 Elliott Baron <ebaron@redhat.com>
-
- PR 6965.
- * translate.cxx (dump_unwindsyms): Output #ifdef for
- symbol table.
-
-2008-11-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5376.
- * parse.cxx (parse::parse_probe): Prevent alias names from
- being marked "?" or "!".
-
-2008-11-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6477.
- * elaborate.cxx (print_error_source, print_warning): Tolerate
- NULL token.
-
-2008-11-27 Frank Ch. Eigler <fche@elastic.org>
-
- PR 7036
- From Wenji Huang <wenji.huang@oracle.com>:
- * elaborate.cxx (print_error): Don't suppress if listings_mode.
- * main.cxx (main): Suppress "pass N failed" if listings_mode.
-
-2008-11-26 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (dwarf_builder::build): Support debuginfo static uprobes.
-
-2008-11-26 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_module_exit): Add another synchronize_sched.
-
-2008-11-26 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): Advise users to try '--vp ...' after a pass error.
-
-2008-11-26 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_module_exit): Call synchronize_sched during
- module shutdown if it's available.
- * buildrun.cxx (compile_pass): Test for it.
-
-2008-11-25 Frank Ch. Eigler <fche@elastic.org>
-
- PR 7046.
- * tapsets.cxx (uprobe*emit_module_decls): Rewrite the generated
- stap_uprobe_change function, to hold mutex for a shorter period
- and to produce more meaningful KERN_INFO traces if -DDEBUG_UPROBES.
- (uprobe*emit_module_exit): Switch to KERN_INFO also.
-
-2008-11-25 Will Cohen <wcohen@redhat.com>
-
- * scripts/kernel-doc: Clean up SystemTap function formatting.
-
-2008-11-25 Will Cohen <wcohen@redhat.com>
-
- * scripts/kernel-doc: Make executable.
-
-2008-11-25 Will Cohen <wcohen@redhat.com>
-
- * scripts/kernel-doc: New.
- * configure.ac: Add doc/SystemTap_Tapset_Reference/Makefile.
- * configure, doc/SystemTap_Tapset_Reference/Makefile.in: Regenerate.
-
-2008-11-25 Mark Wielaard <mjw@redhat.com>
-
- * tapsets.cxx (dwarf_derived_probe_group::emit_module_exit):
- struct stap_dwarf_probe field is called pp, not pp_name.
-
-2008-11-24 Kent Sebastian <ksebasti@redhat.com>
-
- PR 4978.
- * stap.1.in (PRINTING): printf directives, more examples.
-
-2008-11-22 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (MAXUPROBES): Tweak its definition. Use it
- consistently.
- * stap.1.in (MAXUPROBES): Document it.
-
-2008-11-22 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5689.
- * tapsets.cxx (dwarf_derived_probe_group::emit_module_exit,decls):
- Print kprobe missed stats if STP_TIMING.
- (uprobe_derived_probe_group::emit_module_exit,declx): Track
- uprobe missed stats if STP_TIMING>
- * translate.cxx (emit_module_exit): Print uprobe missed stats.
-
-2008-11-21 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5689.
- * tapsets.cxx (common_probe_entryfn_{pro,epi}logue):
- Track separate skip counts for low-stack and reentrancy conditions.
- * translate.cxx (emit_common_header): Declare counters.
- (emit_module_exit): Print them.
- (emit_unlocks): Don't bother redundantly testing skipped_count.
-
-2008-11-21 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_module_exit): Perform shutdown probe
- synchronization after all unregistrations and end/error probe
- runs.
-
-2008-11-20 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5689
- * translate.cxx (emit_global, emit_global_init, emit_module_exit,
- emit_locks): Track & print global.s_VAR_lock_skip_count.
-
-2008-11-20 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): Correct thinko in --vp option with <5 arg chars.
-
-2008-11-18 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 6879
- * runtime/uprobes2/uprobes_x86.c: Allow probing of instructions
- with fs: and gs: prefixes. Apply fix from runtime/uprobes.
-
-2008-11-18 Frank Ch. Eigler <fche@elastic.org>
-
- PR6925.
- * main.cxx (usage,main): Process new --vp option.
- * session.h (perpass_verbose): New field.
-
-2008-11-11 Stan Cox <scox@redhat.com>
-
- * Makefile.am (pkglib_LIBRARIES): New.
- * Makefile.in: Regenerated
- * stapprobes.5.in (process.mark): New.
- * tapsets.cxx (register_patterns): Add process.mark.
- (dwarf_builder::build): Likewise.
-
-2008-11-14 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (common_probe_entryfn_{pro,epi}logue):
- Set "interruptible" to default true, thus disabling local_irq_*
- calls for all current probe point types.
-
-2008-11-13 Wenji Huang <wenji.huang@oracle.com>
-
- PR 7000
- * translate.cxx (c_unparser::visit_print_format): Add checking bound
- for actual parameters.
-
-2008-11-13 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.spec, configure.ac: Bump version to 0.8.
- * configure.in: Regenerated.
-
-2008-11-11 Przemysław Pawełczyk <przemyslaw@pawelczyk.it>
- Mark Wielaard <mjw@redhat.com>
-
- * tapsets.cxx (find_variable_and_frame_base): Add scope name to
- semantic error messages if available.
-
-2008-11-06 Wenji Huang <wenji.huang@oracle.com>
-
- PR 6998
- * tapsets.cxx (profile_builder): Add default kernel symbols to profile.
-
-2008-11-06 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (dwflpp::module_address_to_global):
- ET_EXEC needs no further relocation.
-
-2008-11-04 Frank Ch. Eigler <fche@elastic.org>
-
- From Masami Hiramatsu <mhiramat@redhat.com>, PR 6028.
- * tapsets.cxx (dwarf_derived_probe): New field access_vars, for
- tracking result from ..
- (dwarf_var_expanding_copy_visitor): Collect a flag about whether
- any $expressions appear within.
- (emit_probe_local_init): ... and run ia64 bspcache() on if true.
-
-2008-11-03 Jim Keniston <jkenisto@us.ibm.com>
-
- Add a version of uprobes that works with the 2.6.27 version of utrace.
- * runtime/uprobes2/uprobes.[ch]: uprobes2
- * runtime/uprobes2/uprobes_x86.[ch]: Simplified to use post-2.6.24
- unified pt_regs names ("ax" rather than "eax" or "rax").
- * runtime/uprobes2/uprobes_arch.[ch]: Pull in the arch-specific
- file from the appropriate directory.
- * runtime/uprobes/uprobes.[ch]: #ifdef added to pull in file from
- ../uprobes2 if we're running the new utrace.
- * runtime/uprobes/Makefile: Updated
- * Makefile.am: Install runtime/uprobes2/*.
- * Makefile.in: Regenerated
- * buildrun.cxx: Always copy uprobes's Module.symvers into the
- directory where stap builds the script .ko.
-
-2008-11-03 Mark Wielaard <mjw@redhat.com>
-
- * tapsets.cxx (literal_stmt_for_return): Add function name and file
- to semantic error messages.
-
-2008-10-29 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (dump_unwindsyms): Work on CONFIG_RELOCATABLE=n
- kernels, or for whatever other scenarios dwfl_module_relocation_info
- might return NULL.
-
-2008-10-27 Josh Stone <joshua.i.stone@intel.com>
-
- * translate.cxx (c_unparser::visit_print_format): Fix the argument passed
- for printf %c formats.
-
-2008-10-27 Rajan Arora <rarora@redhat.com>
-
- * elaborate.cxx (add_global_var_display): Added check for globals
- from tapsets.
-
-2008-10-24 Josh Stone <joshua.i.stone@intel.com>
-
- * tapsets.cxx (hrtimer_derived_probe_group::emit_module_decls): Support
- the new abstractions around the hrtimer expires field. The field is
- renamed starting in 2.6.28-rc1, but accessor functions are provided for
- general access.
- * buildrun.cxx (compile_pass): Added autoconf-hrtimer-getset-expires.c
-
-2008-10-24 Jim Keniston <jkenisto@us.ibm.com>
-
- PR6946
- * tapsets.cxx: Allow probing of 32-bit ppc apps with
- a ppc64 kernel.
-
-2008-10-20 Elliott Baron <ebaron@redhat.com>
-
- PR6851
- * elaborate.cxx (typeresolution_info::visit_print_format): add case
- for conv_char.
- * staptree.cxx (print_format::components_to_string): add case for
- conv_char.
- (print_format::string_to_components): add parsing for "c" conversion.
- * staptree.h (enum conversion_type): add conv_char member.
-
-2008-10-17 Frank Ch. Eigler <fche@elastic.org>
-
- * stap-report: Add kernel config extracts. Generate to stdout.
- * Makefile.am (bin_SCRIPTS): Install it.
- * systemtap.spec: Package it.
- * Makefile.in: Regenerated.
-
-2008-10-17 Jim Keniston <jkenisto@us.ibm.com>
-
- PR6923
- * runtime/autoconf-oneachcpu-retry.c: Compiles successfully on
- old kernels.
-
-2008-10-14 Kent Sebastian <ksebasti@redhat.com>
-
- * cache.cxx (cache_clean): Minor changes, mainly stylistic.
- * session.h: remove cache_max member var (used only in cache.cxx now)
-
-2008-10-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR6749
- * tapsets.cxx (dwarf_derived_probe_group::emit_module_init): Tolerate
- failed register_*kprobe during initialization; warn instead.
-
-2008-10-10 Kent Sebastian <ksebasti@redhat.com>
-
- * cache.cxx (cache_clean): New group of functions implementing cache
- size limiting.
-
-2008-10-09 Rajan Arora <rarora@redhat.com>
-
- * elaborate.cxx (systemtap_session::print_error_source): New.
- (systemtap_session::print_error): Call it.
- (systemtap_session::print_warning): Likewise.
- * parse.cxx (parser::print_error): Likewise.
- * session.h (struct systemtap_session::print_error_source):
- Declare it.
- * parse.cxx (lexer::get_input_contents): New.
- (parser::parse): Call it.
- (lexer::set_current_file): New.
- (parser::parse): Call it.
- * parse.h (class lexer::get_input_contents): Declare it.
- (class lexer::set_current_file): Declare it.
- (class lexer): New member current_file.
- (class lexer): Update input_contents from vector<char>
- to std::string.
- (struct source_loc): New member stap_file.
- * staptree.h (struct stapfile): New member file_contents.
-
-2008-10-09 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (query_cu): Fix typo.
-
-2008-10-06 Wenji Huang <wenji.huang@oracle.com>
-
- PR 4886
- * translate.cxx (dump_unwindsyms): Extract build-id from debuginfo.
- (emit_module_init): Check build-id if able.
-
-2008-10-03 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 6850
- * runtime/uprobes/uprobes.c: When a probed process forks with
- uretprobe_instances outstanding, create a uprobe_process and
- uprobe_task for the child, and clone the uretprobe_instances.
- This requires us to allow the SSOL vma to be copied on fork.
- * testsuite/systemtap.base/bz6850.{exp,c,stp}: new test case
-
-2008-09-30 Mark Wielaard <mjw@redhat.com>
-
- * tapsets.cxx (literal_stmt_for_local): Check if alternatives can be
- provided after calling dwarf_formref_die.
- (literal_stmt_for_return): Likewise.
-
-2008-09-26 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (add_global_var_display): Implicitly sort arrays.
-
-2008-09-26 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6916
- * elaborate.cxx (systemtap_session::print_error): Fix
- duplicate elimination in face of token compression.
- * tapsets.cxx (literal_stmt_for_local, literal_stmt_for_return):
- Change error message to fit old pattern.
-
-2008-09-26 Frank Ch. Eigler <fche@elastic.org>
-
- BZ 6829: avoid calling unregister_uprobe() when responding
- to a task-finder exec/exit callback, as uprobes likes to
- clean such things up by itself.
-
-2008-09-12 Prerna Saxena <prerna@linux.vnet.ibm.com>
-
- BZ 3016 : Handling members of anonymous structs/unions
- * tapsets.cxx (translate_components, print_members) : enable
- translator to identify members of anonymous structs / unions.
- * testsuite/semok/thirtythree.stp : New test-case.
- * NEWS : Modify translator code to identify members of anonymous
- structs/unions.
-
-2008-09-24 Mark Wielaard <mjw@redhat.com>
-
- * dwarf_wrappers.cxx (dwfl_assert(string,bool)): Call
- dwfl_assert(string,int), not dwarf_assert().
-
-2008-09-12 Dave Brolley <brolley@redhat.com>
-
- * stap-client (staprun_PATH): Ensure that $first_stap is not empty.
- * stap-start-server: Use 'ps' to check that the server started.
-
-2008-09-12 Masami Hiramatsu <mhiramat@redhat.com>
-
- BZ 6028
- * tapsets.cxx (dwarf_derived_probe::emit_probe_local_init): Use REG_IP
- instead of pp to check probe address.
-
-2008-09-12 Frank Ch. Eigler <fche@elastic.org>
-
- GCC 4.4 (var-tracking) build-compatilibity.
- * parse.h: #include <stdint.h>.
- * tapsets.cxx (utrace_...::visit_target_symbol_arg): Use
- lex_cast<int>(foo) instead of atoi(foo.c_str()) for simpler
- c++ object lifetime.
- * Makefile.am (staprun_CFLAGS, stapio_CFLAGS): Add
- -fno-strict-aliasing, since that code is too casual with pointers.
- * Makefile.in: Regenerated.
-
-2008-09-12 Dave Brolley <brolley@redhat.com>
-
- PR6881.
- From Eugeniy Meshcheryakov eugen@debian.org:
- * stap-server.8.in: Correct formatting problems.
-
-2008-09-12 Dave Brolley <brolley@redhat.com>
-
- * stap-find-servers (match_server): Don't read past the start of the
- next server description. Don't use '^' at the start of the regexp
- on calls to 'expr'.
- * systemtap.spec: client and server sub packages require avahi.
-
-2008-09-12 Wenji Huang <wenji.huang@oracle.com>
-
- * elaborate.cxx (add_global_var_display): Don't, in listing mode.
-
-2008-09-11 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6871.
- * tapsets.cxx (query_cu): Search for prologues for user-space probes.
- (query_func_info): Use prologue_end if available; silently back down
- to entrypc probing if needed.
-
-2008-09-10 Josh Stone <joshua.i.stone@intel.com>
-
- * main.cxx (printscript): Ensure no variables are printed in probe lists
- unless -L was specified.
-
-2008-09-10 Frank Ch. Eigler <fche@elastic.org>
-
- * parse.cxx, parse.h: Rewrite scanner lookahead data structure
- to a simple ~fixed vector.
-
-2008-09-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR6876: translator speedup for many $vars
- * session.h (systemtap_session.functions): vector->map.
- * coveragedb.cxx, elaborate.cxx, main.cxx, tapsets.cxx, translate.cxx:
- Adapt all users.
-
-2008-09-10 Mark Wielaard <mjw@redhat.com>
-
- * configure.ac: Check for dwarf_getelf. elfutils 0.126+.
- Use AM_PROG_MKDIR_P instead of AC_PROG_MKDIR_P.
- * Makefile.in: Regenerated.
- * aclocal.m4: Likewise.
- * config.in: Likewise.
- * configure: Likewise.
-
-2008-09-10 Dave Brolley <brolley@redhat.com>
-
- * systemtap.spec: Remove avahi-tools and nc from dependencies
- for systemtap and systemtap-runtime packages. Remove stap-*
- scripts from %files of systemtap and systemtap-runtime
- packages. Make sure systemattap-runtime only picks up
- staprun.8* man pages. Create new systemtap-client and
- systemtap-server packages.
- * NEWS: Add network security warning for the systemtap
- client/server.
-
-2008-09-10 Mark Wielaard <mjw@redhat.com>
-
- * translate.cxx (dump_unwindsyms): Rename module_base output to
- dwarf_module_base.
-
-2008-09-10 Mark Wielaard <mjw@redhat.com>
-
- * translate.cxx (dump_unwindsyms): Output module_base.
-
-2008-09-10 Mark Wielaard <mjw@redhat.com>
-
- * translate.cxx (get_unwind_data): New function.
- (dump_unwindsyms): Output unwind data.
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * stapprobes.5.in: Added a description about $return.
- * NEWS: Ditto.
- * tapsets.cxx (utrace_var_expanding_copy_visitor): Change
- visit_target_symbol_syscall() to visit_target_symbol_context().
- (utrace_var_expanding_copy_visitor::visit_target_symbol_context):
- Handle not only $syscall but also $return.
- (utrace_var_expanding_copy_visitor::visit_target_symbol): Ditto.
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * stapprobes.5.in: Added a description about $argN.
- * NEWS: Ditto.
- * tapsets.cxx (utrace_var_expanding_copy_visitor): Added
- visit_target_symbol_arg() and visit_target_symbol_syscall().
- (visit_target_symbol_arg): New function for handling $argN.
- (visit_target_symbol_syscall): New function for handling $syscall.
- (visit_target_symbol): Use visit_target_symbol_arg() and
- visit_target_symbol_syscall().
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * stapprobes.5.in : Added a line for $name context variable.
- * translate.cxx (c_unparser::emit_common_header): Add marker_name and
- marker_format fields to context.
- * tapsets.cxx (common_probe_entryfn_prologue) : Ditto.
- (mark_derived_probe_group::emit_module_decls) : Ditto.
- (mark_var_expanding_copy_visitor) : change visit_target_symbol_format
- to visit_target_symbol_context.
- (mark_var_expanding_copy_visitor::visit_target_symbol_context): handle
- not only $format but also $name.
- (mark_var_expanding_copy_visitor::visit_target_symbol): Ditto.
-
-2008-09-07 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (build_blacklist): Add some x86 raw port-io spots.
-
-2008-09-06 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (utrace_derived_probe ctor): Handle
- process.* probe point reverse engineering (pid- and path-less).
-
-2008-09-05 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (add_global_var_display): Handle scalar statistics.
-
-2008-09-05 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac, Makefile.am, systemtap.spec: Don't look for libcap.
- * configure, Makefile.in: Regenerated.
-
-2008-09-05 Wenji Huang <wenji.huang@oracle.com>
-
- PR 6731.
- * main.cxx (usage,main,printscript): Improve listing mode with "-L".
- * stap.1.in, stapex.5.in: Document it.
-
-2008-09-04 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (usage): Remove some dwarfless items.
-
-2008-09-02 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (uprobe..emit_module_init): Leave dying-uprobe
- loop as early as possible.
-
-2008-09-02 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (add_global_var_display): Simplify token use.
-
-2008-09-02 Frank Ch. Eigler <fche@elastic.org>
-
- PR4225.
- * tapsets.cxx (generated stap_uprobe_change): Fix major thinko that
- falsely triggered a slew of uprobe_unregister's for each plain
- register.
- (uprobe_derived_probe_group::emit_module_init): Add code to generate
- printk's for uprobe activities, if -DDEBUG_UPROBES.
-
-2008-09-02 Frank Ch. Eigler <fche@elastic.org>
-
- PR4225 merge.
- * tapsets.cxx: Add prototype user-space probing support. Collateral
- damage breaks symbol-table-only (dwarfless) probing, PR6864.
- (setup_user, setup_kernel): Split & reorganized.
- (class uprobe_derived_probe): Nearly all new code.
- (base_query): Add "has_module" and "has_process" flags.
- (dwarf_builder): Add "user_dw" map.
- (dwarf_query::add_probe_point): Use ".dynamic" pseudo-reloc-base for
- ET_DYN modules; ".absolute" for ET_EXEC.
- (register_patterns): Register process(...) uprobe-based probes.
- (task_finder_derived_probe_group::create_session_group): Let runtime
- code assert CONFIG_UTRACE.
- (base_query ctor, dwarf_builder::build, itrace_builder,
- utrace_derived_probe): Use find_executable() to resolve FOO path in
- process("FOO").
- (utrace_derived_probe ctor): Reverse-engineer probe point.
- * main.cxx (main): Don't override $PATH etc.
- * util.cxx (find_executable): Reorganize, simplify, canonicalize.
- * util.h, hash.cxx: Corresponding changes.
-
-2008-09-02 Wenji Huang <wenji.huang@oracle.com>
-
- * tapsets.cxx (query_func_info): Disable prologue searching in
- no-dwarf testing.
-
-2008-09-01 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (add_global_var_display): Also handle statistics.
-
-2008-08-29 Dave Brolley <brolley@redhat.com>
-
- * stap-server.8.in: New man page.
- * NEWS: Announce the availability of the client/server.
- * Makefile.am (man_MANS): Add stap-server.8.
- * configure.ac (AC_CONFIG_FILE): Add stap-server.8.
- * Makefile.in: Regenerated.
- * configure: Regenerated.
-
-2008-08-29 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (add_global_var_display): Repopulate symbol/type info.
-
-2008-08-29 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl):
- Pushed quiesce logic down into the task_finder layer.
- (utrace_derived_probe_group::emit_module_decls): Removed quiesce
- handler routines. Syscall probe handler detaches if systemtap
- state isn't correct.
-
-2008-08-29 Wenji Huang <wenji.huang@oracle.com>
-
- * main.cxx (printscript): Print variable name and type for listing mode.
-
-2008-08-28 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (add_global_var_display): Render array indexes
- in [key,key,key] vs. [key][key][key] form.
-
-2008-08-27 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (add_global_var_display): New.
- (semantic_pass): Call it.
- (dead_assignment_remover::visit_assignment): Don't remove written
- but unread global variables.
- * NEWS, stap.1.in: Document
-
-2008-08-26 David Smith <dsmith@redhat.com>
-
- * buildrun.cxx (compile_pass): Added autoconf-dpath-path.c.
-
- * Makefile.am: Simplified "rpm" target a bit.
- * Makefile.in: Regenerated.
-
- * Makefile.am: Moved tar archive creation step from "rpm" target
- into "dist-gzip" target.
- * Makefile.in: Regenerated.
-
-2008-08-25 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (AUTOMAKE_OPTIONS): Add "no-dist". Remove all
- "make dist"-oriented targets and macros.
- (rpm): Rewrite. Allow parametrization with RPMBUILDFLAGS=.
- * Makefile.in: Regenerated.
- * systemtap.spec: Make configuration macros at top overridable.
-
-2008-08-25 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_module_init): Make
- sure we count the number of utrace probes correctly.
- (utrace_derived_probe_group::emit_module_exit): Ditto.
-
-2008-08-25 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (installcheck): Remove $(EXTRA_SYSTEMTAP_PATH) from
- invocation of $(MAKE).
- * Makefile.in: Regenerated.
- * aclocal.m4: Regenerated.
- * stap-client (parse_options): Don't quote an argument if it is already
- quoted.
- (send_request): Timeout after 10 seconds.
- (receive_response): Timeout after 5 minutes.
- (choose_server): Add missing $ to variable reference.
- (connect_to_server): Timeout after 10 seconds.
- * stap-server (receive_request): Don't check for a "request:"
- message. Timeout after 10 seconds.
- (send_response): Timeout after 10 seconds.
- * stap-serverd (initialization): Remove tmpdir_prefix_serverd and
- port2. No need for a temp directory.
- (listen): Fifo no longer necessary. Call nc and pipe the output to
- process_request in the background.
- (process_request): New function.
- (fatal): Kill stap-server followed by nc. No tmpdir to remove.
-
-2008-08-24 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (query_statement): Leave empty string for unknown file
- name.
- (dwarf_derived_probe ctor): Don't synthesize "@filename:lineno"
- probe point pieces for unknown files/lines.
-
-2008-08-21 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (itrace_derived_probe_group::emit_module_decls):
- Updated task finder callback function signature.
- (utrace_derived_probe_group::emit_module_decls): Ditto.
-
-2008-08-20 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl):
- Supports original and new utrace interfaces.
- (utrace_derived_probe_group::emit_module_decls): Ditto.
-
-2008-08-20 Dave Brolley <brolley@redhat.com>
-
- * stap-client: Ignore SIGHUP and SIGPIPE.
- (initialization): Set b_specified.:
- (parse_options): Handle the -b option. Quote $stap_arg. Use process_m.
- (process_m): New function.
- (process_o): Set stdout_redirection to simply the filename.
- (process_response): Obtain the exit code from stap on the server side.
- Copy the module to the current directory if -m was specified.
- Call stream_output.
- (stream_output): It's back.
- (maybe_call_staprun): Print status messages for -v. Leave v_level
- unchanged. Pass -o option to staprun. Wait until the staprun job
- disappears.
- (terminate): Redirect message to stderr.
- (interrupt): Only kill staprun if it's still running. Call cleanup
- if exiting.
- (ignore_signal): New function.
- * stap-server (receive_request): Quote the job specifier.
- (send_response): Likewise.
- (read_data_file): Use read to check the first line. Use cat the read
- the entire file.
- * stap-serverd (listen): Quote job specifier.
- (terminate): Likewise.
-
-2008-08-19 David Smith <dsmith@redhat.com>
-
- PR 6841
- * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl):
- Workaround utrace bug by quiescing threads before attaching a
- utrace syscall engine to them.
- (utrace_derived_probe_group::emit_module_decls): Emit quiesce
- handler.
-
-2008-08-18 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (register_standard_tapsets): Add missing
- 'process.syscall' and 'process.syscall.return' bindings.
-
-2008-08-16 Mark Wielaard <mjw@redhat.com>
-
- * configure.ac (build_elfutils): Mention possible distro
- specific elfutils development sub-packages needed when not found.
-
-2008-08-15 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_builder::build): Change system-wide probes
- from 'process("*").begin' to 'process.begin'.
- (register_standard_tapsets): Add new 'process' binding.
- * stapprobes.5.in: Change system-wide probes
- from 'process("*").begin' to 'process.begin'.
-
-2008-08-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6836
- * tapsets.cxx (dwarf_var...visit_target_symbol): Emit
- "return=0xf00" instead of "$return=0xf00" for $$return,
- for consistency with other variables.
- * NEWS, stapprobes.5.in: Update.
-
-2008-08-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6836.
- * tapsets.cxx (dwarf_var...visit_target_symbol): Show
- "var=?" for unlocatable variables. Support $$return.
- Make sure $$parms/etc. work in .return probes too.
- * testsuite/semok/thirtytwo.stp: New test.
- * NEWS, stapprobes.5.in: Document them.
-
-2008-08-15 Michael Meeks <michael.meeks@novell.com>
-
- * configure.ac: suggest (SUSE) package name for dwfl.
-
- * buildrun.cxx (compile_pass): if extremely verbose, pass through
- output from stap checks - helps to debug generic test compile
- problems.
-
-2008-08-14 Dave Brolley <brolley@redhat.com>
-
- PR 6834
- * stap-client (initialization): initialize staprun_running.
- (send_request): No server response message required.
- (receive_response): No server response message required. Simply
- receive the tar file. The tar file should contain a file called 'rc'.
- (connect_to_server): Use 'nc'.
- (disconnect_from_server): No action required.
- (process_response): Renamed from 'stream_output'. Obtain the exit
- code from the 'rc' file.
- (maybe_call_staprun): set 'staprun_running' while staprun is running.
- (check_server_error): Removed.
- (server_fatal): Removed.
- (cleanup): Redirect stderr of 'kill' to /dev/null.
- (interrupt): Pass SIGINT on to staprun, if it is running. Otherwise,
- exit.
- * stap-server (initialization): Create the server temp directory here...
- (unpack_request): ... not here.
- (receive_request): Don't send a ready message.
- (create_response): Write the exit code of 'stap' to the 'rc' file.
- (send_response): Don't send a status message.
- (fatal,error): Redirect to $tmpdir_server/stderr.
-
-2008-08-13 Dave Brolley <brolley@redhat.com>
-
- * stap-client: Trap SIGTERM and SIGINT.
- (unpack_response): chown of the systemtap temp directory before
- we move it and only if we didn't create it.
- (maybe_call_staprun): Check $e_script when determining whether a
- script was specified. Provide the -c option to staprun. Run staprun
- in the background and wait for it.
- (terminate,interupt): New functions.
-
-2008-08-13 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (stamp-elfutils): Override build-elfutils'
- bin_PROGRAMS to not bother build binaries we're not using.
- * Makefile.in: Regenerated.
-
-2008-08-12 Frank Ch. Eigler <fche@elastic.org>
-
- * buildrun.cxx (compile_pass): Add ugly kbuild hack for hand-built
- x86 kernels that are made with O= (separate object/module-building
- directory).
-
-2008-08-12 David Smith <dsmith@redhat.com>
-
- PR 6445 (partial)
- * tapsets.cxx (utrace_builder::build): Validates pid and allows
- probing of "*" to mean all threads.
- * stapprobes.5.in: Added note about a process path of "*" means to
- probe all threads.
-
-2008-08-11 Wenji Huang <wenji.huang@oracle.com>
-
- * tapsets.cxx : Fixed compilation warning on gcc 3.x.
-
-2008-08-11 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (translate_final_fetch_or_store): Reject some
- unhandleable types such as floats.
- (dwarf_var...visit_target_symbol): Tweak logic of $$var expansion
- to quietly skip over any $context variables that cause exceptions.
-
-2008-08-11 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (translate_final_fetch_or_store): Reject some
- unhandleable types such as floats.
- (dwarf_var...visit_target_symbol): Tweak logic of $$var expansion
- to quietly skip over any $context variables that cause exceptions.
-
-2008-08-11 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (dwarf_var_expanding...visit_target_symbol):
- Don't add a \n at the end of $$vars/$$parms/$$locals.
-
-2008-08-11 Frank Ch. Eigler <fche@elastic.org>
-
- PR5049
- * tapsets.cxx (cu_name_matches, collect_srcfiles_matching):
- Implicitly but optionally prefix probe source filenames with "*/".
- * stapprobes.5.in: Document this.
-
-2008-08-11 Dave Brolley <brolley@redhat.com>
-
- * stap-client (disconnect_from_server): Call after receive_response.
- * stap-server (stap_rc): Renamed from 'rc'. Don't use it as an exit
- code.
- * stap-serverd (listen): Set pipefail so that we get the rc of nc
- if it fails. Make multiple attempts to establish a server.
- (fatal): Call 'terminate'.
-
-2008-08-11 Frank Ch. Eigler <fche@elastic.org>
-
- PR5049
- * tapsets.cxx (cu_name_matches, collect_srcfiles_matching):
- Implicitly prefix probe source filenames with "*".
-
-2008-08-11 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_builder::build): Fixed indentation.
-
-2008-08-11 Mark Wielaard <mwielaard@redhat.com>
-
- * Makefile.am (install-data-local): Use INSTALL_PROGRAM for executable
- stp scripts.
- * Makefile.in: Regenerated.
-
-2008-08-09 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (example index): Only warn and instruct on index
- regeneration. Do not actually perform it as the source tree
- should be considered (and can really be) read-only.
- * Makefile.in: Regenerated.
-
-2008-08-08 Dave Brolley <brolley@redhat.com>
-
- * stap-client: Use quotes when echoing. Exit with $rc.
- (initialization): Initialize 'rc'.
- (parse_options): Manage the command line in three pieces:
- pre-script name, script name, post-script name.
- (process_*): Likewise.
- (send_request): Redirect stdout of 'nc' to /dev/null.
- (receive_response): Handle "failed:" response. Redirect stdin of 'nc'
- from /dev/zero.
- (maybe_call_staprun): Check $rc. Check the requested phase limit
- before looking for the module.
- * stap-server: Use quotes when echoing. Exit with $rc.
- (initialization): Initialize 'rc'.
- (receive_request): Start 'nc' in the background before sending the
- "ready:" message. Redirect stdin of 'nc' from /dev/zero.
- (read_data_file): Allow for multiple lines of data.
- (call_stap): Quoet $cmdline. Set 'rc'.
- (send_response): Send "failed:" if stap is unsuccessful. Start 'nc'
- in the background before sending the response.
- (cleanup): Kill any running 'nc' job.
- (terminate): Exit with $rc.
- * stap-serverd: Start the server before advertising our presence.
- * stap-find-or-start-server: Echo 0 if a server is already running.
- Echo -1 if no server is running and one can't be started.
- * stap-start-server: Wait until the server starts before exiting. Exit
- with 1 if the server does not start.
- * systemtap.spec: Move client side script to the runtime sub package.
- The main package and the runtime sub package both depend on avahi-tools
- and nc.
- * Makefile.am: Revert previous changes. Now done in
- testsuite/lib/systemtap.exp.
- * Makefile.in: Regenerated.
-
-2008-08-08 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_module_decls):
- Calls stap_utrace_detach() to perform detach.
-
-2008-08-08 Mark Wielaard <mwielaard@redhat.com>
-
- * Makefile.am (EXAMPLE_BUILD_DIR): Removed. Examples indexes are
- always in srcdir.
- (dist-hook): Always install examples from srcdir.
- * Makefile.in: Regenerated.
-
-2008-08-08 Mark Wielaard <mwielaard@redhat.com>
-
- * Makefile.am (rpm): Refer to srcdir spec file so make rpm works in
- builddir.
- * Makefile.in: Regenerated.
-
-2008-08-08 Mark Wielaard <mwielaard@redhat.com>
-
- * systemtap.spec: Disable chmodding of samples/kmalloc-top.
- It is currently not installed.
-
-2008-08-08 Mark Wielaard <mwielaard@redhat.com>
-
- * Makefile.am (all-local): Depend on example_index, which now
- doesn't generate anything in $srcdir anymore, only $builddir.
- (EXAMPLE_SOURCE_DIR): New var.
- (EXAMPLE_BUILD_DIR): New var.
- (EXAMPLE_META_FILES): New var.
- (EXAMPLE_INDEX_GEN): New var.
- (example_index): New target.
- ($EXAMPLE_BUILD_DIR/index.html): Likewise.
- (install-data-local): Install examples from $buildir.
- * Makefile.in: Regenerated.
- * aclocal.m4: Likewise.
-
-2008-08-07 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (all-local): Don't run indexing code, since $srcdir
- may be read-only.
- (install-data): Simplify sample script installation; limit sources
- to systemtap.examples directory only.
- * Makefile.in: Regenerated.
-
-2008-08-07 Mark Wielaard <mwielaard@redhat.com>
-
- * Makefile.am (all-local): Add example_index.
- (dist-hook): Likewise.
- (EXAMPLE_SRC): Add index and support files.
- (EXAMPLE_INDEXES): New file list.
- (example_index): New target.
- (clean-local): Remove generated indexes.
- * Makefile.in: Regenerated.
-
-2008-08-07 Mark Wielaard <mwielaard@redhat.com>
-
- * systemtap.spec: Add comment about versioned vs unversioned docs.
-
-2008-08-06 Frank Ch. Eigler <fche@elastic.org>
-
- * stap-find-servers (match_server, client_sysinfo):
- Use "sysinfo=...." keyword in mdns TXT record.
- * stap-serverd (advertise_presence): Ditto.
- (initialization): Locate random usable server port if needed.
- (listen): Complain if port turns out to be unusable after all.
-
-2008-08-06 Josh Stone <joshua.i.stone@intel.com>
-
- PR 6820
- From Eugeniy Meshcheryakov eugen@debian.org:
- * staprun.8.in: fix minor formatting problems
-
-2008-08-05 Stan Cox <scox@redhat.com>
-
- * NEWS: Updated $$vars, $$parms, $$locals.
- * tapsets.cxx (visit_target_symbol): Missing break typo.
-
-2008-08-04 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (dwarf_var_expanding_copy_visitor::visit_target_symbol):
- Add support for $$vars, $$parms, and $$locals.
- * stapprobes.5.in: Likewise.
- * doc/langref.tex: Likewise.
-
-2008-08-02 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.h (translator_output::assert_0_indent): New function.
- * translate.cxx (emit_*): Add a couple of calls to confirm
- newline(1)/(-1) nest matching.
-
-2008-07-30 Dave Brolley <brolley@redhat.com>
-
- * stap-client (create_request): No need for random suffix for
- cmdline and sysinfo files.
- * stap-server (read_data_file): File name is exactly as specified.
- Check that it exists.
-
-2008-07-29 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (bin_SCRIPTS): add stap-find-servers, stap-start-server,
- stap-find-or-start-server, stap-stop-server.
- (EXTRA_DIST): Likewise.
- (check): Ensure that a compatible systemtap server is running before
- running the tests, if requested. If we start a sterver, stop it after
- running the tests.
- (installcheck): Likewise.
- * stap-client (parse_options): Specify stdin as 'scripts/-' on the
- generated command line.
- (create_request): Use $script_file instead of '-'.
- (unpack_response): Existence of the systemtap temp directory is
- optional.
- (find_and_connect_to_server): Use stap-find-servers and choose_server.
- (choose_server): Rewritten from match_server. Examine multiple
- servers.
- (connect_to_server): New function.
- (maybe_call_staprun): Check for existence of a module.
- Use staprun_PATH.
- (staprun_PATH): New function.
- (fatal): Call disconnect_from_server.
- (server_fatal): Likewise.
- * stap-server: Catch SIGTERM and SIGINT.
- (create_response): Check for the existence of $tmpdir_stap.
- (terminate): New function.
- * stap-serverd: Catch SIGTERM and SIGINT.
- (listen): Run 'nc | stap-server' in the background and wait for them
- to finish.
- (terminate): Renamed from handle_sigint. Kill avahi-publish-service
- and nc.
- * systemtap.spec: Add stap-find-servers, stap-start-server,
- stap-find-or-start-server, stap-stop-server.
- * Makefile.in: Regenerated.
-
-2008-07-28 Dave Nomura <dcnltc@us.ibm.com>
-
- * session.h (struct systemtap_session): Added itrace_derived_probe
- group.
- * elaborate.cxx (systemtap_session::systemtap_session): Added
- initialization of itrace_derived_probes.
- * tapsets.cxx (struct itrace_derived_probe): Add derived_probe
- struct for holding info needed by itrace probes.
- (struct itrace_derived_probe_group): New derived_probe_group
- to handle itrace probes.
- (itrace_derived_probe::itrace_derived_probe): Needed for use with
- task_finder.
- (itrace_derived_probe_group::join_group): Ditto.
- (itrace_derived_probe_group::enroll): Ditto.
- (itrace_derived_probe_group::emit_probe_decl): Ditto.
- (itrace_derived_probe_group::emit_module_decls): Ditto.
- (itrace_derived_probe_group::emit_module_init): Ditto.
- (itrace_derived_probe_group::emit_module_exit): Ditto.
- * stapprobes.5.in : Added documentation of itrace probe.
-
-2008-07-24 Josh Stone <joshua.i.stone@intel.com>
-
- * buildrun.cxx (compile_pass): Remove STAPCONF_MODULE_NSECTIONS,
- and add STAPCONF_ONEACHCPU_RETRY
-
-2008-07-23 Frank Ch. Eigler <fche@elastic.org>
-
- From James Bottomley <James.Bottomley@HansenPartnership.com>:
- * tapsets.cxx (query_dwarf_func): Silently skip inlined function
- instances that have no entrypc.
-
-2008-07-18 Masami Hiramatsu <mhiramat@redhat.com>
-
- BZ 442528 (PR6028)
- * tapsets.cxx (emit_module_decls): Add dummy kprobe on ia64.
- (emit_module_init): register dummy kprobes for fixing bsp offset on
- ia64.
- (emit_module_exit): unregister dummy kprobes on ia64.
-
-2008-07-18 Frank Ch. Eigler <fche@elastic.org>
-
- BZ 442528, From Masami Hiramatsu <mhiramat@redhat.com>
- * elaborate.h (emit_probe_local_init): New derived_probe member.
- * tapsets.cxx (dwarf_derived_probe): Implement it, for ia64 register
- unwind caching.
-
-2008-07-17 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (iterate_over_srcfile_lines): Avoid statement wildcard
- lines without a unique address.
-
-2008-07-17 <anithra@linux.vnet.ibm.com>
-
- * main.cxx (handle_interrupt): Forward received signal to process
- group.
-
-2008-07-17 Masami Hiramatsu <mhiramat@redhat.com>
-
- * systemtap.spec (%files): Add stap-server and stap-serverd.
- (%files runtime): Add stap-client.
-
-2008-07-17 David Smith <dsmith@redhat.com>
-
- * systemtap.spec: Moved comment that was on the same line as
- "Version", which rpmbuild didn't like.
-
-2008-07-17 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (dump_unwindsyms): Produce symbol tables and section
- lists for all text-like sections, useful for -ffunction-sections type
- kernel modules.
- (emit_symbol_data): Tolerate missing unwind/symbol data during
- elf processing. Subsequently warn about anything missing.
-
-2008-07-16 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Bumped version to 0.7.1.
- * systemtap.spec: Renamed from systemtap.spec.in; don't autoconf it
- just on account of @VERSION@.
- * Makefile.am (EXTRA_DIST): Distribute it.
- * Makefile.in, configure, testsuite/configure: Regenerated.
-
-2008-07-16 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (EXTRA_DIST): Add stap-client, stap-server, stap-serverd.
- * Makefile.in: Regenerated.
-
-2008-07-14 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx
- (utrace_var_expanding_copy_visitor::visit_target_symbol):
- Synthesize a function to get the value of $syscall.
-
-2008-07-14 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (bin_SCRIPTS): Add stap-client, stap-server, stap-serverd.
- * Makefile.in: Regenerated.
- * aclocal.m4: Regenerated.
-
-2008-07-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6738.
- * buildrun.cxx (compile_pass): Add autoconf-uaccess.c.
- * translate.cxx (translate_pass): #include <linux/vermagic.h> for
- maximum version compatibility for UTS_RELEASE.
-
-2008-07-12 Frank Ch. Eigler <fche@elastic.org>
-
- By Andy Fitzsimon <afitzsim@redhat.com>:
- * smileytap.svg: New file.
-
-2008-07-11 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6739
- * tapsets.cxx (global_alias_cache): Make this a per-module/cu cache,
- just like the function cache.
- (update_alias_cache): Removed. Instead ...
- (declaration_resolve): Compute the lookup table for this module/cu,
- but only once.
-
-2008-07-11 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (dump_unwindsyms): Start tolerating user-space programs,
- which may be unrelocatable.
-
-2008-07-11 Frank Ch. Eigler <fche@elastic.org>
-
- * hash.cxx (find_hash): Mix in -d MODULE names.
-
-2008-07-10 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): If "-k" (save temp directory) was supplied,
- disable caching.
-
-2008-07-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6703.
- * tapsets.cxx (mark_dwarf_redundancies): Tweak hashtable/iterator
- syntax for gcc 4.1 compatibility.
-
-2008-07-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6736.
- * main.cxx (main,usage): Support new "-d MODULE" option to
- populate comp-unwindsyms module list.
- * stap.1.in: Document it.
- * tapsets.cxx (dwarf_query::add_probe_point): Add probed module
- to comp-unwindsyms set.
- (utrace_builder::build): Ditto for probed user-space program.
- * translate.cxx (emit_symbol_data): Emit _stp_module[] entry
- for each comp-unwindsyms member, including relocation bases
- and symbols, but not yet unwind data.
- * NEWS: Remove mention of temporarily disabled unwinder.
- * session.h: Corresponding changes.
-
-2008-07-09 Mark Wielaard <mwielaard@redhat.com>
-
- PR 6732
- * buildrun.cxx (compile_pass): Define STAPCONF_REAL_PARENT by
- calling autoconf-real-parent.c
-
-2008-07-09 Frank Ch. Eigler <fche@elastic.org>
-
- From James Bottomley <James.Bottomley@HansenPartnership.com>
- * tapsets.cxx: (dwflpp::global_alias_cache): New member.
- (declaration_resolve): Search it, called from translate_components.
- (update_alias_cache): Populate it, called from query_cu.
-
-2008-07-09 <wenji.huang@oracle.com>
-
- * translate.cxx (visit_comparison): Remove unnecessary comparison.
- * translate.cxx (emit_symbol_data): Remove unused local variable.
-
-2008-07-08 Dave Brolley <brolley@redhat.com>
-
- * stap-client (client_sysinfo): Use `uname -rvm`.
- (receive_response): Wait for "done:" from the server. Clear server_ip
- when the server is incompatible.
- * stap-server (check_request): Quote "`server_sysinfo`".
- (server_sysinfo): Use `uname -rvm`.
- (send_response): Send "done:".
- * stap-serverd (advertise_presence): Use `uname -rvm`. Quote "$txt".
-
-2008-07-07 Mark Wielaard <mwielaard@redhat.com>
-
- * stapex.5.in: Add section on installed examples, samples and demos
- and how they are documented.
-
-2008-07-07 Mark Wielaard <mwielaard@redhat.com>
-
- * Makefile.am (install-data-hook): Install examples, demos and
- samples.
- (uninstall-local): Remove examples, demos and samples.
- * Makefile.in: Regenerated.
- * aclocal.m4: Likewise.
- * systemtap.spec.in (%install): Move examples.
- Don't copy over examples to src.
- (testsuite): Don't include src/examples.
-
-2008-07-07 Mark Wielaard <mwielaard@redhat.com>
-
- * systemtap.spec.in (%install): Move installed pdf files.
- (%files): Mark moved installed pdf as %doc files.
-
-2008-07-03 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (translate_pass): Don't #include <linux/compile.h>.
-
-2008-07-03 Dave Brolley <brolley@redhat.com>
-
- * stap-serverd: New script.
- * stap-client (client_sysinfo): Client sysinfo is stripped down to
- the output of `uname -r` for now.
- (package_request): Don't create temporary server tar file here.
- (send_request): Communication protocol simplified. Use nc to send
- the tar file.
- (receive_response): Communication protocol eliminated. Simply wait
- for the file from the server using nc.
- (unpack_response): Create temporary server tar file here. Verify the
- contents of the server's response.
- (find_and_connect_to_server): Obtain server address and port from
- avahi-browse.
- (server_fatal): New function.
- (check_server_error): Call server_fatal.
- * stap-server (configuration): port is now provided as an argument.
- Default to port 65001.
- (initialization): Don't create temp work directory here.
- (receive_request): Communication protocol simplified. Receive the
- request file using nc.
- (unpack_request): Make temp work directory here. Verify the contents
- of the request.
- (server_sysinfo): New function.
- (check_compatibility): Exact match required.
- (package_response): Don't use -p on tar command.
- (send_response): Communication protocol eliminated. Simply send the
- file using nc.
- (main line): Pass "$@" to configuration.
-
-2008-07-01 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): In -vv mode, also dump out session arch/release
- values right at the top.
-
-2008-06-29 Tim Moore <timoore@redhat.com>
-
- * Makefile.am (EXTRA_DIST): Add auto_free.h.
- * Makefile.in: Regenerated.
- * auto_free.h (auto_free_ref): New class to free references to
- pointers allocated with malloc / realloc.
- * tapsets.cxx (iterate_over_srcfile_lines): Use auto_free_ref at
- top level of function to free srcsp.
-
-2008-06-27 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_module_decls): Fix
- bug in handling process(PID) probes.
-
-2008-06-24 K.Prasad <prasad@linux.vnet.ibm.com>
-
- * tapset/vfs.stp: Deprecate probe points on old functions, namely
- generic_file_readv(), generic_file_writev(),
- generic_file_read() and generic_file_write().
- * tapset/vfs.stp: Enhance the tapset by
- providing more pure C functions, probes for newer VFS related functions
- * testsuite/buildok/vfs_testcase.stp: Created a testsuite for the
- new enhanced VFS Tapset which does a compile test i.e. with flags -up4
-
-2008-06-25 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (iterate_over_srcfile_lines): Only probe a line once.
-
-2008-06-24 Tim Moore <timoore@redhat.com>
-
- * auto_free.h: New file.
- * tapsets.cxx (iterate_over_srcfile_lines, read_symbols): Use
- auto_free instead of explicit calls to ::free().
- (Compare): Class for comparing func_info objects and their
- addresses.
- (get_index_for_address): Remove.
- (symbol_table::sort): new function.
- (query_module_symtab): Iterate over list_by_addr using iterator
- instead of index.
- (~symbol_table): Don't bother clearing list_by_addr and
- map_by_name.
- (add_symbol): Don't keep list_by_addr in order.
- (read_symbols, get_from_elf): Sort symbols after all are read.
- (get_func_containing_address): Use std::upper_bound.
- (purge_syscall_stubs): Don't iterate over whole list_by_addr
- vector; use std::equal_range to look for possible stub addresses.
-
-2008-06-23 Frank Ch. Eigler <fche@elastic.org>
-
- * session.h (module_cache): Add field here.
- * tapsets.cxx (dwflpp): Remove static field from here.
- (pathname_caching_callback): Use hacky micro-static to get to it.
- (*): Update other users of module_cache.
- * elaborate.cxx (systemtap_session ctor): Corresponding changes.
-
-2008-06-23 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl):
- Handles UDPF_NONE value.
- (utrace_derived_probe_group::emit_vm_callback_probe_decl): New
- function.
- (utrace_derived_probe_group::emit_module_decls): Calls
- emit_vm_callback_probe_decl() to set up vm_callbacks.
-
-2008-06-23 Stan Cox <scox@redhat.com>
-
- * NEWS: Updated .statement line number wildcard and line number range.
- * stapprobes.5.in: Likewise.
- * doc/langref.tex: Likewise.
- * tapsets.cxx (enum line_t): Add RANGE and WILDCARD.
- (iterate_over_srcfile_lines): Change lineno parm to lines[].
- Support RANGE and WILDCARD.
- (dwarf_query): Change line to line[]
- (dwarf_query::parse_function_spec): Parse RANGE and WILDCARD.
-
-2008-06-20 wcohen <wcohen@redhat.com>
-
- * stapfuncs.5.in: Add documentation for tapset/dev.stp functions.
-
-2008-06-18 Josh Stone <joshua.i.stone@intel.com>
-
- PR 6644
- * elaborate.cxx (dead_stmtexpr_remover::visit_block): Flatten nested
- block statements into a single block.
- (dead_stmtexpr_remover::visit_if_statement): Remove the possibility
- of if_statements with a null thenblock. When an if lacks both then
- and else, either remove it completely or reduce it to a simple
- statment evaluating the condition. With an else and no then, invert
- the condition and else becomes then.
- (void_statement_reducer): New optimization visitor that breaks
- statements in void context into smaller pieces, to expose more
- optimization opportunities.
- (semantic_pass_opt5, semantic_pass_opt6): Bump opt5 to opt6, and
- create a new opt5 that runs through void_statement_reducer.
-
-2008-06-16 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (print_locals): Produce nothing instead of
- "(alternatives: (none found))" if no alternatives were found.
-
-2008-06-16 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (session::print_warning): Change to take optional
- token as argument.
- (*): Adjust callers of print_warning() to pass a token.
- (print_token): New function, eliminate recent file name duplication.
- (print_error): Use it too.
- (semantic_pass_opt2): Tweak way read-only vars' alternatives are
- printed. Eliminate relaxation-loop duplicates by printing warnings
- only on first iteration. Print alternatives for globals too.
- * session.h: Corresponding changes.
-
-2008-06-16 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (semantic_pass_opt2): Only create function
- alternatives if needed. Overload compare.
-
-2008-06-13 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (print_warning): Add optional_str parameter.
- (semantic_pass_opt2): List variable alternatives for probes and
- functions.
- * session.h (print_warning): Add optional_str parameter.
-
-2008-06-13 Josh Stone <joshua.i.stone@intel.com>
-
- * translate.cxx: Jump out directly after setting last_error, rather
- than passively checking last_error everywhere.
- * translate.cxx: Only make actionremaining checks at control points,
- i.e. roughly at the end of basic blocks, or after executing a few
- statements in a row.
-
-2008-06-13 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): Print generated module name for "-m FOO"
- runs also. Stop warning about this implying uncached operation.
-
-2008-06-12 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (print_warning): Make parameter a const.
-
-2008-06-11 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (EXTRA_DIST): Add dwarf_wrappers.h.
-
-2008-06-11 Mark Wielaard <mwielaard@redhat.com>
-
- * elaborate.cxx (print_warning): Only output WARNING, don't put it
- in the message_str and seen_warnings.
- * session.h (print_warning): Reindent.
-
-2008-06-11 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (print_warning): Use session.seen_warnings[].
-
-2008-06-10 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (print_warning): New.
- * elaborate.cxx (semantic_pass_opt1): Use it.
-
-2008-06-11 Tim Moore <timoore@redhat.com>
-
- * dwarf_wrappers.h (dwfl_assert): Add overload with boolean value
- for assertion test.
- * dwarf_wrappers.cxx (dwfl_assert): Write boolean condition
- version.
- * tapsets.cxx (emit_address): Fix up dwfl_asserts that got negated
- in changes to dwfl_assert.
-
- PR 2608
- * dwarf_wrappers.h, dwarf_wrappers.cxx: New files.
- * Makefile.in: Regenerated.
- * tapsets.cxx (dwarf_assert, dwfl_assert): Move to
- dwarf_wrappers.h.
- (iterate_over_srcfile_lines, has_single_line_record,
- query_srcfile_line): Use dwarf_line_t wrapper.
- (die_has_pc): Take a reference to a Dwarf_Die instead of a
- pointer. Clean up use of dwfl_assert.
- (query_cu): Check that statement raw address matches the beginning
- of a statement record.
- * elaborate.h: Include iosfwd instead of iostream.
- (literal_map_t, resolve_prologue_endings,): New typedef.
-
-
-2008-06-10 Jim Keniston <jkenisto@us.ibm.com>
-
- * testsuite/systemtap.context/num_args.tcl: Run twice --
- once with dwarf (default) and once with --kelf --ignore-dwarf.
- * testsuite/systemtap.context/context.exp: Add num_args to
- testlist. :-}
-
-2008-06-10 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl):
- Initializes .vm_callback.
-
-2008-06-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6470
- * NEWS: Note argv[] tapset.
- * parse.cxx (scan_pp): Better handle premature EOF.
- * stapvars.5.in: New file.
- * stap.1.in: Mention it.
- * Makefile.am (dist_man_MANS): Add stapvars.5.
- * configure.ac (AC_CONFIG_FILES): Add stapvars.5.in.
- * Makefile.in, configure: Regenerated.
-
-2008-06-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6470
- * parse.cxx (scan_pp): Eliminate expand_args argument to control
- nested preprocess evaluation. Rewrite to use a combination of
- exceptions and non-recursion.
- (lexer::scan): Ditto. Interpret "$#" as the argc value in all
- cases.
- * parse.h: Corresponding decl changes.
-
-2008-06-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6470
- * parse.cxx (eval_comparison): New template function.
- (eval_pp_conditional): Call it separately for string/string and
- int64/int64 cases.
- (lexer::scan): Provide better error message for invalid $NNN.
-
-2008-06-09 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 6601
- * tapsets.cxx: For powerpc, reject symbols in .opd
- (function descriptor) section.
-
-2008-06-09 Stan Cox <scox@redhat.com>
-
- * NEWS: Updated kernel.statement relative line number.
- * stapprobes.5.in: Likewise.
-
-2008-06-09 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx
- (utrace_var_expanding_copy_visitor::visit_target_symbol): Calls
- 'syscall_nr' to get the value of '$syscall'.
-
- * tapsets.cxx (utrace_derived_probe::join_group): Removed
- generated inclusion of tracehook.h.
- (utrace_var_expanding_copy_visitor::visit_target_symbol): Uses
- '_stp_arg(0)' to get value of '$syscall'.
-
-2008-06-06 Stan Cox <scox@redhat.com>
-
- * tapsets.cxx (dwflpp::iterate_over_srcfile_lines):
- Add parameter line_type_relative.
- (enum line_t): New.
- (dwarf_query::line_type): New.
- (dwarf_query::parse_function_spec): Set line_type.
-
-2008-06-06 David Smith <dsmith@redhat.com>
-
- * NEWS: Updated utrace probes descriptions.
- * stapprobes.5.in: Ditto.
-
- * tapsets.cxx (enum utrace_derived_probe_flags): Redefined in
- terms of probe types instead of utrace events.
- (utrace_var_expanding_copy_visitor::visit_target_symbol): Uses new
- utrace_derived_probes_flags values.
- (utrace_builder::build): Handles new probe types and new
- utrace_derived_probes_flags values.
- (utrace_derived_probe_group::emit_probe_decl): Updated to handle
- new utrace_derived_probe_flags values.
- (utrace_derived_probe_group::emit_module_decls): Ditto. Also
- correctly handles 'begin' events correctly by installing a quiesce
- handler (instead of running the probe directly).
- (register_standard_tapsets): Registers updated utrace probe
- types.
-
-2008-06-05 Srinivasa DS <srinivasa@in.ibm.com>
- *configure,configure.ac: -fpie option puts limit on GOT size
- and hence systemtap build fails on s390. So use -fPIE which
- doesn't put limit on GOT size.
-
-2008-06-04 Jim Keniston <jkenisto@us.ibm.com>
-
- * testsuite/systemtap.context/num_args.{stp,tcl}: Added.
- Same as args.{stp,tcl}, but refs args using *_arg().
-
-2008-06-04 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 6588
- * tapset/syscalls.stp: Remove return aliases for exit and exit_group.
- * testsuite/semok/syscalls_return.stp: Regression test
-
-2008-06-03 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx: Added several string tokens that are used instead
- of hard-coded strings.
- (register_standard_tapsets): Uses new string tokens.
-
-2008-06-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6429.
- * Makefile.am: Don't link stapio with -ldw.
- * Makefile.in: Regenerated.
-
-2008-05-29 Mark Wielaard <mwielaard@redhat.com>
-
- * Makefile.am (installcheck): Check that make install was run.
- * Makefile.in: Regenerated.
-
-2008-06-02 Frank Ch. Eigler <fche@elastic.org>
-
- PR6534
- * translate.cxx (c_unparser::emit_module_init): Use UTS_RELEASE
- instead of uts_sem/utsname() as kernel version-checking hack.
-
-2008-06-02 Dave Brolley <brolley@redhat.com>
-
- * stap-client (initialization): port is no longer hard coded.
- Initialize avahi_service_tag to _stap._tcp.
- (find_and_connect_to_server): Handle server/port returned by
- match_server.
- (match_server): Obtain server ip address and port from output
- of the -r option to avahi-browse. Echo a server/port pair.
-
-2008-06-02 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * main.cxx (main): Fix the problem that kernel module compile
- failure when runtime directory is set to relative path(stap -R).
-
-2008-05-30 Dave Brolley <brolley@redhat.com>
-
- * stap-client, stap-server: New compile server and client scripts.
-
-2008-05-30 Srinivasa DS <srinivasa@in.ibm.com>
- PR 6562
- * tapsets.cxx, translate.cxx: modified one argument for
- dwfl_linux_kernel_report_offline().
- * testsuite/systemtap.base/debugpath.exp: Modified testsuite for new
- SYSTEMTAP_DEBUGINFO_PATH behaviour.
- * stap.1.in: Modified manpage for new SYSTEMTAP_DEBUGINFO_PATH behaviour.
-
-2008-05-29 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 6582
- * tapset/context.stp: Added registers_valid().
- * stapfuncs.5.in: Ditto.
- * tapset/x86_64/registers.stp: Added registers_valid() check.
- * tapset/ppc64/registers.stp: Ditto.
- * tapset/i686/registers.stp: Ditto. Also fixed warnings due to
- sp_offset and ss_offset not being global.
-
-2008-05-29 Ananth N Mavinakayanahalli <ananth@in.ibm.com>
-
- PR 6563
- * tapset/ppc64/registers.stp: Fix powerpc dwarfless argument access
-
-2008-05-28 Josh Stone <joshua.i.stone@intel.com>
-
- PR 6529
- * translate.cxx (c_unparser::visit_return_statement): Make sure we
- notice errors from evaluating return values.
-
-2008-05-28 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_module_decls):
- Removed debug print.
-
- * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl):
- Instead of adding clone handlers, just call the probes directly.
- (utrace_derived_probe_group::emit_module_decls): For syscall
- probes, on exec detach the parent's utrace engine from the child.
-
-2008-05-27 Josh Stone <joshua.i.stone@intel.com>
-
- PR 6432
- * buildrun.cxx (compile_pass): Add the autoconf test for probe_kernel_*
- functions, but leave it #if-0'ed for now.
-
-2008-05-23 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 4311, cont. Address powerpc dwarfless test failures.
- * tapsets.cxx: Convert .funcname to funcname when adding it
- to our symbol table. Accept all weak symbols except those
- that map to sys_ni_syscall.
-
-2008-05-23 Srinivasa DS <srinivasa@in.ibm.com>
- PR 6429: Inerim fix to avoid compilation error of systemtap module
- * runtime/transport/symbols.c: added definitions of struct
- module_sect_attr, struct module_sect_attrs for 2.6.25 above kernels.
-
-2008-05-22 Wenji Huang <wenji.huang@oracle.com>
-
- * tapsets.cxx (iterate_over_functions): Fix .statement(NUM) regression.
-
-2008-05-22 Ananth N Mavinakayanahalli <ananth@in.ibm.com>
-
- * tapset/ppc64/registers.stp: Support powerpc register + arg lookup
- * stapfuncs.5.in: Add powerpc bits; indicate scope of uarg_* access
-
-2008-05-21 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_module_decls):
- Added new 'event_flag' parameter to task_finder callback. Only
- calls probe handlers if we received the correct event.
-
-2008-05-20 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6538
- * elaborate.cxx (semantic_pass_opt2): Warn about read-only locals and
- globals.
- (visit_foreach_loop): Belatedly recognize index symbols as lvalues.
-
-2008-05-21 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (dead_assignment_remover::visit_binary_expression): New.
- (dead_assignment_remover::visit_assignment): Allow rhs simplification.
-
-2008-05-20 Tim Moore <timoore@redhat.com>
-
- * configure.ac: Check for tr1/unordered_map header.
- * tapsets.cxx: Use tr1::unordered_map if available.
- * configure, config.in: Regenerated.
-
-2008-05-19 Stan Cox <scox@redhat.com>
-
- * elaborate.cxx (dead_assignment_remover::visit_arrayindex): New method.
- (dead_assignment_remover::visit_functioncall): New method.
- (dead_assignment_remover::visit_if_statement): New method.
- (dead_assignment_remover::visit_for_loop): New method.
-
-2008-05-19 William Cohen <wcohen@redhat.com>
-
- * main.cxx (setup_signals): Remove sa_restorer initialization.
-
-2008-05-17 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (semantic_pass): Error on #probes=0, but not in
- listing mode.
- (semantic_pass_optimize[12]): Remove inappropriate check from here.
-
-2008-05-17 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (cu_function_cache_t): Switch to <ext/hash_map>s,
- since these tables tend to get pretty big.
-
-2008-05-16 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5643
- * tapsets.cxx (cu_function_cache_t): Reorganize into
- mod:cu->function->DIE lookup table. Consider merging into symtab
- later.
- (mark_dwarf_redudancies): Adapt.
- (iterate_over_functions): Rewrite.
- (dwarf_builder::build): Cache kprobes etc. symbol addresses.
- * elaborate.cxx (systemtap_session ctor): Clear additional POD fields.
-
-2008-05-15 David Smith <dsmith@redhat.com>
-
- * main.cxx (setup_signals): New function.
- (main): Calls setup_signals() to setup signal handling. When
- removing the temporary directory, ignore signals.
-
-2008-05-13 Ananth N Mavinakayanahalli <ananth@in.ibm.com>
- PR 5955.
- * parse.cxx (parser::parse_global): accept ";" terminated globals
- * NEWS - update documentation
- * testsuite/systemtap.base/global_vars.(stp/exp) - supporting tests
- * testsuite/parseko/twenty(four/five).stp - supporting tests
-
-2008-05-12 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 4311 - Function boundary tracing without debuginfo: Phase II
- Merged dwarfless branch into mainline. But first...
- * runtime/regs.c: Removed register name:value lookup facility.
- Moved basically all register-lookup code to the i686 and x86_64
- registers.stp tapsets. Args stuff shared between i386 and
- x86_64 remains in regs.c.
- * tapset/{i686,x86_64}/registers.stp: Moved register-lookup
- code from runtime/regs.c to here.
-
-2008-05-12 Jim Keniston <jkenisto@us.ibm.com>
-
- (2008-05-06 in dwarfless branch)
- PR 4311 - Function boundary tracing without debuginfo: Phase II
- * stapfuncs.5.in: Added sections on CPU REGISTERS and
- NUMBERED FUNCTION ARGUMENTS.
-
-2008-05-12 Jim Keniston <jkenisto@us.ibm.com>
-
- (2008-05-05 in dwarfless branch)
- PR 4311 - Function boundary tracing without debuginfo: Phase II
- * runtime/regs.c: Added register name:value lookup facility.
- Added support for register and arg lookup for i386 and x86_64.
- * tapset/{i686,x86_64}/registers.stp: New: support for register
- and arg lookup.
- * tapsets.cxx, translate.cxx: Added regparm field to struct
- context.
- * tapset/nd_syscall.stp: syscall.stp migrating toward numbered
- args rather than named args.
-
-2008-05-12 Jim Keniston <jkenisto@us.ibm.com>
-
- (2008-04-18 in dwarfless branch)
- PR 4311 - Function boundary tracing without debuginfo: Phase I
- * tapsets.cxx: Major rework of dwflpp, dwarf_query, and related
- code to make do with elf info if dwarf info is absent, or
- (in the case of vmlinux) make do with a System.map-style
- symbol table if even the elf file is absent.
- * main.cxx: Use getopt_long instead of getopt. Added --kelf,
- --kmap, --ignore-vmlinux, and --ignore-dwarf.
- * hash.cxx, session.h, stap.1.in: Added --kelf, --kmap,
- --ignore-vmlinux, and --ignore-dwarf.
- * testsuite/{semok,semko}/nodwf*.stp
-
-2008-05-07 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6492.
- * main.cxx (main): let -l imply -w.
-
-2008-05-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 444886. From <crquan@gmail.com>:
- * tapsets.cxx, translate.cxx: Add .../build/... to default debuginfo
- path, to ease search for hand-built kernels.
-
-2008-05-01 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6474
- * configure.ac (--enable-pie): Add default option.
- * Makefile.am (stap* binaries): Use -fpie/-z relro/-z now as
- applicable.
- * configure, aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
-
-2008-04-30 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 6008
- * main.cxx (main): Increase the limitation of buffer size to 4095MB.
- * staprun.8.in: Ditto.
-
-2008-04-29 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6466
- * elaborate.cxx
- (dead_stmtexpr_remover): Expand scope to kill far more
- side-effect-free statemnets, including if/for/foreach.
- (semantic_pass_opt4): Warn on elided function/probe bodies.
- (typeresolution_info::visit_target_symbol): Dump parse tree of
- resolution-challenged functions/probes.
- (*): Adapt to probe->body being a statement*
- rather than a block*.
- * tapsets.cxx (*): Ditto.
- * staptree.cxx (block::block ctor): New cons constructor.
- * staptree.h: Corresponding changes.
-
-2008-04-29 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Added
- death event handlers to ensure that for every utrace_attach there
- is a corresponding utrace_detach.
- (utrace_derived_probe_group::emit_module_decls): Ditto.
-
-2008-04-28 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (translate_pass): Don't #define TEST_MODE.
-
-2008-04-26 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (common_probe_entryfn_prologue): Undo
- clear of overload-related context vars; add explanation why.
-
-2008-04-25 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.spec.in: Simplify configuration defaults.
-
-2008-04-25 David Smith <dsmith@redhat.com>
-
- PR 6455.
- * tapsets.cxx (mark_builder::build): Handles markers with no
- format string.
-
-2008-04-24 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6454.
- * main.cxx (printscript): Avoid string truncation heuristics, and
- also avoid plain probe::printsig. Hold nose and dig down into
- raw location lists instead.
-
-2008-04-24 Will Cohen <wcohen@redhat.com>
-
- * aclocal.m4: Regenerated.
- * Makefile.am (example/*): Moved to testsuite/systemtap.examples.
- * Makefile.in: Regenerated.
-
-2008-04-23 Frank Ch. Eigler <fche@elastic.org>
-
- From: Srinivasa DS <srinivasa@in.ibm.com>
- * tapsets.cxx (blacklisted_p): Blacklist more init/exit sections.
-
-2008-04-23 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (common_probe_entryfn_prologue): Clear
- overload-related context vars.
-
-2008-04-22 hunt <hunt@redhat.com>
-
- * staprun.8.in: Add documentation for -d option.
-
-2008-04-22 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_derived_probe_group::emit_module_decls):
- Removed debug statements.
-
-2008-04-18 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (struct utrace_builder): Added exec probes.
- (utrace_derived_probe_group::emit_probe_decl): Ditto.
- (utrace_derived_probe_group::emit_module_decls): Ditto.
- (register_standard_tapsets): Ditto.
- * stapprobes.5.in: Added information about exec probes.
- * NEWS: Added information about utrace probes.
-
- * stapprobes.5.in: Added information about utrace probes.
-
-2008-04-17 Josh Stone <joshua.i.stone@intel.com>
-
- * tapsets.cxx (build_blacklist): Fix regexps for atomics.
- * vim/syntax/stap.vim: Recognize the 'limit' keyword and script arguments,
- allow '$' in variable names, and highlight $target variables.
-
-2008-04-17 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (utrace_builder::build): Make sure that the PATH of
- 'process("PATH")' probes is an absolute path.
- (utrace_derived_probe_group::emit_module_decls): Made calls to
- utrace probe handler functions conditional on which types of
- utrace probes are going to be output.
-
-2008-04-16 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (task_finder_derived_probe): Add dummy constructor
- for old (RHEL4) gcc compatibility.
-
-2008-04-16 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6417: From Srinivasa DS <srinivasa@in.ibm.com>:
- * tapsets.cxx (build_blacklist): Extend.
-
-2008-04-15 David Smith <dsmith@redhat.com>
-
- * session.h (struct systemtap_session): Added utrace_derived_probe
- group and task_finder_derived_probe_group members.
- * elaborate.cxx (systemtap_session::systemtap_session): Added
- initialization of utrace_derived_probes and
- task_finder_derived_probes.
- * tapsets.cxx (struct task_finder_derived_probe_group): New
- derived_probe_group to handle task_finder framework.
- (struct utrace_derived_probe_group): New derived_probe_group to
- handle utrace probes.
-
-2008-04-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6405 cont'd.
- * Makefile.am (AM_CFLAGS): Remove -Wshadow, as it triggers for
- new stapio (modname global vs. dwfl headers).
-
-2008-04-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6405
- * buildrun.cxx (compile_pass): Add STAPCONF_MODULE_NSECTIONS.
-
-2008-04-14 David Smith <dsmith@redhat.com>
-
- * elaborate.h (struct derived_probe_group): Removed
- emit_module_header virtual function.
- * translate.cxx (c_unparser::emit_common_header): Removed calls to
- emit_module_header function.
- * tapsets.cxx (be_derived_probe>): Removed emit_module_header function.
- (struct timer_derived_probe_group): Ditto.
- (struct profile_derived_probe_group): Ditto.
- (struct procfs_derived_probe_group): Ditto.
- (struct hrtimer_derived_probe_group): Ditto.
- (struct perfmon_derived_probe_group): Ditto.
- (dwarf_derived_probe_group::emit_module_decls): Moved kernel check
- back from deleted emit_module_header function.
- (uprobe_derived_probe_group::emit_module_decls): Ditto.
- (mark_derived_probe_group::join_group): Moved marker
- kernel check (to a new embedded code section) from deleted
- emit_module_header function.
-
-2008-04-14 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (stapio_*): Become able to link/compile against
- bundled elfutils.
- * Makefile.in: Regenerated.
-
-2008-04-09 Martin Hunt <hunt@dragon>
-
- * buildrun.cxx (run_pass): Remove unused "-d" option
- passed to staprun.
-
- * translate.cxx (emit_symbol_data): When available,
- grab symbols from debuginfo instead of /proc/kallsyms.
-
-2008-04-11 David Smith <dsmith@redhat.com>
-
- * elaborate.h (struct derived_probe_group): Added
- emit_module_header virtual function.
- * translate.cxx (c_unparser::emit_common_header): Calls each probe
- group's emit_module_header function.
- (translate_pass): Moved inclusion of linux/marker.h to
- mark_derived_probe_group::emit_module_header().
- * tapsets.cxx (struct be_derived_probe_group): Added empty
- emit_module_header function.
- (struct timer_derived_probe_group): Ditto.
- (struct profile_derived_probe_group): Ditto.
- (struct procfs_derived_probe_group): Ditto.
- (struct hrtimer_derived_probe_group): Ditto.
- (struct perfmon_derived_probe_group): Ditto.
- (dwarf_derived_probe_group::emit_module_header): Moved kprobes
- kernel check from emit_module_decls() to here.
- (uprobe_derived_probe_group::emit_module_header): Moved uprobe
- kernel check from emit_module_decls() to here.
- (uprobe_derived_probe_group::emit_module_decls): Moved uprobe
- kernel check to emit_module_header().
- (mark_derived_probe_group::emit_module_header): Moved marker
- kernel check from emit_module_decls and translate_pass() to here.
- (uprobe_derived_probe_group::emit_module_decls): Moved marker
- kernel check to emit_module_header().
-
-2008-04-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2949.
- * session.h (listing_mode): New field.
- * main.cxx (main): Test it. Enjoy it.
- (printscript): Do it.
- (usage): Document it.
- * stap.1.in, stapex.5.in: Ditto.
- * elaborate.cxx (print_error): Disable error messages in listing mode.
-
-2008-04-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6393 cont'd.
- * Makefile.am: Also copy RadeonHD.am fragment to force
- git_version.h regeneration at every make, and also special
- tagging for "make dist". Thanks <ndim>.
-
-2008-04-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6393.
- * git_version.sh: New file, copied from radeonhd.
- * configure.ac: No longer generate $builddir/SNAPSHOT.
- * Makefile.am: Generate $builddir/git_version.h.
- (EXTRA_DIST): Add git_version.h and git_version.sh.
- * main.cxx (version): Print generated GIT_MESSAGE therefrom.
- * Makefile.in, configure: Regenerated.
-
-2008-04-09 David Smith <dsmith@redhat.com>
-
- * .gitignore: Added more files to ignore.
-
-2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 6028
- * translate.cxx (c_unparser::emit_common_header): Add unwaddr for
- caching unwound address.
- * tapsets.cxx (common_probe_entryfn_prologue): Clear unwaddr.
-
-2008-04-01 Frank Ch. Eigler <fche@elastic.org>
-
- * safety/*: Removed subdirectory containing abandoned experiment.
-
-2008-03-31 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Bump version to 0.7.
- * configure: Regenerated.
-
-2008-03-27 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (common_probe_entryfn_prologue): Clear last_stmt.
-
-2008-03-26 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_function): Set context last_stmt, in case
- an error occurs during the function.
-
-2008-03-25 Frank Ch. Eigler <fche@elastic.org>
-
- * stap.1.in: Clarify utility of epilogue type probe aliases.
-
-2008-03-21 Eugene Teo <eugeneteo@kernel.sg>
-
- PR 5528
- * tapset/conversions.stp (user_string_n, user_string_n2,
- user_string_n_warn, user_string_n_quoted, user_short, user_short_warn,
- user_int, user_int_warn, user_long, user_long_warn, user_char,
- user_char_warn): New user_* functions.
- * stapfuncs.5.in: Documented the new functions.
- * testsuite/systemtap.stress/conversions.stp: Test new functions.
- * testsuite/buildok/conversions.stp: Test new functions.
- * testsuite/buildok/conversions-embedded.stp: Test new functions.
-
-2008-03-20 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5975.
- * tapsets.cxx (*): Added a few (void) expressions for asserts that
- may be compiled out.
-
-2008-03-14 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 3542
- * buildrun.cxx (compile_pass): Add an autoconf to check the kernel
- supports batch unregistration.
- * tapsets.cxx (dwarf_derived_probe_group::emit_module_decls): Add an
- array of probe pointers for batch unregistration.
- * tapsets.cxx (dwarf_derived_probe_group::emit_module_exit): Use
- unregister_k(ret)probes if it is supported.
-
-2008-03-13 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5928.
- * buildrun.cxx (compile_pass): Use EXTRA_CFLAGS for autoconf'd values
- instead of CFLAGS_<module>.o.
-
-2008-03-12 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac, systemtap.spec.in: Bumped version to 0.6.2.
- * configure: Regenerated.
-
-2008-03-12 Dave Brolley <brolley@redhat.com>
-
- PR5897
- * staptree.cxx (probe::printsig): If this probe was derived from an alias,
- call the printsig method of the alias.
-
-2008-03-10 Dave Brolley <brolley@redhat.com>
-
- PR5189
- * translate.cxx (probe_or_function_needs_deref_fault_handler): New member of
- c_unparser.
- (c_unparser::emit_function): Initialize probe_or_function_needs_deref_fault_handler.
- Check it after the body is visited and generate a deref fault handler if necessary.
- (c_unparser::emit_probe): Likewise.
- (c_unparser::visit_print_format): Correct the compoenent type for an overridden string
- literal. Generate code to check that pointer arguments to %m can be dereferenced.
- Generate casts for printf arguments as necessary.
- * elaborate.cxx (typeresolution_info::visit_print_format): Desired type for conv_memory
- is pe_long.
-
-2008-03-06 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (AM_CXXFLAGS, AM_CFLAGS): Remove -Werror.
- * Makefile.in, doc/Makefile.in: Regenerated.
-
-2008-03-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR5516
- * elaborate.cxx (symbol_fetcher, dead_assignment_remover):
- Support unresolved $target lvalues. Propagate pretty error
- messages.
- * staptree.cxx (varuse_collecting_visitor target_symbol): Ditto.
- * staptree.h: Corresponding decl.
-
- * loc2c.c: c_translate_pointer_store: New function.
- * loc2c.h: Corresponding decl.
- * tapsets.cxx (dwflpp::translate_final_fetch_or_store): Call it
- for $target pointer assignments.
-
-2008-02-29 Will Cohen <wcohen@redhat.com>
-
- * main.cxx (handle_interrupts): Make compatible with GCC 4.3.
-
-2008-02-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR5045
- * session.h (pending_interrupts): New global.
- * main.cxx (handle_interrupts): New fn to handle SIGINT* etc.
- * elaborate.cxx, translate.cxx, tapsets.cxx, main.cxx (*): Insert
- pending_interrupts escape hatches inside potentially timetaking loops.
- * buildrun.cxx: Don't deal with signals.
-
-2008-02-27 Frank Ch. Eigler <fche@elastic.org>
-
- PR5697
- * configure.ac (enable-docs): Implement.
- * systemtap.spec.in: Add optional docs build/install/prereqs.
- * Makefile.am (SUBDIRS): Add doc.
- * Makefile.in, configure: Regenerated.
-
-2008-02-27 Dave Brolley <brolley@redhat.com>
-
- PR5189
- * staptree.h (print_format::conv_memory): New enumerator.
- (print_format::width_type): New enumeration.
- (print_format::precision_type): New enumeration.
- (format_component::widthtype): New member.
- (format_component::prectype): New member.
- (format_component::is_empty): Test widthtype and prectype.
- (format_component::clear): Clear widthtype and prectype.
- * staptree.cxx (print_format::components_to_string): Handle dynamic width and precision.
- Handle conv_memory.
- (print_format::string_to_components): Parse dynamic width and precision specifiers.
- Set widthtype and prectype. Parse %m format specifier.
- * elaborate.h (typeresolution_info::check_arg_type): New method.
- * elaborate.cxx (typeresolution_info::visit_print_format): Account for dynamic width
- and precision when computing the expected number of arguments. Check the types of
- arguments for dynamic width and precision. Use check_arg_type to check the types of
- all arguments. Handle print_format::conv_memory.
- (typeresolution_info::check_arg_type): New method.
- * NEWS: Describe the enhancements above.
-
-2008-02-27 David Smith <dsmith@redhat.com>
-
- PR5729
- * systemtap.spec.in: Adds examples to the testsuite rpm so that
- systemtap.samples/examples.exp works correctly.
-
-2008-02-26 Dave Brolley <brolley@redhat.com>
-
- PR5018
- * staprun.8.in: Escape dashes ('-') as appropriate.
-
-2008-02-26 Srinivasa DS <srinivasa@in.ibm.com>
- PR5772
- * tapset/syscall2.stp: Modify wait4,waitid argument list
- for kernel > 2.6.24.
-
-2008-02-25 Frank Ch. Eigler <fche@elastic.org>
-
- PR5792.
- * parse.cxx (eval_pp_conditional): Support wildcards in
- %( kernel_v/kernel_vr/arch ==/!= "*foo?" %) operands.
- * NEWS, stap.1.in: Document this.
-
-2008-02-22 Frank Ch. Eigler <fche@elastic.org>
-
- PR5787, PR2608, .statement()
- * tapsets.cxx (query_dwarf_func): Process .statement(NUM) probes too.
- (query_cu): Ditto.
- (query_func_info): Bypass prologue searching for .statement() probes.
- (query_cu): Ditto.
-
- (build_blacklist): Remove unsightly empty first alternative in
- "^(|foo)$" regexps. Show them for -vvv.
-
- * buildrun.cxx (compile_pass): Don't turn on "gcc -Q" on until -vvvv.
-
-2008-02-20 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (struct mark_derived_probe): Renamed 'probe_sig' to
- 'probe_format'.
- (mark_derived_probe::mark_derived_probe): Added new "format" probe
- point component.
- (mark_derived_probe::parse_probe_format): Renamed from
- 'mark_derived_probe::parse_probe_sig'.
- (struct mark_builder): Added typedefs. Converted mark_cache from
- a map to a multimap to handle markers with the same name but
- different formats.
- (mark_builder::build): Added new 'format' probe parameter.
- (register_standard_tapsets): Added new 'format' marker probe
- optional parameter.
- * stapprobes.5.in (parts): Documented new "format" probe
- component.
-
-2008-02-19 Roland McGrath <roland@redhat.com>
-
- * tapsets.cxx (query_module): Use dwfl_module_getdwarf rather
- than dwfl_module_getelf for e_machine check.
- (dwarf_query::get_blacklist_section): Likewise for section search.
- Ignore non-SHF_ALLOC sections.
-
-2008-02-19 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (query_module): Tweak elf-machine checking to
- better represent elfutils idioms.
-
-2008-02-19 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5766.
- * tapsets.cxx (build_blacklist): Switch (back) to regexp-based
- blacklist construction ...
- (blacklist_p): ... and querying.
-
-2008-02-19 David Smith <dsmith@redhat.com>
-
- PR 5672.
- * tapsets.cxx (mark_derived_probe): Call probe_point copy ctor to
- shallow-copy incoming base probe location before
- recomputing/overwriting it.
-
-2008-02-18 Frank Ch. Eigler <fche@elastic.org>
-
- * NEWS, stapprobes.5.in: Document basic (non-symbolic prototype)
- user-space probe points.
-
-2008-02-15 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (function_name_last_match): New function.
- (query_dwarf_func): Call it to stop unnecessary further iteration.
-
-2008-02-13 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5759
- * tapsets.cxx (build_blacklist): Add some CONFIG_PREEMPT-related
- functions.
-
-2008-02-13 Dave Brolley <brolley@redhat.com>
-
- PR5609
- * staptree.h (probe::collect_derivation_chain): Now takes vector<probe*>.
- (probe::get_alias): New virtual method.
- * elaborate.h (derived_probe::collect_derivation_chain): Now takes vector<probe*>.
- * staptree.cxx (probe::collect_derivation_chain): Now takes vector<probe*>. Don't
- cast 'this' to (derived_probe*).
- * elaborate.cxx (derived_probe::collect_derivation_chain): Now takes vector<probe*>.
- (alias_derived_probe::get_alias): New virtual method.
- (alias_derived_probe::alias): New member.
- (alias_expansion_builder::build): Call checkForRecursiveExpansion and emit a
- diagnostic if recursion is detected. Pass alias to constructor of
- alias_derived_probe.
- (alias_expansion_builder::checkForRecursiveExpansion): New method.
- * coveragedb.cxx: Pass vector<probe*> on all calls to collect_derivation_chain.
-
-2008-02-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4393
- * tapsets.cxx (emit_address): Support relocatable kernels.
- (dwarf_derived_probe ctor): Hack around for missing USHRT_MAX.
- * elaborate.cxx (semantic_pass): Increment rc if exception caught.
-
-2008-02-12 Martin Hunt <hunt@redhat.com>
- PR 5757
- * tapsets.cxx, translate.cxx: Cleanup indentation a bit.
-
-2008-02-11 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 5693
- * runtime/uprobes/uprobes.c: Intercept handler-destined
- signals received while we're single-stepping, and re-queue
- them afterward.
- * runtime/uprobes/uprobes.h: Ditto
-
-2008-02-09 Frank Ch. Eigler <fche@elastic.org>
-
- PR5750.
- From Eugeniy Meshcheryakov eugen@debian.org:
- * configure.ac (HAVE_LIBSQLITE3): Complete AC_DEFINE.
-
- * configure, INSTALL, missing, compile, depcomp, install-sh:
- autoreconf -fi'd.
-
-2008-02-09 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5751.
- * configure.ac: Add -Werror to trial compilation with
- -fstack-protector-all, for hosts that don't quite support it.
- * configure: Regenerated.
-
-2008-02-08 David Smith <dsmith@redhat.com>
-
- PR 5650
- * systemtap.spec.in: Further simplification.
-
-2008-02-07 Frank Ch. Eigler <fche@elastic.org>
-
- * buildrun.cxx (run_make_cmd, compile_pass): Tweak kbuild
- parametrization to produce useful compile logs at -vv.
-
-2008-02-04 David Smith <dsmith@redhat.com>
-
- PR 4446 (partial)
- * tapsets.cxx
- (mark_var_expanding_copy_visitor::visit_target_symbol_arg): New
- function.
- (mark_var_expanding_copy_visitor::visit_target_symbol_format): New
- function.
- (mark_var_expanding_copy_visitor::visit_target_symbol): Handles
- "$arg" or "$format".
- (mark_derived_probe_group::emit_module_decls): Sets up "$format"
- data.
-
- PR 5650 (parital)
- * systemtap.spec.in: Moved %pre section to the systemtap-runtime
- rpm.
-
-2008-01-30 David Smith <dsmith@redhat.com>
-
- PR 5650
- * systemtap.spec.in: Simplified and explicitly specifies configure
- options.
-
-2008-01-30 Dave Brolley <brolley@redhat.com>
-
- * coveragedb.cxx (print_coverage_info): Fix typo: s.probes -> s.unused_probes
- where appropriate.
- (sql_update_unused_probes): Likewise.
-
-2008-01-29 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5647
- * configure.ac (--enable-ssp): Make default on compilers that
- support it.
- * configure: Regenerated.
-
-2008-01-28 David Smith <dsmith@redhat.com>
-
- * configure.ac: Fixed a bug when "--disable-permon" was used.
- Added "--enable-crash" option.
- * configure: Regenerated.
- * Makefile.am: Improved staplog.so compile command.
- * Makefile.in: Regenerated.
-
- * tapsets.cxx (dwarf_derived_probe_group::emit_module_decls):
- Added 'const' to several members of stap_dwarf_probes.
-
- PR 5685. From Eugeniy Meshcheryakov <eugen@debian.org>
- * configure.ac: If "--enable-sqlite" is specified, define
- HAVE_LIBSQLITE3.
- * configure: Regenerated.
-
-2008-01-26 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5673.
- * tapsets.cxx (dwarf_derived_probe_group): Split stap_dwarf_probes[]
- into bss-carried kprobes structs. Tune embedded strings for
- minimizing relocation-vs-fixed-buffer wastage.
- * tapsets.cxx (dwarf_derived_probe): Impose .maxactive() limits.
-
-2008-01-25 Jim Keniston <jkenisto@us.ibm.com>
-
- * runtime/uprobes/uprobes.c: Within a probed process, serialize
- calls to access_process_vm() when populating instructions
- slots. Fixes an SMP bug on multithreaded apps with many
- active probepoints.
- * runtime/uprobes/uprobes.h: Ditto
-
-2008-01-25 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5672.
- * staptree.cxx (probe_point copy ctor): New function.
- * staptree.h: Declare it.
- * tapsets.cxx (dwarf_derived_probe ctor): Call it to shallow-copy
- incoming base probe location before recomputing/overwriting it.
-
-2008-01-25 David Smith <dsmith@redhat.com>
-
- * configure.ac: Compressed the two perfmon options into one.
- Made other small fixes and whitespace changes.
- * configure: Regenerated.
-
-2008-01-24 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am: Make another $(MKDIR) call visible.
- * Makefile.in: Regenerated.
-
-2008-01-24 David Smith <dsmith@redhat.com>
-
- PR 5661 (reverted).
- * configure.ac: Removed elfutils version number check.
- * configure: Regenerated.
- * acsite.m4: Removed.
- * systemtap.spec.in: Minimum elfutils version number is no longer
- filled in by configure.
-
- PR 5650 (partial).
- * configure.ac: Handles sqlite optional functionality correctly.
- If enabled/disabled by the user, do the right thing. If not
- specified by the user, use it if present.
- * configure: Regenerated.
- * systemtap.spec.in: Always specify to configure whether to use
- sqlite or not.
-
-2008-01-24 Dave Brolley <brolley@redhat.com>
-
- PR 5017.
- * staptree.cxx (<cstring>): #include it.
- (required <indexable *>): Remove 'static' from instantiation and
- move instantiation to here from...
- * staptree.h: ...here.
-
-2008-01-23 David Smith <dsmith@redhat.com>
-
- PR 5661.
- * configure.ac: Checks elfutils version number.
- * acsite.m4: New file containing macro to return elfutils version
- number.
- * configure: Regenerated.
- * systemtap.spec.in: Minimum elfutils version number is now filled
- in by configure.
-
-2008-01-23 Dave Brolley <brolley@redhat.com>
-
- PR 5613.
- * translate.cxx (var::fini): New method.
- (c_unparser::emit_module_init): Call var::fini when deregistering
- variables without indices.
- (c_unparser::emit_module_exit): Likewise.
-
-2008-01-23 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2151.
- * tapsets.cxx (dwflpp::setup): Parametrize debuginfo_path.
- * stap.1.in: Document this.
-
-2008-01-22 Jim Keniston <jkenisto@us.ibm.com>
-
- * runtime/uprobes/uprobes.c: Fix from Srinivasa: Recast
- rcu_dereferences of engine->data to resync with kernel.org
- builds.
-
-2008-01-18 Srinivasa DS <srinivasa@in.ibm.com>
-
- PR 5549
- * buildrun.cxx : Verify whether kernel has register rename patch
- through autoconf files.
- * runtime/(loc2c-runtime.h, procfs.c, regs.c, regs.h,
- stack-i386.c, autoconf-x86-uniregs.c, autoconf-nameidata.c) : Use
- appropriate register name at runtime, based on whether kernel has
- register rename patch or not.
-
-2008-01-18 Jim Keniston <jkenisto@us.ibm.com>
-
- * runtime/uprobes/uprobes.c: Added static copy of
- access_process_vm(), for kernels that don't export it.
-
-2008-01-18 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac, systemtap.spec.in: Update version to 0.6.1
- * configure: Regenerated.
-
-2008-01-17 Srinivasa DS <srinivasa@in.ibm.com>
-
- PR 5483
- * tapsets.cxx : Possible fix for making systemtap compatible with
- the elfutils-0.131
-
-2008-01-17 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4935.
- Reorganize probe condition implementation.
- * elaborate.cxx (add_condition): New function.
- (derived_probe): Remove condition member.
- (derived_probe ctors): Assert non-null incoming probe/location ptrs.
- (insert_condition_statement): Remove; turn into ...
- (semantic_pass_conditions): New pass-2 subpass.
- (semantic_pass_symbols, visit_symbol, visit_functioncall, find_var):
- Detect some condition-related error cases.
- (match_key): Change type to exp_type from tok_type. Update callers.
- (alias_expansion_builder): Propagate probe conditions.
- * staptree.cxx (probe): Remove condition field and related functions.
- * tapsets.cxx (dwarf_derived_probe ctor): Compute replacement
- wildcard-expanded probe_point preserving more of the original
- location.
- (mark_derived_probe ctor): Make similar to others - take location
- rather than condition parameters.
- * translate.cxx (emit_common_header): Tweak ordering of tmpcounter
- traversal and hashkey expression generation.
- * elaborate.h: Corresponding changes.
-
-2008-01-17 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx
- (procfs_var_expanding_copy_visitor::visit_target_symbol): Print an
- error when trying to use the procfs target variable '$value' as an
- array or structure.
- (perfmon_var_expanding_copy_visitor::visit_target_symbol): Print an
- error when trying to use the perfmon target variable '$counter as
- an array or structure.
-
-2008-01-17 Srinivasa DS <srinivasa@in.ibm.com>
-
- PR 5483.
- * tapsets.cxx (emit_address): Tolerate dummy relocation entry
- added for kernel by recent elfutils.
-
-2008-01-16 David Smith <dsmith@redhat.com>
-
- PR 5608.
- * tapsets.cxx
- (mark_var_expanding_copy_visitor::visit_target_symbol): Print an
- error when trying to use a marker argument as an array or
- structure.
-
-2008-01-16 Eugene Teo <eteo@redhat.com>
-
- * stapfuncs.5.in: Document signal.stp tapset functions.
-
-2008-01-14 Martin Hunt <hunt@redhat.com>
- * translate.cxx (emit_module_init): Call _stp_print_kernel_info()
- to print out version information and internal memory usage stats.
-
-2008-01-14 Martin Hunt <hunt@redhat.com>
- * translate.cxx (emit_module_exit): When using timing, delete timing
- stats when finished.
-
-2008-01-12 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Generate a build tree SNAPSHOT file from git-rev-list,
- if we suspect the source tree came from git.
- * configure: Regenerated.
-
-2008-01-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5603.
- * configure.ac: Add "--enable-ssp" to select -fstack-protector-all
- and similar runtime checking directives.
- * configure: Regenerated.
-
-2008-01-09 David Smith <dsmith@redhat.com>
-
- * systemtap.spec.in: Since "make check" was removed
- from the rpm build step, we no longer need to require dejagnu at
- build time.
-
-2008-01-09 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (dwflpp::setup): Improve missing kernel-debuginfo
- message.
-
-2008-01-02 Frank Ch. Eigler <fche@elastic.org>
-
- From Mark McLoughlin <markmc@redhat.com>:
- * main.cxx (main): Set/restore umask around mkdtemp().
-
-2007-12-27 Jim Keniston <jkenisto@us.ibm.com>
-
- * runtime/uprobes/uprobes_x86_64.c: Fix handling of indirect
- jmps and calls that use rip-relative addressing. Allow probing
- of opcode 0x63.
-
-2007-12-13 Masami Hiramatsu <mhiramat@redhat.com>
-
- * stap.1.in: Document about relay buffer sharing.
- * NEWS: Document about relay buffer sharing and staplog crash extension.
-
-2007-12-12 Wenji Huang <wenji.huang@oracle.com>
-
- PR 5470
- * parse.cxx (parser::parse_probe_point): Add checking pointer t.
-
-2007-12-11 Frank Ch. Eigler <fche@elastic.org>
-
- * staptree.cxx, staptree.h: More GCC 4.3 build fixes from
- Eugeniy Meshcheryakov <eugen@debian.org>.
-
-2007-12-05 William Cohen <wcohen@redhat.com>
-
- * systemtap.spec.in: Correct Source to point to location contain code.
-
-2007-12-05 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 4935
- * tapsets.cxx (dwarf_derived_probe::dwarf_derived_probe): Allow user
- to access kernel variables in the condition of probe points.
- * stapprobes.5.in : Document the conditional probe point.
- * NEWS : Ditto.
-
-2007-12-03 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 5376
- * parse.cxx (lexer::scan): Treat '*' as an alphabet if the wildcard
- flag is true.
- (parser::parse_probe_point): Call parser::next() with wildcard = true.
- (parser::scan_pp): Add wildcard flag and pass it to lexer::scan.
- (parser::next): Ditto.
- (parser::peek): Ditto.
- * parse.h : Ditto.
-
-2007-12-01 Frank Ch. Eigler <fche@elastic.org>
-
- * gen-stapmark.h, stapmark.h: Retire.
-
-2007-11-29 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (mark_derived_probe::initialize_probe_context_vars):
- Handles the case where one marker has more than one string
- argument.
-
-2007-11-27 David Smith <dsmith@redhat.com>
-
- PR 5377.
- * elaborate.cxx (match_node::find_and_build): Handle wildcards in
- probe points correctly.
-
-2007-11-26 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (derived_probe ctor): Don't duplicate condition
- if it doesn't exist.
- * staptree.cxx (probe_point, probe ctors): Initialize to 0.
-
-2007-11-20 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 4935.
- * parse.cxx (parser::parse_probe_point): Parse "if" condition
- following probe point.
- * staptree.h (probe_point): Add "condition" field.
- (probe): Add "condition" field and "add_condition" method.
- (deep_copy_visitor): Add "deep_copy" method for the expression.
- * staptree.cxx (probe_point::probe_point): Initalize it.
- (probe::add_condition): Implement it.
- (probe::print): Output "condition" field.
- (probe::str): Ditto.
- (deep_copy_visitor::deep_copy): Implement it.
- * elaborate.h (derived_probe): Add "insert_condition_statement"
- method.
- * elaborate.cxx (derived_probe::derived_probe): Initialize "condition"
- field, and insert a condition check routine on the top of body.
- (derived_probe::insert_condition_statement): Implement it.
- (alias_expansion_builder::build): Pass the condition from the alias
- referer to new alias.
- * tapsets.cxx (be_derived_probe): Remove unused constructor.
- (dwarf_derived_probe::dwarf_derived_probe): Insert a condition check
- routine on the top of body.
- (mark_derived_probe::mark_derived_probe): Ditto.
- (mark_builder::build): Pass the base location to mark_derived_probe.
-
-
-2007-11-19 Frank Ch. Eigler <fche@elastic.org>
-
- PR 3887.
- * staptree.h (probe_point): Add "sufficient" field.
- * staptree.cxx: Initialize it, print it.
- * parse.cxx (parse_probe_point): Parse it.
- * elaborate.cxx (derive_probes): Implement it.
- * stapprobes.5.in: Document it.
- * NEWS: Gloat about it.
-
-2007-11-15 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (mark_derived_probe::initialize_probe_context_vars):
- Updated to work with latest LTTNG patch
- patch-2.6.24-rc2-lttng-0.10-pre23.tar.bz2.
- (mark_derived_probe_group::emit_module_decls): Ditto.
- (mark_derived_probe_group::emit_module_init): Ditto.
- (mark_derived_probe_group::emit_module_exit): Ditto.
-
- * translate.cxx (c_unparser::emit_common_header): Ditto.
-
-2007-11-15 Mike Mason <mmlnx@us.ibm.com>
-
- * systemtap.spec.in: Removed "make check" from rpm build steps
-
-2007-11-15 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx: Removed mark_query structure.
- (mark_derived_probe::mark_derived_probe): Just looks for "kernel"
- marker probes.
- (mark_builder::build_no_more): No longer kern_dw, instead clears
- the marker cache.
- (mark_builder::build): Now parses Module.markers file to find
- marker list and stores them in a cache.
- (register_standard_tapsets): Removed 'module("foo").mark("bar")'.
- All markers now go through 'kernel.mark("bar")'.
-
- * stapprobes.5.in (parts): Updated marker text.
-
-2007-11-14 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 5324
- * main.cxx: Restored initialization of need_uprobes flag,
- mistakenly backed out in PR 5270 fix.
-
-2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * stapfuncs.5.in (tokenize): Change NULL to blank to avoid
- misunderstanding.
-
-2007-11-13 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 5270
- * main.cxx: Restored pre-10-08 version: moved uprobes build to
- buildrun.cxx.
- * buildrun.cxx: Reworked uprobes build so that the resulting
- Module.symvers can be used in building the stap-generated
- module. If user isn't root, call verify_uprobes_uptodate()
- rather than trying (and failing) to rebuild uprobes.ko.
- * buildrun.h: uprobes_enabled() and make_uprobes() are no
- longer extern.
- * runtime/uprobes/Makefile: Added uprobes.ko target for use
- by verify_uprobes_uptodate().
-
-2007-11-12 Martin Hunt <hunt@redhat.com>
-
- * stap.1.in: Replaced references to the log() function.
- * stapex.5.in: Ditto.
- * stapfuncs.5.in: Ditto. ALso remove print and printf. They are
- documented in stap.1.in.
-
-2007-11-12 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (visit_print_format): Strings without a format or
- formatted with "%s" or "%s\n" should be printed with calls to _stp_print().
- Call _stp_print_char() if printing a char.
-
- * staptree.cxx (parse_print): Check for "print_char".
-
- * staptree.h (struct print_format): Add print_char.
- (parse_print): Update prototype.
-
- * parse.cxx (parse_symbol): Set print_char bool in print_format.
-
-2007-11-12 Martin Hunt <hunt@redhat.com>
-
- * tapsets.cxx (build_blacklist): Add __raw_spin_is_locked.
-
-2007-10-25 Josh Stone <joshua.i.stone@intel.com>
-
- PR 5219
- * stap.1.in: Add a note about string literal limitations in printf
- and printd.
-
-2007-10-22 Jim Keniston <jkenisto@us.ibm.com>
-
- * runtime/uprobes/uprobes_x86_64.[ch]: Added x86_64 uprobes support
-
-2007-10-19 Jim Keniston <jkenisto@us.ibm.com>
-
- * runtime/uprobes/uprobes_ppc64.h,uprobes_s390.c: Fixed 10/16
- update to arch_validate_probed_insn() decl.
-
-2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>
-
- * staplog.c: Cleanup code and remove end-of-line spaces.
- (create_output_filename): Use snprintf instead of sprintf and remove
- malloc().
- (print_rchan_info): Merge into output_cpu_logs().
- (open_output_file): Use GETBUF() instead of malloc().
- (output_cpu_logs): Simplify logic and remove unused code.
- (do_staplog): Merge into cmd_staplog().
- (help_staplog): Fix typos.
- * Makefile.am (STAPLOG): Add -Wall option.
- * Makefile.in: Regenerated.
-
-2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>
-
- From Satoru Moriya <satoru.moriya.br@hitachi.com>:
- * staplog.c (create_output_dir): New function for creating output
- directory.
- (create_output_filename): New function for making output filename.
- (print_rchan_info): New function for displaying relay channel status.
- (open_output_file): New function for opening output file.
- (output_cpu_logs): Cleanup code and fix bugs to retrieve buffer
- data even when the last buffer is full and even if the systemtap
- uses old(non-utt) format. Add a routine for '-a' option.
- (cmd_staplog): Add '-a' option.
- (help_staplog): Ditto.
-
-2007-10-18 Mike Mason <mmlnx@us.ibm.com>
-
- * stapprobes.5.in: Removed C label reference.
- Clarified source path requirements for probe
- definitions. Fixed some vertical spacing
- issues.
-
-2007-10-18 Mike Mason <mmlnx@us.ibm.com>
-
- * stapfuncs.5.in: Corrected tokenize description.
- Added task_* functions.
-
-2007-10-16 Jim Keniston <jkenisto@us.ibm.com>
-
- * runtime/uprobes/uprobes.[ch], uprobes_i386.[ch],
- uprobes_ppc64.h, uprobes_s390.h: Adjusted SLOT_IP and
- arch_validate_probed_insn to accept task pointer (needed by
- x86_64); added uprobe_probept_arch_info and uprobe_task_arch_info
- (ditto).
- * runtime/uprobes/uprobes_i386.c: Fixed a couple of glitches
- discovered when porting to x86_64
-
-2007-10-15 Roland McGrath <roland@redhat.com>
-
- PR 5101
- * loc2c.c (struct location): Replace regno union member with struct
- member reg, fields regno and offset.
- (translate): Update uses.
- (emit_base_fetch, emit_base_store, emit_loc_register): Likewise.
- Fail if reg.offset is not zero.
- (location_relative): Handle DW_OP_plus_uconst relative to loc_register.
- (c_translate_array): Handle array index into loc_register.
-
-2007-10-15 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (mark_query::handle_query_module): Checks for marker
- to be in the proper section.
- (mark_derived_probe_group::emit_module_decls): Updated emitted
- marker C code for 10/2/2007 markers patch. Fixes PR 5178.
-
- From David Wilder <dwilder@us.ibm.com>
- * tapsets.cxx (mark_query::handle_query_module): Updated to handle
- 64-bit platforms correctly.
-
-2007-10-15 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * conversions.stp: Add a function kernel_string_n for copy
- non-0-terminated string with fixed length from kernel space at
- given address.
- * stapfuncs.5.in: Add kernel_string_n.
- * nfsd.stp: Using kernel_string_n to copy non-0-terminated string
- with fixed length from kernel space at given address.
- * nfs_proc.stp: Ditto.
-
-2007-10-12 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (dwflpp::setup): Added 'debuginfo_needed' parameter
- to not error if no debuginfo present.
- (hex_dump): New function.
- (mark_query::handle_query_module): Updated for
- 10/2/2007 markers patch. Currently only handles markers in the
- kernel image itself - not in modules.
-
-2007-10-12 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (staprun_LDADD): Add -lpthread.
- * Makefile.in: Rebuilt.
-
-2007-10-11 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.spec.in: Make -testsuite subrpm require dejagnu.
-
-2007-10-10 Jim Keniston <jkenisto@us.ibm.com>
-
- * runtime/uprobes/uprobes_ppc64.[ch]: Added
- * runtime/uprobes/uprobes_s390.[ch]: Added
-
-2007-10-09 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 5083
- * runtime/uprobes/uprobes.c: Adjust module ref-count
- when creating or removing uprobe_process, so "rmmod
- --wait uprobes" waits as needed until uretprobed
- functions return.
-
-2007-10-08 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 5079
- * main.cxx: Add pass 4.5: make uprobes.ko in runtime/uprobes
- * buildrun.cxx: Add uprobes_enabled() and make_uprobes().
- Factor run_make_cmd() out of compile_pass().
- * buildrun.h: Add uprobes_enabled and make_uprobes decls.
- * tapsets.cxx: Do correct #include for modprobed uprobes.ko;
- set need_uprobes in pass 2.
- * session.h: Add need_uprobes
-
- * runtime/staprun/common.c: Add -u option -> need_uprobes
- * runtime/staprun/staprun_funcs.c: Generalize insert_module()
- to support inserting uprobes.ko.
- * runtime/staprun/staprun.c: Add enable_uprobes(). insert_module
- call becomes insert_stap_module().
- * runtime/staprun/staprun.h: Reflect insert_module() and
- need_uprobes changes
-
- * runtime/uprobes/*.[c,h]: uprobes is built as a module,
- rather than included into the source of the stap-generated
- module.
- * runtime/uprobes/Makefile: Added
-
-2007-10-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1119
- * elaborate.cxx (semantic_pass_opt[12]): Warn on elided
- variables/functions in user script.
- * session.h (suppress_warnings): New field. Change
- "timing" to plain old bool.
- * main.cxx (main): Configure warnings on by default.
- * stap.1.in: Document this.
-
-2007-10-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5036
- * systemtap.spec.in: Create new systemtap-testsuite sub-rpm.
- Install crash(8)'s staplog.so into -runtime sub-rpm if built.
- * Makefile.am (rpm): New target.
- * Makefile.in: Regenerated.
-
-2007-10-04 Frank Ch. Eigler <fche@elastic.org>
-
- * stapfuncs.5.in: Document inet.stp tapset functions.
-
-2007-10-04 David Smith <dsmith@redhat.com>
-
- * buildrun.cxx (compile_pass): Tweaked build system for the
- 2.6.23-rc8-mm2 kernel.
-
-2007-10-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5102
- * translate.cxx (visit_statement): Add new parameter regarding whether
- c->last_stmt needs to be updated. Update callers, mostly passing
- "false".
- (visit_EXPRESSIONTYPE): Generally omit setting c->last_stmt, unless
- the construct can set c->last_error.
-
-2007-10-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5096
- * translate.cxx (emit_function): Put nesting limit/control logic into
- function body ...
- (visit_functioncall): ... and not into each call site.
-
-2007-10-02 Frank Ch. Eigler <fche@redhat.com>
-
- PR 3635
- * translate.cxx (emit_global): Wrap all globals and locks into one
- top-level struct. Update references to former "global_VAR" prefix.
- * translate.h (emit_global_init): New function.
-
-2007-10-02 Frank Ch. Eigler <fche@redhat.com>
-
- PR 5078
- * tapsets.cxx (be_derived_probe): Rework to add error probe support.
- Emit probe description array in C for traversal by generated code.
- * register_standard_tapsets: Add error probes.
- * stapprobes.5.in: Document.
- * translate.cxx (emit_module_init): Handle errors that may occur
- during begin probes.
- (emit_module_exit): Use schedule() rather than cpu_relax() during
- shutdown synchronization wait loop.
- * staptree.cxx (probe::printsig): Put multiple probe points on same
- line.
-
-2007-09-28 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.in: Regenerated from Jim Keniston's uprobes Makefile.am
- changes.
-
-2007-09-25 Josh Stone <joshua.i.stone@intel.com>
-
- * tapsets.cxx (translator_output::~translator_output): Fix mismatched
- delete / delete [].
-
-2007-09-25 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (mark_query::handle_query_module): Updated for
- 9/18/2007 markers patch.
- (mark_derived_probe::parse_probe_sig): Ditto.
- (mark_derived_probe_group::emit_module_decls): Ditto.
- (mark_derived_probe_group::emit_module_init): Ditto.
- (mark_derived_probe_group::emit_module_exit): Ditto.
-
-2007-09-24 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 3916
- * buildrun.cxx (compile_pass): Add new autoconf options for checking
- time related APIs.
-
-2007-09-21 Frank Ch. Eigler <fche@elastic.org>
-
- rhbz #300121
- * elaborate.cxx (dead_stmtexpr_remover): Add visit_if_statement,
- visit_foreach_loop, visit_for_loop): Support elision for unbraced
- statement bodies.
- (visit_expr_statement): Assert absence of unexpected nesting.
-
-2007-09-17 David Smith <dsmith@redhat.com>
-
- PR 1154
- * stapprobes.5.in: Documented procfs probes.
-
- * tapsets.cxx (procfs_builder::build): Validate procfs path.
-
-2007-09-14 David Smith <dsmith@redhat.com>
-
- PR 1154
- * tapsets.cxx
- (procfs_var_expanding_copy_visitor::visit_target_symbol):
- Disallows reading from $value in a procfs read probe.
-
-2007-09-14 David Smith <dsmith@redhat.com>
-
- PR 1154
- * tapsets.cxx (procfs_derived_probe_group::emit_module_init):
- Fixed problem where if only one type (read/write) of procfs probe
- was defined, the generated code wouldn't compile.
-
-2007-09-13 David Smith <dsmith@redhat.com>
-
- PR 1154
- * tapsets.cxx (procfs_derived_probe::procfs_derived_probe):
- Removed debug print.
- (procfs_derived_probe_group::emit_module_decls): Improved error
- handling and added support for procfs.write probes.
- (procfs_var_expanding_copy_visitor::visit_target_symbol): Removed
- debug print.
-
-2007-09-12 Frank Ch. Eigler <fche@elastic.org>
-
- * parse.cxx (parse_symbol): Accept println(@hist*()).
-
-2007-09-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5023
- * translate.cxx (c_unparser::visit_literal_number): Support LLONG_MIN.
- (visit_unary_expression): Likewise.
-
-2007-09-12 Martin Hunt <hunt@redhat.com>
-
- PR 5019
- * elaborate.cxx (visit_hist_op): Remove log histogram param.
- * translate.cxx (assert_hist_compatible): Ditto.
- * staptree.cxx (hist_op::print): Ditto.
- * session.h (statistic_decl): Ditto.
-
- * parse.cxx (expect_number): Allow negative numbers.
- Also validate that input is really numeric. This is used
- by histograms to get the parameters.
- (parse_hist_op_or_bare_name): Remove code to get parameter
- for log histograms.
-
-2007-09-12 David Smith <dsmith@redhat.com>
-
- * translate.cxx (c_unparser::emit_common_header): Added 'data'
- variable to context structure to support procfs probes.
- * tapsets.cxx: Improved procfs probe handling.
-
-2007-09-10 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (procfs_derived_probe_group::emit_module_init):
- Improved procfs probe handling (still non-working).
- (procfs_builder::build): Ditto.
- (register_standard_tapsets): Ditto.
- (all_session_groups): Ditto.
-
-2007-09-10 Martin Hunt <hunt@redhat.com>
-
- * tapsets.cxx, session.h, elaborate.cxx: Start of procfs
- interaction support. PR 1154.
-
-2007-09-06 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 4542
- * tapsets.cxx (dwarf_query::build_blacklist): add __switch_to to
- blacklisted_return_probes on i686
-
-2007-08-30 David Smith <dsmith@redhat.com>
-
- PR 4983
- * translate.cxx (c_tmpcounter::visit_print_format): Don't declare
- temporaries for number and string constants.
- (c_unparser::visit_print_format): Use numeric and string constants
- directly instead of copying them into temporaries.
-
-2007-08-27 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4817
- * NEWS: Mention retirement of LKET.
- * configure.ac: Remove mysql dependency.
- * systemtap.spec.in: Remove glib2 dependency.
- * configure, config.in: Regenerated.
-
-2007-08-24 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Check for proper $PROCFLAGS-dependent -lcap.
- * Makefile.am (staprun_LDADD): Use autoconf variable rather than
- -lcap literal.
- * configure, aclocal.m4, Makefile.in, config.in: Regenerated.
-
-2007-08-24 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4899
- * tapsets.cxx (dwflpp::has_single_line_record): Extended,
- abstraction violated.
- (iterate_over_srcfile_lines): Remove exactly line number match
- logic. Improve error message to offered better-checked alternative
- line numbers.
- (query_srcfile_line): Whoops, pass scope_die down for statement("...")
- probes, to enable $target var processing.
-
-2007-08-21 David Smith <dsmith@redhat.com>
-
- PR 2305
- * translate.cxx (c_unparser::visit_foreach_loop): When the user
- requested sorting an array of aggregates by value, sort by
- @count.
-
-2007-08-20 Martin Hunt <hunt@redhat.com>
-
- PR 2424
- From Lai Jiangshan <laijs@cn.fujitsu.com:
- * util.cxx (cmdstr_quoted): New. Properly quote
- command string.
- * buildrun.cxx (run_pass): Call cmdstr_quoted().
-
-2007-08-20 Frank Ch. Eigler <fche@elastic.org>
-
- From Satoru MORIYA <satoru.moriya.br@hitachi.com>
- * staplog.c: Updated.
-
-2007-08-20 David Smith <dsmith@redhat.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * main.cxx (main): Make sure the '-c' and '-x' options can't be
- specified together.
-
-2007-08-17 Frank Ch. Eigler <fche@elastic.org>
-
- As suggested by "Zhaolei" <zhaolei@cn.fujitsu.com>:
- * elaborate.cxx (semantic_pass_optimize[12],
- unresolved, invalid, mismatch): Use stringstream and
- print_error(semantic_error) instead of ad-hoc cerr.
-
-2007-08-16 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1315.
- * stapfuncs.5.in: Document new target_set tapset.
-
-2007-08-16 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (install-exec-hook): Only make staprun setuid if
- "make install" is being run as root.
- * Makefile.in: Regenerated.
-
-2007-08-16 Josh Stone <joshua.i.stone@intel.com>
-
- PR 4591
- * parse.cxx (parser::parse_symbol): Tweak 'print' matching to allow
- all the new variants with printd and println.
- * staptree.h (struct print_format): Add fields for the new print
- variants, and parse_print() to help matching.
- * staptree.cxx (print_format::parse_print): New static method to
- match the print variants and determine their properties.
- (print_format::print): Handle the new print types.
- (deep_copy_visitor::visit_print_format): Copy the new fields.
- * translate.cxx (c_unparser::visit_print_format): Insert delims and
- newlines where appropriate for new print functions.
- * stap1.in: Document the new print functions.
-
-2007-08-15 David Smith <dsmith@redhat.com>
-
- * systemtap.spec.in: Updated %pre to latest Fedora group creation
- guidelines.
-
- * stap.1.in: Changed '/usr' to '@prefix@' so the values will be
- updated correctly.
- * stapfunc.5.in: Ditto.
-
- * README.security: Typo fix.
-
-2007-08-15 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am: Removed stap_merge.
- * Makefile.in: Rebuilt.
-
-2007-08-14 David Smith <dsmith@redhat.com>
-
- Merge from setuid-branch. Changes also by Martin Hunt
- <hunt@redhat.com>.
-
- * Makefile.am: Added staprun_funcs.c and cap.c to
- staprun_SOURCES. Added -lcap to staprun_LDADD. Removed
- stp_check reference. Added stapio program. Staprun is now
- setuid.
- * Makefile.in: Rebuilt.
-
- * configure.ac: Version increase to 0.6 and checks for libcap
- availability. Removed stp_check reference.
- * configure: Regenerated.
- * stp_check.in: Removed.
-
- * systemtap.spec.in: Version increase to 0.6-1 and added
- BuildReq for libcap-devl (and removed sudo requirement).
- Added %pre script to create new groups. Staprun is now
- setuid.
-
- * NEWS: Added info on new security model.
- * INTERNALS: Removed sudo reference.
-
- * README.security: New file.
-
- * main.cxx (main): Make sure module name isn't too long.
- * hash.cxx: Moved MODULE_NAME_LEN define to hash.h.
- * hash.h: Moved MODULE_NAME_LEN define here from hash.cxx.
-
- * buildrun.cxx (run_pass): No longer runs staprun with "sudo".
-
- * stap.1.in: Removed sudo references and added information about
- the stapdev/stapusr groups.
- * staprun.8.in: Added information about module detaching and
- attaching. Removed sudo references and added information
- about the stapdev/stapusr groups. Removed reference to
- staprun needing to be run as root. Removed reference to
- removed '-u USERNAME' option.
-
- * .cvsignore: Removed stp_check and added stapio and stap_merge.
-
-2007-08-10 Josh Stone <joshua.i.stone@intel.com>
-
- PR 4593
- * translate.cxx (c_unparser::emit_common_header): Add an
- error_buffer to the context to allow dynamic error messages.
- * tapsets.cxx (dwflpp::express_as_string): Let deref / store_deref
- fill in last_error with a detailed message.
-
-2007-08-09 Frank Ch. Eigler <fche@elastic.org>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>:
- * translate.cxx (emit_module_exit): Use stp_warn for warning.
-
-2007-08-07 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4846
- * parse.cxx (input_put): New function, sort of like stdio ungetc.
- (input_get): Skip cursor position changing for input_put strings.
- (scan): Rework $.../@... substitution into character pasting.
- * parse.h: Corresponding changes.
- * util.h (lex_cast_qstring): Octal-quote unprintable characters.
- * stap.1.in, NEWS: Document new behaviour.
-
-2007-07-26 David Smith <dsmith@redhat.com>
-
- PR 4295
- * main.cxx (main): If '-m MODNAME' is used, the generated module
- is saved in the current directory.
- * stap.1.in: Updated '-m' description.
-
-2007-07-11 William Cohen <wcohen@redhat.com>
-
- * systemtap.spec.in: Make sqlite support selectable.
-
-2007-07-11 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Don't AC_MSG_ERROR if don't HAVE_LIBSQLITE3.
- * coveragedb.cxx: Compile to nothing unless HAVE_LIBSQLITE3.
- * main.cxx: Print no error message on -q if HAVE_LIBSQLITE3.
- * configure: Regenerated, looks rosier with HAVE_LIBSQLITE3.
-
-2007-07-08 William Cohen <wcohen@redhat.com>
-
- PR 4529
- * coveragedb.cxx (update_coverage_db): Make index "unique" to optimize.
-
-2007-07-08 William Cohen <wcohen@redhat.com>
-
- PR 4529
- * coveragedb.h (db_type): New enum for type column in coverage_element.
- (coverage_element): Remove removed column, change type to int.
- * coveragedb.cxx (has_table, has_index): New.
- (update_coverage_db): Use has_table, has_index.
- (enter_element): Change for new table format.
- (increment_element): Ditto.
- (sql_update_used_probes): Ditto.
- (sql_update_unused_probes): Ditto.
- (sql_update_used_functions): Ditto.
- (sql_update_unused_functions): Ditto.
- (sql_update_used_globals): Ditto.
- (sql_update_unused_globals): Ditto.
- (update_coverage_db): Ditto.
- (print_coverage_info(systemtap_session): Relocate vector.
- (sql_update_used_probes): Ditto.
- (sql_update_unused_probes): Ditto.
-
-2007-07-03 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Bumped version to 0.5.15 for development.
- * configure: Regenerated.
-
-2007-07-03 Roland McGrath <roland@frob.com>
-
- * Makefile.am (install-exec-local, install-elfutils): Use $(DESTDIR).
- (SRCDIR): Variable removed.
- (check): Use sh code in commands instead.
- * Makefile.in: Regenerated.
-
-2007-07-02 William Cohen <wcohen@redhat.com>
-
- PR 4717
- From Eugeniy Meshcheryakov <eugen@debian.org>
- * staptree.cxx: Add #include <cstdlib> for gcc 4.3.
-
-2007-07-02 Frank Ch. Eigler <fche@rechat.com>
-
- * staplog.c: New file from Satoru MORIYA
- <satoru.moriya.br@hitachi.com>, prototype crash(8) extension module.
- * configure.ac: Look for crash/defs.h.
- * Makefile.am: Build/install staplog.so shared library if found.
- * configure, Makefile, config.in, runtime/lket/b2a/Makefile.in:
- Regenerated.
-
-2007-07-02 William Cohen <wcohen@redhat.com>
-
- PR 4720
- * staptree.cxx (probe_point::print): Remove stray output.
-
-2007-06-29 William Cohen <wcohen@redhat.com>
-
- PR 4529
- * configure.ac:
- * Makefile.am: Limit where sqlite3 linked in.
- * configure:
- * Makefile.in: Regenerate.
-
-2007-06-29 William Cohen <wcohen@redhat.com>
-
- PR 4529
- * configure.ac:
- * Makefile.am: Limit where sqlite3 linked in.
- * configure:
- * Makefile.in: Regenerate.
-
- * coveragedb.cxx (update_coverage_db): Remove unneeded print.
- * coveragedb.cxx (increment_element): Correct formatting.
-
-2007-06-26 William Cohen <wcohen@redhat.com>
-
- * staptree.cxx (probe_point::print): Remove stray "\n".
-
-2007-06-26 William Cohen <wcohen@redhat.com>
-
- PR 4529
- * coveragedb.cxx: New.
- * coveragedb.h: New.
- * Makefile.am: Add coveragedb.cxx and sqlite3 to build.
- * Makefile.in: Regenerated.
- * configure.ac: Add test for sqlite3
- * configure: Regenerated.
- * systemtap.spec.in: Add dependencies for sqlite3/sqlite3-devel.
- * elaborate.h, elaborate.cxx
- (derived_probe::collect_derivation_chain): New.
- (alias_expansion_builder::build): Correct token location.
- (semantic_pass_opt[12): Track used and unused variables/functions.
- * session.h (tapset_compile_coverage, unused_globals,
- unused_probes, unused_functions): New fields.
- * staptree.h (unused_locals, probe_point::str): New member.
- * staptree.cxx: Ditto.
- * main.cxx: Add "-q" tapset coverage option and SYSTEMTAP_COVERAGE env.
-
-2007-06-21 David Smith <dsmith@redhat.com>
-
- * Makefile.in: Regenerated with automake 1.10.
- * aclocal.m4: Regenerated with aclocal 1.10.
- * configure: Regenerated.
-
-2007-06-20 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (noinst_PROGRAMS): Add stap_merge.
- * Makefile.in: Rebuilt:
- * config.in: Rebuilt
-
-2007-06-20 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Added AM_PROG_CC_C_O for compatibility with
- automake 1.10.
- * configure, aclocal.m4: Regenerated.
-
-2007-06-20 David Smith <dsmith@redhat.com>
-
- * buildrun.cxx (compile_pass): Unset environment variables that
- could interfere with building the kernel module. Fixes PR 4664.
- * main.cxx (main): Unsets a few standard environment variables for
- safety.
-
-2007-06-18 David Smith <dsmith@redhat.com>
-
- * staprun.8.in: Fixed a couple of typos.
-
-2007-06-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 3331 cont'd.
- * loc2c.c (base_encoding): Tolerate absenece of DW_AT_encoding.
- (c_translate_pointer): Don't even try to find signedness, assume
- unsigned.
-
-2007-06-14 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_module_init): Emit translator/elfutils
- version numbers together.
- * main.cxx (version): Ditto.
- (main): Skip printing tapset directories where no sources were found.
-
-2007-06-14 Frank Ch. Eigler <fche@elastic.org>
-
- PR 3331 cont'd.
- * loc2c.c (emit_base_fetch): Emit size/signedness cast
- slightly differently for every low-level fetch.
- (translate_base_fetch, c_translate_fetch, c_translate_store,
- c_translate_pointer): Fetch & pass the $target signedness.
- (base_encoding): Follow typedefs etc.
-
-2007-06-09 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4609
- From Eugeniy Meshcheryakov <eugen@debian.org>
- * staptree.cxx: Add #include <algorithm> for gcc 4.3.
-
-2007-06-08 David Smith <dsmith@redhat.com>
-
- PR 4553.
- * configure.ac: For x86 systems with gcc versions less than 4,
- automatically default to enabling prologue searching.
- * configure: Regenerated.
-
-2007-06-05 Frank Ch. Eigler <fche@redhat.com>
-
- PR 3331.
- * loc2c.c (emit_base_fetch): Emit size/signedness cast
- for every low-level fetch.
- (translate_base_fetch, c_translate_fetch, c_translate_store,
- c_translate_pointer): Fetch & pass the $target signedness.
-
-2007-05-31 Frank Ch. Eigler <fche@elastic.org>
-
- PR 3579
- From Eugeniy Meshcheryakov <eugen@debian.org>
- * cache.cxx, parse.cxx: Add #include <cstring> for gcc 4.3.
-
-2007-05-30 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4567.
- * staptree.cxx (varuse_collecting_visitor): Add side-effect
- result query functions.
- * elaborate.cxx (dead_stmtexpr_remover::visit_expr_statement):
- Switch to it.
- (dead_assignment_remover::visit_assignment): Skip elision of
- lvalues with side-effects in index exprs.
- * staptree.h: Corresponding changes.
-
-2007-05-25 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4255 teaser.
- * elaborate.cxx (has_null_param): New function.
- * elaborate.h: Declare it.
- * session.h: Include uprobe_derived_probes group.
- * tapsets.cxx (uprobe_*): New classes.
- (all_session_groups): List uprobes in list.
- (register_standard_tapset): Interpret
- process(#).statement(#).absolute and
- process(#).statement(#).absolute.return probe points.
-
-2007-05-25 Martin Hunt <hunt@redhat.com>
-
- Patch from Quentin Barnes.
- * tapsets.cxx (query_module): Add support for arm.
-
-2007-05-21 David Smith <dsmith@redhat.com>
-
- PR 4446.
- * elaborate.h (derived_probe::initialize_probe_context_vars): New
- virtual function that will allow added context vars to be
- initialized.
- * translate.cxx (c_unparser::emit_common_header): Added
- 'mark_va_list'.
- (c_unparser::emit_probe): Calls new function
- initialize_probe_context_vars.
- (translate_pass): Includes linux/marker.h if CONFIG_MARKERS is
- defined.
- * tapsets.cxx (struct dwarf_query): Split into base_query (which
- contains most of the original code) and a much smaller
- dwarf_query class.
- (struct base_query): New class.
- (dwarf_query::handle_query_module): New function.
- (query_module): Moved code into dwarf_query::handle_query_module().
- (mark_derived_probe): Adjusted for new kernel markers.
- (mark_derived_probe_group): Ditto.
- (mark_var_expanding_copy_visitor): Ditto.
- (mark_var_expanding_copy_visitor::visit_target_symbol): Generates
- code for new kernel markers.
- (struct mark_query): New class.
- (mark_query::handle_query_module): New function.
- (mark_derived_probe::mark_derived_probe): Adjusted for new kernel
- markers.
- (mark_derived_probe::join_group): Ditto.
- (mark_derived_probe::emit_probe_context_vars): Ditto.
- (mark_derived_probe::parse_probe_sig): New function.
- (mark_derived_probe::initialize_probe_context_vars): New function.
- (mark_derived_probe::emit_module_decls): Adjust for new kernel markers.
- (mark_derived_probe::emit_module_init): Ditto.
- (mark_derived_probe::emit_module_exit): Ditto.
- (struct mark_builder): Ditto.
- (mark_builder::build): Ditto.
-
-2007-05-08 Martin Hunt <hunt@redhat.com>
-
- * buildrun.cxx (run_pass): Send proper verbosity
- level to staprun
-
-2007-05-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1305.
- * tapsets.cxx (iterate_over_srcfile_lines): Exclude approximate
- file:lineno matches optimistically returned by dwarf_getsrc_file.
- (query_srcfile_line): Use Dwarf_Line line number for constructing
- derived_probe location string.
-
-2007-05-02 David Smith <dsmith@redhat.com>
-
- * translate.cxx (c_tmpcounter::visit_functioncall): Updated
- temporary handling.
- (c_unparser::visit_functioncall): No longer copies numeric and
- string constants to temporary variables.
-
-2007-05-01 David Smith <dsmith@redhat.com>
-
- * translate.cxx (c_tmpcounter::visit_binary_expression): Updated
- temporary handling.
- (c_unparser::visit_binary_expression): Improved handing of numeric
- constants when handling '%' and '/' operators.
- (c_tmpcounter::visit_print_format): Updated temporary handling.
- (c_unparser::visit_print_format): Removed the need for a result
- temporary when printing to a stream.
-
-2007-04-30 David Smith <dsmith@redhat.com>
-
- PR 2339
- * translate.cxx (c_unparser_assignment::c_assignop): Improved
- handling of numeric constants in the rest of the assignment
- operators.
- (c_tmpcounter_assignment::c_assignop): Updated temporary
- handling.
-
-2007-04-29 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Mention testsuite/configure.ac for version matching.
-
-2007-04-27 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4432.
- * buildrun.cxx (compile_pass): Tweak autoconf CFLAGS handling to
- avoid macro recursion but still get the needed -I directives.
- Add the inode-private autoconf test.
-
-2007-04-26 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4432.
- * buildrun.cxx (compile_pass): Add $(mflags-y) to stap_check_build.
-
-2007-04-26 Frank Ch. Eigler <fche@elastic.org>
-
- * buildrun.cxx (compile_pass): Correct placement of commented-out
- "set -x" make-macro-debugging snippet.
-
-2007-04-25 David Smith <dsmith@redhat.com>
-
- PR 2339
- * translate.cxx: Renamed "qname" to "value" throughout, since
- there are times now when qname would refer to a constant value.
- (tmpvar::override): Added function to allow for overriding a
- temporary variable name with a string.
- (tmpvar::value): New function that returns either the overridden
- string or the temporary variable name.
- (c_unparser::c_expression): New function.
- (c_unparser_assignment::c_assignop): Speed up assignment when
- numeric or string constants are used.
- (c_tmpcounter::visit_block): Avoid empty structs inside the union
- of temporary variables.
- (c_tmpcounter_assignment::prepare_rvalue): New function.
- (c_tmpcounter_assignment::c_assignop): New function.
- (c_tmpcounter_assignment::visit_symbol): Update temporary
- declarations.
- (c_unparser_assignment::prepare_rvalue): Speed up use of rvalues
- by using numeric and string constants directly instead of copying
- them to temporaries first.
- (c_tmpcounter::load_map_indices): New function.
- (c_unparser::load_map_indices): Speed up use of numeric and string
- constants as map indices.
- (c_tmpcounter::visit_arrayindex): Updated temporary declarations.
- (c_tmpcounter_assignment::visit_arrayindex): Updated temporary
- declarations.
- * translate.h (class translator_output): Added tellp() and seekp()
- functions.
-
-2007-04-24 Mike Mason <mmlnx@us.ibm.com>
-
- * man/stapprobes.socket.5.in: Removed do_write and do_read probes,
- added aio_write, aio_read, writev and readv probes.
-
-2007-04-24 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (common_probe_entryfn_epilogue): Increment
- error_count when overload processing kicks in.
-
-2007-04-24 Martin Hunt <hunt@redhat.com>
-
- * stp_check.in: More tweaking of mount statement.
-
-2007-04-23 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (die_entrypc): Expand search algorithm to
- check for "aranges", as sometimes occurs for inlined functions.
-
-2007-04-20 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in (elfutils_version): Bump to 0.127.
-
-2007-04-18 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (install-elfutils): Use $INSTALL_PROGRAM to
- copy elfutils shared libraries, as suggested by Perry Cheng
- <perryche@us.ibm.com>.
-
-2007-04-18 Frank Ch. Eigler <fche@elastic.org>
-
- * parse.cxx (scan_pp): Correct warnings from if/if/else nesting.
-
-2007-04-10 Martin Hunt <hunt@redhat.com>
-
- * stp_check.in: Fixes to make sure debugfs or relayfs are mounted
- exactly where we expect and other mounts are ignored.
-
-2007-04-03 Pierre Peiffer <pierre.peiffer@bull.net>
-
- * parse.cxx, parse.h (lexer::scan): Add $# and @# identifiers.
- (eval_pp_conditional, scan_pp): Allow the use of $x and @x identifiers.
- Produce more accurate error messages.
- * stap.1.in: Document $# and @# identifiers.
-
-2007-04-04 Frank Ch. Eigler <fche@elastic.org>
-
- GCC 4.3 compatibility patches from Debian.
- * buildrun.cxx, hash.cxx, tapsets.cxx, translate.cxx: #include a few
- more C++ headers.
-
-2007-04-03 Frank Ch. Eigler <fche@elastic.org>
-
- Improve error messages for underprivileged scripts.
- * parse.h (parse_error): Add skip_some member, true default.
- * parse.cxx (parse_embedded_code): Send false on missing -g.
- * parse.cxx (parser::parse): Respect flag during parse error
- recovery.
-
-2007-04-02 Frank Ch. Eigler <fche@redhat.com>
-
- PR 3261.
- * tapsets.cxx (query_module): Reject elfutils module "kernel"
- unless kernel.* probe point used.
-
-2007-04-02 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (query_dwarf_func): Skip non-inlined functions
- for .function().inline case.
-
-2007-03-30 Frank Ch. Eigler <fche@redhat.com>
-
- PR 1570
- * NEWS: Document probe handler language change re. inline functions.
- * stapprobes.5.in: Likewise.
- * tapsets.cxx: Many changes to simplify caches and implement new
- handling of inline functions, removed of stubs for future probes.
- * elaborate.cxx (derived_probe printsig_nested): New function.
- * elaborate.h: Declare it.
- * main.cxx (usage): Clarify "-r" meaning.
- (main): Tweak related "-p 4" message.
-
-2007-03-30 David Smith <dsmith@redhat.com>
-
- PR 2341
- * translate.cxx (c_unparser::emit_locks): No longer emits a read
- lock for global variables that are only written to in begin/end
- probes.
- (c_unparser::emit_unlocks): Ditto.
- (translate_pass): Runs a varuse_collecting_visitor over probes
- that need global variable locks for use in
- emit_locks()/emit_unlocks().
-
- * stap.1.in: Corrected probe overload processing text.
-
-2007-03-29 David Smith <dsmith@redhat.com>
-
- PR 3545
- * stap.1.in: Documented probe overload processing.
-
-2007-03-29 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (dwarf_derived_probe emit_module_init): Correct handling
- of kprobe registration errors in the middle of a sequence.
-
-2007-03-29 David Smith <dsmith@redhat.com>
-
- PR 4281
- * main.cxx (main): Validates '-m NAME' option. Chops off '.ko' if
- present. Makes sure name isn't empty. Makes sure name is only
- composed of characters [_a-zA-Z0-9].
-
-2007-03-28 David Smith <dsmith@redhat.com>
-
- PR 2341 (partial fix)
- * elaborate.h (struct derived_probe): Added needs_global_locks()
- member function. Unless overridden, will return true indicating
- that this probe needs locks around global variable references.
- * tapsets.cxx (struct be_derived_probe): Added override of default
- needs_global_locks() returning false. begin/end probes don't
- need locks around global variables, since they aren't run
- concurrently with any other probes.
- * translate.cxx (c_unparser::emit_common_header): Updated
- probe_contents logic to match the logic in emit_probe.
- (c_unparser::emit_probe): Added whether the probe needs global
- variable locks to the probe string (that helps eliminate duplicate
- probes). The generated C changes based on whether or not global
- variable locks are needed, but the pass 2 output doesn't differ
- between a probe that needs global variable locks and one that
- doesn't. If the probe doesn't need global variable locks, doesn't
- output them.
-
-2007-03-26 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Bumped version to 0.5.14.
- * configure: Regenerated.
-
-2007-03-26 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (dwflpp::translate_final_fetch_or_store): Improved
- error messages for invalid types.
-
- * elaborate.cxx (typeresolution_info::invalid): Improved the error
- message for invalid operators.
-
-2007-03-22 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4224.
- * staptree.h (probe): Add privileged field.
- * elaborate.cxx, parse.cxx: Pass privileged flag to probes.
- * tapsets.cxx (dwarf_query): Add has_absolute field.
- (dwarf_derived_probe ctor): Tolerate it.
- (register_patterns): Expose it.
- (dwarf_builder::build): Implement it with no dwfl whatsoever.
- * NEWS: Document kernel.statement().absolute.
- * stapprobes.5.in: Ditto.
-
-2007-03-21 Will Cohen <wcohen@redhat.com>
-
- * Makefile.am:
- * Makefile.in: Correct SAMPLE_SRC.
-
-2007-03-21 David Smith <dsmith@redhat.com>
-
- PR 4146
- * tapsets.cxx (common_probe_entryfn_prologue): Added
- 'interruptible' parameter. If a probe is interruptible,
- interrupts are not disabled while the probe executes. Preemption
- is disabled however. Interruptible parameter defaults to false.
- (common_probe_entryfn_epilogue): Ditto.
- (be_derived_probe_group::emit_module_decl): Uses new
- 'interruptible' parameter to mark begin/end probes as
- interruptible.
- (probe_derived_probe_group::emit_module): Initialize
- 'actionremaining' with MAXACTION instead of initializing
- 'actioncount' with 0.
- * translate.cxx (emit_common_header): Renamed 'actioncount' to
- 'actionremaining'. Turned logic around to initialize
- actionremaining to MAXACTION or MAXACTION_INTERRUPTIBLE then
- decrement it as actions occur.
- (translate_pass): Added MAXACTION_INTERRUPTIBLE initialization.
- * translate.h: Removed outdated comment portion.
- * stap.1.in: Documented MAXACTION_INTERRUPTIBLE.
- * NEWS: Added note about begin/end probes being run with
- interrupts enabled.
-
-2007-03-20 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4224.
- * tapsets.cxx (add_probe_point): Make kernel implicitly relocated
- relative to the _stext symbol.
- (dwarf_derived_probe ctor, emit_module_decls): Cooperate.
- (lookup_symbol_address): New function.
- (dwarf_builder::build): Call it thrice.
- (in_kprobes_function): Simplify.
- * session.h (systemtap_session): Rename cached symbol addresses.
- * translate.cxx, elaborate.cxx: Corresponding tweaks.
-
-2007-03-19 David Smith <dsmith@redhat.com>
-
- PR 4146 (partial fix)
- * tapsets.cxx (all_session_groups): Added note about stating that
- begin probes should be registered (actually run) first and end
- probes should be unregistered (run) last.
- * translate.cxx (c_unparser::emit_module_exit): Process probe
- group vector in reverse order so that probe groups will get
- unregistered in the reverse order that they were registered.
-
-2007-03-19 Frank Ch. Eigler <fche@elastic.org>
-
- * buildrun.cxx (compile_pass): Emit kbuild-time autoconf widgets
- to customize runtime or translator C code to actual kernel rather
- than kernel version string. Thanks to FC 2.6."20" for the nudge.
- * tapsets.cxx (hrtimer*emit_module): First client: HRTIMER_{MODE_}REL.
-
-2007-03-17 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Tweak missing elfutils error message.
- * configure: Regenerated.
-
-2007-03-16 David Smith <dsmith@redhat.com>
-
- PR 3545.
- * tapsets.cxx (common_probe_entryfn_prologue): Added
- 'overload_processing' parameter, which defaults to true. If
- overload_processing is set to false, doesn't output the
- STP_OVERLOAD code.
- (common_probe_entryfn_epilogue): Ditto.
- (be_derived_probe_group::emit_module_decl): Set
- overload_processing to false in calls to
- common_probe_entryfn_prologue and common_probe_entryfn_epilogue
- since begin/end probes shouldn't overload the system.
- * translate.cxx (c_unparser::emit_common_header): Emit
- STP_OVERLOAD global variables.
- (translate_pass): Emit STP_OVERLOAD defines.
-
-2007-03-14 Martin Hunt <hunt@redhat.com>
- * main.cxx (usage): Remove "-M" and edit description
- of "-b".
- * stap.1.in: Remove "-M" option and edit description of "-b".
- Edit description of "-o".
-
-2007-03-14 Martin Hunt <hunt@redhat.com>
- * Makefile.am: Don't install old relayfs sources.
- * makefile.in: Rebuilt.
-
-2007-03-14 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (staprun_SOURCES): Sources now live in
- runtime/staprun.
- * makefile.in: Rebuilt.
-
- * staprun.8.in: Updated.
-
- * buildrun.cxx (run_pass): Use "-v" instead of not "-q" to
- be compatible with latest staprun.
- * translate.cxx (emit_module_exit): Print warning using
- _stp_printf so it shows up at the end of all output.
- (translate_pass): Replace STP_RELAYFS with STP_BULKMODE.
- Eliminate STP_RELAYFS_MERGE.
-
-2007-03-13 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4171.
- * Makefile.am (check, installcheck): Pass build-tree pointers
- in environment variables.
- * configure.ac: Run separate configury for testsuite/.
- * configure, Makefile.in: Regenerated.
-
-2007-03-07 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4166.
- * tapsets.cxx (translate_components): Throw an exception rather
- then suffer an assertion failure for $ptr[index] expressions.
-
-2007-03-05 David Smith <dsmith@redhat.com>
-
- * systemtap.spec.in: Made example perl script non-executable so
- that the systemtap rpm won't require perl.
-
-2007-03-04 Frank Ch. Eigler <fche@redhat.com>
-
- * stap.1.in, stapex.5.in, staprun.8.in: Tweak text to remove
- authors credits, update examples and pointers.
-
-2007-02-28 David Smith <dsmith@redhat.com>
-
- * systemtap.spec.in: Fixed %{_libexecdir}/systemtap path in
- systemtap-runtime %files section.
-
-2007-02-27 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.spec.in (/var/cache/systemtap): Forget it.
- (stp_check): Pack this in with systemtap-runtime.
- * stp_check.in: Add LANG=C for speed.
-
-2007-02-27 David Smith <dsmith@redhat.com>
-
- * staprun.8.in: Added a basic staprun man page.
- * Makefile.am: Added staprun.8.
- * Makefile.in: Regenerated.
- * configure.ac: Added staprun.8.
- * configure: Regenerated.
- * systemtap.spec.in: Added staprun.8 and other document files to
- staprun RPM.
- * .cvsignore: Ignores staprun.8.
-
-2007-02-27 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (dwflpp setup): Print "missing kernel debuginfo"
- message consistently for, er, missing kernel debuginfo.
- (dwarf_builder::build): Don't try to help.
- (query_kernel_exists): Zapped.
-
-2007-02-27 David Smith <dsmith@redhat.com>
-
- * systemtap.spec.in: Fedora Packaging Guidelines updates. Updated
- BuildRoot macro value to Fedora Extras standard value. No longer
- uses %makeinstall macro. The rpm now owns the
- /usr/libexec/systemtap directory.
-
-2007-02-26 David Smith <dsmith@redhat.com>
-
- * Makefile.am: Removed 'update-examples' target. Moved
- functionality to systemtap.spec.in.
- * Makefile.in: Regenerated from Makefile.am.
- * systemtap.spec.in: Fixes paths in the example scripts directly.
-
- * Makefile.am: Added 'update-examples' target that fixes paths in
- the example code we ship in the rpm.
- * Makefile.in: Regenerated from Makefile.am.
- * systemtap.spec.in: Calls "make update-examples" target to fix
- the path to systemtap in the example scripts.
-
-2007-02-25 Frank Ch. Eigler <fche@redhat.com>
-
- * elaborate.h (match_node, derived_probe_builder): Add
- build_no_more member function.
- * elaborate.cxx (semantic_pass_symbols): Call it.
- * tapsets.cxx (dwarf_builder): Implement it by releasing dwflpp
- instance after pass 2, freeing mucho memory.
-
-2007-02-23 Josh Stone <joshua.i.stone@intel.com>
-
- PR 4096
- * tapsets.cxx (hrtimer_derived_probe_group::emit_module_decls):
- Adapt the function signature for changes in 2.6.21.
- (hrtimer_derived_probe_group::emit_module_init): Fix the enum name
- for 2.6.21 as well.
-
-2007-02-19 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4078 and more, including patch from
- Eugeniy Meshcheryakov <eugen@debian.org>:
- * Makefile.am (AM_CXXFLAGS, AM_CFLAGS): Add -Wextra -Wall -Werror
- consistently.
- * Makefile.in: Regenerated.
- (*): Many minor warning fixes.
-
-2007-02-17 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4066.
- * translate.cxx (var::init): Check stat scalar initialization,
- just like is done for arrays.
- (emit_module_exit): Check unlikely but possible null timing stat.
-
-2007-02-15 David Smith <dsmith@redhat.com>
-
- PR 3625.
- * tapsets.cxx (dwflpp::print_locals): New function to print all
- the variables/parameters of a function.
- (dwflpp::find_variable_and_frame_base): Calls print_locals() when
- target variable can't be found.
- (dwflpp::print_members): New function to print all the members of
- a union/structure.
- (dwflpp::translate_components) Calls print_members() when
- union/structure member target variable reference can't be found.
-
-2007-02-14 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (emit_module_decls): Assert CONFIG_KPROBES,
- as suggested by Andreas Kostyrka <andreas@kostyrka.org>.
-
-2007-02-12 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (query_statement): Tolerate null file name string.
-
-2007-02-09 Frank Ch. Eigler <fche@elastic.org>
-
- PR 3965
- * configure.ac: Add --enable-prologue option.
- * configure, config.in: Regenerated.
- * session.h (prologue_searching): New field.
- * main.cxx (main): Parse new "-P" option. Initialize based on
- autoconf flag.
- * stap.1.in, NEWS: Document it.
- * hash.cxx (find_hash): Include it in computation.
- * tapsets.cxx (query_func_info, query_cu): Respect it.
-
-2007-02-06 Frank Ch. Eigler <fche@elastic.org>
-
- * stapfuncs.5.in: Add docs for kernel_{long,int,short,char} and
- some user_string* variants.
-
-2007-01-31 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (translate_pass): Remove old string impedance
- mismatch stuff. Modify included files.
-
-2007-01-29 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac, configure: Bumped version to 0.5.13 for development.
-
-2007-01-29 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_module_init): Add some more type casts to printk
- args.
-
-2007-01-29 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (emit_module_init): BZ3888. Add memory usage for the
- runtime to the printk.
-
-2007-01-29 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): For successful last_pass=4, print compiled module
- name.
- * cache.cxx (get_from_cache): Ditto.
-
-2007-01-23 Mike Mason <mmlnx@us.ibm.com>
-
- * Makefile.am, configure.ac: Add support for
- stapprobes.socket man page.
- * configure, Makefile.in: Regenerate.
- * man/stapprobes.socket.5.in: Socket tapset man page.
- * stapprobes.5.in: Add stapprobes.socket(5) to "See Also" section.
- * stapfuncs.5.in: Add new string and sockets functions.
-
-2007-01-23 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (loc2c_error): Correct vasprintf ignored-rc warning.
-
-2007-01-22 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (mapvar::exists): Use new _stp_map_exists function.
- Testing for zero is no longer correct after changes from 2007-01-10
- below.
-
-2007-01-18 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (version): Add (C) 2007.
- * translate.cxx (emit_module_init): Add a KERN_DEBUG printk
- at module startup time to aid debugging and auditing.
-
-2007-01-12 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx
- (dwarf_var_expanding_copy_visitor::visit_target_symbol): Since
- array behavior has changed (setting to 0 no longer deletes the
- array element), we delete the internal counter array element when
- providing target variable access in return probes.
-
-2007-01-11 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in (elfutils_version): Bump to 0.125.
- Older libdw's have known bugs, though the ABI has not changed.
-
-2007-01-10 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (mapvar::del): Call the new _stp_map_del
- function instead of setting to zero.
-
-2007-01-01 Frank Ch. Eigler <fche@redhat.com>
-
- * configure.ac: Bump version to 0.5.12 for release.
- * configure: Regenerated.
- * NEWS, AUTHORS: Populate & repopulate.
-
-2006-12-29 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (*group:emit_module_init): flush stdout less for timing
- mode. Also, Set probe_point variable ...
- * translate.cxx (emit_module_init): ... so on registration failure, a
- usable error message can be generated.
-
-2006-12-29 Frank Ch. Eigler <fche@redhat.com>
-
- PR 3523.
- * tapsets.cxx (common_probe_entryfn_prologue,epilogue): Restore
- support for -t (benchmarking) mode.
- * translate.cxx (emit_common_header,emit_module_init):Ditto.
- (emit_module_exit,emit_probe): Ditto, with most meat here.
-
-2006-12-22 Josh Stone <joshua.i.stone@intel.com>
-
- * stap.1.in: Document how to specify the size of global arrays.
-
-2006-12-21 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3671
- * parse.cxx (parser::parse_global): Allow a maxsize on global arrays.
- * staptree.h (struct vardecl): Add the maxsize field.
- * staptree.cxx (vardecl::vardecl): Init. maxsize.
- (vardecl::set_arity): Don't allow arity 0 when there's a maxsize.
- (vardecl::compatible_arity): Ditto.
- (vardecl::print): Include maxsize in output.
- (target_symbol::print): Ditto.
- * translate.cxx (struct mapvar, mapvar::mapvar): Add maxsize.
- (mapvar::init): Init maps with the given maxsize if specified, else
- keep using MAXMAPENTRIES.
- (mapvar::set): Make the error message give the maxsize.
- (mapvar::add): Ditto, and check for overflow on pmap add.
- (c_unparser::getmap): Pass the maxsize from the vardecl to mapvar.
-
-2006-12-21 David Smith <dsmith@redhat.com>
-
- * hash.cxx (find_hash): Added two more options into the hash that
- change the generated C file - '-M' (merge) and '-t' (benchmark
- timing).
-
-2006-12-20 David Smith <dsmith@redhat.com>
-
- PR 3519.
- * Makefile.am: Added 'examples' directory to the 'EXTRA_DIST'
- variable so that the examples directory will be added to the
- distribution directory. Added variables 'SAMPLE_DEST_DIR' and
- 'SAMPLE_SRC' and target 'dist-add-samples' to copy some of the
- testsuite sample scripts to the examples directory when creating a
- distribution directory.
- * Makefile.in: Regenerated.
- * systemtap.spec.in: Added 'examples' directory to the %doc list
- so that the examples directory will be installed on a user's
- system.
-
-2006-12-19 Frank Ch. Eigler <fche@redhat.com>
-
- PR 3522.
- * tapsets.cxx (dwflpp::emit_address): Call
- _stp_module_relocate only once per session.
-
- Error message cleanup: duplicate elimination etc.
- * session.h (saved_errors): Store a set of 'em.
- (num_errors): Return set size. Remove old numeric field.
- Update all callers.
- * elaborate.cxx (systemtap_session::print_errors):
- Print each encountered message just once.
- * staptree (semantic_error): Make msg2 writeable.
- Add a chain field.
- * tapsets.cxx (*var_expanding*:visit_target_symbol): Set saved
- semantic_error's chain field.
- * elaborate.cxx (register_library_aliases, visit_foreach_loop,
- visit_functioncall, derive_probes): Plop "while: ..." error
- message prefix/suffix right into the semantic_error message string.
- * parse.cxx (lexer::scan): Identify erroneous token better
- in error message for unresolvable $N/@M command line args.
- * util.h (lex_cast_hex): Use std::hex, not std::ios::hex.
-
-2006-12-18 David Smith <dsmith@redhat.com>
-
- * Makefile.am (EXTRA_DIST): Added header files - cache.h, hash.h,
- mdfour.h, and util.h.
- * Makefile.in: Regenerated.
-
-2006-12-16 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): Print version strings if verbose >=2 .
- * tapsets.cxx (common_probe_entryfn_prologue): Decorate an
- emitted local with __restrict__.
-
-2006-12-14 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added
- 'return_ts_map' member variable.
- (dwarf_var_expanding_copy_visitor::visit_target_symbol):
- Optimization. If we've already seen this target variable in this
- return probe, return the last replacement (instead of creating a
- new replacement).
-
-2006-12-13 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added
- 'add_probe' member variable. Initialized it in ctor.
- (dwarf_var_expanding_copy_visitor::visit_target_symbol):
- Optimization. Instead of generating one entry probe per target
- variable accessed in a return probe, now just generates one entry
- probe for all target variables accessed in a particular return
- probe. It does this by creating a new probe in the new
- 'add_probe' member variable.
- (dwarf_derived_probe::dwarf_derived_probe): If add_probe isn't
- NULL, make sure it gets derived later.
-
-2006-12-11 Josh Stone <joshua.i.stone@intel.com>
-
- * parse.cxx (parse::parse_literal): Enforce the lower bound on
- negative literals.
-
-2006-12-11 David Smith <dsmith@redhat.com>
-
- * hash.cxx (find_hash): Fixed a caching bug. Bulk mode (relayfs)
- status should be figured into the hash since it changes the
- generated C code.
-
-2006-12-08 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3681.
- * staptree.h (struct vardecl): Add a literal 'init' member for the
- initialization value of globals.
- * staptree.cxx (vardecl::vardecl): Initialize 'init' to NULL.
- (vardecl::print): Print global init value during pass-1 output.
- * main.cxx (printscript): Print global init values during verbose
- pass-2 output.
- * parse.cxx (parser::parse_global): Set the initialization literal of
- global vardecls.
- * translate.cxx (var::init): Don't unconditionally override the value
- of numeric globals when the module_param isn't used.
- (c_unparser::emit_global_param): Write numeric module_params directly
- into the global variable, as an int64_t instead of long.
- (c_unparser::emit_global): Add initialization to global declarations.
- Don't create a temp module_param long for numeric globals anymore.
-
-2006-12-07 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3624.
- * tapsets.cxx (struct be_derived_probe): Add a new priority parameter
- for begin/end probes, and a comparison function for sorting.
- (be_builder::build): Parse the priority & pass it to be_derived_probe.
- (be_derived_probe_group::emit_module_init, emit_module_exit): Sort the
- probe list by priority before emitting any code.
- (register_standard_tapsets): Add new begin/end variants.
- * parse.cxx (parser::parse_literal): Allow negative numeric literals,
- by checking for a '-' unary operator right before a number.
- * stapprobes.5.in: Document the new begin/end syntax.
-
-2006-12-06 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3623.
- * tapsets.cxx (timer_derived_probe_group::emit_module_decls): Restart
- the timers if we are in STARTING or RUNNING state.
- (hrtimer_derived_probe_group::emit_module_decls): Ditto.
- (be_derived_probe_group::emit_module_init): indicate error to the rest
- of the initialization if any begin probes fail.
- * translate.cxx (c_unparser::emit_module_init): Set the global error
- state on an initialization error so timers know to shut down.
-
-2006-12-05 Frank Ch. Eigler <fche@redhat.com>
-
- PR 3648.
- * main.cxx (main): Tweak error message for tapset script execution.
- Also catch those clever rogues who use stdin.
-
-2006-11-30 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (common_probe_entryfn_prologue): Tweak
- insufficient stack detection logic.
-
-2006-11-30 David Smith <dsmith@redhat.com>
-
- * main.cxx (printscript): Prints global embedded code. Not
- printing the global embedded code was causing bad caching
- behavior.
-
-2006-11-29 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added
- 'add_block' member variable. Constructor sets it to NULL.
- (dwarf_var_expanding_copy_visitor::visit_target_symbol): Fixes the
- problem of accessing a cached target variable in a loop. Cached
- target variable is assigned to a temporary variable, which can be
- safely access multiple times. In addition, the cached value is
- deleted after being read.
- (dwarf_derived_probe::dwarf_derived_probe): Adds in the new block
- of code created in visit_target_symbol() to the beginning of the
- derived probe.
-
-2006-11-28 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx
- (dwarf_var_expanding_copy_visitor::visit_target_symbol):
- Improved handling target variables in return probes by having a
- per-thread counter.
-
-2006-11-26 Frank Ch. Eigler <fche@redhat.com>
-
- PRs 2685, 3596, toward 2725.
- * tapsets.cxx (common_probe_entryfn_prologue): Skip probe on
- insufficient stack.
- (build_blacklist): Add a slew of lock-related calls.
- (query_module): Check for debuginfo architecture match.
- * translate.cxx (translate_pass): Add default MINSTACKSPACE.
- * configure.ac: Link stap with -lebl too.
- * configure: Regenerated.
- * stap.1.in: Document MINSTACKSPACE parameter.
-
-2006-11-21 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_module_init): Adapt to 2.6.19 utsname().
-
-2006-11-21 Frank Ch. Eigler <fche@elastic.org>
-
- PR 3556.
- * translate.cxx (emit_module_init): Emit code to check
- system_utsname against translate-time version/machine strings.
-
-2006-11-20 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx
- (dwarf_var_expanding_copy_visitor::visit_target_symbol): BZ
- 1382. Target variables can be accessed in return probes. A new
- function entry probe is generated that saves the target variables
- so that they can be accesssed in the return probe.
-
-2006-11-19 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): Signal parse error if a tapset script
- is given as the user script.
-
-2006-11-15 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (d_v_e_c_v::visit_target_symbol): Restore lost
- exception-saving functionality that improves error messages
- for incorrect $target expressions.
- (translate_components): Systematize error messages somewhat.
- * translate.cxx (emit_function, emit_probe): Clarify
- "array locals" error message.
-
-2006-11-10 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx
- (dwarf_var_expanding_copy_visitor::visit_target_symbol): Minor
- improvement to error handling by throwing exceptions before
- allocations are done.
-
-2006-11-10 Frank Ch. Eigler <fche@elastic.org>
-
- * stap.1.in: On urging of Adam Jackson, add blurbs on array syntax
- and default limits.
-
-2006-11-09 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (staprun_LDADD): Need PROCFLAGS here too.
-
-2006-11-09 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (staprun_CFLAGS): New. Use PROCFLAGS.
-
- * configure.ac: Add PROCFLAGS. Processor-dependent
- compilation flags.
- * configure: Rebuilt.
- * Makefile.in: Rebuilt.
-
-2006-11-09 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (dwarf_query::dwarf_query): Looks for "maxactive"
- return probe variant.
- (dwarf_derived_probe::dwarf_derived_probe): Initializes
- has_maxactive and maxactive_val member variables.
- (dwarf_derived_probe::register_function_variants): Matches
- "maxactive" return probe variant.
- (dwarf_derived_probe_group::emit_module_decls): Emits code to use
- maxactive data.
- (dwarf_derived_probe_group::emit_module_init): Ditto.
-
-2006-11-08 David Smith <dsmith@redhat.com>
-
- * cache.cxx (get_from_cache): To preserve semantics with
- non-cached use, if the last pass is 3, display the cached C
- source.
-
-2006-11-08 Frank Ch. Eigler <fche@elastic.org>
-
- * staptree.cxx (print_format::components_to_string): Quote ".
- (c_unparser::visit_print_format): Don't use lex_cast_qstring
- as it overdoes \ quoting. Resemble ::visit_literal_string
- instead.
-
-2006-11-08 Frank Ch. Eigler <fche@elastic.org>
-
- * util.h (lex_cast_qstring): Move def'n here. Also quote \.
- (stringify, lex_cast, lex_cast_hex): Move defn here.
- * buildrun.cxx, elaborate.cxx, main.cxx, staptree.cxx: Adapt.
-
-2006-11-07 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (profile_derived_probe_group::emit_module_decls):
- Pass along incoming pt_regs to context of timer.profile handlers.
-
-2006-11-06 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (var::init): Check for errors when
- allocating arrays of stats, as well as other arrays.
-
-2006-11-06 David Smith <dsmith@redhat.com>
-
- Added "limit EXP" support to foreach statements.
- * translate.cxx (c_tmpcounter::visit_foreach_loop): Handles
- "limit" member variable.
- (c_unparser::visit_foreach_loop): Ditto.
- * staptree.cxx (foreach_loop::print): Prints "limit EXP"
- addition.
- (traversing_visitor::visit_foreach_loop): Handles "limit" member
- variable.
- (deep_copy_visitor::visit_foreach_loop): Ditto.
- * staptree.h (struct foreach_loop): Added "limit" member
- variable.
- * stap.1.in: Added documentation for the "limit EXP" addition to
- foreach statement.
- * parse.cxx (lexer::scan): Added "limit" keyword for foreach
- statements.
- (parser::parse_foreach_loop): Parses "limit" keyword for foreach
- statements.
- * elaborate.cxx (symresolution_info::visit_foreach_loop): Handles
- "limit" member variable.
- (typeresolution_info::visit_foreach_loop): Ditto.
-
-2006-11-03 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (emit_address): Emit calls to _stp_module_relocate
- for $target-variable addresses in relocatable sections.
-
-2006-11-02 Martin Hunt <hunt@redhat.com>
-
- * session.h (struct systemtap_session): Add symtab. This controls
- if a symbol table is generated and compiled into the module.
-
- * main.cxx (main): Set session.symtab to false. This could later
- enabled by a command-line option if necessary.
-
- * translate.cxx (emit_symbol_data): Don't write a symbol table if
- session.symtab is false.
-
- * tapsets.cxx (emit_module_decls): Remove stap_module array and
- module_relocate.
- (emit_module_init): Use "_stp_module_relocate".
-
- * Makefile.am (staprun_SOURCES): Add symbols.c
- * Makefile.in: Rebuilt.
-
-2006-11-02 David Smith <dsmith@redhat.com>
-
- * main.cxx (main): Added '-r' check. If the user changes the
- kernel release to compile against, make sure pass 5 isn't
- performed (since the resulting module won't be installable).
-
-2006-11-02 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am: Install tapset/README too.
- * Makefile.in: Regenerated.
-
-2006-11-01 Josh Stone <joshua.i.stone@intel.com>
-
- * tapsets.cxx (timer_derived_probe_group::emit_interval): New -
- Fixes randomization for jiffies timers in ms mode.
- (timer_derived_probe_group::emit_module_decls): Use emit_interval.
- (timer_derived_probe_group::emit_module_init): Ditto.
-
-2006-11-01 David Smith <dsmith@redhat.com>
-
- * translate.cxx (delete_statement_operand_visitor::visit_symbol):
- Added referent assert.
- (delete_statement_operand_tmp_visitor::visit_arrayindex): Ditto.
- (c_tmpcounter::visit_array_in): Ditto.
- (c_unparser::visit_symbol): Ditto.
- (c_unparser_assignment::visit_symbol): Ditto.
- (c_unparser::load_map_indices): Ditto.
- (c_tmpcounter::visit_arrayindex): Ditto.
- (c_tmpcounter_assignment::visit_arrayindex): Ditto.
- (c_tmpcounter::visit_functioncall): Ditto.
- (c_unparser::visit_functioncall): Ditto.
-
-2006-10-31 Frank Ch. Eigler <fche@redhat.com>
-
- Probe registration rework. Offline dwarf processing for better
- cross-instrumentation.
- * elaborate.h (derived_probe): Remove registration-related code
- generation API. Add new function sole_location().
- (derived_probe_group): Reworked this and associated classes.
- * session.h (systemntap_session): Create individual per-category
- derived_probe_groups.
- * elaborate.cxx (derived_probe_group): Reworked.
- (alias_derived_probe): Switch to new derived_probe API.
- (semantic_pass_symbols): Ditto.
- * translate.cxx (mapvar init): Check for array initialization error.
- (emit_module_init): Handle such failures, at least in theory.
- (emit_module_exit): Switch to new derived_probe_group API. Call
- cpu_relax() during shutdown busywait.
- (emit_common_header): Elide context variables for elided handler fns.
- (c_unparser::emit_probe): Implement new, improved duplicate
- elimination technique for probe handlers. Leave two older ones
- behind as compile options for education.
- * tapsets.cxx (*): Reworked all probe registration code, moving
- it from derived_probes into derived_probe_groups. Shrunk output
- code. Temporarily disabled probe timing and perfmon/mark probes.
- (dwflpp): Use offline reporting, so that module matching and
- relocation is performed at run time.
- (dwarf_query): Remove flavour logic, now supplanted by other
- duplicate elimination code.
- (dwarf_derived_probe): Reworked construction, centralized
- module/section/offset computations.
- * tapsets.h (all_session_groups): New little helper.
-
- * main.cxx (main): For pass-2 message, print number of embeds too.
- * systemtap.spec.in: Add a "BuildRequires: dejagnu" for make check.
- * configure.ac: Bump version to 0.5.11.
- * configure: Regenerated.
-
-2006-10-23 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket.5.in: Rearranged the sections, add more details.
-
-2006-10-30 David Smith <dsmith@redhat.com>
-
- * stap.1.in: Added notes about new caching feature.
-
-2006-10-24 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (build_blacklist): Added
- "atomic_notifier_call_chain" to the blacklist (Bugzilla #3379).
-
-2006-10-23 David Smith <dsmith@redhat.com>
-
- * main.cxx (printscript): New function containing code moved from
- main().
- (main): Added code to create cache directory, call function to
- generate hash, and see if we can use cached source/module. If
- pass 4 is actually run to produce a new module, we call
- add_to_cache() to cache the result.
- * session.h (struct systemtap_session): Added hash/cache session
- data.
- * cache.cxx: New file handling adding/getting files from the
- cache.
- * cache.h: New header file for cache.cxx.
- * hash.cxx: New file containing C++ wrapper for routines in
- mdfour.c and the find_hash function which computes the hash file
- name for an input script.
- * hash.h: New header file for hash.cxx.
- * mdfour.c: New file containing MD4 hash code.
- * mdfour.h: New header file for mdfour.c.
- * util.cxx: New file containing several utility functions used by
- the caching code.
- * util.h: New header file for util.cxx.
- * Makefile.am: Added new C/C++ files.
- * Makefile.in: Regenerated.
-
-2006-10-23 Li Guanglei <guanglei@cn.ibm.com>
-
- * configure.ac, Makefile.am: add lket-b2a.1.in
- * Makefile.in, configure: regenreated
- * ket-b2a.1.in: new man page for lket-b2a
- * lket.5.in: document signal trace hooks
-
-2006-10-18 Roland McGrath <roland@redhat.com>
-
- PR 2727
- * configure.ac (elfutils build): Pass --prefix and --exec-prefix
- options to elfutils configure.
- (elfutils_abs_srcdir): New substituted variable.
- * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
- * configure, config.in, Makefile.in: Regenerated.
-
-2006-10-16 Li Guanglei <guanglei@cn.ibm.com>
-
- * configure.ac: add the checking for mysql_config,
- mysqlclient library and header files
- * runtime/lket/b2a/Makefile.am: set compile flags
- according to the existance of mysql_config
- * Makefile.in, configure, testsuite/Makefile.in,
- runtime/lket/b2a/Makefile.in: regenerated
-
-2006-10-12 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (emit_common_header): Add a
- kretprobe_instance pointer to struct context.
- (emit_symbol_data): Include absolute symbols.
-
- * tapsets.cxx (emit_common_header): Initialize
- the kprobe instance pointer to 0;
- (emit_probe_entries): Set kretprobe instance
- pointer if appropriate.
-
-
-2006-10-11 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (in_kprobes_function): New function that looks up
- the values of '__kprobes_text_start' and '__kprobes_text_end' in
- the kernel to be able to automatically exclude functions marked as
- '__kprobes' (BZ# 2639).
- (blacklisted_p): Calls in_kprobes_function().
- (query_kernel_module): Utility function that finds the kernel module.
- * session.h (struct systemtap_session): Added kprobes_text
- variables - kprobes_text_initialized, kprobes_text_start, and
- kprobes_text_end.
- * elaborate.cxx (systemtap_session::systemtap_session):
- kprobes_text variables get initialized.
-
-2006-10-10 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in (elfutils_version): Require 0.124 now.
-
-2006-10-10 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Override incomplete mysql checking for now.
- * configure: Regenerated.
-
-2006-10-10 Li Guanglei <guanglei@cn.ibm.com>
-
- * configure.ac: add the checking of mysql client library
- * Makefile.in, configure: regenerated
-
-2006-09-29 Li Guanglei <guanglei@cn.ibm.com>
-
- * man: newly created dir for stapprobes
- * man/stapprobes.iosched.5, man/stapprobes.netdev.5, man/stapprobes.nfs.5,
- man/stapprobes.nfsd.5, man/stapprobes.pagefault.5, man/stapprobes.process.5,
- man/stapprobes.rpc.5, man/stapprobes.scsi.5, man/stapprobes.signal.5,
- man/stapprobes.tcp.5, man/stapprobes.udp.5: Some of these man pages are from
- the old stapprobes.5.in. Some are newly created(rpc, nfs, nfsd)
- * man/.cvsignore: ignore the generated man page files
-
-2006-09-29 Li Guanglei <guanglei@cn.ibm.com>
-
- PR 3282
- * Makefile.am: add -DPKGLIBDIR='"$(pkglibexecdir)"' to AM_CPPFLAGS
-
-2006-09-28 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3278
- * tapsets.cxx (hrtimer_derived_probe::emit_probe_entries): Only
- restart timers when the session is still active and we updated the
- expire time.
-
-2006-09-27 Josh Stone <joshua.i.stone@intel.com>
-
- * session.h (struct systemtap_session): Add kernel_base_release
- to store the kernel version without the -NNN suffix.
- * main.cxx (main): Generate and use kernel_base_release.
- * parse.cxx (eval_pp_conditional): Use kernel_base_release.
- * tapsets.cxx (profile_derived_probe::profile_derived_probe):
- Use kernel_base_release.
-
- * tapsets.cxx (timer_builder::build): Support a wide variety of
- timer varients -- jiffies, s/sec, ms/msec, us/usec, ns/nsec, and
- hz. Use hrtimers automatically on kernels that have it.
- (timer_builder::register_patterns): Bind all of the new timer
- varients in one easy place.
- (register_standard_tapsets): Call timer_builder::register_patterns.
- (struct hrtimer_builder): Removed since timer_builder is generic.
- * stapprobes.5.in: Document new timer.* functionality.
-
- * tapsets.cxx (hrtimer_derived_probe_group::emit_probes): Add a
- shared global for the actual hrtimer resolution, _stp_hrtimer_res.
- (hrtimer_derived_probe_group::emit_module): Init _stp_hrtimer_res.
- (hrtimer_derived_probe::emit_interval): Limit intervals at a
- minimum to the hrtimer's actual resolution.
- (hrtimer_derived_probe::emit_probe_entries): Forward timers
- based on previous expiration instead of restarting relative.
-
-2006-09-26 David Smith <dsmith@redhat.com>
-
- * .cvsignore: Changed 'stpd' reference to 'staprun'.
- * INTERNALS: Ditto.
- * buildrun.cxx (run_pass): Ditto.
- * lket.5.in: Ditto.
- * stap.1.in: Ditto.
- * stapruncs.5.in: Ditto.
- * examples/small_demos/demo_script.txt: Ditto.
- * examples/small_demos/sys.stp: Ditto.
-
- * systemtap.spec.in: Created a new subpackage,
- "systemtap-runtime", that contains staprun.
-
- * Makefile.am: Renamed 'stpd' to 'staprun' and moved it to
- $(bindir).
- * Makefile.in: Regenerated from Makefile.am.
-
- * configure.ac: Incremented version number.
- * configure: Regenerated from configure.ac.
-
-2006-09-22 Tom Zanussi <zanussi@us.ibm.com>
-
- * stp_check.in: Add debugfs mounting.
-
-2006-09-22 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian <guijian@cn.ibm.com>
- * lket.5.in: document RPC trace hooks
-
-2006-09-20 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3233
- * stapfuncs.5.in: Document new gettimeofday_ns.
-
-2006-09-19 Tom Zanussi <zanussi@us.ibm.com>
-
- * README: Add CONFIG_DEBUG_FS to config options.
-
-2006-09-18 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3219
- From Eugeniy Meshcheryakov <eugen@debian.org>:
- * stapprobes.5.in: Correct misuse of '-' -> '\-' in manpage
-
-2006-09-18 Martin Hunt <hunt@redhat.com>
-
- * buildrun.cxx (run_pass): Remove "-m" option to stpd.
- * translate.cxx (translate_pass): #define STP_RELAYFS_MERGE
- if appropriate.
-
-2006-09-13 Martin Hunt <hunt@redhat.com>
-
- * buildrun.cxx (run_pass): Remove "-r" option to stpd.
-
-2006-09-13 Will Cohen <wcohen@redhat.com>
-
- * tapsets.cxx (perfmon_derived_probe_group::emit_module_init):
- Do not throw sematic error unless probes actually used.
-
-2006-09-12 Will Cohen <wcohen@redhat.com>
-
- PR 909
- * configure.ac: Add perfmon support options.
- * configure: Regenerated.
-
- * stapfuncs.5.in:
- * stapprobes.5.in: Document the perfmon support.
-
- * session.h, main.cxx: Track number of perfmon probes.
- * translate.cxx: Gen STP_PERFMON when perfmon probes.
-
- * elaborate.h:
- * elaborate.cxx (derived_probe_group): Add register_probe() for
- perfmon probe.
-
- * tapsets.cxx (derived_probe::emit_common_header): Gen perfmon data.
- (perfmon_var_expanding_copy_visitor): New struct.
- (struct perfmon_derived_probe):
- (struct perfmon_derived_probe_group):
- (struct perfmon_builder): New Perfmon probe handling structures.
- (register_standard_tapsets): Add perfmon tapset binding.
- (derived_probe_group_container):
- (~derived_probe_group_container):
- (derived_probe_group_container::register_probe):
- (derived_probe_group_container::emit_probes):
- (derived_probe_group_container::emit_module_init):
- (derived_probe_group_container::emit_module_init_call):
- (derived_probe_group_container::emit_module_exit): Add perfmon tapset.
-
- * tapset/perfmon.stp: New.
- * runtime/perf.c: New.
- * runtime/perf.h: New.
- * runtime/runtime.h: Include perf.c.
-
- * testsuite/buildok/perfmon01.stp: Test to exercise perfmon
- probes.
- * testsuite/systemtap.pass1-4/buildok.exp:
-
-2006-09-12 Li Guanglei <guanglei@cn.ibm.com>
-
- From Li Xuepeng <xuepengl@cn.ibm.com>
- * lket.5.in: document nfs trace hooks
-
-2006-09-08 David Smith <dsmith@redhat.com>
-
- * elaborate.h (struct derived_probe): Replace emit_registrations()
- function with emit_registrations_start() and
- emit_registrations_end().
- (struct derived_probe_group): Added emit_module_init().
- (struct derived_probe_group_container): Added emit_module_init(),
- emit_module_init_call(), and emit_module_exit().
- * elaborate.cxx (struct alias_derived_probe): Updated
- emit_regitrations calls.
- * translate.cxx (emit_module_init): Instead of actually emitting
- per-probe-point registrations/unregistrations, let the session's
- derived_probe_group_container do it.
- * tapsets.cxx (emit_probe_timing): New function that handles
- probe timing code.
- (be_derived_probe::emit_registrations_start): Renamed from
- emit_registrations.
- (be_derived_probe_group::emit_module_init): New function that
- outputs probes create and destroy functions.
- (dwarf_derived_probe::emit_registrations): Removed, but most code
- moved to emit_registrations_start().
- (dwarf_derived_probe::emit_registrations_start): Handles details
- of multiple dwarf probe registrations.
- (dwarf_derived_probe::emit_registrations_end): Handles cleanup
- details of multiple dwarf probe registrations.
- (dwarf_derived_probe_group::emit_module_init): New function that
- outputs probes create and destroy functions.
- (timer_derived_probe::emit_registrations_start): Renamed from
- emit_registrations. Added mutiple probe handling.
- (timer_derived_probe::emit_registrations_end): Handles cleanup
- details of multiple probe registrations.
- (timer_derived_probe_group::emit_module_init): New function that
- outputs probes create and destroy functions.
- (profile_derived_probe::emit_registrations_start): Renamed from
- emit_registrations. Added mutiple probe handling.
- (profile_derived_probe::emit_registrations_end): Handles cleanup
- details of multiple probe registrations.
- (profile_derived_probe_group::emit_module_init): New function that
- outputs probes create and destroy functions.
- (mark_derived_probe::emit_registrations_start): Renamed from
- emit_registrations. Added mutiple probe handling.
- (mark_derived_probe::emit_registrations_end): Handles cleanup
- details of multiple probe registrations.
- (mark_derived_probe_group::emit_module_init): New function that
- outputs probes create and destroy functions.
- (hrtimer_derived_probe::emit_registrations_start): Renamed from
- emit_registrations. Added mutiple probe handling.
- (hrtimer_derived_probe::emit_registrations_end): Dummy function.
- (hrtimer_derived_probe_group::emit_module_init): New function that
- outputs probes create and destroy functions.
- (derived_probe_group_container::emit_module_init): Added function
- to call all probe group's emit_module_int functions.
- (derived_probe_group_container::emit_module_init_call): Added
- function to handle probe group initialization cleanup.
- (derived_probe_group_container::emit_module_exit): Added
- function to handle probe group cleanup.
-
-
-2006-09-06 Frank Ch. Eigler <fche@elastic.org>
-
- Add basic support for initialized globals.
- * parse.cxx (parse_global): Parse initialization clause, implement
- by rewriting to "probe begin { var = value }".
- * parse.h: Corresponding changes.
- * stap.1.in: Document optional initialization.
-
-2006-09-04 Frank Ch. Eigler <fche@elastic.org>
-
- Improve unresolved target-symbol error messages.
- * staptree.h (target_symbol): Add new field saved_conversion_error.
- * elaborate.cxx (typeresolution_info::visit_target_symbol): Throw
- that if found instead of generic error.
- * tapsets.cxx (t_v_f_c_v::visit_target_symbol): Set it.
-
-2006-08-30 Li Guanglei <guanglei@cn.ibm.com>
-
- * stapprobes.5.in: document signal.*
-
-2006-08-28 David Smith <dsmith@redhat.com>
-
- * translate.cxx: Added inclusion of session.h.
- (translate_pass): Instead of asking each probe to emit itself, we
- ask the session's probes member variable to emit all the probes.
- * tapsets.cxx: Added inclusion of session.h. Added a
- register_probe member function to all derived_probe based
- classes. Added a derived_probe_group derived class for all probe
- types:
- (be_derived_probe_group): New class.
- (never_derived_probe_group): New class.
- (dwarf_derived_probe_group): New class.
- (timer_derived_probe_group): New class.
- (profile_derived_probe_group): New class.
- (mark_derived_probe_group): New class.
- (hrtimer_derived_probe_group): New class
- (derived_probe_group_container): New class.
- * elaborate.h: Removed inclusion of session.h since session.h now
- includes elaborate.h.
- (derived_probe): Added register_probe member function.
- (derived_probe_group): Added class definition. This is the base
- class of all of the derived probe groups - dwarf, timer, etc.
- (derived_probe_group_container): Added class definition. An
- instance of this class will be stored in the session and contain
- all the other probe groups.
- * elaborate.cxx (derived_probe_group::register_probe): Added
- derived_probe_group::register_probe stubs.
- (alias_derived_probe::register_probe): Added register_probe member
- function.
- (semantic_pass_symbols): After deriving a probe, the probes now
- register themselves with the session.
- * session.h: Includes elaborate.h to get
- derived_probe_group_container definition. systemtap_session class
- 'probes' member variable switched from a vector of derived probes
- to a derived_probe_group_container.
- * buildrun.cxx: Added inclusion of session.h since it was removed
- from elaborate.h.
- * main.cxx: Added inclusion of session.h since it was removed
- from elaborate.h.
- * parse.h: Added forward struct declarations.
- * staptree.h: Removed inclusion of session.h.
-
-2006-08-23 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3093
- From Eugeniy Meshcheryakov <eugen@debian.org>:
- * main.cxx (main): Use setenv instead of putenv, since gcc 4.2
- doesn't like assigning string constants to char*. Also use
- const char* for result from getenv.
- * tapsets.cxx (dwflpp::setup): Copy string constant into a
- local array, to fix gcc 4.2 warning.
-
-2006-08-22 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3094
- From Eugeniy Meshcheryakov <eugen@debian.org>:
- * stap.1.in: In groff, '-' produces a Unicode hyphen. Use '\-'
- where a plain-old minus sign is desired, e.g., code examples.
- * lket.5.in, stapex.5.in, stapfuncs.5.in, stapprobes.5.in: ditto
-
-2006-08-15 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in (elfutils_version): Require 0.123 now.
-
-2006-08-14 David Smith <dsmith@redhat.com>
-
- * elaborate.cxx (semantic_pass): Calls semantic_pass_optimize1()
- and semantic_pass_optimize2().
- (visit_functioncall): Removed setting relaxed_p since
- semantic_pass_opt5 does it.
- (semantic_pass_opt5): Goes ahead and removes duplicate functions
- since semantic_pass_opt1() won't be run again.
- (semantic_pass_optimize1): Renamed from semantic_pass_optimize().
- Moved semantic_pass_opt5() to semantic_pass_optimize2().
- (semantic_pass_optimize2): New function that contains optimization
- passes that need to be done after type inference.
-
-2006-08-12 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (dist-hook): Make "make dist" dist.
- * Makefile.in: Regenerated.
-
-2006-08-12 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac, Makefile.am: Descend into testsuite/
- directory. Remove local test logic.
- * configure, Makefile.in: Regenerated.
- * runtest.sh: Not yet removed.
- * HACKING: Update for new testsuite layout.
-
-2006-08-10 David Smith <dsmith@redhat.com>
-
- * elaborate.cxx (duplicate_function_remover): Added class.
- (get_functionsig): Added function.
- (semantic_pass_opt5): New function merges duplicate identical
- functions into one function.
- (semantic_pass_optimize): Calls semantic_pass_opt5.
-
- * translate.cxx (c_unparser::emit_probe): Changed to merge
- duplicate probes bodies by making the duplicate probe just call
- the original probe (BZ# 2421).
-
-2006-08-08 Li Guanglei <guanglei@cn.ibm.com>
-
- * stapprobes.5.in: document process.*, tcp.*, udp.*
-
-2006-08-09 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * testsuite/buildok/iolock_test.stp: Updated for new ioblock.stp
-
-2006-08-09 Josh Stone <joshua.i.stone@intel.com>
-
- * examples/small_demos/proc_snoop.stp,
- testsuite/buildok/process_test.stp: Rename process.signal_* to
- new signal.* tapset.
- * stapprobes.5.in, testsuite/buildok/memory.stp: move pagefault
- to vm.* namespace
-
-2006-08-08 Eugene Teo <eteo@redhat.com>
-
- * tapset/context.stp (probemod): New function.
- * stapfuncs.5.in: Document it.
- * testsuite/buildok/probemod.stp: Test it.
-
-2006-08-08 Li Guanglei <guanglei@cn.ibm.com>
-
- * stapprobes.5.in: document scsi.*, ioscheduler.*, netdev.* and
- pagefault.
-
-2006-08-01 Li Guanglei <guanglei@cn.ibm.com>
-
- PR 2422
- * tapsets.cxx: calling get_module_dwarf(false) to give a
- warning to those modules without debuginfo and skip them
-
-2006-07-19 Roland McGrath <roland@redhat.com>
-
- * configure.ac, systemtap.spec.in: Bump version to 0.5.9.
- * configure: Regenerated.
-
- * systemtap.spec.in: Fix syntax in last change.
-
-2006-07-19 David Smith <dsmith@redhat.com>
-
- * testsuite/buildok/scsi.stp: Only run the scsi test if the scsi
- kernel subsystem is running.
-
-2006-07-17 David Smith <dsmith@redhat.com>
-
- * stapfuncs.5.in: Removed retval function description, since it
- has been removed.
-
-2006-07-17 Roland McGrath <roland@redhat.com>
-
- * configure.ac, systemtap.spec.in: Require elfutils-0.122.
- * configure: Regenerated.
-
- * systemtap.spec.in (Release): Use %{?dist}.
-
-2006-07-17 Li Guanglei <guanglei@cn.ibm.com>
-
- * main.cxx: add LKET's tapsets into stap's default tapsets
- search path
-
-2006-07-13 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.spec.in: Add formerly missing admonitional verb.
-
-2006-07-13 David Smith <dsmith@redhat.com>
-
- * parse.cxx (parser::expect_unknown2): New function that looks for
- 2 possible token types.
- * parse.cxx (parser::expect_ident_or_keyword): New function that
- calls parser::expect_unknown2.
- * parse.cxx (parser::parse_symbol): Calls
- parser::expect_ident_or_keyword to allow keywords to appear when
- expanding target symbols (Bugzilla #2913).
- * parse.h: Added prototypes for parser::expect_unknown2 and
- parser::expect_ident_or_keyword.
- * testsuite/parseok/seventeen.stp: New test to check for allowing
- keywords when expanding target symbols.
-
-2006-06-30 Josh Stone <joshua.i.stone@intel.com>
-
- * tapsets.cxx (hrtimer_builder::build): Enable hrtimers on >=2.6.17.
- * tapsets.cxx (hrtimer_derived_probe::emit_probe_entries): Correct
- compilation errors, fix return value.
-
-2006-06-30 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (dwflpp::dwfl_assert): Added optional extra_msg
- parameter to be able to print out extra error message.
- (dwflpp::setup): Uses new 'extra_msg' parameter to dwfl_assert()
- to ask user to install kernel-debuginfo when
- dwfl_linux_kernel_report_kernel() or
- dwfl_linux_kernel_report_modules() fails (Bugzilla #2669).
-
- * buildrun.cxx (compile_pass): Checks to make sure module build
- directory exists before trying to run make there (Bugzilla #2669).
-
-2006-06-27 Roland McGrath <roland@redhat.com>
-
- * runtest.sh: Don't use eval, use proper quoting.
-
- * tapsets.cxx (dwflpp::emit_address): New instance method. Get
- relocation details from Dwfl to emit in comment after address constant.
- (dwflpp::loc2c_emit_address): Just call that.
-
-2006-06-26 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket.in.5: update to AIO event hooks
-
-2006-06-23 Thang P Nguyen <thang.p.nguyen@intel.com>
-
- * testsuite/buildok/tcp_test.stp: updated inet calls
- * testsuite/buildok/udp_test.stp: test udp tapset
-
-2006-06-22 Thang P Nguyen <thang.p.nguyen@intel.com>
-
- * testsuite/buildok/tcp_test.stp: test tcp tapset
-
-2006-06-16 Roland McGrath <roland@redhat.com>
-
- * configure.ac, systemtap.spec.in: Bump version to 0.5.8.
- * configure: Regenerated.
-
- * systemtap.spec.in: Fix bundled_elfutils setting so builds can
- possibly work. Add comment admonishing losers not to touch it.
-
- * aclocal.m4, Makefile.in: Regenerated with automake-1.9.6-2.
-
-2006-06-16 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket.in.5: update to reflect the latest changes
- to LKET
-
-2006-06-15 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in: Require elfutils-0.121.
-
-2006-06-14 Frank Ch. Eigler <fche@elastic.org>
-
- * README: Add kernel.org blurb based on text from
- Chuck Ebbert <76306.1226@compuserve.com>.
-
-2006-06-09 Li Guanglei <guanglei@cn.ibm.com>
-
- * parse.cxx, staptree.cxx, staptree.h, translate.cxx:
- delete lket_trace_extra
- * lket.5.in: delete the description of backtrace in
- LKET
-
-2006-06-08 Thang P Nguyen <thang.p.nguyen@intel.com>
-
- * testsuite/buildok/ioblock_test.stp: test ioblock
-
-2006-06-05 David Smith <dsmith@redhat.com>
-
- * tapsets.cxx (dwflpp::express_as_string): New function.
- Extracted from dwflpp::literal_stmt_for_local() so that
- dwflpp::literal_stmt_for_return() could also call it.
- (dwflpp::literal_stmt_for_local): Portion extracted to create
- dwflpp::express_as_string().
- (dwflpp::literal_stmt_for_return): New function. Adds support for
- new symbolic access ("$return") to return value in .return
- probes. Fixes PR 1132.
- (target_variable_flavour_calculating_visitor::visit_target_symbol):
- Calls dwflpp::literal_stmt_for_return() when in a return probe and
- the variable name is "$return".
- (dwarf_var_expanding_copy_visitor::visit_target_symbol): Ditto.
- * stapfuncs.5.in: Noted that the retval() function is deprecated.
- * stapprobes.5.in: Corrected the name of the return value
- variable.
- * tapset/return.stp: Marked the retval() function as deprecated.
- * testsuite/semko/return01.stp: Added new test.
- * testsuite/semko/return02.stp: Ditto.
-
-2006-06-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2645 cont'd.
- * elaborate.cxx (derive_probes): Pass down optional flag
- from alias reference to expansion.
- * testsuite/semok/twentytwo.stp: Test passing-down.
- * stapprobes.5.in: Specify passing-down property of optional flag.
-
-2006-06-02 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2645 cont'd.
- * elaborate.cxx (find_and_build): Support optional wildcards too.
- (derive_probes): Change last argument to indicate optionalness of
- parent probe point (alias reference).
- (alias_expansion_builder): Shrink epilogue-mode alias body copying.
- Pass along alias reference optionality.
- * elaborate.h: Corresponding changes.
- * testsuite/semko/thirtyfive.stp, semok/twentytwo.stp: New tests.
-
-2006-06-02 Josh Stone <joshua.i.stone@intel.com>
-
- * testsuite/buildok/process_test.stp: add signal_handle test
- * examples/small_demos/proc_snoop.stp: log signal_handle
-
-2006-06-02 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2645.
- * stapprobes.5.in: Document "?" probe point suffix.
- * parse.cxx (parse_probe_point): Recognize "?" optional suffix.
- * elaborate.cxx (derive_probes): Observe probe_point->optional.
- * staptree.h, staptree.cxx: Corresponding changes.
- * tapsets.cxx (never_derived_probe, never_builder): New classes.
- (register_standard_tapsets): Support "never" probe point.
- * testsuite/buildok/six.stp, parseok/five.stp: Modifed tests.
-
- * translate.cxx (emit_module_init): Format "-t" (benchmarking)
- cycle-time reports similarly to "-v" (verbose) times.
-
-2006-06-02 David Smith <dsmith@redhat.com>
-
- * .cvsignore: Added more files to ignore.
-
- * main.cxx (usage): Added exitcode parameter.
- (main): Improved a few error messages. Also, when an error is
- given, stap now always exits with a status of 1.
-
- * testsuite/buildok/cmdline01.stp: New test.
- * testsuite/parseko/cmdline01.stp: Ditto.
- * testsuite/parseko/cmdline02.stp: Ditto.
- * testsuite/parseko/cmdline03.stp: Ditto.
- * testsuite/parseko/cmdline04.stp: Ditto.
- * testsuite/parseko/cmdline05.stp: Ditto.
- * testsuite/parseko/cmdline06.stp: Ditto.
- * testsuite/parseok/cmdline01.stp: Ditto.
- * testsuite/parseok/cmdline02.stp: Ditto.
-
-2006-06-01 Josh Stone <joshua.i.stone@intel.com>
-
- * tapsets.cxx (hrtimer_derived_probe::emit_interval): update
- API usage of hrtimers in preparation of getting exports from
- the kernel.
- (hrtimer_derived_probe::emit_probe_entries): ditto
-
-2006-06-01 Li Guanglei <guanglei@cn.ibm.com>
-
- * parse.cxx, staptree.cxx, staptree.h, translate.cxx:
- add new function lket_trace_extra at script level
- * lket.5.in: Modified the description of backtrace in
- LKET
-
-2006-05-29 Li Guanglei <guanglei@cn.ibm.com>
-
- * systemtap.spec.in: include lket-b2a in the rpm package
-
-2006-05-27 Li Guanglei <guanglei@cn.ibm.com>
-
- * configure.ac: add conditional build of lket-b2a
- if glib2-devel is not found, just skips and gives
- a warning
- * Makefile.am: add conditional build of lket-b2a
- * Makefile.in, configure: regenerated
- * runtime/lket/b2a/Makefile: deleted. Should be
- generated by configure
-
-2006-05-26 Josh Stone <joshua.i.stone@intel.com>
-
- * tapsets.cxx (build_blacklist): build the sets of blacklisted
- functions and function returns. Manually added many __kprobes
- functions that should not be probed.
- (dwarf_query::dwarf_query): Call build_blacklist.
- (dwarf_query::blacklisted_p): Use blacklist sets.
-
-2006-05-25 Josh Stone <joshua.i.stone@intel.com>
-
- * parse.cxx (parser::scan_pp): Free memory for tokens that are
- thrown away in the preprocessing stage.
- * tapsets.cxx
- (dwarf_var_expanding_copy_visitor::visit_target_symbol):
- Free allocated memory when supressing target-variable errors
-
-2006-05-25 David Smith <dsmith@redhat.com>
-
- * testsuite/semok/twentyone.stp: New file.
-
-2006-05-24 Frank Ch. Eigler <fche@elastic.org>
-
- Pass 4 speedup.
- * tapsets.cxx (derived_probe::emit_common_header): New
- function, to emit code formerly inlined by
- emit_probe_prologue/epilogue.
- * translate.cxx (emit_common_header): Call it.
- * elaborate.h: Corresponding changes.
-
-2006-05-24 David Smith <dsmith@redhat.com>
-
- * elaborate.cxx (isglob): New function.
- (match_key::globmatch): New function.
- (match_node::find_and_build): Uses isglob() and
- match_key::globmatch() to provide support for wildcards such as
- "kernel.syscall.*read*" (Bugzilla #1928).
- * elaborate.h (match_key::globmatch): Added function declaration.
- * parse.cxx (parser::parse_probe_point): Collects one or more
- tokens into a single probe-point functor string.
-
- * testsuite/parseko/twentytwo.stp: New file.
- * testsuite/parseok/sixteen.stp: New file.
-
-2006-05-24 David Smith <dsmith@redhat.com>
-
- * testsuite/parseko/cmdlinearg01.stp: New file.
- * testsuite/parseko/cmdlinearg02.stp: New file.
- * testsuite/parseko/eighteen.stp: New file.
- * testsuite/parseko/foreachstmt01.stp: New file.
- * testsuite/parseko/foreachstmt02.stp: New file.
- * testsuite/parseko/foreachstmt03.stp: New file.
- * testsuite/parseko/foreachstmt04.stp: New file.
- * testsuite/parseko/foreachstmt05.stp: New file.
- * testsuite/parseko/forstmt01.stp: New file.
- * testsuite/parseko/forstmt02.stp: New file.
- * testsuite/parseko/forstmt03.stp: New file.
- * testsuite/parseko/forstmt04.stp: New file.
- * testsuite/parseko/functiondecl01.stp: New file.
- * testsuite/parseko/functiondecl02.stp: New file.
- * testsuite/parseko/functiondecl03.stp: New file.
- * testsuite/parseko/functiondecl04.stp: New file.
- * testsuite/parseko/functiondecl05.stp: New file.
- * testsuite/parseko/functiondecl06.stp: New file.
- * testsuite/parseko/functiondecl07.stp: New file.
- * testsuite/parseko/ifstmt01.stp: New file.
- * testsuite/parseko/ifstmt02.stp: New file.
- * testsuite/parseko/nineteen.stp: New file.
- * testsuite/parseko/preprocess01.stp: New file.
- * testsuite/parseko/preprocess02.stp: New file.
- * testsuite/parseko/preprocess03.stp: New file.
- * testsuite/parseko/preprocess04.stp: New file.
- * testsuite/parseko/preprocess05.stp: New file.
- * testsuite/parseko/preprocess06.stp: New file.
- * testsuite/parseko/preprocess07.stp: New file.
- * testsuite/parseko/preprocess08.stp: New file.
- * testsuite/parseko/preprocess09.stp: New file.
- * testsuite/parseko/probepoint01.stp: New file.
- * testsuite/parseko/probepoint02.stp: New file.
- * testsuite/parseko/probepoint03.stp: New file.
- * testsuite/parseko/seventeen.stp: New file.
- * testsuite/parseko/ternarystmt01.stp: New file.
- * testsuite/parseko/twenty.stp: New file.
- * testsuite/parseko/twentyone.stp: New file.
- * testsuite/parseko/whilestmt01.stp: New file.
- * testsuite/parseko/whilestmt02.stp: New file.
-
-2006-05-24 Li Guanglei <guanglei@cn.ibm.com>
-
- * configure.ac: add lket.5 & runtime/lket/b2a
- * Makefile.am: add lket & runtime/lket/b2a
- * aclocal.m4, Makefile.in, configure: regenerated
- * runtime/lket/b2a/*: a binary to ascii converter used
- to convert LKET's default binary trace data.
- * lket.5.in: add intro of lket-b2a converter.
-
-2006-05-23 David Smith <dsmith@redhat.com>
-
- * parse.cxx (parse_for_loop): Corrected error message.
-
-2006-05-22 David Smith <dsmith@redhat.com>
-
- * elaborate.cxx (find_and_build): Fixed issue #2643. Wildcard
- code was being too optimistic.
-
-2006-05-22 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket.in.5: draft version of manpage for LKET
- * Makefile.in, configure, stap.1.in: add lket.in.5
-
-2006-05-18 Frank Ch. Eigler <fche@elastic.org>
-
- Organize "-t" output by script/parse level probes rather than
- derived-probes.
- * elaborate.cxx (derived_probe ctor): Remove name field setting.
- (alias_derived_probe): New class.
- (alias_expandion_builder::build): Create an instance of the above
- instead of parse-tree-level plain probe.
- * elaborate.h: Corresponding changes.
- (derived_probe::basest): Define.
- * staptree.cxx (probe ctor): Set new name field.
- * staptree.h (probe): Corresponding changes.
- (probe::basest): New field.
- * tapsets.cxx (emit_probe_prologue, emit_probe_entries):
- Switch to basest() probe name for Stat instance.
- (dwarf_derived_probe ctor): Stash away base probe.
- * translate.cxx (unparser::emit_probe): Remove index
- operand, just use probe name to generate symbols.
- (emit_module_init): Reorganize -t output in unregister functions.
- (translate_pass): Remove unparser::current_probenum field and all
- uses.
- * translate.h: Corresponding changes.
-
-2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
-
- * tapset/LKET/*: tracing tapsets of LKET
- * tapset/context.stp: add stp_pid() func
- * tapset/ppc64/syscalls.stp: add conditional preprocessing
- since sys64_time is removed from kernel >= 2.6.16
-
-2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
-
- * tapset/tskschedule.stp: deleted, merge into scheduler.stp
- * tapset/scheduler.stp: incorporate tskschedule.stp
- * testsuite/buildok/tskschedule.stp: deleted, merge into
- sched_test.stp
- * testsuite/buildok/sched_test.stp: incorporate tskschedule.stp
-
-2006-05-17 Josh Stone <joshua.i.stone@intel.com>
-
- * testsuite/buildok/sched_test.stp: test scheduler tapset
- * examples/small_demos/sched_snoop.stp: demo scheduler tapset
-
-2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
-
- * testsuite/buildok/ioscheduler.stp: testcase for ioscheduler.stp
- * testsuite/buildok/memory.stp: testcase for memory.stp
- * testsuite/buildok/networking.stp: testcase for networking.stp
- * testsuite/buildok/scsi.stp: testcase for scsi.stp
- * testsuite/buildok/tskschedule.stp: testcase for tskschedule.stp
-
-2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
-
- * tapset/ioscheduler.stp: generic IO scheduler tapsets from LKET
- * tapset/memory.stp: generic pagefault tapsets from LKET
- * tapset/networking.stp: generic networking tapsets from LKET
- * tapset/scsi.stp: generic scsi tapsets from LKET
- * tapset/tskschedule.stp: generic task scheduler tapsets from LKET
- * tapset/process.stp: changes to process.exec alias
-
-2006-05-16 David Smith <dsmith@redhat.com>
-
- * parse.cxx (parser::parser): Added initializer for 'context'
- member variable.
- (tt2str): Added support for new tok_keyword type.
- (operator <<): Ignores keyword content when outputting error
- message.
- (lexer::scan): Recognizes keywords, such as 'probe', 'global',
- 'function', etc. and classifies them as type 'tok_keyword'. This
- causes keywords to become reserved so they cannot be used for
- function names, variable names, etc.
- (parser::parse): Changed tok_identifier to tok_keyword when looking
- for "probe", "global", or "function". Also sets context member
- variable which remembers if we're in probe, global, function, or
- embedded context.
- (parser::parse_probe, parser::parse_statement)
- (parser::parse_global, parser::parse_functiondecl)
- (parser::parse_if_statement, parser::parse_delete_statement)
- (parser::parse_break_statement, parser::parse_continue_statement)
- (parser::parse_for_loop, parser::parse_while_loop)
- (parser::parse_foreach_loop, parser::parse_array_in): Looks for
- tok_keyword instead of tok_identifier.
- (parser::parse_probe_point): Allows keywords as part of a probe
- name, since "return" and "function" are keywords.
- (parser::parse_return_statement): Looks for tok_keyword instead of
- tok_identifier. Make sure we're in function context.
- (parser::parse_next_statement): Looks for tok_keyword instead of
- tok_identifier. Make sure we're in probe context.
- * parse.h: Added parse_context enum. Added 'tok_keyword' to
- token_type enum. Added parse_context 'context' member variable to
- parser class.
- * stap.1.in: Because the string() function has been removed,
- the 'string()' function reference has been changed to a 'sprint()'
- function reference.
- * stapex.5.in: Ditto.
- * stapfuncs.5.in: The description of the string() and hexstring()
- functions has been removed.
- * testsuite/buildok/context_test.stp: Calls to the string()
- function were converted to sprint() function calls.
- * testsuite/buildok/fifteen.stp: Ditto.
- * testsuite/buildok/nineteen.stp: Ditto.
- * testsuite/buildok/process_test.stp: Ditto.
- * testsuite/buildok/task_test.stp: Ditto.
- * testsuite/buildok/timestamp.stp: Ditto.
- * testsuite/buildok/twentyone.stp: Ditto.
- * testsuite/semok/args.stp: Ditto.
- * testsuite/semok/seven.stp: Ditto.
- * testsuite/buildok/fourteen.stp: Calls to log()/string() were
- converted to a call to printf().
- * testsuite/buildok/sixteen.stp: Ditto.
- * testsuite/buildok/thirteen.stp: Ditto.
- * testsuite/buildok/twentythree.stp: Ditto.
- * testsuite/buildok/twentytwo.stp: Ditto.
- * testsuite/buildok/seven.stp: Calls to the string()
- function were converted to sprint() calls. Calls to the
- hexstring() function were converted to sprintf() calls.
- * testsuite/semok/eleven.stp: Ditto.
- * testsuite/buildok/seventeen.stp: Calls to log()/hexstring() were
- converted to a call to printf().
- * testsuite/semko/nineteen.stp: Ditto.
- * testsuite/parseok/three.stp: Because keywords are reserved, a
- variable named 'string' was renamed to 'str'.
- * testsuite/parseok/two.stp: Because keywords are reserved, a
- variable named 'global' was renamed to 'gbl'.
- * testsuite/transko/two.stp: Because the parser now checks for
- 'next' and 'return' statement context, a 'next' statement was
- removed from a function and a 'return' statement was removed from
- a probe.
-
-2006-05-15 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx, translator.cxx (*): Designate more emitted
- functions as static.
- * translator.cxx (visit_print_format): Correct regression
- regression from two weeks ago.
- * stapfuncs.5.in: Tweak wording. Deprecate returnval() in favour
- of retval().
-
-2006-05-12 Thang P Nguyen <thang.p.nguyen@intel.com>
-
- * testsuite/buildok/probefunc.stp: test probefunc()
-
-2006-05-12 Frank Ch. Eigler <fche@elastic.org>
-
- * stapfuncs.5.in: Clarify backtrace-related functions.
-
-2006-05-11 David Smith <dsmith@redhat.com>
-
- * tapset/ctime.stp: New file.
-
-2006-05-09 Josh Stone <joshua.i.stone@intel.com>
-
- * examples/small_demos/proc_snoop.stp: monitor all process events.
- * testsuite/buildok/task_test.stp: test compilation of all task
- functions.
- * testsuite/buildok/process_test.stp: test all process events and
- associated variables.
-
-2006-05-09 Will Cohen <wcohen@redhat.com>
-
- PR 2228
- * parse.h:
- * parse.cxx: Add << operator for struct source_loc.
- * translate.cxx (emit_module_init): Print location of probe in script.
-
-2006-05-09 Li Guanglei <guanglei@cn.ibm.com>
-
- PR 2520
- * main.cxx: add -M option to stop merge per-cpu files in bulk mode
- * session.h: add merge member into systemtap_session
- * buildrun.cxx: generate stpd_cmd to stop merge per-cpu files if -M
- option is turned on by stap.
-
-2006-05-08 Li Guanglei <guanglei@cn.ibm.com>
-
- PR 2627
- * elaborate.cxx: epilogue style alias expansion
- * parse.cxx: parse += alias definition
- * staptree.h: add epilogue_style member to probe_alias
- * stap.1.in: add the description of epilogue style alias
- * testsuite/parseok/fifteen.stp: testcase for epilogue style alias
-
-2006-05-05 Roland McGrath <roland@redhat.com>
-
- * configure.ac (build_elfutils): Pass CFLAGS to elfutils configure,
- editting out -Wall.
- * configure: Regenerated.
-
-2006-05-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2643
- * testsuite/buildok/syscalls.stp: Take "-u" away again.
- * configure.ac, systemtap.spec.in: Bump version to 0.5.7.
- * configure: Regenerated.
-
-2006-05-05 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac, systemtap.spec.in: Bump version to 0.5.6.
- * configure: Regenerated.
-
-2006-05-05 Will Cohen <wcohen@redhat.com>
-
- * small_demos/fileopen.stp: Shows use of target() to look at pid.
- * small_demos/rwtiming.stp: Shows per executable histograms of time
- spent in read and write system calls.
-
-2006-05-05 Eugene Teo <eteo@redhat.com>
-
- PR 2433
- * tapsets.cxx (dwarf_query::blacklisted_p): Extend the list of
- blacklisted .return probes to include "do_exit". Correct funcname
- typo for "sys_groupexit".
- * tapset/syscalls.stp: Remove .return probe aliases of never-
- returning syscall.exit and syscall.exit_group calls.
-
-2006-05-05 David Smith <dsmith@redhat.com>
-
- * translate.cxx (mapvar::exists): Added code for string array
- handling. Otherwise, string array elements always exist.
-
-2006-05-03 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2506
- * tapsets.cxx (dwarf_query::blacklisted_p): skip probes in .exit.*
-
-2006-05-02 Will Cohen <wcohen@redhat.com>
-
- * translate.cxx (emit_module_init): Move closing '}' inside #ifdef.
-
-2006-05-02 Will Cohen <wcohen@redhat.com>
-
- PR 2228
- * stap.1.in: Document "-t" option.
- * main.cxx (main): Add "-t" option for collecting timing information.
- * session.h (systemtap_session): Corresponding changes.
- * tapsets.cxx (emit_probe_prologue, emit_probe_epilogue,
- emit_probe_entries):
- * translate.cxx: (emit_common_header, emit_module_init,
- translate_pass): Add time collection of timing information.
-
-
-2006-05-01 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (visit_print_format): Fix regression in
- "printf" pseudo-result initialization.
-
-2006-04-30 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2610.
- * translate.cxx (c_unparser::visit_arrayindex, visit_stat_op):
- Detect empty aggregates consistently.
- (visit_print_format): Ditto. Also detect errors due to
- argument evaluation.
- (translator_output::*): Add a flush before a failing assert,
- to produce more context when debugging.
-
-2006-04-25 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am: Removed "rpm" target.
- * Makefile.in, aclocal.m4: Regenerated.
-
-2006-04-25 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (typeresolution_info::unresolved,invalid,
- mismatch): Print current function/probe name in error message.
- (semantic_pass_types): Pass sufficient information.
- * elaborate.h: Corresponding changes.
-
-2006-04-25 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2427.
- * staptree.cxx (varuse_collecting_visitor::visit_embeddedcode):
- Support /* pure */ declaration. Stop using __tvar_ naming hack.
- (v_c_u::visit_print_format): Mark sprint and sprintf as
- side-effect-free.
- (deep_copy_visitor::visit_print_format): Propagate raw_components.
- * stap.1.in: Document declaration.
- * elaborate.cxx (semantic_pass_opt2): Verbose message tweak.
- (dead_stmtexpr_remover): Extend for more aggressive optimization.
- * tapsets.cxx (dwarf,mark_var_expanding_copy_visotor): Add
- /* pure */ declaration to rvalue expansions.
- * tapset/*.stp: Added /* pure */ declarations to many functions.
- * testsuite/parseok/unparsers.stp: Propagate guru mode flag.
- * testsuite/buildok/twentyfour.stp: New test.
-
-2006-04-24 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2599.
- * elaborate.cxx (visit_assignment): Tolerate null current_expr.
- * testsuite/semok/optimize.stp: Add relevant tests.
-
-2006-04-23 Eugene Teo <eteo@redhat.com>
-
- PR 2149
- * translate.cxx (mapvar::set): Test _stp_map_set_xx() for
- array overflows.
-
-2006-04-23 Eugene Teo <eteo@redhat.com>
-
- * small_demos/ansi_colors.stp: Add an example of using octal
- escape sequences to display all possible ansi colors.
-
-2006-04-21 Eugene Teo <eteo@redhat.com>
-
- PR 1326
- * translate.cxx (c_unparser::visit_binary_expression): Handle
- negative left and right shift count.
-
-2006-04-21 Frank Ch. Eigler <fche@elastic.org>
-
- PR 953
- * elaborate.h (derived_probe): Add field "name". Stop passing
- "probe index" to other emit_* calls.
- (emit_probe_context_vars): New member function.
- * elaborate.cxx (derived_probe ctor): Generate unique name.
- * translate.cxx (*): Adapt to index->name.
- (emit_probe): Realize that probe locals only occur at nesting=0.
- * tapsets.cxx (*derived_probe::emit_*): Adapt to index->name.
- (mark_var_expanding_copy_visitor): New class to process $argN.
- (mark_derived_probe ctor): Call it.
- (mark_derived_probe::emit_probe_context_vars): Do it.
- * buildrun.cxx (compile_pass): Add more optional gcc verbosity.
- Add CFLAGS += -freorder-blocks.
- * testsuite/buildok/marker.stp: New test.
-
-2006-04-19 Eugene Teo <eteo@redhat.com>
-
- PR 2014
- * parse.cxx (lexer::scan): Added \[0-7]* case to preserve
- octal escape sequences.
-
-2006-04-18 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (install-data-local): Another try.
-
-2006-04-18 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2220
- * translate.cxx (visit_statement): Tolerate 0 first argument.
- (visit_for_loop, visit_foreach_loop): Call it thusly for condition
- expression.
- (visit_embededcode, visit_block, visit_null_statement): Don't
- call visit_statement() at all.
-
-2006-04-18 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (install-data-local): Tweak previous fix.
- (install-data-local):
-
-2006-04-18 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (install-data-local): Rewrite. Set
- ownership and permissions for all files and directories
- under runtime and tapset. Restrict files to source code.
-
- * Makefile.in: Rebuilt.
-
-2006-04-18 Eugene Teo <eteo@redhat.com>
-
- PR 1341
- * main.cxx (main): Use TMPDIR instead of hard-coded /tmp.
-
-2006-04-17 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (mark_derived_probe::emit_{de}registrations):
- Use cmpxchg to synchronize.
-
-2006-04-12 Tom Zanussi <zanussi@us.ibm.com>
-
- PR 2538
- * buildrun.cxx (compile_pass): Remove space
- between -I and runtime path.
-
-2006-04-12 Martin Hunt <hunt@redhat.com>
-
- PR 2497
- * translate.cxx (translate_pass): Don't
- reset STP_STRING_SIZE if it was already defined.
- Set it to 1024 by default.
-
-2006-04-10 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (visit_print_format): Call
- _stp_snprintf() instead of snprintf().
-
-2006-04-09 Martin Hunt <hunt@redhat.com>
-
- Add binary printf support.
-
- * elaborate.cxx (visit_print_format): Don't include
- conv_literal or conv_size in components vector.
- Add conv_binary to switch statement.
-
- * translate.cxx (visit_print_format): Eliminate
- special cast to (long long) for pe_long because new
- vsnprintf uses int64_t.
-
- * staptree.h (struct print_format): Add conv_binary and conv_size.
-
- * staptree.cxx (components_to_string): Add conv_binary case.
- Add conv_size case.
- (string_to_components): Add cases for 'b' and 'n'
-
-2006-04-08 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (resolve_prologue_endings): Rewrote.
- (resolve_prologue_endings2): Removed.
-
- * gen-stapmark.h: Emit a 0-arity marker.
- * stapmark.h: Regenerated for arities 0..6.
-
-2006-04-04 Roland McGrath <roland@redhat.com>
-
- * configure.ac: Bump version to 0.5.5.
- Require elfutils-0.120.
- * configure: Regenerated.
- * systemtap.spec.in: Likewise.
-
- * main.cxx (version): Use dwfl_version.
-
- * loc2c.c (array_stride): stride_size -> byte_stride
-
-2006-04-04 Tom Zanussi <zanussi@us.ibm.com>
-
- * stp_check: Change test for relay vs relayfs
-
-2006-03-30 Martin Hunt <hunt@redhat.com>
-
- * tapsets.cxx (dwarf_derived_probe::emit_registrations):
- Change maxactive so single-processor kernels using
- kretprobes don't get lots of dropped probes.
-
-2006-03-30 Frank Ch. Eigler <fche@elastic.org>
-
- PR 953, part 1
- * tapsets.cxx: (mark_derived_probe*): New classes.
- (register_standard_tapsets): Register kernel/module.mark() family.
- * stapmark.h: New header for static instrumentation markers.
- * gen-stapmark.h: New perl script to generate it.
- * elaborate.cxx (derived_probe ctor): Ignore null location*.
-
-2006-03-29 Josh Stone <joshua.i.stone@intel.com>
-
- * tapsets.cxx (hrtimer_derived_probe::*): creates a probe point
- based on the hrtimer APIs.
- * tapsets.cxx (hrtimer_builder::*): parses the user's time-spec
- into a 64-bit nanosecond value, and calls the appropriate
- derived_probe.
- * tapsets.cxx (register_standard_tapsets): add hrtimer bindings
- * translate.cxx (translate_pass): add linux/random.h include,
- used for generating 64-bit random numbers for hrtimers.
-
-2006-03-28 Martin Hunt <hunt@redhat.com>
-
- * testsuite/buildok/syscall.stp: Update so
- it works again.
-
-2006-03-16 Tom Zanussi <zanussi@us.ibm.com>
-
- * configure.ac: Revert relayfs version check.
- * configure: Reverted.
- * translate.cxx (compile_pass): Remove relayfs include path.
-
-2006-03-15 Tom Zanussi <zanussi@us.ibm.com>
-
- * configure.ac: Add check for relayfs version.
- * configure: Regenerated.
- * stp_check.in: Remove bundled relayfs loading/compilation, add
- check for relay (vs relayfs).
-
-2006-03-13 Josh Stone <joshua.i.stone@intel.com>
-
- * safety/safety.py: Support IA64 disassembly matching.
- * safety/data/opcodes-ia64: new opcode rules for IA64.
- * safety/data/references: Add references used by example scripts
- when compiled for IA64.
-
-2006-03-13 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_globals): Tag globals, especially the locks,
- as __cacheline_aligned.
-
-2006-03-09 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_locks): Emit dummy references to unlock_ ...
- (emit_module_init): ... and probe_point.
-
-2006-03-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2425
- * staptree.cxx (varuse_collecting_visitor::visit_embeddedcode):
- Realize that $var-setter functions have side-effects.
- * testsuite/transok/tval-opt.stp: New test.
-
-2006-03-06 Martin Hunt <hunt@redhat.com>
-
- * buildrun.cxx (run_pass): Add "-u username".
- * stapfuncs.5.in: Document system().
-
-2006-03-06 Frank Ch. Eigler <fche@elastic.org>
-
- * stapex.5.in: Use \[aq] for plain single quotes for encoding
- variation tolerance.
-
-2006-03-03 Josh Stone <joshua.i.stone@intel.com>
-
- * main.cxx (main): search forward for dashes in the kernel release,
- to work properly with release names with more than one dash. Also
- * parse.cxx (eval_pp_conditional): ditto
- * tapsets.cxx (profile_derived_probe::profile_derived_probe): ditto
- * safety/safety.py (StaticSafety::__build_search_suffixes): ditto,
- and add copyright & GPL tag
-
- PR 2390
- * main.cxx (main): expand search path so that revision w.x.y.z
- searches w.x.y.z, w.x.y, and w.x.
-
-2006-03-03 Frank Ch. Eigler <fche@elastic.org>
-
- * tapset/indent.stp, indent-default.stp: New little tapset.
- * stapfuncs.5.in: Document it.
- * testsuite/buildok/indent.stp: Build it.
-
-2006-02-27 Josh Stone <joshua.i.stone@intel.com>
-
- * safety/*: Add a static safety checker.
-
-2006-02-25 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (var::init): Don't crush string module_params.
- (emit_global_param): New function, forked out of emit_global,
- to put module_param calls at the bottom of C file.
- * translate.h: Corresponding changes.
-
-2006-02-23 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1304
- * parse.cxx (lexer): Take systemtap_session argument.
- (lexer::scan): Support $1..$NNNN and @1...@NNNN expansion.
- * stap.1.in: Document this.
- * testsuite/semok/args.stp: New test.
- * translate.cxx (var::init, emit_global): Emit code to allow
- named module parameters to initialize global string/number scalars.
- * stap.1.in: Don't document this yet.
-
- PR 2334
- * main.cxx (main): Clarify "-v" option repeatibility.
- * stap.1.in: Ditto.
-
-2006-02-23 Roland McGrath <roland@redhat.com>
-
- * Makefile.am (AUTOMAKE_OPTIONS): New variable, set dist-bzip2.
- * Makefile.in: Regenerated.
-
-2006-02-23 Martin Hunt <hunt@redhat.com>
-
- PR 1989. Adds support for %p in printf
- * staptree.h (struct print_format): Add conv_unsigned_ptr.
- * staptree.cxx (components_to_string): Output 'p'
- for conv_unsigned_ptr.
- * elaborate.cxx (visit_print_format): Add case for
- conv_unsigned_ptr.
-
-2006-02-23 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (install-data-local): Create tapset/i686 and
- tapset/x86_64 directories. This fixes a problem where they
- were included, but had bad permissions.
- * Makefile.in: Rebuilt.
-
-2006-02-22 Frank Ch. Eigler <fche@elastic.org>
-
- * stapfuncs.5.in: Document get_cycles().
- * testsuite/buildok/timestamp.stp: Build it and its friends.
-
-2006-02-22 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2293.
- * tapsets.cxx (emit_probe_epilogue): Emit early local_irq_save().
- (emit_probe_epilogue): ... and matching _restore().
-
- * main.cxx (main): Emit a "hello, I'm starting" message
- before pass 5 in verbose mode.
-
-2006-02-17 Frank Ch. Eigler <fche@elastic.org>
-
- * stapfuncs.5.in (cpu): Document contextinfo function.
-
-2006-02-15 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (varlock*): Removed now unnecessary class.
- (aggregation_locks): Renamed field to aggregations_active.
-
-2006-02-14 Frank Ch. Eigler <fche@elastic.org>
-
- * stapfuncs.5.in: Document new queue_stats tapset.
- * elaborate.cxx (*): Put "while:" clarification messages before a
- thrown semantic error.
- * staptree.cxx (print_format::string_to_components): Correct
- parse of "%%" formatting element.
-
-2006-02-07 Frank Ch. Eigler <fche@elastic.org>
-
- * src/testsuite/buildok/syscalls.stp: Build with "-u" to build-test
- all auxiliary functions.
- * tapsets.cxx (dwarf_query::add_probe_point): Add some "-vv" output.
-
-2006-02-07 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2068
- * tapsets.cxx (dwarf_query::blacklisted_p): add __switch_to
- to the blacklist for x86_64 architecture only.
-
-2006-02-06 Will Cohen <wcohen@redhat.com>
-
- * tapset/syscall2.stp: Correct opening comment typo.
-
-2006-02-06 Will Cohen <wcohen@redhat.com>
-
- * tapset/syscall2.stp: Correct closing comment typos.
-
-2006-02-01 Frank Ch. Eigler <fche@elastic.org>
-
- * testsuite/semko/one.stp: Make sure test case stays broken.
-
-2006-02-01 Martin Hunt <hunt@redhat.com>
-
- * stapfuncs.5.in: Document is_return(), returnval() and
- probefunc().
- * testsuite/buildok/syscall.stp: Basic syscall test.
-
-2006-02-01 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac, systemtap.spec.in: Version 0.5.4.
- * configure: Regenerated.
-
-2006-01-31 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2252
- * translate.cxx (translate_pass): Fix legacy definition of
- read_trylock.
-
-2006-01-30 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): Also print elapsed real time for each pass.
-
-2006-01-27 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx: Make "-v" (verbose) flag a counter.
- * stap.1.in: Document this.
- * session.h: Corresponding changes.
- * {elaborate,buildrun,tapsets,translate}.cxx: Update all uses of
- verbose flag to compare it to sensible level for value of message.
-
-2006-01-27 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): In verbose mode, print user+sys times after
- each pass.
- * buildrun.cxx (compile_pass): Move success message back to main().
-
-2006-01-26 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2060: lock elevation, mop-up
- * staptree.cxx (functioncall_traversing_visitor): Store a
- current_function pointer during traversal.
- (visit_embeddedcode): Use it to handle $target-synthesized functions.
- (varuse_collecting_visitor::visit_assignment): Correct l-lr typo.
- (visit_foreach_loop): Note added write on sorted foreach.
- (visit_delete_statement): Note as read+write.
- * staptree.h: Corresponding changes.
- * elaborate.cxx (dead_assignment_remover::visit_expr_statement):
- Correct stmt token after possible expression rewriting.
- * tapsets.cxx (visit_target_symbol): Create naming convention
- to recognize $target-synthesized functions.
- * translate.cxx (emit_locks, emit_unlocks): New functions to
- emit lock/unlock sequences at the outermost level of a probe.
- (emit_probe): Call them.
- (varlock_*): #if-0 out the lock code generation. Later, these
- classes should be removed.
- (translate_pass): Emit read_trylock() kludge macro for old kernels.
-
-2006-01-25 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2205, patch from <hiramatu@sdl.hitachi.co.jp>:
- * parse.cxx (scan): Correct EOF detection for %{ %} case.
-
-2006-01-24 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2060 etc.
- * tapsets.cxx (visit_target_symbol): Tolerate failed resolution by
- letting target_symbol instance pass through to optimizer and
- type checker.
- * elaborate.cxx (semantic_pass_optimize): New family of functions and
- associated visitor classes.
- (visit_for_loop): Tolerate absent init/incr clauses.
- (semantic_pass): Invoke unless unoptimized (-u) option given.
- * main.cxx, session.h: Add support for flag.
- * staptree.cxx (visit_for_loop): Tolerate absent init/incr clauses.
- (traversing_visitor::visit_arrayindex): Visit the index expressions.
- (functioncall_traversing_visitor): New class.
- (varuse_tracking_visitor): New class.
- * staptree.h: Corresponding changes.
- * parse.cxx (parse_for_loop): Represent absent init/incr expressions
- with null statement pointer instead of optimized-out dummy numbers.
- * stap.1.in: Document optimization.
- * testsuite/{semko,transko}/*.stp: Added "-u" or other code to many
- tests to check bad code without optimizer elision.
- * testsuite/semok/optimize.stp: New test.
-
- * elaborate.cxx (unresolved, invalid, mismatch): Standardize error
- message wording.
- * stapfuncs.5.in: Tweak print/printf docs.
- * tapset/logging.stp: Remove redundant "print" auxiliary function,
- since it's a translator built-in.
- * testsuite/transok/five.stp: Extend test.
- * translate.cxx (emit_symbol_data): Put symbol table into a separate
- temporary header file, to make "-p3" output easier on the eyes.
- * buildrun.cxx (compile_pass): Eliminate test-mode support throughout.
- * main.cxx, session.h, translate.cxx: Ditto.
- * main.cxx (main): For last-pass=2 runs, print post-optimization ASTs.
-
-2006-01-18 Josh Stone <joshua.i.stone@intel.com>
-
- * tapsets.cxx (profile_derived_probe::emit_probe_entries): Setup
- c->regs properly in light of the emit_probe_prologue change.
-
-2006-01-18 Josh Stone <joshua.i.stone@intel.com>
-
- * translate.cxx (c_unparser::visit_foreach_loop): improved the error
- message when _stp_pmap_agg fails.
-
-2006-01-18 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (c_unparser_assignment::visit_arrayindex):
- Eliminate dummy assignments for "<<<" code.
-
-2006-01-17 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2156
- * testsuite/buildok/pmap_foreach.stp: Add test with sorting
-
-2006-01-17 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2156
- * translate.cxx (c_unparser::visit_foreach_loop): Check the return
- value of _stp_pmap_agg() for NULL.
-
-2006-01-17 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.spec.in: Remove explicit kernel-devel dependency,
- since some old kernel rpm builds don't virtual-provide it for
- e.g. smp, hugemem.
-
-2006-01-17 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2142
- * translate.cxx (EXTRACTORS_PERMISSIVE): New experimental policy
- parameter.
- (c_unparser::visit_arrayindex, visit_print_format, visit_stat_op):
- Tolerate absent index (= NULL runtime return) in pmap.
- (*): Make semantic_error messages consistently lower case.
- * testsuite/buildok/iterate_histogram_buckets.stp: Note some missing
- functionality.
-
-2006-01-17 Josh Stone <joshua.i.stone@intel.com>
-
- * stap.1.in: Document the 'delete' operator.
-
-2006-01-16 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in (elfutils_version): Require 0.119 now.
- * configure.ac, systemtap.spec.in: Version 0.5.3.
- * configure: Regenerated.
-
-2006-01-16 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2140
- * translate.cxx (mapvar::del): Add ability to delete an indexed stat
- from (p)maps.
- (delete_statement_operand_visitor::visit_symbol): Add ability to
- delete entire pmaps and scalars.
- (delete_statement_operand_tmp_visitor): Add a special tmpvar visitor
- to parallel delete_statement_operand_visitor.
- (c_tmpcounter::visit_delete_statement): Invoke the new visitor.
- * testsuite/buildok/delete.stp: Also test scalar deletes.
- * vim/syntax/stap.vim: Recognize 'delete' operator.
-
-2006-01-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2148
- * translate.cxx (MAXERRORS): Actually the max should be 0, so first
- error aborts session.
-
-2006-01-13 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx (main): Suppress "Try again with -v" message if already
- verbose.
-
-2006-01-13 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (c_unparser:getmap): Correct exception throwing typo.
-
-2006-01-12 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2056
- * translate.cxx (c_unparser::aggregation_locks): Keeps track of
- foreach's locks on pmaps to avoid extra aggregation.
- (c_unparser::visit_foreach_loop): Set aggregation_locks appropriately.
- (c_unparser::load_aggregate, mapvar::call_prefix, mapvar::get):
- Use a new parameter to indicate that we should read from the
- already-aggregated map rather than the full pmap..
- (c_unparser::visit_arrayindex c_unparser::visit_print_format,
- c_unparser::visit_stat_op): Use aggregation_locks to avoid taking a
- lock and aggregating the pmap.
- (c_unparser::emit_map_type_instantiations): To read from a pmap's
- aggregated map, we need to include map-gen.c for the _stp_map_*
- functions.
- (c_unparser::obtained_locks, varlock::varlock, varlock::~varlock):
- Add simple static checking to detect incompatible nested locks during
- translation, and flag it as an error.
-
-2006-01-11 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2140
- * testsuite/buildok/delete.stp: Test correct compilation of the
- 'delete' operator for all "legal" variations.
-
-2006-01-11 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (MAXERRORS): Oops, set back to intended default of 1.
-
-2006-01-10 Frank Ch. Eigler <fche@redhat.com>
-
- PR 1972.
- * tapsets.cxx (var_expanding_copy_visitor::visit_target_symbol):
- Produce error message for $var access within .return probes.
- * testsuite/semko/thirtyfour.stp: New test.
-
-2006-01-10 Frank Ch. Eigler <fche@redhat.com>
-
- PR 2060.
- * buildrun.cxx (compile_pass): Add "V=1" to kbuild if verbose.
- * translate.cxx (translator_output): For output-file constructor,
- set an explicit output buffer.
- (emit_module_init, emit_module_exit): Reorganize output, to spit
- each individual probe registration/deregistration blurb into a
- separate function.
- * translate.h: Corresponding changes; set default buffer size to 8K.
- * translate.cxx, tapsets.cxx: Replace "endl" by buffer-friendly "\n"
- throughout code generation routines.
-
-2006-01-09 Frank Ch. Eigler <fche@redhat.com>
-
- * HACKING: Extend guidelines for tapset testing.
-
-2006-01-06 Will Cohen <wcohen@redhat.com>
-
- * Makefile.am (gcov,lcov): Don't remove .gcno .gcda files.
- * Makefile.am (gcov): Fix to report data when tests fail.
- * Makefile.am (lcov): New rule to generate html coverage data.
- * Makefile.in: Regenerated.
-
-2006-01-05 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2056
- * translate.cxx (var::~var, var::hist, var::buckets): make these
- methods virtual, so we can use polymorphism.
- (mapvar::hist, mapvar::buckets): Override the corresponding var
- methods to handle pmaps correctly.
- (c_unparser::visit_arrayindex, c_unparser::visit_print_format): Make
- use of the new polymorphic behavior of var & mapvar when dealing with
- histogram data.
- * testsuite/buildok/pmap_foreach.stp: Add tests to check histogram
- accesses with for/foreach.
-
-2006-01-04 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2057.
- * translate.cxx (c_unparser_assignment::visit_arrayindex): Don't take
- write lock around pmap accumulation.
-
-2006-01-04 Will Cohen <wcohen@redhat.com>
-
- * testsuite/buildok/printf.stp: Improve test coverage.
-
-2006-01-03 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (emit_deregistration): Fix bad thinko on loop nesting.
-
-2006-01-03 Frank Ch. Eigler <fche@redhat.com>
-
- PR 1144, 1379
- * tapsets.cxx (emit_probe_prologue, _epilogue): New routines.
- Call from existing derived_probe spots. Implement soft errors in
- epilogue code. Implement reentrancy detection in prologue code.
- (dwarf_derived_probe::emit_deregistration): Add kprobes layer
- "nmissed" to skipped_count.
- * translate.cxx (varlock): Use nsleep(TRYLOCKDELAY) in lock
- contention loop.
- (emit_module_exit): Report number of soft errors and skipped probes.
- (emit_function, _probe): Add __restrict__ marker to context pointer.
- (translate_pass): Define new MAXTRYLOCK, TRYLOCKDELAY, MAXERRORS,
- MAXSKIPPED parameters.
- * tapset/logging.stp (error): Don't stp_error, just set context state.
- * stap.1.in, stapfuncs.5.in: Document soft errors.
- * elaborate.h: Corresponding changes.
-
-2005-12-23 Kevin Stafford <krstaffo@us.ibm.com>
-
- * tapset/2.6.9-20.ELsmp/syscalls.stp: added kernel
- version tapset
- * tapset/2.6.9-20.ELsmp/i686/syscalls.stp: added kernel
- version arch specific tapset
- * tapset/doc/discrepancies.txt: log of kernel version
- discrepancies.
-
-2005-12-22 Roland McGrath <roland@redhat.com>
-
- * configure.ac: Pass LDFLAGS to elfutils configure to force DT_RUNPATH.
- * configure: Regeneraed.
-
-2005-12-21 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2056
- * translate.cxx (itervar::next): emit different code for pmaps
-
-2005-12-21 Frank Ch. Eigler <fche@elastic.org>
-
- * loc2c.h: Add __attribute__ defeating code for g++ 3.3 compatibility.
-
-2005-12-20 Josh Stone <joshua.i.stone@intel.com>
-
- * vim/filetype.vim: defines *.stp files as SystemTap scripts
- * vim/ftplugin/stap.vim: sets the comment styles
- * vim/indent/stap.vim: enables simple auto-indenting
- * vim/syntax/stap.vim: defines syntax highlighting
-
-2005-12-19 Roland McGrath <roland@redhat.com>
-
- * configure.ac, systemtap.spec.in: Version 0.5.2.
- * configure: Regenerated.
-
-2005-12-17 Roland McGrath <roland@redhat.com>
-
- * staptree.h: #include <cassert> here.
-
-2005-12-14 Kevin Stafford <krstaffo@us.ibm.com>
-
- * tapset/2.6.14/syscalls.stp: Added 2.6.14 syscalls to tapset.
- * 2.tapset/6.14/i686/syscalls.stp: Added i386 arch specific syscalls
- to tapset for kernel 2.6.14.
- * tapset/2.6.9-24.ELsmp/syscalls.stp: Added 2.6.9-24.ELsmp syscalls.
- * tapset/2.6.9-24.ELsmp/x86_64/syscalls.stp: Added x86_64 arch
- specific syscalls to tapset for kernel 2.6.9-24.ELsmp.
- * tapset/system_calls.stp: File removed.
-
-2005-12-14 Martin Hunt <hunt@redhat.com>
-
- * tapset/system_calls.stp (epoll.ctl): Temporarily remove
- references to $op and $event because gcc 4.0.2 can't
- find them.
- (epoll.wait): Ditto for $maxevents.
-
-2005-12-13 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (var_expanding_copy_visitor::visit_target):
- Transcribe token pointer to synthesized functiondecl.
-
-2005-12-12 Josh Stone <joshua.i.stone@intel.com>
-
- * tapset/context.stp
- (execname,pid,tid,ppid,pexecname,gid,egid,uid,euid): Removed
- in_interrupt checks and other pointer checks. We now operate on
- the assumption that "current" and its related data are always
- valid.
- * tapsets.cxx (profile_derived_probe::*,profile_builder::build):
- Do kernel version checks at translation time, using the same
- internal mechanisms as the preprocessor - a la %( kernel_v <
- "2.6.10" %? ... %: ... %)
-
-2005-12-12 Kevin Stafford <krstaffo@us.ibm.com>
-
- * main.cxx (main): Added arch directory to the existing
- kernel-version-sensitive search path.
-
-2005-12-12 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx (translate_pass): Emit #include <linux/profile.h>.
-
-2005-12-12 Will Cohen <wcohen@redhat.com>
-
- * tapset/logging.stp (function_exit): Make sure systemtap probes
- stop collection additional data.
-
-2005-12-12 Frank Ch. Eigler <fche@redhat.com>
-
- Fix parse tree pretty-printer.
- * staptree.h (print_format): Add raw_components field.
- * parse.cxx (parse_symbol): Set it.
- * staptree.cxx (lex_cast_qstring): Copy it here too.
- (binary_expression::print): Add a space around operator, due to
- lexical ambiguity (expr % paren-expr) vs %( preprocessor op.
- (array_in:: foreach_loop:: arrayindex::print): Print base as indexable.
- (print_format::string_to_components): Use parse_error, not semantic.
- (print_format::print): Properly quote formatting string. Print
- histogram argument.
- * translate.cxx (visit_print_format): Properly quote formatting string.
- (varlock): Reword lock timeout error message.
- * testsuite/buildok/printf.stp: Add some quoting troublemakers.
- * testsuite/parseok/unparser.stp: New file.
-
-2005-12-11 Roland McGrath <roland@redhat.com>
-
- * configure.ac: Bump version to 0.5.1 for test builds.
- * systemtap.spec.in: Remove ExclusiveArch.
- * configure: Regenerated.
-
- PR 1916
- * configure.ac: Grok --with-elfutils.
- * Makefile.am [BUILD_ELFUTILS] (install-elfutils, stamp-elfutils):
- New targets.
- [BUILD_ELFUTILS] (stap_LDFLAGS, stap_LDFLAGS): Add flags
- to point at local elfutils build.
- [BUILD_ELFUTILS] (BUILT_SOURCES): Add stamp-elfutils.
- [BUILD_ELFUTILS] (stap_DEPENDENCIES): New variable.
- [BUILD_ELFUTILS] (lib-elfutils/libdw.so): New target.
- [BUILD_ELFUTILS] (install-exec-local): Depend on install-elfutils.
- (loc2c_test_LDADD): Set this to $(stap_LDADD).
- (loc2c_test_CPPFLAGS, loc2c_test_LDFLAGS): New variables.
- * Makefile.in: Regenerated.
- * compile: New file from automakeland.
- * systemtap.spec.in (elfutils_version): Require 0.118 or later.
- [bundled_elfutils]: Remove old hacks for building elfutils, and rely
- on configure --with-elfutils instead.
-
- * Makefile.am (pkglibexecdir): New variable.
- (AM_CPPFLAGS): Use it.
- (pkglibexec_PROGRAMS): Set this instead of noinst_PROGRAMS with stpd.
- (pkglibexec_SCRIPTS, CLEANFILES): New variables.
- (install-exec-local): Target removed.
- * runtest.sh: Set LD_LIBRARY_PATH when lib-elfutils is in use.
-
- * loc2c-test.c (get_location): Fix function name in error message.
-
-2005-12-09 Graydon Hoare <graydon@redhat.com>
-
- * elaborate.cxx (alias_expansion_builder::build): Fix comment typo.
- * tapsets.cxx (symbol_cache): New class.
- (dwflpp::cache): Add cache.
- (dwflpp::pattern_limited_cus): New member.
- (dwflpp::pattern_limited_funcs): New member.
- (dwflpp::limit_search_to_function_pattern): New method.
- (dwflpp::iterate_over_cus): Modify to use cached, limited sets.
- (dwflpp::iterate_over_functions): Likewise.
- (dwarf_builder::user_dw): New member.
- (dwarf_builder::kern_dw): New member.
- (dwarf_builder::~dwarf_builder): Add dtor.
- (query_module): Call dwflpp::limit_search_to_function_pattern.
- (dwarf_builder::build): Initialize persistent dwflpp members on demand.
-
-2005-12-08 Graydon Hoare <graydon@redhat.com>
-
- * translate.cxx (delete_statement_operand_visitor::visit_arrayindex):
- Prohibit deleting histogram buckets.
- (c_tmpcounter::visit_array_in): Direct to visit_arrayindex.
- (c_unparser::visit_array_in): Likewise.
-
- * testsuite/buildok/histogram_operator_in.stp: New test.
-
-2005-12-08 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1937
- * buildrun.cxx (run_pass): Pass new "-d PID" option to stpd.
- Set SIGHUP to SIG_IGN too.
-
-2005-12-07 Graydon Hoare <graydon@redhat.com>
-
- * staptree.cxx (traversing_visitor::visit_foreach_loop): Visit
- the base indexable of the foreach loop.
-
- * translate.cxx (c_tmpcounter::visit_foreach_loop): Implement
- histogram bucket iteration arm.
- (c_unparser::visit_foreach_loop): Likewise.
- (c_tmpcounter::visit_arrayindex): Fix typo.
-
- * testsuite/buildok/iterate_histogram_buckets.stp: New test.
-
-2005-12-07 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (mapvar::fini): Use _stp_pmap_del() on pmaps.
- (emit_global): For pmaps, use "PMAP" instead of "MAP".
-
-2005-12-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1934.
- * tapsets.cxx (resolve_prologue_endings2): Add new heuristic for
- tail-call optimized functions.
- (query_func_info): Make somewhat less verbose.
-
-2005-12-06 Graydon Hoare <graydon@redhat.com>
-
- * translate.cxx (visit_print_format): Explicitly Cast int64_t
- (pe_long) args to (long long) in generated code, for portability.
-
-2005-12-05 Frank Ch. Eigler <fche@elastic.org>
-
- * *.cxx: Add <cassert> #include as needed.
-
-2005-12-02 Graydon Hoare <graydon@redhat.com>
-
- * elaborate.cxx (mutated_var_collector): Forward
- traversal portion of calls to base class.
- (mutated_var_collector::visit_arrayindex): Resolve
- arrayindex-into-histogram expression as pe_long.
- (typeresolution_info::visit_print_format): Traverse
- into histogram if present.
-
- * parse.cxx (parse_symbol): Handle parse ambiguity surrounding
- print(@hist_op(...)[...]).
-
- * staptree.cxx (traversing_visitor::visit_arrayindex): Visit
- base member of arrayindex.
-
- * translate.cxx (c_unparser::histogram_index_check): New method.
- (var::hist): Fix bug.
- (var::buckets): New method.
- (stmt_expr::stmt_expr): Print with newline.
- (c_unparser::load_map_indices): Handle indexing-histogram case.
- (c_tmpcounter::visit_arrayindex): Likewise.
- (c_unparser::visit_arrayindex): Likewise.
- (c_tmpcounter_assignment::visit_arrayindex): Throw error when
- user attempts to write to histogram bucket.
- (c_unparser_assignment::visit_arrayindex): Likewise.
-
- * testsuite/buildok/print_histogram_entry.stp: New test.
-
-2005-12-02 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Bump version number.
- * stap.1.in: Document some of the new print/stats stuff.
- * configure: Regenerated.
- * systemtap.spec.in: Enable ia64 and ppc builds.
-
-2005-12-01 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1944 improved hack.
- * translator.cxx (c_tmpcounter::visit_block): New routine, allows
- overlay of sequential statements' temporaries within context.
-
-2005-12-01 Frank Ch. Eigler <fche@redhat.com>
-
- PR 1944 quick hack.
- * translator.cxx (translate_pass): Reduce default MAXNESTING to 10.
- (emit_module_init): Add a paranoid check against oversize contexts.
- * stap.1.in: Document MAXNESTING change.
-
-2005-11-30 Frank Ch. Eigler <fche@redhat.com>
-
- PR 1276
- From Josh Stone <joshua.i.stone@intel.com>:
- * tapsets.cxx (profile_derived_probe, profile_builder,
- register_standard_tapsets): Support timer.profile variety.
- * stapprobes.5.in: Document it.
- * testsuite/builok/fourteen.stp: Test its buildability.
-
-2005-11-28 Graydon Hoare <graydon@redhat.com>
-
- * translate.cxx (var::assert_hist_compatible): New method.
- (var::hist): New method.
- (c_unparser::load_aggregate): New method.
- (hist_op_downcaster): Remove, it was a mistake.
- (expression_is_hist_op): Likewise.
- (c_tmpcounter::visit_print_format): Implement print(@hist(...)).
- (c_unparser::visit_print_format): Likewise.
-
- * staptree.h (struct print_format): Add optional hist_op* member.
- * staptree.cxx (traversing_visitor::visit_functioncall): Visit
- hist_op if present in print_format.
- (deep_copy_visitor::visit_print_format): Likewise.
-
- * parse.cxx (parse_symbol): Special case to consume print(@hist(...)).
-
- * elaborate.cxx (typeresolution_info::visit_arrayindex): Fix type inference bug.
- (typeresolution_info::visit_foreach_loop): Likewise.
-
- * testsuite/buildok/print_histograms.stp: New test.
-
-2005-11-28 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx (c_tmpcounter_assignment::visit_symbol): Don't
- emit unused temporary into context. Saves mucho space with strings.
-
-2005-11-27 Roland McGrath <roland@redhat.com>
-
- * loc2c.c (location_from_address): Diagnose null FB_ATTR specially.
-
- * loc2c.c (location_from_address): Fix function name in error message.
-
-2005-11-27 Frank Ch. Eigler <fche@elastic.org>
-
- * loc2c.c (location_from_address): Tolerate errors with NULL *input.
-
-2005-11-26 Roland McGrath <roland@redhat.com>
-
- PR 1868.
- * loc2c.c (struct location): Move frame_base member out of the union.
- (alloc_location): Initialize it.
- (new_synthetic_loc, translate, location_from_address): Update uses.
- (emit_loc_value): Don't handle frame_base here.
- (c_emit_location): Do it here instead.
- (translate): Track USED_DEREF separately for each piece.
- Use a temporary struct when allocating a new piece, letting
- a pending loc_address piece finish up first.
-
- * loc2c-test.c (main): Free SCOPES at end.
- (handle_variable): Free POOL at end.
-
- * loc2c.c (translate): Initialize LOC->address.used_deref at start.
-
-2005-11-25 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1336.
- * tapsets.cxx (translate_final_fetch_or_store): Remove apparently
- unnecessary check.
- * testsuite/transok/ten.stp: New test for void* integerification.
-
-2005-11-24 Frank Ch. Eigler <fche@redhat.com>
-
- PR 1903
- * parse.cxx (eval_pp_conditional): Support %( arch == "i686" %) form.
- * stap.1.in: Document it.
- * testsuite/parseok/fourteen.stp: Test it.
- * session.h (architecture): New field.
- * main.cxx (main): Initialize it.
-
-2005-11-24 Frank Ch. Eigler <fche@redhat.com>
-
- PR 1917
- * translate.cxx (emit_common_header, emit_module_init,
- emit_module_exit): Switch context array to per-cpu kmalloc variant.
- * tapsets (*::emit_probe_entires): Use per_cpu_ptr() for my context.
-
-2005-11-23 Graydon Hoare <graydon@redhat.com>
-
- * elaborate.h (get_symbol_within_expression): Make visible.
- * elaborate.cxx (get_symbol_within_expression): Make non-static.
- (stat_decl_collector): New struct.
- (semantic_pass_stats): New semantic pass.
- (semantic_pass): Call it.
- (semantic_pass_symbols): Remove collection of statistic_decls from files.
- (visit_stat_op): Only fail if inferred type is not pe_long.
-
- * parse.cxx (parser::parse): Don't pass per-file statistic_decl
- into parse_global.
- (parser::parse_global): Don't parse global statistic_decls,
- they're obsolete.
- * parse.hh (parser::parse_global): Adjust signature to match.
-
- * session.h (statistic_decl::operator==): New method.
-
- * staptree.h (print_format::is_empty): New method.
- (stapfile::stat_decls): Remove field.
- * staptree.cxx (string_to_components): Fix bugs in format-string
- parser.
-
- * translate.cxx (var): Make private fields protected.
- (var::init): Support HIST_NONE stats.
- (aggvar): New struct.
- (mapvar::is_parallel): New method.
- (mapvar::call_prefix): Use it.
- (mapvar::calculate_aggregate): New method.
- (mapvar::fetch_existing_aggregate): New method.
- (mapvar::get): Support pe_stats.
- (mapvar::init): Use is_parallel(), and support HIST_NONE.
- (itervar::itervar): Only fault on pe_unknown.
- (itervar::start): Use mapvar::is_parallel and
- mapvar::fetch_existing_aggregate.
- (emit_map_type_instantiations): Include alloc.c before pmap-gen.c.
- Include pmap-gen.c for pe_stats maps.
- (c_unparser::gensym_aggregate): New method.
- (c_unparser::visit_foreach_loop): Handle mapvar::is_parallel case.
- (arrayindex_downcaster): New struct.
- (expression_is_arrayindex): New function.
- (c_tmpcounter::visit_stat_op): New method.
- (c_unparser::visit_stat_op): Implement.
- (c_unparser::visit_hist_op): Add commentary, still not implemented.
-
- * testsuite/buildok/stat_{insert,extract}.stp: New tests.
- * testsuite/semok/ten.stp: Correct for changes to global declarations.
- * testsuite/semko/*.stp: Likewise.
-
-2005-11-21 Roland McGrath <roland@redhat.com>
-
- * loc2c.c (c_translate_location): Take Dwarf_Op vector as argument
- directly, not Dwarf_Attribute.
- * loc2c.h: Update decl.
- * loc2c-test.c (get_location): New function.
- (handle_variable): Use it.
- * tapsets.cxx (dwflpp::translate_location): New method.
- (dwflpp::translate_components, dwflpp::literal_stmt_for_local): Use it.
-
-2005-11-21 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1276
- From Josh Stone <joshua.i.stone@intel.com>:
- * tapsets.cxx (timer_derived_probe, timer_builder,
- register_standard_tapsets): Support timer.ms() variety.
- * stapprobes.5.in: Document it.
- * testsuite/builok/fourteen.stp: Test its buildability.
-
-2005-11-18 Martin Hunt <hunt@redhat.com>
-
- PR 1837
- * testsuite/buildko/one.stp: Replace printk.
- * testsuite/buildok/one.stp: Ditto.
- * testsuite/buildok/two.stp: Ditto.
- * testsuite/semko/fifteen.stp: Ditto.
- * testsuite/semko/fourteen.stp: Ditto.
- * testsuite/semko/thirteen.stp: Ditto.
- * testsuite/transok/eight.stp: Ditto.
- * testsuite/transok/seven.stp: Ditto.
- * testsuite/transok/six.stp: Ditto.
-
- * tapsets.cxx (*::emit_probe_entries): Replace printk() calls
- with _stp_warn().
-
- * stap.1.in: Replace printk with printf in example.
-
- * stapfuncs.5.in: Remove docs for printk and add for
- print and printf.
-
- * tapset/logging.stp (printk): Deleted.
-
-2005-11-13 Graydon Hoare <graydon@redhat.com>
-
- * staptree.h (struct indexable): New struct.
- (classify_indexable): New function.
- (classify_const_indexable): New function.
- (struct symbol): Implement indexable.
- (struct arrayindex): Take indexable as base.
- (struct foreach_loop): Take indexable as base.
- (struct print_format): New struct.
- (enum stat_component_type): New enum.
- (struct stat_op): New struct.
- (enum historgram_type): New enum.
- (struct hist_op): New struct.
- (struct visitor)
- (struct traversing_visitor)
- (struct throwing_visitor)
- (struct deep_copy_visitor): Add new visitor methods.
- (require): Specialize for indexable*.
-
- * staptree.cxx (print_format::*)
- (stat_op::*)
- (hist_op::*)
- (indexable::*)
- (traversing_visitor::*)
- (throwing_visitor::*)
- (deep_copy_visitor::*)
- (classify_indexable)
- (classify_const_indexable): Implement
- (deep_copy_visitor::*): Update to use indexables.
-
- * parse.h (parser::parse_indexable): New method.
- (parser::parse_hist_op_or_bare_name): New method.
-
- * parse.cxx (lexer::scan): Accept @ in identifiers.
- (parser::parse_array_in)
- (parser::parse_foreach_loop): Call parse_indexable.
- (parser::parse_hist_op_or_bare_name): Implement.
- (parser::parse_indexable): Implement.
- (parser::parse_symbol): Accept printf, stat_ops, hist_ops.
-
- * elaborate.h (struct typeresolution_info): Add methods for
- visiting print_format, stat_op, hist_op.
-
- * elaborate.cxx (symbol_fetcher): New class.
- (get_symbol_within_expression): New function.
- (get_symbol_within_indexable): New function.
- (mutated_var_collector): Replace mutated_map_collector.
- (no_var_mutation_during_iteration_check): Replace
- no_map_mutation_during_iteration_check.
- (semantic_pass_vars): Replace semantic_pass_maps.
- (semantic_pass): Update call accordingly.
- (symresolution_info::*) Add new visitors, teach about indexables
- (typeresolution_info::*) Likewise.
-
- * translate.cxx
- (c_unparser::getiter): Take symbol, not foreach_loop.
- (c_unparser::*) Add new visitors, teach about indexables.
- (c_tmpcounter::*)
- (delete_statement_operand_visitor::visit_arrayindex)
- (c_tmpcounter_assignment::*)
- (c_unparser_assignment::*): Likewise.
- (hist_op_downcaster): New struct.
- (expression_is_hist_op): New function.
-
- * testsuite/buildok/printf.stp: New test for print_format.
-
-2005-11-10 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (c_unparser::visit_array_in, visit_arrayindex):
- Finish adapting to PR 1275 by switching back to read locks.
-
-2005-11-09 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx: New API uses HIST_LOG and HIST_LINEAR
- instead of HSTAT_LOG and HSTAT_LINEAR.
-
-2005-11-09 Frank Ch. Eigler <fche@elastic.org>
-
- Reported by Guang Lei Li <liguangl@cn.ibm.com>:
- * tapset/context.stp (pid,ppid,tid): Correctly pick tgid vs pid.
- * testsuite/buildok/context_test.stp: Print out tid() too.
-
-2005-11-08 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (blacklisted_p): Tolerate NULL filename parameter.
- * src/testsuite/semok/twenty.stp: New test to enumerate everything
- dwarfly probeable.
-
-2005-11-08 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx (c_unparser::visit_foreach_loop): With PR 1275
- done, add back read lock around foreach loop. Add a write lock
- around preceding sort operation. Leave a race condition window. :-(
-
-2005-11-08 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx (mapvar::exists): Correct some more.
-
-2005-11-08 Frank Ch. Eigler <fche@redhat.com>
-
- Patch from "Mao, Bibo" <bibo.mao@intel.com>
- * translate.cxx (mapvar::exists): Correct 64-bit type mismatch.
-
-2005-11-08 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (blacklisted_p): Add blacklist for some .return
- probes to kludge around bug #1345.
- * tapset/system_calls.stp: Add some %( %? %) conditionals to
- get closer to using tapset on 2.6.9 kernel.
-
-2005-11-07 Frank Ch. Eigler <fche@redhat.com>
-
- PR 1828.
- * tapsets.cxx (blacklisted_p): New function. Add a few blacklist
- entries.
- * testsuite/semko/thirtythree.stp: New test.
-
-2005-11-07 Frank Ch. Eigler <fche@redhat.com>
-
- * testsuite/buildok/twentytwo.stp: Add another test for PR 1271.
-
-2005-11-04 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (dwarf_derived_probe::emit_registrations): Add
- possible kprobe address prechecking logic. Set kretprobes
- maxactive to zero.
- * translate.cxx (emit_module_init): Set a more helpful default
- probe_point value for use in registration errors. Exit properly
- after registration failure of probe #0.
-
-2005-11-04 Roland McGrath <roland@redhat.com>
-
- * tapsets.cxx (add_probe_point): Use dwfl_module_relocation_info to
- get symbol name when dwfl_module_relocations has the info.
-
-2005-11-03 Roland McGrath <roland@redhat.com>
-
- * tapsets.cxx (add_probe_point): Use explicit test with assignment in
- while condition.
-
-2005-11-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1329.
- * tapsets.cxx (dwarf_query::add_probe_point): Look up section name
- containing given address. Skip request if it came from .init.*.
- * testsuite/semko/thirtytwo.stp: New test.
-
-2005-11-02 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (EXTRA_DIST): Add session.h.
- * Makefile.in: Regenerated.
-
-2005-11-01 Frank Ch. Eigler <fche@elastic.org>
-
- Sound advice from <drepper@redhat.com>:
- * configure.ac: Undo last change.
- * configure.ac: Unregenerated.
- * parse.cxx: Use glibc strverscmp function instead of rpmlib.
- * stap.1.in: Update correspondingly.
-
-2005-11-01 Graydon Hoare <graydon@redhat.com>
-
- * translate.cxx (c_unparser::collect_map_index_types)
- (c_unparser::emit_map_type_instantiations)
- (c_unparser::visit_arrayindex)
- (c_unparser::visit_array_in)
- (delete_statement_operand_visitor::visit_arrayindex)
- (c_unparser_assignment::visit_arrayindex)
- (mapvar::*): Update to new runtime map API.
-
-2005-11-01 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1425.
- * configure.ac: Look for rpm-devel headers and libs.
- * configure: Regenerated.
- * session.h: New file to contain systemtap_session decl.
- * staptree.h: Likewise evict statistics_decl.
- * elaborate.h: Corresponding changes.
- * main.cxx (usage): Elaborate. Re-enable "-r RELEASE" option.
- * parse.cxx (parser): Add systemtap_session& field. Update users.
- (scan_pp, eval_pp_conditional): New routines for preprocessing.
- (peek, next): Call it.
- (lexer::scan): Lex the preprocessor operators.
- (parser::parse): Include an extra level of exception catching
- for parse errors that occur during recovery.
- * parse.h: Corresponding changes.
- (parse_error): Allow explicit token parameter.
- * stap.1.in: Document preprocessing.
- * testsuite/parseok/fourteen.stp: New test.
-
-2005-10-31 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in, configure.ac: Version 0.4.2 cooked.
- * configure: Regenerated.
-
- * configure.ac: Update libdw test to require 0.116 with dwarf_diecu.
- * configure: Regenerated.
- * systemtap.spec.in: Update elfutils requirement to 0.116.
- * loc2c.c: Dwarf_Loc -> Dwarf_Op.
- (location_from_address): dwarf_addrloclists -> dwarf_getlocation_addr.
- (c_translate_location): Likewise.
- (max_fetch_size): Remove fakeo dwarf_diecu macro.
- * tapsets.cxx (dwflpp): Dwarf_Func -> Dwarf_Die;
- dwarf_func_name -> dwarf_diename;
- dwarf_func_entrypc -> dwarf_entrypc;
- dwarf_func_file, dwarf_func_line -> dwarf_decl_file, dwarf_decl_line.
-
-2005-10-26 Roland McGrath <roland@redhat.com>
-
- * loc2c.c (max_fetch_size): Default to host pointer size,
- while still waiting for new libdw entrypoint.
-
-2005-10-25 Roland McGrath <roland@redhat.com>
-
- PR 1271 cont'd.
- * testsuite/buildok/twentytwo.stp: New file.
- * testsuite/buildok/twentythree.stp: New file.
- * loc2c.c (discontiguify): Add missing ; in output.
-
-2005-10-20 Graydon Hoare <graydon@redhat.com>
-
- PR 917 (incomplete)
- * staptree.h (struct statistic_decl): New struct.
- (stapfile::stat_decls): New member.
-
- * parse.h, parse.cxx
- (parser::expect_known): Fix typo.
- (parser::expect_number): New method.
- (parser::parse_global): Parse global statistic_decls.
-
- * elaborate.h (systemtap_session::stat_decls): New member.
- * elaborate.cxx (semantic_pass_symbols): Copy per-file stat_decls
- to session-wide.
- (typeresolution_info::visit_assignment): Detect some semantic stats
- errors in type resolution pass.
-
- * translate.cxx (var::sd): New private member.
- (var::var): Initialize it.
- (var::sdecl): New accessor.
- (var::init): Handle stats values.
- (mapvar::mapvar): Pass through statistic_decl to var ctor.
- (mapvar::get): Test for long explicitly.
- (mapvar::set): Likewise.
- (mapvar::init): Handle stats values.
- (c_unparser::emit_common_header): Remove typedef of stats_t,
- include stat.c when necessary.
- (mapvar::key_typename): Typo.
- (c_unparser::emit_map_type_instantiations): Thinko: value_typename not key_typename.
- (c_unparser::c_typename): Implementation typename is "Stat", not "stats_t".
- (c_unparser::c_assign): Fix bad error message.
- (c_unparser_assignment::c_assignop): Handle operator <<<.
- (c_unparser::getvar): Feed session statistic_decl into var.
- (c_unparser::getmap): Likewise.
- (c_unparser::visit_assignment): Handle operator <<<.
- (c_tmpcounter_assignment::visit_symbol): Derive type from rvalue when present.
- (c_unparser_assignment::visit_symbol)
- (c_tmpcounter_assignment::visit_arrayindex)
- (c_unparser_assignment::load_map_indices): Likewise.
- (c_unparser::visit_arrayindex): Likewise, and Prohibit statistic rvalues.
- (c_unparser_assignment::visit_arrayindex): Handle operator <<<.
-
- * testsuite/semko/twentyfour.stp:
- * testsuite/semko/twentyfive.stp:
- * testsuite/semko/twentysix.stp:
- * testsuite/semko/twentyseven.stp:
- * testsuite/semko/twentyeight.stp:
- * testsuite/semko/twentynine.stp:
- * testsuite/semko/thirty.stp:
- * testsuite/semko/thirtyone.stp: New tests for prohibited statistic contexts.
- * testsuite/buildok/twentytwo.stp: New test for legal statistic contexts.
-
-2005-10-19 Tom Zanussi <zanussi@us.ibm.com>
-
- PR 1194.
- * elaborate.h: Move output_file variable into systemtap_session.
- * buildrun.cxx (run_pass): Pass output file to stpd if applicable.
- * main.cxx (main): Set output_file if -o option specified.
-
-2005-10-18 Frank Ch. Eigler <fche@redhat.com>
-
- PR 1477.
- * main.cxx (main): Set PATH and LC_ALL, so
- * buildrun.cxx (compile_pass, run_pass): ... and ...
- * translate.cxx (emit_symbol_data): ... don't have to.
-
-2005-10-18 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1482 cont'd.
- * translator.cxx (emit_module_init): Set aside a variable for
- detailed probe point id.
- * tapsets.cxx (emit_registrations): Use it.
- (add_probe_point): Correct synthesized probe-point typo.
-
-2005-10-17 Martin Hunt <hunt@redhat.com>
-
- PR 1482
- * tapsets.cxx (emit_registrations): On failure, don't
- forget to unregister probe 0;
-
-2005-10-17 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1338.
- * parse.cx (parse_probe): Unconditionally visit parse_probe_point.
- (parse_probe_point): Accept "*" as component name.
- * stapprobes.5.in: Document this.
- * elaborate.cxx (derive_probes): Rewrite. Make top-level function.
- (match_node::find_and_build): New function to replace
- (find_builder): Removed.
- (match_key operator <): Correct one nasty typo.
- (match_node::bind): Refuse to bind "*" component names.
- (derived_probe_builder::build): Remove recursion output param.
- (alias_expandion_builder::build): Recurse to derive_probes instead.
- * elaborate.h: Corresponding changes.
- * tapsets.cxx: Ditto.
- (query_cu): Elide prologue finding for uninteresting CUs.
- * testsuite/semok/nineteen.stp: New test.
- * testsuite/semko/twentythree.stp: New test.
- * testsuite/semko/twentyone/two.stp: Fix -p2.
-
-2005-10-17 Graydon Hoare <graydon@redhat.com>
-
- * testsuite/semko/twentyone.stp: Check function doesn't match inline.
-
- * testsuite/semko/twentytwo.stp: Check inline doesn't match function.
-
- * testsuite/buildok/six.stp: Change "function" to "inline".
-
- * stapprobes.5.in: Describe "inline" probes.
-
- * tapsets.cxx (TOK_INLINE): New token "inline".
- (dwarf_query::has_inline_str)
- (dwarf_query::has_inline_num)
- (dwarf_query::inline_str_val)
- (dwarf_query::inline_num_val): New members.
- (dwarf_query::dwarf_query): Load new members.
- (query_dwarf_inline_instance)
- (query_dwarf_func)
- (query_cu)
- (query_module)
- (dwarf_derived_probe::add_probe_point)
- (dwarf_builder::build):
- Use inline-related members where appropriate.
- (dwarf_derived_probe::register_inline_variants): New method.
- (dwarf_derived_probe::register_function_and_statement_variants):
- Call it.
-
-2005-10-14 Roland McGrath <roland@redhat.com>
-
- PR 1271.
- * loc2c.c (translate): Set LOC->byte_size in loc_noncontiguous result.
- (struct location.address): New member `declare'.
- (new_synthetic_loc, translate): Initialize it.
- (struct location.type): Add loc_fragment, loc_decl to enum.
- (c_emit_location): Emit unadorned code for loc_fragment.
- (discontiguify): New function.
- (c_translate_fetch, c_translate_store): Call it.
- (get_bitfield): New function, broken out of ....
- (emit_bitfield): ... here. Function removed.
- (declare_noncontig_union): New function.
- (max_fetch_size): New function.
- (translate_base_fetch): New function, broken out of ...
- (c_translate_fetch): ... here. Call it.
- Use get_bitfield here, not emit_bitfield.
- (c_translate_store): Likewise.
- (c_emit_location): Emit declarations first.
-
- * loc2c.c (dwarf_diename_integrate): Function removed.
- Change all callers to use dwarf_diename.
-
- * loc2c-test.c (handle_variable): Check for "=" before fetching DIE
- from ATTR_MEM.
-
-2005-10-13 Roland McGrath <roland@redhat.com>
-
- * loc2c.c (c_emit_location): Use final location's used_deref flag too.
-
- * loc2c.c (translate): Pass LOC to alloc_location, not INPUT.
-
- * loc2c-test.c (fail): Print a newline after the error message.
-
-2005-10-10 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (match_node::bind): Improve error message.
- (register_library_aliases): Catch and verbosify error message.
- (semantic_pass): Provide a back-up exception catcher.
-
-2005-10-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1456.
- * translate.cxx (c_unparser_assignment): Rename "pre" field to "post",
- add blurb to clarify polarity.
- (visit_pre/post_crement): Flip passed flag value.
-
-2005-10-07 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1366.
- * staptree.h (foreach_loop): Add sort_column, sort_direction fields.
- * parse.cxx (parse_foreach_loop): Parse "+"/"-" suffix operators.
- * stap.1.in, stapex.5.in: Document them.
- * staptree.cxx (foreach_loop print, copy): Propagate them.
- * translate.cxx (visit_foreach_loop): Support them.
- * testsuite/parseok/fifteen.stp, parseko/thirteen.stp,
- buildok/twentyone.stp: Test them.
-
-2005-10-07 Kevin Stafford <kevinrs@us.ibm.com>
-
- * tapset/system_calls.stp: All 281 syscalls *prototyped*. They
- are still untested. Many of the aliases useability are contin-
- gent upon resolution of namely: bz #1295 & bz #1382.
-
-2005-10-06 Frank Ch. Eigler <fche@elastic.org>
-
- * stap.1.in: Document -b/-s options.
- * main.cxx (usage): Clarify -b/-s blurbs.
- * translator.cxx (translate_pass): Handle bulk_mode here instead.
-
-2005-10-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1332.
- * translate.cxx (emit_symbol_data): New function to transcribe
- a processed address->symbol lookup table, based upon /proc/kallsyms.
-
-2005-10-05 Tom Zanussi <zanussi@us.ibm.com>
-
- * buildrun.cxx (run_pass): Add bulk/buffer_size flags to flags
- passed to stpd.
- * elaborate.h (systemtap_session): Add bulk/buffer_size flags.
- * main.cxx (usage,main): Add -b (bulk), -s (buffer_size) options.
- processing.
-
-2005-10-04 Graydon Hoare <graydon@redhat.com>
-
- PR 1131.
- * tapsets.cxx
- (target_variable_flavour_calculating_visitor::visit_target_symbol)
- (var_expanding_copy_visitor::visit_target_symbol):
- Require guru mode for writing to target vars.
- * testsuite/buildok/twenty.stp: Test writing to target vars.
-
-2005-10-01 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (get_module_dwarf): Add "required" parameter, which
- throws an exception if debuginfo is not found.
- (focus_on_module_containing_global_address): Tolerate miss.
- (query_kernel_exists): New function to test for "kernel" module in
- dwfl_getmodules() result set.
- (dwarf_builder::build): Call it if appropriate.
-
-2005-09-30 Graydon Hoare <graydon@redhat.com>
-
- PR 1131.
- * tapsets.cxx (dwflpp::find_variable_and_frame_base)
- (dwflpp::translate_components)
- (dwflpp::resolve_unqualified_inner_typedie)
- (dwflpp::translate_final_fetch_or_store): New functions.
- (dwflpp::literal_stmt_for_local): Factor a bit.
- (variable_flavour_calculating_visitor::visit_target_symbol):
- Don't fault on lvalue, just collect an extra char.
- (var_expanding_copy_visitor::target_symbol_setter_functioncalls):
- New member.
- (var_expanding_copy_visitor::visit_assignment): New method.
- (var_expanding_copy_visitor::visit_target_symbol): Permit lvalues.
-
-2005-09-30 Frank Ch. Eigler <fche@elastic.org>
-
- * tapset/system_calls.stp (*_str): Simplified boolean test logic
- throughout, fixed some typos.
-
-2005-09-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1182.
- * main.cxx (main): Support -D macro-setting option.
- * stap.1.in: Document it and related macros.
- * buildrun.cxx (compile_pass): Emit macro definitions.
- * translate.cxx (translate_pass): Guard limit macros with #ifdef.
- Eliminate MAXCONCURRENCY macro.
- * elaborate.h (systemtap_session): Add "macros" field.
- * parse.cxx (parse_if_statement): Clear "elseblock" if needed.
-
-2005-09-27 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (query_cu_containing_global_address): Tolerate
- way out of range addresses that result in null cudie pointers.
-
-2005-09-27 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1368.
- * translate.cxx (emit_common_header): Move some MAX* definitions out ...
- (translate_pass): ... to here. Fix probe_start API impedance mismatch.
- (emit_module_init, exit): Tolerate registration errors, such as absence
- of kretprobes support.
-
-2005-09-27 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1311.
- * tapsets.cxx (target_variable_flavour_calculating_visitor::
- visit_target_symbol): Print verbose error.
- (var_expanding_copy_visitor::visit_target_symbol): Throw
- simple error.
-
-2005-09-26 Frank Ch. Eigler <fche@elastic.org>
-
- * stapfuncs.5.in: Extend errno_str verbiage.
- * tapset/errno.stp: Canonicalize script code slightly.
-
-2005-09-26 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1295.
- * tapsets.cxx (resolve_prologue_endings2): Try another heuristic
- for end-of-prologue.
-
-2005-09-22 Graydon Hoare <graydon@redhat.com>,
- Frank Ch. Eigler <fche@elastic.org>
-
- PR 1330.
- * tapsets.cxx (dwarf_derived_probe): Allow multiple probe_point
- locations per derived_probe.
- (dwarf_query): Add probe "flavour" concept, to reuse probe bodies for
- identical flavours across wildcards.
- (dwarf::emit_registrations, emit_deregistrations, emit_probe_entries):
- Reorganize.
- * staptree (probe::printsig): Put multiple locations on separate lines.
-
-2005-09-22 Will Cohen <wcohen@redhat.com>
-
- * stap.1.in: Correct sys_read alias example.
-
-2005-09-19 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (*::emit_probe_entries): Handle busy-count correctly
- upon contention.
-
-2005-09-14 Graydon Hoare <graydon@redhat.com>
-
- PR 1260
- * tapsets.cxx (dwflpp::resolve_prologue_endings): Correct logic
- error triggered by consecutive function-beginning line records.
-
-2005-09-14 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1344
- * translate.cxx: Call _stp_map_clear for "delete ARRAY" statement.
-
-2005-09-14 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in: Version 0.4.1 cooked.
- Build runpath into elfutils libs too.
-
-2005-09-14 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1257
- * Makefile.am (AM_CFLAGS): Add -fexceptions.
- * loc2c.c (c_translate_location): Invoke *fail properly.
- * Makefile.in: Regenerated.
-
-2005-09-13 Graydon Hoare <graydon@redhat.com>
-
- PR 1260
- * tapsets.cxx (func_info::func_info): Initialize fields.
- (inline_instance_info::inline_instance_info): Likewise.
- (query_inline_instance_info): Add try-catch block.
- (query_func_info): Likewise, and fault when missing prologue-end.
- (query_dwarf_func): Fault when missing entrypc.
-
-2005-09-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1335
- * translate.cxx (c_tmpcounter::visit_functioncall): Correct
- recursion sequence.
- * testsuite/buildok/nineteen.stp: New test case.
-
-2005-09-12 Graydon Hoare <graydon@redhat.com>
-
- PR 1306
- * tapsets.cxx (dwflpp::iterate_over_srcfile_lines): Fix two
- off-by-one errors in previous change.
-
-2005-09-12 Graydon Hoare <graydon@redhat.com>
-
- PR 1306
- * tapsets.cxx (dwflpp::has_single_line_record): New function.
- (dwflpp::iterate_over_srcfile_lines): Throw when user requests
- single statement line with multiple records (and provide advice).
- (query_cu): Adjust call to match.
- (query_srcfile_line): Fix indentation.
-
-2005-09-10 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am, runtest.sh: Use a "testresuilt/" directory in build
- tree rather than overloading "testsuite/".
- * TODO: Removed obsoleted file.
- * Makefile.in: Regenerated.
-
-2005-09-07 Martin Hunt <hunt@redhat.com>
-
- * stap.1.in: Document current "-c" and "-x" options.
-
-2005-09-07 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.spec.in: Remove kernel-debuginfo dependency.
-
-2005-09-07 Frank Ch. Eigler <fche@redhat.com>
-
- * main.cxx (main): Choose getpid()-based module names.
- * tapsets.cxx: Make timer.jiffies' use of task_pt_regs __i386__-only.
-
-2005-09-07 Frank Ch. Eigler <fche@redhat.com>
-
- * stap.1.in: Oops, && and || do short-circuit.
-
-2005-09-06 Frank Ch. Eigler <fche@elastic.org>
-
- * stap.1.in: Clarify absence of short-circuiting in && and ||.
- * translate.cxx (emit_function): Improve "array locals" message.
- * tapset/timestamp.stp: Add gettimeofday_us function. Correct
- arithmetic typing in other functions.
- * stapfuncs.5.in: Document new function.
-
-2005-09-06 Martin Hunt <hunt@redhat.com>
-
- * systemtap.spec.in: Bump elfutils_version to .115.
-
-2005-09-05 Roland McGrath <roland@redhat.com>
-
- * loc2c.h: Comment fix.
-
-2005-09-06 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Require elfutils 0.115+.
- * tapsets.cxx: Restore graydon's PR 1244 code.
- * testsuite/buildok/eighteen.stp: Correct typing.
- * configure: Regenerated.
-
-2005-09-06 Martin Hunt <hunt@redhat.com>
-
- * tapset/context.stp: Add function target().
- * stapfuncs.5.in (target): Document it.
- * elaborate.h (struct systemtap_session): Add cmd and target_pid to
- the struct.
- * main.cxx (usage): Add descriptions of "-c" and "-x" options.
- (main): Set s.cmd and s.target_pid.
- * buildrun.cxx (stringify): Copy this utility func here too.
- (run_pass): Add new options to set cmd and pid to the stpd
- command line.
-
-2005-09-06 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (emit_probe_entries): Disable fault_handler for now.
-
-2005-09-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1289
- * translate.cxx (lex_cast_qstring): Correct "cast" of object
- to string containing more than one word.
- * tapset.cxx (lex_cast_qstring): Ditto.
- (dwarf_derived_module::emit_probe_entries): Emit and use
- a generic fault_handler.
-
-2005-09-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1172.
- * staptree.h, staptree.cxx: Make all ::print*(), operator<<
- functions take const staptree objects.
- (literal_string::print): \-prefix double-quotes.
- * translate.cxx (emit_common_header): Add context probe_point field.
- Switch to atomic_t busy flags.
- (emit_module_exit): Use atomic operations for busy flag.
- (visit_*): Use lex_cast_qstring for last_stmt strings.
- * tapsets.cxx (lex_cast_qstring): New function.
- (*::emit_probe_entries): Populate probe_point. Use atomic operations
- for busy flag.
- * tapset/context.stp (pp): New function.
- * stapfuncs.5.in: Document it.
- * testsuite/buildok/context_test.stp: Test it.
-
-2005-09-04 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (visit_literal_string): \-prefix double-quotes.
-
-2005-09-04 Martin Hunt <hunt@redhat.com>
-
- * testsuite/buildok/context_test.stp: New test.
- * tapset/logging.stp (log): Call _stp_printf().
- * stapfuncs.5.in: Add contextinfo funcs.
- * tapset/context.stp: Minor cleanup.
-
-2005-09-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1187 prime
- * tapset.cxx (literal_stmt_for_local): Don't automgaically copy
- target char*'s to systemtap strings.
- * tapset/conversions.stp (user_string, kernel_string): New functions.
- * stapfuncs.5.in: Document new functions.
-
-2005-09-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1292, by popular request.
- * parse.cxx (parse_functiondecl): Allow optional value/param type
- declarations.
- * stap.1.in: Document this.
- * tapset/*.stp: Convert most functions accordingly.
- * testsuite/parseok/twelve.stp, semok/seven.stp,
- semko/twenty.stp: Test this.
-
-2005-09-02 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx (varlock): Use trylock only for write locks.
- (translate_pass): Remove read_trylock macro hack.
- (visit_foreach_loop): Remove protective read lock, until PR 1275.
- (visit_*): Added many more "last_stmt"-setting expressions in the
- output, to improve last_error message locality.
-
-2005-09-02 Martin Hunt <hunt@redhat.com>
-
- * tapset/logging.stp: Make log() be same as print().
-
-2005-09-02 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx: Temporarily rolled back graydon's changes.
-
-2005-09-02 Frank Ch. Eigler <fche@elastic.org>
-
- * tapset/*.stp: Renamed several files to simplify names.
-
-2005-09-01 Graydon Hoare <graydon@redhat.com>
-
- PR systemtap/1244
- * testsuite/buildok/eighteen.stp: New test.
- * tapsets.cxx (dwflpp::literal_stmt_for_local)
- (query_statement, query_inline_instance_info)
- (query_func_info, query_srcfile_line, query_cu)
- (var_expanding_copy_visitor, visit_target_symbol)
- (dwarf_derived_probe): Fix 1244.
-
-2005-09-01 Martin Hunt <hunt@redhat.com>
-
- * tapset/builtin_logging.stp: Add print.
-
- * tapset/context.stp: New file. First cut at some
- context info.
-
-2005-09-01 Martin Hunt <hunt@redhat.com>
-
- * translate.cxx (emit_probe): Add a call to _stp_print_flush
- at the end of each probe.
- (translate_pass): Define STP_NUM_STRINGS to be 1 for
- a scratch string. Include current.c and stack.c. Don't
- define KALLSYMS_LOOKUP_NAME or KALLSYMS_LOOKUP. Remove
- references to next_fmt() and stp_dbug().
-
-2005-08-31 Graydon Hoare <graydon@redhat.com>
-
- PR systemtap/1258
- * tapsets.cxx (dwflpp::literal_stmt_for_local):
- Support DW_TAG_enumeration_type tag as synonymous with
- DW_TAG_base_type.
- * loc2c.c (base_byte_size): Likewise.
- * testsuite/buildok/seven.stp: Adjust to work on UP kernels.
-
-2005-08-31 Graydon Hoare <graydon@redhat.com>
-
- * tapsets.cxx (dwflpp::iterate_over_srcfile_lines): Correct segv
- reported in PR 1270.
-
-2005-08-31 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx (visit_array_in, visit_arrayindex): Use write locks
- even for array reads, until PR 1275.
- (translate_pass): Add read_trylock -> write_trylock escalation.
-
-2005-08-30 Roland McGrath <roland@redhat.com>
-
- * Makefile.am (install-data-local): Use mkdir -p, not -mkdir.
- * Makefile.in: Regenerated.
-
-2005-08-30 Graydon Hoare <graydon@redhat.com>
-
- * tapsets.cxx (dwflpp::literal_stmt_for_local): Handle dwarf
- pointer-to-1-byte-means-char case (found in PR 1187)
- * parse.cxx (parse_symbol): Eliminate use of "." from target
- symbol parser, conflicting with string concatenation operator.
- * staptree.h (target_symbol::component_type) Eliminate
- comp_struct_pointer_member, since . and -> are considered the
- same now.
- * staptree.cxx (target_symbol::print): Likewise.
- * testsuite/buildok/seventeen.stp: Test solution on PR 1191.
- * testsuite/buildok/six.stp: Test working portion of PR 1155.
- * testsuite/semko/nineteen.stp: Unresolved portion of PR 1155.
-
-2005-08-30 Frank Ch. Eigler <fche@elastic.org>
-
- PR systemtap/1268
- * translator (varlock): Add deadlock detection code.
- (emit_common_header): Add a new MAXTRYLOCK configuration macro.
-
-2005-08-29 Graydon Hoare <graydon@redhat.com>
-
- PR translator/1265
- * tapsets.cxx
- (func_info::decl_file)
- (func_info::decl_line)
- (inline_instance_info::decl_file)
- (inline_instance_info::decl_line): New fields.
- (dwflpp::function_srcfile): Remove.
- (dwflpp::function_file): Add.
- (dwflpp::function_line): Add.
- (dwarf_derived_probe::dwarf_derived_probe): Update.
- (query_statement): Pass func, file, line through.
- (query_inline_instance_info): Likewise.
- (query_func_info): Likewise.
- (query_srcfile_line): Query statement lines if
- statement_str exists, rather than *_info.
- (query_dwarf_inline_instance): Extract file and line.
- (query_dwarf_func): Likewise.
- (query_cu): Pass empty func, file, line, for address-based
- queries.
-
-2005-08-29 Frank Ch. Eigler <fche@redhat.com>
-
- * runtest.sh: Tolerate relative $SRCDIR.
-
-2005-08-29 Frank Ch. Eigler <fche@redhat.com>
-
- * stapprobes.5.in, stapfuncs.5.in, stapex.5.in: New man pages.
- * stap.1.in: Moved some content out.
- * Makefile.am (man_MANS): Add new man pages.
- * configure.ac (AC_CONFIG_FILES): Add them.
- * systemtap.spec.in: Package them.
- * Makefile.in, configure: Regenerated.
- * buildrun.cxx (run_pass): Pass "-r" to stpd.
- * translate.cxx (emit_common_header): Wrap try/catch around
- variable decls, to improve exception particularity.
- (visit_literal_number): Emit as unsigned literal, which is
- actually a subtle correctness issue.
-
-2005-08-28 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (visit_target): Make target variable exceptions
- more informative.
- (literal_stmt_for_local): Improve bad-type exception message.
- * translate.cxx (emit_module_init): Include probe point in comments.
-
-2005-08-27 Roland McGrath <roland@redhat.com>
-
- * loc2c-test.c (print_type): New function.
- (print_vars): Use it.
-
- * loc2c-test.c (paddr, print_vars): New functions.
- (main): If given no variable name argument, print out variables.
-
-2005-08-26 Graydon Hoare <graydon@redhat.com>
-
- * translate.cxx: Revert tmp initialization changes.
-
-2005-08-26 Graydon Hoare <graydon@redhat.com>
-
- * parse.cxx (scan): Preserve basic C-ish escapes.
- * translate.cxx (c_tmpcounter::declaring): New flag.
- (c_tmpcounter::declare_or_init): New helper method.
- (c_tmpcounter::visit_*): Use declare_or_init.
- (c_unparser::emit_function): Run a tmpcounter to initialize tmps.
- (c_unparser::emit_probe): Likewise.
- (c_unparser::c_strcpy): Use strlcpy.
- (c_unparser::c_strcat): Use strlcat.
-
-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.
-
-2005-08-25 Frank Ch. Eigler <fche@redhat.com>
-
- * Makefile.am (docs): Removed target.
- * Makefile.in: Regenerated.
-
-2005-08-24 Graydon Hoare <graydon@redhat.com>
-
- * tapsets.cxx (dwflpp::literal_stmt_for_local): Fetch pointer types,
- array types, strings, from target.
-
-2005-08-24 Roland McGrath <roland@redhat.com>
-
- * loc2c-test.c (handle_variable): Iterate on const_type/volatile_type.
-
-2005-08-24 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Require elfutils 0.114.
- * tapsets.cxx: Brought back graydon's changes.
- * configure: Regenerated.
-
-2005-08-24 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in: Update elfutils requirement.
-
-2005-08-24 Frank Ch. Eigler <fche@elastic.org>
-
- * translate.cxx (emit_global, emit_module_init): Use 2.6.9-compatible
- rwlock initialization.
-
-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.
-
-2005-08-23 Graydon Hoare <graydon@redhat.com>
-
- * tapsets.cxx: Re-implement dwarf probe-pattern resolution.
-
-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.
-
-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-19 Frank Ch. Eigler <fche@elastic.org>
-
- PR systemtap/1213
- * translate.cxx (visit_if_statement): Translate else arms.
-
-2005-08-19 Frank Ch. Eigler <fche@elastic.org>
-
- PR systemtap/1209
- * 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>
-
- * elaborate.cxx (find_var): Remove $pid/$tid builtin logic.
-
-2005-08-19 Martin Hunt <hunt@redhat.com>
-
- * stp_check.in: Remove stp-control.
-
-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.
-
-2005-08-18 Will Cohen <wcohen@redhat.com>
-
- * stp_check.in: See if relayfs available filesystem.
-
-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.
-
-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.
-
- PR systemtap/1205, systemtap/1206
- * 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".
-
-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.
-
-2005-08-16 Frank Ch. Eigler <fche@elastic.org>
-
- * main.cxx: Don't print library parse trees if last_pass=1.
-
-2005-08-14 Roland McGrath <roland@redhat.com>
-
- * systemtap.spec.in: Update elfutils_version requirement to 0.113;
- restore bundled_elfutils setting to 1.
-
-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.
-
-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-11 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.spec.in: Tweak to turn into fedora-flavoured spec.
- Don't build/install runtime docs.
-
-2005-08-11 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (uninstall-local): New target.
- * Makefile.in: Regenerate.
-
-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.
-
-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.
-
-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.
-
- * loc2c.c (c_translate_location): Increment INDENT.
- (c_translate_pointer): Likewise.
- (emit_loc_value): Increment INDENT after emit_header.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-2005-08-09 Graydon Hoare <graydon@redhat.com>
-
- * testsuite/parseok/nine.stp: Update
- * testsuite/semok/{six,seven,eleven,seventeen}.stp: Update.
-
-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.
-
-2005-08-09 Martin Hunt <hunt@redhat.com>
-
- PR 1174
- * stp_check.in: Supply path for lsmod.
- * stp_check: Removed.
-
-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.
-
-2005-08-08 Roland McGrath <roland@redhat.com>
-
- * loc2c-test.c: New file.
- * Makefile.am (noinst_PROGRAMS): Add loc2c-test.
- (loc2c_test_SOURCES, loc2c_test_LDADD): New variables.
- * Makefile.in, aclocal.m4: Regenerated.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-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.
-
-2005-08-03 Martin Hunt <hunt@redhat.com>
-
- * stp_check.in : Copy sources to /var/cache/systemtap.
- * systemtap.spec.in: Install stp_check.
- * Makefile.am (install-exec-local): Install stp_check.
-
-2005-08-03 Martin Hunt <hunt@redhat.com>
-
- * configure.ac: Add stp_check to AC_CONFIG_FILES.
- * stp_check.in : New file.
-
-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.
-
-2005-08-03 Roland McGrath <roland@redhat.com>
-
- * configure.ac, systemtap.spec.in: Version 0.2.1.
- * Makefile.in, aclocal.m4, configure: Regenerated.
-
-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.
-
- * systemtap.spec.in (%install): Remove parameters after %makeinstall.
-
-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.
-
-2005-08-02 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx (emit_registrations): Treat module_name="kernel"
- as if module_name="".
-
-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().
-
-2005-08-01 Frank Ch. Eigler <fche@elastic.org>
-
- * tapsets.cxx: Support ".return" option for function probe points.
- * testuite/buildok/five.stp: Try it.
-
-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.
-
-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.
-
-2005-07-29 Frank Ch. Eigler <fche@redhat.com>
-
- From Graydon Hoare <graydon@redhat.com:
- * tapsets.cxx (var_expanding_copy_visitor): Correct lvalue cases.
-
-2005-07-29 Frank Ch. Eigler <fche@redhat.com>
-
- * Makefile.am: Make sure stpd goes into libexec/systemtap/
- * Makefile.in: Regenerated.
-
-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.
-
-2005-07-29 Roland McGrath <roland@redhat.com>
-
- * Version 0.2 distribution.
-
- * 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.
-
- * tapsets.cxx: <libdw.h> -> <elfutils/libdw.h>
- * loc2c.c, loc2c.h: Likewise.
-
- * main.cxx (main): Check return value of system.
-
- * 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.
-
- * 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.
-
-2005-07-28 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (find_var): Correct array dereferencing thinko.
-
-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 Frank Ch. Eigler <fche@redhat.com>
-
- * stap.1: Beginnings of a man page.
- * Makefile.am: Install it. Comment out stpd LDADD goodies.
- * configure.ac: Futilely complain about non-stpd LIBS.
- * Makefile.in, configure.in: Regenerated.
- * main.cxx (usage): Remove ARGS from help text, as nothing is
- done with these yet.
-
-2005-07-28 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx: Add "pt_regs*" field to context.
- * tapsets.cxx (*): Correct kprobes API interface.
- * testsuite/buildok/three.stp: New test, copied from semok.
- * Makefile.am (install-data-local): Also install runtime/relayfs,
- so scripts can build against headers located thereunder.
- * Makefile.in: Regenerated.
-
-2005-07-28 Frank Ch. Eigler <fche@redhat.com>
-
- translator/1120
- * main.cxx (main): Preset -R and -I options from environment
- variables (if set). Pass guru mode flags to parser.
- * parse.cxx (privileged): New parser operation flag. Update callers.
- (parse_embeddedcode): Throw an error if !privileged.
- (parse_functiondecl): Change signature. Prevent duplicates.
- (parse_globals): Ditto.
- * parse.h: Corresponding changes.
- * tapset/*.stp: Beginnings of real tapset library, to replace
- previous builtins.
- * tapsets.cxx: Greatly reduce verbose mode output.
- * Makefile.am: Install & dist it.
- * runtest.sh: Refer to it.
- * Makefile.in, aclocal.m4: Regenerated.
- * testsuite/*/*.stp: Set guru mode via /bin/sh if needed.
- * testusite/*/*ko.stp: Homogenize shell scripts.
-
-2005-07-28 Frank Ch. Eigler <fche@redhat.com>
-
- translator/1120
- translator/1123
- * elaborate.cxx (semantic_pass_symbols): Print a more helpful
- error message around exceptions.
- * elaborate.h (systemtap_session): Add guru_mode field.
- * main.cxx (main): Initialize it to false. Add version-sensitive
- script library searching. Add more failure messages.
- * tapsets.cxx (dwflpp_assert): Add a decorative text parameter.
- Update callers.
-
-2005-07-28 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (install-data-local): Add runtime/transport.
- * Makefile.in: regenerated.
-
-2005-07-26 Graydon Hoare <graydon@redhat.com>
-
- * elaborate.cxx: Revert builtin-function code.
- * translate.cxx: Likewise.
- * tapsets.{h,cxx}: Likewise.
-
-2005-07-26 Martin Hunt <hunt@redhat.com>
-
- * buildrun.cxx (compile_pass): Add -Wno-unused to CFLAGS because
- usually a module doesn't use every function in the runtime.
-
-2005-07-26 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (stpd_LDFLAGS): Set rpath correclty because otherwise
- automake doesn't seem to get it right when binaries are in libexec
- subdirs.
- (AM_CPPFLAGS): revert.
- * systemtap.spec.in (LDFLAGS): Set libexecdir here instead.
-
-2005-07-26 Frank Ch. Eigler <fche@redhat.com>
-
- Support %{ embedded-c %}
- * staptree.h (embeddedcode): New statement subtype. Stub support in
- visitors.
- * staptree.cxx: Ditto.
- * parse.cxx: Parse %{ / %}. Accept "_" as identifier leading char.
- (parse_probe): Simplify calling convention.
- * elaborate.h: Store embedded code.
- * elaborate.cxx: Pass it.
- * translate.cxx: Transcribe it. Return some dropped module init/exit
- code.
- * Makefile.am: Add buildok/buildko tests.
- * Makefile.in: Regenerated.
- * main.cxx: Return EXIT_SUCCESS/FAILURE even for weird rc.
- * testsuite/parseok/nine.stp: Test _identifiers.
- * testsuite/transko/*.stp: Tweak to force -p3 rather than -p2 errors.
- * testsuite/semok/transko.stp: ... and keep it that way in the future.
- * testsuite/parse*/*: Some new tests for %{ %}.
- * testsuite/build*/*: New tests for -p4.
-
-2005-07-26 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (AM_CPPFLAGS): Set PKGLIBDIR correctly.
-
-2005-07-26 Martin Hunt <hunt@redhat.com>
-
- * systemtap.spec.in: Stpd goes in libexec/systemtap.
- * Makefile.am (libexecdir): Set to libexecdir/systemtap.
- * aclocal.m4, Makefile.in: Regenerated
-
-2005-07-25 Roland McGrath <roland@redhat.com>
-
- * configure.ac: Don't define PKGLIBDIR and PKGDATADIR here.
- * Makefile.am (AM_CPPFLAGS): New variable, use -D here instead.
- (dist-hook): Don't remove ChangeLog files.
- (install-data-local): Don't install docs, just runtime stuff.
- (rpm, clean-local): Use make variables instead of @substitution@s.
- * configure, config.in, aclocal.m4, Makefile.in: Regenerated
-
-2005-07-22 Graydon Hoare <graydon@redhat.com>
-
- * translate.cxx (itervar): New class.
- (*::visit_foreach_loop): Implement.
- Various bug fixes.
- * staptree.cxx (deep_copy_visitor::*): Copy tok fields.
- * elaborate.cxx (lvalue_aware_traversing_visitor):
- (mutated_map_collector):
- (no_map_mutation_during_iteration_check): New classes.
- (semantic_pass_maps): New function to check map usage.
- (semantic_pass): Call it.
- * testsuite/transok/eight.stp: Test 'foreach' loop translation.
- * testsuite/semko/{thirteen,fourteen,fifteen}.stp:
- Test prohibited forms of foreach loops.
-
-2005-07-21 Martin Hunt <hunt@redhat.com>
-
- * Makefile.am (EXTRA_DIST): Add systemtap.spec.
- (install-data-local): Install docs and probes.
- (docs): New target.
- (rpm): New target.
-
- * configure.ac: Set initial version to 0.1.1.
- (pkglibdir): Set to libexec.
-
- * Makefile.in: Regenerated.
-
-2005-07-20 Graydon Hoare <graydon@redhat.com>
-
- * elaborate.{cxx,h} (find_array): Remove.
- (find_scalar): Rename to find_var, add array support.
- * staptree.{cxx,h} (vardecl::compatible_arity): New method.
- * translate.cxx: Refactor, add array read/write support.
- * testsuite/transok/three.stp: Uncomment array uses.
- * testsuite/transok/seven.stp: New test of array r/w.
-
-2005-07-20 Frank Ch. Eigler <fche@redhat.com>
-
- * tapsets.cxx (*::emit_[de]registrations): Add logic for probe
- lifecycle control (session_state).
- * translate.cxx (emit_common_header,emit_module_{init,exit}): Ditto.
- (visit_*): Use per-context errorcount.
-
-2005-07-19 Frank Ch. Eigler <fche@redhat.com>
-
- * Makefile.am (dist-hook): Complete the resulting tarball.
- * Makefile.in: Regenerated.
-
-2005-07-19 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx (emit_module_init/exit, translate_pass): Conform
- to newer runtime startup/shutdown hooks.
-
-2005-07-15 Frank Ch. Eigler <fche@redhat.com>
-
- * Makefile.am (install-data-local): Correct typo.
- * buildrun.cxx (compile_pass): Ditto.
- * main.cxx (main): Print errors if passes 4 or 5 fail.
-
-2005-07-14 Frank Ch. Eigler <fche@redhat.com>
-
- * buildrun.cxx (compile_pass, run_pass): Get closer to a working
- test_mode.
- * translate.cxx (emit_module_init, emit_common_header): Ditto.
- (translate_pass): Ditto.
-
-2005-07-14 Frank Ch. Eigler <fche@redhat.com>
-
- * Makefile.am (stpd): Install in $pkglibdir.
- (runtime): Copy to $pkgdatadir.
- * configure.ac: Pass along pkgdatadir and pkglibdir.
- * main.cxx: Default runtime_path from pkgdatadir.
- * buildrun.cxx (run_pass): Correct stpd directory.
- * Makefile.in, configure, config.in: Regenerated.
-
-2005-07-12 Graydon Hoare <graydon@redhat.com>
-
- * elaborate.cxx
- (semantic_pass_symbols): Only enter body if non-null.
- (semantic_pass_types): Likewise.
- (semantic_pass): Pass session to register_standard_tapsets.
- * translate.cxx
- (builtin_collector): New struct.
- (hookup_builtins): New function.
- (translate_pass): Only translate functions with bodies.
- (c_unparser::emit_common_header): Likewise, and call hookup_builtins.
- * tapsets.hh (builtin_function): New class.
- (register_standard_tapsets): Change parameter to session.
- * tapsets.cc (bultin_function::*): Implement class.
- (register_standard_tapsets): Register printk, log, warn.
- * testsuite/transok/six.stp: New test.
-
-2005-07-12 Frank Ch. Eigler <fche@redhat.com>
-
- * buildrun.cxx (compile_pass): Make non-verbose mode quieter.
- (run_pass): Spawn stpd for dirty work.
- * Makefile.am: Also build stpd into libexecdir.
- * configure.ac: Pass LIBEXECDIR.
- * Makefile.in, configure, config.in: Regenerated.
- * AUTHORS: Update.
-
-2005-07-11 Graydon Hoare <graydon@redhat.com>
-
- * staptree.cxx (require): Generally handle null pointers in src.
- (deep_copy_visitor::visit_if_statement): Revert fche's change.
-
-2005-07-11 Frank Ch. Eigler <fche@redhat.com>
-
- * parse.cxx (parse_literal): Compile cleanly on 64-bit host.
- * staptree.cxx (deep_copy_visitor::visit_if_statement): Don't
- freak on a null if_statement.elseblock.
-
-2005-07-07 Graydon Hoare <graydon@redhat.com>
-
- * staptree.{h,cxx} (deep_copy_visitor): New visitor.
- * elaborate.cxx
- (derived_probe::derived_probe):
- (alias_expansion_builder::build): Use it.
- * testsuite/semok/fifteen.stp: New test which relies on deep copy.
-
-2005-07-07 Frank Ch. Eigler <fche@redhat.com>
-
- * Makefile.am (dist): Package up the source tree, including
- testsuite and runtime.
- * main.cxx: Use clog instead of cerr for logging messages.
- * buildrun.cxx: Ditto.
- (compile_pass): Add -Iruntime/user for test mode.
- * translate.cxx (*): Commonalize test/real mode output.
- * Makefile.in: Regenerated.
-
-2005-07-05 Graydon Hoare <graydon@redhat.com>
-
- * elaborate.{h,cxx}: Revert previous changes.
- * tapsets.{h,cxx}: Adapt to verbose as a member of session.
- * elaborate.cxx (alias_expansion_builder::build): Avoid copying
- locals between alias definition and use.
- * testsuite/semok/{twelve,thirteen,fourteen}.stp: New tests.
- * staptree.cxx (probe_alias::printsig): Print equals sign.
-
-2005-07-05 Frank Ch. Eigler <fche@redhat.com>
-
- * elaborate.h (systemtap_session): Add more command-line arguments.
- * staptree.h (verbose): Bad global, no donut.
- * elaborate.cxx: Temporarily disable verbose variable access.
- * main.cxx: Support more arguments, build/run passes. Revamp
- temporary file generation and partial-pass output generation.
- * tapsets.cxx, translate.cxx: Emit just enough extra punctuation
- and fluff to make generated probe pass -Werror.
- * buildrun.cxx, buildrun.h: New files for passes 4/5. Partial
- support for build pass, nothing on probe execution yet.
- * testsuite/transok/*.stp: Force just -p3, now that -p4/5 exist.
- * Makefile.am, Makefile.in: Corresponding changes.
-
-2005-07-04 Graydon Hoare <graydon@redhat.com>
-
- * elaborate.h (symresolution_info::current_derived_probe): New field.
- (symresolution_info::current_probe): Change type.
- * elaborate.cxx (semantic_pass_symbols): Add passes for resolving
- locals in pre-derivation base probes and pre-expansion aliases.
- (symresolution_info::visit_symbol):
- (symresolution_info::find_scalar): Update to match new field.
-
-2005-06-27 Graydon Hoare <graydon@redhat.com>
-
- * staptree.{h,cxx} (probe_alias): New structure.
- * parse.{h,cxx} (parser::parse): Parse probes or probe aliases.
- (parser::parse_probe): Likewise.
- * tapsets.{h,cxx}:
- (derived_probe_builder):
- (match_key):
- (match_node):
- (alias_derived_probe): Move from here,
- * elaborate.{h,cxx}: to here.
- * elaborate.h (systemtap_session::pattern_root): New member.
- (register_library_aliases): New function.
- * tapsets.cxx: Build one dwarf_derived_probe per target address.
-
-2005-06-23 Graydon Hoare <graydon@redhat.com>
-
- * tapsets.cxx
- (probe_type): New enum.
- (probe_spec): New struct.
- (dwarf_derived_probe): Reorganize a bit, interpret .return.
- (query_statement): Translate addresses back to module space.
- (probe_entry_function_name):
- (probe_entry_struct_kprobe_name):
- (foreach_dwarf_probe_entry):
- (declare_dwarf_kernel_entry):
- (deregister_dwarf_kernel_entry):
- (register_dwarf_kernel_entry):
- (register_dwarf_module):
- (declare_dwarf_module_entry):
- (deregister_dwarf_module_entry):
- (register_dwarf_module_entry): New functions.
- (dwarf_derived_probes::emit_probe_entries):
- (dwarf_derived_probes::emit_registrations):
- (dwarf_derived_probes::emit_deregistrations): Implement.
-
-2005-06-21 Frank Ch. Eigler <fche@redhat.com>
-
- * config.in, configure: Regenerated.
- * tapsets.cxx: Make dwarf code conditional on new elfutils header.
-
-2005-06-20 Graydon Hoare <graydon@redhat.com>
-
- * configure.ac: Scan for libdwfl.
- * staptree.h (verbose): New global.
- * main.cxx (usage, main): Implement -v option.
- * tapsets.cxx (dwflpp): New struct.
- (query_statement): New function.
- (query_function): New function.
- (query_cu): New function.
- (query_module): New function.
- (dwarf_derived_probe): Implement primary forms.
-
-2005-06-14 Graydon Hoare <graydon@redhat.com>
-
- * tapsets.h: New file.
- (derived_probe_builder): Callback for making derived probes.
- (match_key): Component of pattern-matching tree.
- (match_node): Other component of pattern-matching tree.
- * tapsets.cxx: Add pattern-matching system for probes.
- (alias_derived_probe): Skeleton for alias probes.
- (dwarf_derived_probe): Skeleton for dwarf probes.
- (register_standard_tapsets): Registry for standard tapsets.
-
-2005-06-13 Frank Ch. Eigler <fche@redhat.com>
-
- Start separating out translator-side probe point recognition.
- * tapsets.cxx: New file.
- (be_derived_probe): Support for begin/end probes.
- (derive_probe): Ditto. Reject anything unrecognized.
- * translator.cxx: Move out old code.
- * Makefile.am: Add new source file.
- * testsuite/semok/*: Switch to begin/end probes only.
-
-2005-06-08 Frank Ch. Eigler <fche@redhat.com>
-
- systemtap/916
- Implement all basic scalar operators, including modify-assignment.
- * parse.cxx (lexer): Allow multi-character lookahead in order to
- scan 1/2/3-character operators.
- (parse_boolean_or/and/xor/shift): New routines.
- * translate.cxx (visit_assignment, visit_binary_expression,
- visit_*_crement): Generally rewrote.
- (visit_*): Added more parentheses in output.
- (emit_module_init): Initialize globals.
- * staptree.h, elaborate.cxx, elaborate.h: Remove exponentiation.
- * main.cxx (main): Add an end-of-line to output file.
- * testsuite/*: Several new tests.
-
-2005-06-05 Frank Ch. Eigler <fche@elastic.org>
-
- Implement for/next/continue/break/while statements.
- * staptree.h: Declare new 0-arity statement types. Tweak for_loop.
- * parse.cxx: Parse them all.
- * translate.cxx (c_unparser): Maintain break/continue label stack.
- (visit_for_loop, *_statement): New implementations.
- * elaborate.*, staptree.cxx: Mechanical changes.
- * testsuite/parseok/ten.stp, semko/twelve.stp, transko/two.stp,
- transok/five.stp: New tests.
-
-2005-06-03 Frank Ch. Eigler <fche@elastic.org>
-
- * elaborate.cxx (find_*): Remove arity checks from here ...
- * staptree.cxx (set_arity): Put arity match assertion here.
- * testsuite/semko/{six,nine}.stp: Confirm logic.
- * testsuite/transko/one.stp: First translation-time ko test.
-
-2005-06-03 Frank Ch. Eigler <fche@redhat.com>
-
- * TODO: Removed entries already represented in bugzilla.
- * elaborate.cxx: Rewrite type inference for several operators.
- * main.cxx (main): For -p2 runs, print types of function/probe locals.
- * parse.cxx (scan): Identify more two-character operators.
- (parse_comparison): Support the whole suite.
- * translate.cxx (visit_unary_expression, logical_or_expr,
- logical_and_expr, comparison,ternary_expression): New support.
- * testsuite/parseok/semok.stp: Clever new test.
- * testsuite/transok/four.stp: New test.
- * testsuite/*: Some tweaked tests for syntax changes.
-
-2005-06-03 Frank Ch. Eigler <fche@redhat.com>
-
- * parse.cxx (scan): Support C and C++ comment styles.
- * testsuite/parseok/four.stp: Test them some ...
- * testsuite/parseko/nine.stp: ... and some more.
-
-2005-06-02 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx (visit_concatenation, visit_binary_expression):
- New basic implementation.
- (*): Reduce emitted whitespace and remove `# LINE "FILE"' lines.
-
-2005-06-02 Frank Ch. Eigler <fche@redhat.com>
-
- Parse foreach construct. Added fuller copyright notices throughout.
- * staptree.h (foreach_loop): New tree node type.
- * staptree.cxx: Print it, visit it, love it, leave it.
- * parse.cxx: Parse it.
- (parse_stmt_block): Don't require ";" separators between statements.
- (parse_array_in): Use [] as index group operator instead of ().
- * elaborate.cxx (visit_foreach_loop): New code.
- * translate.cxx: Slightly tighten errorcount/actioncount handling.
- * main.cxx: Accept "-" as script file name standing for stdin.
- (visit_arrayindex): Switch to simpler set_arity call.
- * configure.ac: Generate DATE macro.
- * Makefile.in, configure, config.in: Regenerated.
- * testsuite/*: New/updated tests for syntax changes, foreach ().
-
-2005-05-30 Frank Ch. Eigler <fche@redhat.com>
-
- More fully parse & elaborate "expr in array" construct.
- * staptree.h (array_in): Make this unary. Update .cxx to match.
- * parse.cxx (parse_array_in): Rewrite.
- (parse_symbol_plain): Removed. Update .h to match.
- * elaborate.cxx (typeresolution_info::visit_array_in): New function.
- (find_array): Tentatively, accept arity=0.
- * translate.cxx (c_unparser::c_assign): New functions to eliminate
- much ugly duplication. Use throughout.
- (visit_symbol): Correct function formal argument search.
- (c_tmpcounter*::visit): Add missing recursion in several functions.
- * testsuite/*: Add new tests for array-in construct. Add the
- first "transok" test.
- * Makefile.am: Add transok tests.
- * Makefile.in: Regenerated.
-
-2005-05-26 Frank Ch. Eigler <fche@redhat.com>
-
- * translate.cxx: Traverse trees just for common-header generation,
- to emit explicit temp variables into context. Switch to explicit
- "frame" pointer in generated function/probe bodies. Initialize
- locals in function bodies. Rename "test_unparser" to "c_unparser"
- throughout.
-
-2005-05-24 Frank Ch. Eigler <fche@redhat.com>
-
- * elaborate.cxx (find_array): Support automagic tapset globals.
- * testsuite/semok/nine.stp: Test it.
- * staptree.cxx (stapfile print): List globals.
-
-2005-05-24 Frank Ch. Eigler <fche@redhat.com>
-
- * testsuite/semlib/*: New tapset library chunks for "-I" testing.
- * testsuite/semok/eight.stp, nine.stp: New tests.
-
-2005-05-22 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (gcov): New target to generate test-coverage data from
- a testsuite run.
- * Makefile.in: Regenerated.
-
-2005-05-20 Frank Ch. Eigler <fche@redhat.com>
-
- Many changes throughout. Partial sketch of translation output.
- * elaborate.*: Elaboration pass.
- * translate.*: Translation pass.
- * staptree.*: Simplified for visitor concept.
- * main.cxx: Translator mainline.
- * *test.cxx: Removed.
- * testsuite/*: Some new tests, some changed for newer syntax.
-
-2005-05-05 Frank Ch. Eigler <fche@redhat.com>
-
- * parse.cxx (parse): Add helper methods.
- (lexer::scan, parse_assignment): Parse "<<<" operator. Fix assignment
- associativity.
- (parse_symbol): Permit function with empty arg list.
- (parse_global, parse_statement, parse_functiondecl): Expect
- unconsumed leading keyword.
- (parse_global): Don't use ";" termination.
- * parse.h: Corresponding changes.
- * staptree.cxx (binary_expression::resolve_types): Fix <<<
- type inference.
- (translator_output): Improve pretty-printing.
- (*): Add general visitors to statement/expression types.
- * staptree.h: Corresponding changes. Tweak symresolution_info fields.
- Add semantic_error class.
- * semtest.cxx: Adapt to this.
- * testsuite/parseok/two.stp, semok/*.stp: Adapt to syntax changes.
-
-2005-03-15 Frank Ch. Eigler <fche@redhat.com>
-
- * semtest.cxx: Print probe signatures properly.
- * staptree.cxx (probe::printsig): New function.
-
-2005-03-15 Frank Ch. Eigler <fche@redhat.com>
-
- * TODO: New file. Include some probe-point-provider syntax examples.
- * parse.cxx (lexer::scan, parser::parse_literal): Support hex, octal
- numbers via strtol.
- (parse_probe, parse_probe_point): Modify for dotted syntax.
- * staptree.cxx: Ditto.
- * parsetest.cxx, semtest.cxx: Print parse/sem results even if
- .stp files were given on command line.
- * parse.h, staptree.h: Rename probe_point_spec -> probe_point.
- * runtest.sh: New test-runner front-end script.
- * Makefile.am: Use it for TESTS_ENVIRONMENT.
- * testsuite/*: Update probe point syntax. Add a bunch of new tests.
-
-2005-03-04 Frank Ch. Eigler <fche@redhat.com>
-
- * parse.cxx (scan): Support '$' characters in identifiers.
- (parse_symbol): Support thread-> / process-> shorthand.
- * staptree.cxx (symresolution_info::find): Split up into
- find_scalar, find_array, find_function.
- (resolve_symbols): Call the above for symbol/arrayindex/functioncall.
- (find_scalar): Add stub support for synthetic builtin variables.
- * staptree.h: Corresponding changes.
- * testsuite/*: Some new tests.
-
-2005-03-03 Frank Ch. Eigler <fche@redhat.com>
-
- * parse.cxx (parse_assignment): Assert lvalueness of left
- operand.
- * staptree.h (expression): Add is_lvalue member.
- * staptree.cxx (functioncall::resolve_types): Don't crash on
- formal-vs-actual argument count mismatch.
- (*): Add some is_lvalue stub functions.
- * testsuite/*: Some new tests.
-
-2005-03-01 Frank Ch. Eigler <fche@redhat.com>
-
- * parse.cxx: Implement left-associativity for several types of
- operators. Add some more statement types. Parse functions.
- Be able to print tokens. Simplify error generating functions.
- Save tokens in all parse tree nodes.
- * parse.h: Corresponding changes.
- * staptree.cxx: Move tree-printing functions here. Add many
- new functions for symbol and type resolution.
- * staptree.h: Corresponding changes.
- * semtest.cxx: New semantic analysis pass & test driver.
- * testsuite/sem*/*: New tests.
- * parsetest.cxx: Separated parse test driver.
- * testsuite/parse*/*: Adapt tests to parsetest driver.
- * Makefile.am: Build semtest. Run its tests.
- * Makefile.in: Regenerated.
-
-2005-02-11 Frank Ch. Eigler <fche@redhat.com>
-
- * parse.cxx, parse.h: New files: parser.
- * staptree.h: New file: semantic object declarations.
- * staptree.cxx: New dummy driver file.
diff --git a/Makefile.am b/Makefile.am
index 235d105e..4c84309c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,8 @@
# Makefile.am --- automake input file for systemtap
## process this file with automake to produce Makefile.in
-AUTOMAKE_OPTIONS = no-dist
+# we don't maintain a ChangeLog, which makes us non-GNU -> foreign
+AUTOMAKE_OPTIONS = no-dist foreign
pkglibexecdir = ${libexecdir}/${PACKAGE}
oldincludedir = ${includedir}/sys
diff --git a/Makefile.in b/Makefile.in
index 626d6bdf..000b6b89 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -54,10 +54,9 @@ bin_PROGRAMS = stap$(EXEEXT) staprun$(EXEEXT) $(am__EXEEXT_1)
pkglibexec_PROGRAMS = stapio$(EXEEXT)
noinst_PROGRAMS = loc2c-test$(EXEEXT)
subdir = .
-DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
- $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
- $(top_srcdir)/configure $(am__configure_deps) \
- $(srcdir)/config.in $(srcdir)/stap.1.in \
+DIST_COMMON = INSTALL NEWS README AUTHORS $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/configure \
+ $(am__configure_deps) $(srcdir)/config.in $(srcdir)/stap.1.in \
$(srcdir)/stapprobes.5.in $(srcdir)/stapfuncs.5.in \
$(srcdir)/stapvars.5.in $(srcdir)/stapex.5.in \
$(srcdir)/staprun.8.in $(srcdir)/stap-server.8.in \
@@ -302,7 +301,9 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AUTOMAKE_OPTIONS = no-dist
+
+# we don't maintain a ChangeLog, which makes us non-GNU -> foreign
+AUTOMAKE_OPTIONS = no-dist foreign
pkglibexecdir = ${libexecdir}/${PACKAGE}
AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DPKGDATADIR='"${pkgdatadir}"' -DPKGLIBDIR='"$(pkglibexecdir)"'
AM_CFLAGS = -D_GNU_SOURCE -fexceptions -Wall -Werror -Wunused -Wformat=2 -W
@@ -398,15 +399,15 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
- cd $(srcdir) && $(AUTOMAKE) --gnu \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
+ cd $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu Makefile
+ $(AUTOMAKE) --foreign Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff --git a/doc/ChangeLog b/doc/ChangeLog
deleted file mode 100644
index cf9e2823..00000000
--- a/doc/ChangeLog
+++ /dev/null
@@ -1,148 +0,0 @@
-2009-02-05 William Cohen <wcohen@redhat.com>
-
- * T_R_G/publicanize.sh: Make executable.
-
-2009-02-05 William Cohen <wcohen@redhat.com>
-
- * S_T_R/tapsets.tmpl: Add contrib tag to quiet warnings.
-
-2009-02-05 William Cohen <wcohen@redhat.com>
-
- * S_T_R/tapsets.tmpl: Minor correction for signal.stp chapter.
-
-2009-02-02 Stan Cox <scox@redhat.com>
-
- * langref.tex: Add process.label.
-
-2009-01-30 Dave Brolley <brolley@redhat.com>
-
- * Makefile.in: Regenerated.
- * SystemTap_Tapset_Reference/Makefile.in: Regenerated.
-
-2009-01-21 William Cohen <wcohen@redhat.com>
-
- * S_T_R/tapsets.tmpl: Use context-symbols.stp and context-unwind.stp.
-
-2009-01-21 William Cohen <wcohen@redhat.com>
-
- * S_T_R/tapsets.tmpl: Update copyright date and correct paragraph.
-
-2009-01-12 William Cohen <wcohen@redhat.com>
-
- * S_T_R/tapsets.tmpl: Correct author's name.
-
-2009-01-07 William Cohen <wcohen@redhat.com>
-
- * S_T_R/Makefile.am: Use BUILD_REFDOCS.
- * S_T_R/Makefile.in: Regenerated.
-
-2009-01-06 Frank Ch. Eigler <fche@elastic.org>
-
- * S_T_R/Makefile.am: Regenerate docs only as necessary, via
- stamp-* files for html/man, and cmp for tapsets.xml.
- * S_T_R/Makefile.in: Regenerated.
-
-2008-12-30 Dave Brolley <brolley@redhat.com>
-
- PR9692
- * Makefile.in: Regenerated.
- * SystemTap_Tapset_Reference/Makefile.in: Regenerated.
-
-2008-12-24 Dave Brolley <brolley@redhat.com>
-
- * Makefile.in: Regenerated.
- * SystemTap_Tapset_Reference/Makefile.in: Regenerated.
-
-2008-12-21 Will Cohen <wcohen@redhat.com>
-
- * Makefile.am: Add generations of tapset reference manual material.
- * SystemTap_Tapset_Reference/Makefile.am: Install tapset reference man.
- * Makfile.am, SystemTap_Tapset_Reference/Makefile.in: Regenerated.
-
-2008-11-26 Will Cohen <wcohen@redhat.com>
-
- * SystemTap_Tapset_Reference/tapsets.tmpl: Add scsi.
-
-2008-11-26 Will Cohen <wcohen@redhat.com>
-
- * SystemTap_Tapset_Reference/tapsets.am: Correct location for html/man.
- * SystemTap_Tapset_Reference/tapsets.in: Regenerate.
-
-2008-11-26 Will Cohen <wcohen@redhat.com>
-
- * SystemTap_Tapset_Reference/tapsets.tmpl: Add process.
-
-2008-11-25 Will Cohen <wcohen@redhat.com>
-
- * SystemTap_Tapset_Reference/tapsets.tmpl: Add ioscheduler, socket, tcp,
- and upd.
-
-2008-11-24 Will Cohen <wcohen@redhat.com>
-
- * SystemTap_Tapset_Reference/tapsets.tmpl: Add context, timestamp,
- memory, and networking tapsets.
-
-2008-11-24 Will Cohen <wcohen@redhat.com>
-
- * SystemTap_Tapset_Reference: Add kernel-doc based version.
-
-2008-11-24 Will Cohen <wcohen@redhat.com>
-
- * SystemTap_Tapset_Reference: Remove.
-
-2008-10-23 Will Cohen <wcohen@redhat.com>
-
- * SystemTap_Tapset_Reference: New.
-
-2008-08-28 Stan Cox <scox@redhat.com>
-
- * langref.tex: Document written but unread global variable display.
-
-2008-08-25 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am: Removed dist-related targets and macros.
- * Makefile.in: Regenerated.
-
-2008-07-14 Dave Brolley <brolley@redhat.com>
-
- * Makefile.in: Regenerated.
-
-2008-07-07 Mark Wielaard <mwielaard@redhat.com>
-
- * Makefile.am (install-data-hook): New, install pdf files.
- (uninstall-local): New, uninstall them again.
- * Makefile.in: Regenerated.
-
-2008-04-24 Will Cohen <wcohen@redhat.com>
-
- * Makefile.in: Regenerated.
-
-2008-04-09 David Smith <dsmith@redhat.com>
-
- * .gitignore: New file.
-
-2008-03-25 Frank Ch. Eigler <fche@elastic.org>
-
- * langref.tex: Clarify utility of epilogue-type probe aliases.
-
-2008-03-04 David Smith <dsmith@redhat.com>
-
- * tutorial.tex: Made minor changes to remove warnings.
-
-2008-03-03 Frank Ch. Eigler <fche@elastic.org>
-
- From Masami Hiramatsu <mhiramat@redhat.com>
- * Makefile.am (EXTRA_DIST): Add nomencl.sty.
- * Makefile.in: Hand-regenerated.
-
-2008-02-27 Frank Ch. Eigler <fche@elastic.org>
-
- * nomencl.sty: Bundle F8 version of package, for use on older distros.
-
-2008-02-27 Frank Ch. Eigler <fche@redhat.com>
-
- * langref.tex, tutorial.tex: Copied over & aggregated
- from former comfy digs under /cvs/doc.
- * tutorial/*: Samples scripts from tutorial.
- * Makefile.am: New build instructions.
- * Makefile.in: New generated file.
diff --git a/doc/Makefile.in b/doc/Makefile.in
index eb9f2877..e23a6699 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -32,7 +32,7 @@ NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = doc
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
@@ -163,6 +163,7 @@ staplog_CPPFLAGS = @staplog_CPPFLAGS@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
PDF_FILES = tutorial.pdf langref.pdf
diff --git a/initscript/ChangeLog b/initscript/ChangeLog
deleted file mode 100644
index 3672a901..00000000
--- a/initscript/ChangeLog
+++ /dev/null
@@ -1,6 +0,0 @@
-2009-01-30 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR6936
- * systemtap.in: First commit of systemtap initscript.
- * README.initscript: Ditto.
- * config: Ditto.
diff --git a/man/ChangeLog b/man/ChangeLog
deleted file mode 100644
index 98c22b84..00000000
--- a/man/ChangeLog
+++ /dev/null
@@ -1,24 +0,0 @@
-
-2007-09-04 Srinivasa DS <srinivasa@in.ibm.com>
-
- * stapprobes.task.5.in: New task tapset man page.
-
-2007-01-23 Mike Mason <mmlnx@us.ibm.com>
-
- * stapprobes.socket.5.in: New sockets tapset man page.
-
-2006-10-18 Li Guanglei <guanglei@cn.ibm.com>
- * stapprobes.iosched.5.in: update
-
-2006-10-10 Li Guanglei <guanglei@cn.ibm.com>
-
- * stapprobes.signal.5.in: document signal syscall
-
-2006-09-29 Li Guanglei <guanglei@cn.ibm.com>
-
- * stapprobes.iosched.5.in, stapprobes.netdev.5.in, stapprobes.nfs.5.in,
- stapprobes.nfsd.5.in, stapprobes.pagefault.5.in, stapprobes.process.5.in,
- stapprobes.rpc.5.in, stapprobes.scsi.5.in, stapprobes.signal.5.in,
- stapprobes.tcp.5.in, stapprobes.udp.5.in: Some of these man pages are from
- the old stapprobes.5.in. Some are newly created(rpc, nfs, nfsd)
- * man/.cvsignore: ignore the generated man page files
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
deleted file mode 100644
index cd0c6e35..00000000
--- a/runtime/ChangeLog
+++ /dev/null
@@ -1,2519 +0,0 @@
-2009-02-18 Frank Ch. Eigler <fche@elastic.org>
-
- PR 9866 band-aid.
- * stack.c, stack-i386.c, stack-x86_64.c (CONFIG_STACKTRACE):
- Also make conditional on KERNEL_VERSION > 2.6.26.
-
-2009-02-18 Will Cohen <wcohen@redhat.com>
-
- PR 9860
- * stack-i386.c (_stp_stack_print_fallback): Remove context argument.
-
-2009-02-18 David Smith <dsmith@redhat.com>
-
- * io.c (_stp_log): Removed unused function.
- * map.c (_stp_cmp): Replace _stp_log() with dbug().
- * mempool.c (_stp_mempool_resize): Removed unused function.
- * print.c (next_fmt): Removed unused function.
- * procfs.c: Removed unused variable '_stp_num_procfs_files'.
- * regs.c (_stp_ret_addr): Removed unused function.
- * string.c (_stp_text_str): Removed unused variable 'len'.
- * string.h: Removed unused variable '_stdout_' and function
- declaration for deleted function '_stp_vsprintf'.
- * sym.c: Removed unused variables.
- * unwind.c (_stp_create_unwind_hdr): Removed unused function.
-
-2009-02-17 Mark Wielaard <scox@redhat.com>
-
- * sdt.h: Move to ../includes/sys.
-
-2009-02-16 Mark Wielaard <scox@redhat.com>
-
- * sdt.h (STAP_PROBE): Take provider and probe as arguments.
-
-2009-02-16 Mark Wielaard <scox@redhat.com>
-
- * sdt.h (STAP_PROBE9): Fix )( typo in parm9.
-
-2009-02-15 Stan Cox <scox@redhat.com>
-
- * sdt.h (STAP_PROBE): Handle c++ via .probe, c via .label.
-
-2009-02-13 David Smith <dsmith@redhat.com>
-
- * stack.c: Fixed compile problems on systems with older kernels
- (like RHEL4).
-
- * procfs.c: Added macros to guard against multiple inclusion.
-
-2009-02-12 David Smith <dsmith@redhat.com>
-
- * procfs.c (_stp_rmdir_proc_module): Changed
- _stp_lock_debugfs()/_stp_unlock_debugfs() to
- _stp_lock_transport_dir()/_stp_unlock_transport_dir().
- (_stp_mkdir_proc_module): Ditto.
-
-2009-02-11 Tim Moore <timoore@redhat.com>
-
- * stack.c (_stp_stack_print_fallback): Implementation that uses kernel
- stacktrace support if available.
- (_stp_stack_print_tsk, _stp_stack_snprint_tsk): New functions.
- * stack-x86_64.c (_stp_stack_print_fallback): Use our own fallback if
- no kernel stacktrace support.
- * stack-x86_64.c (_stp_stack_print_fallback): ditto.
-
-2009-02-11 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_utrace_attach): Still checks for mm after
- checking task's flags for PF_KTHREAD.
-
-2009-02-10 David Smith <dsmith@redhat.com>
-
- * task_finder.c (stap_utrace_detach_ops): Fixed typo.
- (__stp_utrace_attach): Ditto.
-
- * task_finder.c (stap_utrace_detach): Ignores kernel threads by
- checking task's flags for PF_KTHREAD.
- (stap_utrace_detach_ops): Ditto.
- (__stp_utrace_attach): Ditto.
-
-2009-02-06 Frank Ch. Eigler <fche@elastic.org>
-
- * autoconf-procfs-owner.c: New test.
- * procfs.c (_stp_mkdir_proc_module, _stp_create_procfs): Use it.
-
-2009-02-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 9740/9816?
- * autoconf-vm-area.c: New test.
-
-2009-02-02 Mark Wielaard <mjw@redhat.com>
-
- * sdt.h: Add STAP_PROBE7, 8 and 9 variants.
-
-2009-01-27 Mark Wielaard <mjw@redhat.com>
-
- * sdt.h (STAP_PROBE): Use "g", not "r", for asm args.
-
-2008-01-27 Stan Cox <scox@redhat.com>
-
- * sdt.h (struct _probe_): Make probe_name a STAP_PROBE_STRUCT_ARG.
-
-2009-01-26 Mark Wielaard <mjw@redhat.com>
-
- * sdt.h: DTRACE_PROBE5 is STAP_PROBE5, not 4, likewise for 6.
-
-2009-01-20 David Smith <dsmith@redhat.com>
-
- PR 9673.
- * task_finder.c (struct stap_task_finder_target): Added
- 'vm_events' field.
- (stap_register_task_finder_target): Sets vm_events if a
- vm_callback is present.
- (__stp_task_finder_cleanup): Only detaches engines on the main
- __stp_task_finder_list linked list.
- (__stp_call_callbacks): New function.
- (__stp_call_vm_callbacks): New function.
- (__stp_utrace_attach_match_filename): Calls __stp_call_callbacks()
- to call callbacks.
- (__stp_utrace_task_finder_target_death): Ditto.
- (__stp_utrace_task_finder_target_quiesce): Calls
- __stp_call_callbacks() and __stp_call_vm_callbacks() to call
- callbacks.
- (__stp_call_vm_callbacks_with_vma): Renamed from
- __stp_target_call_vm_callback.
- (__stp_utrace_task_finder_target_syscall_exit): Calls
- __stp_call_vm_callbacks() to call vm callbacks.
- (stap_start_task_finder): Instead of a utrace engine for every
- task_finder_target, there is now one utrace engine for all targets
- with the same path or pid.
-
-2009-01-13 Jim Keniston <jkenisto@us.ibm.com>
-
- PR 7082.
- * uprobes2/uprobes.c: On exec, free up outstanding
- uretprobe_instances and tick down the uproc's ref-count
- accordingly, so the (old image's) uproc goes away as
- desired.
-
-2009-01-12 Wenji Huang <wenji.huang@oracle.com>
-
- * transport/symbols.c (_stp_sort): Adapt it to 2.6.29.
-
-2009-01-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR9699.
- * autoconf-task-uid.c: New test.
-
-2008-12-21 Stan Cox <scox@redhat.com>
-
- * sduprobes.h (STAP_PROBE): Put block around probe point.
-
-2008-12-16 Stan Cox <scox@redhat.com>
-
- * sduprobes.h (STAP_PROBE): Add synthetic reference to probe label.
-
-2008-12-09 Frank Ch. Eigler <fche@elastic.org>
-
- * time.c (_stp_gettimeofday_ns): Protect some more against freq=0.
-
-2008-12-08 Wenji Huang <wenji.huang@oracle.com>
-
- * uprobes2/uprobes_x86.c (handle_riprel_insn): Fix the warning.
-
-2008-12-04 Stan Cox <scox@redhat.com>
-
- * sduprobes.c (STAP_PROBE_START): Remove.
- * sduprobes.h (STAP_PROBE_START): Remove.
- (DTRACE_PROBE): New.
-
-2008-11-26 Stan Cox <scox@redhat.com>
-
- * sduprobes.h (STAP_PROBE1): Add USE_STAP_DEBUGINFO_PROBE.
-
-2008-11-26 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4886.
- * sym.c (_stp_module_check): Perform assertive
- build-id checking for kernel versions >= 2.6.27.
-
-2008-11-26 Frank Ch. Eigler <fche@elastic.org>
-
- * autoconf-synchronize-sched.c: New file.
-
-2008-11-25 Frank Ch. Eigler <fche@elastic.org>
-
- PR 7046.
- * task_finder.c (__stp_utrace_task_finder_target_quiesce): Only
- issue vm_callbacks for process main threads.
-
-2008-11-24 Wenji Huang <wenji.huang@oracle.com>
-
- From Srikar Dronamraju:
- * runtime.h: Use for_each_cpu_mask always.
-
-2008-11-11 Stan Cox <scox@redhat.com>
-
- * sduprobes.c: New file.
- * sduprobes.h: New file.
-
-2008-11-17 Wenji Huang <wenji.huang@oracle.com>
-
- * runtime.h: Rename for_each_cpu to stp_for_each_cpu for 2.6.28.
- * counter.c: Ditto.
- * map-stat.c: Ditto.
- * map.c: Ditto.
- * pmap-gen.c: Ditto.
- * stat.c: Ditto.
- * transport/procfs.c: Ditto.
-
-2008-11-04 David Smith <dsmith@redhat.com>
-
- PR 5274.
- * syscall.h: Added s390 task_finder support.
-
- From Jim Keniston, PR 5274.
- * uprobes/uprobes_s390.h (arch_get_cur_sp): New function.
- (arch_predict_sp_at_ret): Ditto.
-
-2008-11-04 Frank Ch. Eigler <fche@elastic.org>
-
- From Masami Hiramatsu <mhiramat@redhat.com>, PR 6028.
- * regs-ia64.c (bspcache): Expand documentation.
-
-2008-10-28 Frank Ch. Eigler <fche@elastic.org>
-
- From Jim Keniston:
- * autoconf-oneachcpu-retry.c: Tweak #include's for broader
- compatibility.
-
-2008-10-24 Josh Stone <joshua.i.stone@intel.com>
-
- * autoconf-hrtimer-getset-expires.c: New file.
-
-2008-10-17 Wenji Huang <wenji.huang@oracle.com>
-
- * task_finder_vma.c (__stp_tf_vma_get_free_entry): Initialize entry.
-
-2008-10-07 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4886.
- * sym.c (_stp_module_check): Tweak & simplify build-id checking.
- Weaken consequences of mismatch temporarily due to fedora bug.
- * sym.h: Eliminate special cased values of module->notes_sect.
-
-2008-10-06 Mark Wielaard <mjw@redhat.com>
-
- * utrace_compatibility.h: Add workaround for fedora 9 2.6.26 kernels.
-
-2008-10-06 Wenji Huang <wenji.huang@oracle.com>
-
- PR 4886
- * sym.h (_stp_module): Add several fields to store build-id.
- * sym.c (_stp_module_check): New function to check build-id.
- * staprun/staprun.c (send_relocation_kernel): Send build-id of runtime
- kernel if there.
- * transport/symbols.c (_stp_do_relocation): Update note section.
- (_stp_section_is_interesting): No filter to .note.gnu.build-id.
-
-2008-10-03 Mark Wielaard <mjw@redhat.com>
-
- * procfs.c (_stp_rmdir_proc_module): Remove debug output from warning.
-
-2008-10-03 Mark Wielaard <mjw@redhat.com>
-
- * procfs.c (_stp_rmdir_proc_module): Usage count warning
- depends on kernel version.
-
-2008-10-02 Tim Moore <timoore@redhat.com>
-
- * addr-map.c (add_bad_addr_entry): Fix bugs in allocating a new
- table and copying old entries into the new table.
-
-2008-09-30 Tim Moore <timoore@redhat.com>
-
- * addr-map.c (add_bad_addr_entry): Rewrite allocation of address
- table to simplify locking and eliminate a race condition.
-
-2008-09-26 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__STP_ATTACHED_TASK_EVENTS): Removed UTRACE_STOP,
- which isn't needed anymore.
-
-2008-09-25 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_utrace_attach): Added action flag to know
- to request the thread to be stopped or not.
- (stap_utrace_attach): Now just calls __stp_utrace_attach().
- (__stp_utrace_task_finder_target_quiesce): Handles
- utrace_set_events() errors properly.
-
- * utrace_compatibility.h (enum utrace_resume_action): Added
- utrace_resume_action enum.
- (utrace_control): Added UTRACE_STOP support.
- (utrace_engine_put): New.
- (utrace_barrier): New.
-
-2008-09-17 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6487, 6504.
- From Masami Hiramatsu <mhiramat@redhat.com>
- * print_new.c (stp_print_flush): Use new utt_reserve().
-
-2008-09-12 Masami Hiramatsu <mhiramat@redhat.com>
-
- BZ 6028
- * regs-ia64.c (bspcache): Use REG_IP instead of pp to check probe
- address.
-
-2008-09-12 David Smith <dsmith@redhat.com>
-
- BZ 6755
- * task_finder.c: Added 'inuse' count to know when handlers are still
- running.
- (__stp_utrace_task_finder_report_clone): If state isn't correct,
- detach. Increase 'inuse' count when starting, decrement when
- exiting.
- (__stp_utrace_task_finder_report_exec): Ditto.
- (__stp_utrace_task_finder_target_death): Ditto.
- (__stp_utrace_task_finder_target_quiesce): Increase 'inuse' count
- when starting, decrement when exiting.
- (__stp_utrace_task_finder_target_syscall_entry): Ditto.
- (__stp_utrace_task_finder_target_syscall_exit): Ditto.
- (stap_stop_task_finder): Wait until all callbacks are finished.
-
-2008-09-10 Frank Ch. Eigler <fche@elastic.org>
-
- * runtime.h (STP_USE_FRAME_POINTER): Remove architecture #if's.
- All will activate it if CONFIG_FRAME_POINTER unless
- STP_USE_DWARF_UNWINDER.
- * stack-i386.c: (__stp_stack_print): Handle !DWARF and !FRAME
- configuration.
-
-2008-09-10 Mark Wielaard <mjw@redhat.com>
-
- * sym.h (_stp_module): Rename module_base to dwarf_module_base.
- * unwind.c (adjustStartLoc): Document and use dwarf_module_base.
-
-2008-09-10 Mark Wielaard <mjw@redhat.com>
-
- * runtime.h (CONFIG_FRAME_POINTER): Don't enable when
- STP_USE_DWARF_UNWINDER is already defined.
-
-2008-09-10 Mark Wielaard <mjw@redhat.com>
-
- * sym.h (_stp_module): Add module_base field.
- * unwind.c (adjustStartLoc): New function.
- (_stp_search_unwind_hdr): Use adjustStartLoc.
- (unwind): Likewise.
-
-2008-09-10 Mark Wielaard <mjw@redhat.com>
-
- * unwind.c (unwind): Use _stp_mod_sec_lookup to get module and
- unwind tables.
- * runtime.h (STP_USE_FRAME_BUFFER): Disable by default for now.
- * stack-x86_64.c (__stp_stack_print): Add levels to
- _stp_stack_print_fallback call.
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * regs-ia64.c (__ia64_fetch_register): Return the address of the
- register.
- (ia64_fetch_register): Use __ia64_fetch_register.
- * syscall.h (____stp_user_syscall_arg): Use __ia64_fetch_register.
- (__stp_user_syscall_arg): Wrapping ____stp_user_syscall_arg to pass the
- unwind address cache.
- * task_finder.c (__stp_utrace_task_finder_target_syscall_): Added dummy
- unwind address cache.
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * syscall.h: Added ia64 support.
-
-2008-09-09 Mark Wielaard <mwielaard@redhat.com>
-
- * sym.c (_stp_mod_sec_lookup): New function, extracted from
- _stp_kallsyms_lookup.
-
-2008-09-09 Mark Wielaard <mwielaard@redhat.com>
-
- * sym.c (_stp_kallsyms_lookup): Correct this_section_offset
- calculation.
-
-2008-09-08 Tim Moore <timoore@redhat.com>
-
- PR 1288
- * addr-map.c: New file with functions for looking up addresses
- * loc2c-runtime.h (deref, store_deref): Use lookup_bad_addr to
- avoid dereferencing known dangerous addresses.
- * runtime.h: Include addr-map.c.
-
-2008-09-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6445
- * task_finder.c (stap_start_task_finder): When _stp_target
- is set (stap -c or -x mode), restrict initial utrace attach
- iteration to target process only.
-
-2008-09-01 Frank Ch. Eigler <fche@elastic.org>
-
- * task_finder.c: Move CONFIG_UTRACE assertion here.
- * task_finder_vma.c (__stp_tf_add_vma): Make printk conditional.
-
-2008-08-29 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_utrace_attach_match_filename): Don't call
- the callback when the interesting thread is found, call it when
- the tread is quiesced.
- (stap_start_task_finder): Ditto.
- (__stp_utrace_task_finder_target_quiesce): Call the callback.
-
-2008-08-26 David Smith <dsmith@redhat.com>
-
- * autoconf-d_path-path.c: New file.
-
- * task_finder.c (__stp_get_mm_path): Uses STAPCONF_DPATH_PATH
- instead of a kernel version check to determine how to call
- d_path().
- (__stp_utrace_task_finder_target_quiesce): Ditto.
- (__stp_target_call_vm_callback): Ditto.
-
-2008-08-21 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_tf_vm_cb): Added task finder target
- parameter.
- (__stp_utrace_attach_match_filename): Updated task finder callback
- call.
- (__stp_utrace_task_finder_target_death): Ditto.
- (__stp_utrace_task_finder_target_quiesce): Ditto.
- (__stp_target_call_vm_callback): Ditto.
- (__stp_utrace_task_finder_target_syscall_exit): Ditto.
- (stap_start_task_finder): Ditto.
-
-2008-08-20 David Smith <dsmith@redhat.com>
-
- * task_finder.c: Supports original and new utrace interfaces.
- * utrace_compatibility.h (utrace_attach_task): Compatibility layer
- for original utrace interface.
-
- * task_finder.c (__stp_utrace_task_finder_target_syscall_entry):
- Handles mmap2 (as well as mmap).
- (__stp_utrace_task_finder_target_syscall_exit): Ditto.
- * syscall.h: Added defines for mmap and mmap2.
-
-2008-08-19 David Smith <dsmith@redhat.com>
-
- PR 6841
- * task_finder.c (__stp_utrace_task_finder_target_quiesce):
- Quiesces thread before turning on syscall tracing.
-
-2008-08-14 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6842.
- * task_finder.c (__stp_utrace_task_finder_target_death): Tolerate
- null tsk->signal.
-
-2008-08-12 David Smith <dsmith@redhat.com>
-
- PR 6445 (partial)
- * task_finder.c (stap_register_task_finder_target): Handles
- probing all threads.
- (__stp_utrace_attach_match_filename): Ditto.
- (stap_start_task_finder): Ditto.
-
-2008-08-08 David Smith <dsmith@redhat.com>
-
- * task_finder.c (stap_utrace_detach): New function.
- (stap_utrace_detach_ops): Calls stap_utrace_detach().
- (__stp_utrace_attach_match_filename): Ditto.
-
- * task_finder.c (__stp_tf_vm_cb): Added calls to save/delete vma
- information.
- * task_finder_vma.c (__stp_tf_vma_map_hash): New function.
- (__stp_tf_get_vma_map_entry_internal): Ditto.
- (stap_add_vma_map_info): Ditto.
- (stap_remove_vma_map_info): Ditto.
- (stap_find_vma_map_info): Ditto.
-
-2008-07-24 Josh Stone <joshua.i.stone@intel.com>
-
- * runtime/autoconf-module-nsections.c: removed
- * runtime/autoconf-oneachcpu-retry.c: added
-
-2008-07-21 David Smith <dsmith@redhat.com>
-
- * task_finder_vma.c (__stp_tf_vma_initialize): New function to
- initialize the free list.
- (__stp_tf_vma_put_free_entry): Puts a vma entry back on the free
- list.
- (__stp_tf_add_vma): Instead of allocating a vma entry, grab one
- from the free list by calling __stp_tf_vma_put_free_entry().
- (__stp_tf_remove_vma_entry): Instead of freeing a vma entry, call
- __stp_tf_vma_put_free_entry() to put it on the free list instead.
- * task_finder.c (stap_start_task_finder): Calls
- __stp_tf_vma_initialize().
-
-2008-07-18 Frank Ch. Eigler <fche@elastic.org>
-
- BZ 442528, From Masami Hiramatsu <mhiramat@redhat.com>
- * regs-ia64.c (ia64_stap_get_arbsp): New function.
-
-2008-07-17 Frank Ch. Eigler <fche@elastic.org>
-
- * sym.c (_stp_kallsyms_lookup, _stp_module_relocate): Add
- multiple-section-per-module support.
- * sym.h (_stp_section): New type for separately relocatable
- _stp_module pieces.
-
-2008-07-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6738.
- * loc2c-runtime.h: #include {asm,linux}/uaccess.h as autoconf'd.
- * unwind/i386.h (user_mode_vm, FIX_VDSO): #ifdef for older kernels.
- * unwind/x86_64.h (VSYSCALL_START): speculative #ifdef for same.
- * unwind/unwind.h (BUILD_BUG_ON_ZER): Ditto.
-
-2008-07-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6736.
- * sym.c (_stp_module_relocate): Generalized to search all
- _stp_module[]s.
- (_stp_kallsyms_lookup_name): Gone.
- (_stp_find_module_by_addr): Rewritten.
- (_stp_get_unwind_info): Temporarily gone.
- * sym.h (_stp_module): Simplify structure.
- * unwind.c: Adapt just enough to compile with eliminated elements.
-
- * probes.stp: Removed unused file.
-
-2008-07-09 Mark Wielaard <mwielaard@redhat.com>
-
- PR 6732
- * autoconf-real-parent.c: New file.
- * task_finder.c (__stp_utrace_task_finder_report_exec): Define
- real_parent using STAPCONF_REAL_PARENT. Undefine when no longer
- needed.
-
-2008-07-01 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_get_mm_path): Corrected error return code.
- (__stp_utrace_attach_match_tsk): Ignores ENOENT error from
- __stp_get_mm_path().
- (stap_start_task_finder): Ditto.
-
-2008-06-30 David Smith <dsmith@redhat.com>
-
- * task_finder.c (stap_utrace_detach_ops): Removed check to see if
- thread has a mm (in the case where a thread isn't quite dead
- yet).
- (stap_utrace_attach): Minor error handling improvement.
- (__stp_utrace_attach_match_tsk): Ditto.
-
-2008-06-24 David Smith <dsmith@redhat.com>
-
- From: Srinivasa DS <srinivasa@in.ibm.com>
- * syscall.h: Added powerpc support.
-
-2008-06-23 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_utrace_task_finder_target_quiesce): Fixed
- vm_callback offset by shifting it left PAGE_SHIFT bits.
- (__stp_target_call_vm_callback): Ditto.
- (__stp_utrace_task_finder_target_syscall_exit): Ditto.
-
- * task_finder.c (__stp_utrace_task_finder_report_exec): Handles
- relative exec paths correctly.
-
- * task_finder_vma.c (__stp_tf_vma_hash): Improved determination of
- whether this is a 64-bit platform.
- * syscall.h: Handles kernels with older style register
- definitions.
-
- * task_finder.c (__stp_tf_vm_cb): New function.
- (stap_register_task_finder_target): Sets up syscall entry and
- syscall exit handlers.
- (__stp_find_file_based_vma): New function.
- (__stp_utrace_task_finder_target_syscall_entry): New function.
- Saves vma information off at syscall entry.
- (__stp_target_call_vm_callback): New function.
- (__stp_utrace_task_finder_target_syscall_exit): New function.
- Handles changes to memory maps based on information saved at
- syscall entry.
- * syscall.h: New file containing syscall function.
- * task_finder_vma.c: New file containing saved vma information
- handling functions.
-
- * regs.h: Removed trailing semicolons from macro definitions.
-
-2008-06-17 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_utrace_attach_match_filename): Uses new
- __STP_ATTACHED_TASK_EVENTS macro to determine which events to set
- on a newly found process based on whether the
- stap_task_finder_target structure has a vm_callback defined.
- (stap_start_task_finder): Ditto.
-
-2008-06-16 David Smith <dsmith@redhat.com>
-
- * task_finder.c (stap_start_task_finder): Improved callback
- handling.
-
-2008-06-10 David Smith <dsmith@redhat.com>
-
- * task_finder.c (struct stap_task_finder_target): Added
- vm_callback public field.
- (stap_register_task_finder_target): Sets up .report_quiesce
- handler.
- (__stp_utrace_task_finder_target_quiesce): New function.
-
-2008-06-09 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_utrace_task_finder_report_exec): Handles
- 2.6.25 kernels.
-
-2008-06-06 David Smith <dsmith@redhat.com>
-
- * task_finder.c: Added some debug logic. Use
- '-DDEBUG_TASK_FINDER' to enable.
- (stap_utrace_attach): Renamed from '__stp_utrace_attach'.
- (__stp_utrace_attach_match_filename): Calls callback with
- notification that this is a process or thread event.
- (__stp_utrace_attach_match_tsk): Ditto.
- (__stp_utrace_task_finder_report_clone): Ditto.
- (__stp_utrace_task_finder_report_exec): Ditto.
- (stap_utrace_task_finder_report_death): Ditto.
- (stap_start_task_finder): Ditto.
- (stap_stop_task_finder): Added debug logic.
-
-2008-05-29 Stan Cox <scox@redhat.com>
-
- * map.c (print_keytype): Remove.
- (print_valtype): Remove.
- (_stp_map_printn): Remove.
- (_stp_map_print): Remove.
- (_stp_pmap_printn): Remove.
- * stat-common.c (_stp_stat_print_valtype): Remove.
- * stat.c (__stp_stat_print): Remove.
- (_stp_stat_print_cpu): Remove.
- (_stp_stat_print): Remove.
- * Makefile: Delete.
- * tests: Delete.
- * probes: Delete.
-
-2008-05-28 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_utrace_attach_match_filename): Added
- register_p parameter, which is passed on to the callback. Only
- adds death notification if register_p is 1. If register_p is 0,
- removes death notification.
- (__stp_utrace_attach_match_tsk): Moved code from
- __stp_utrace_task_finder_report_clone that handles the details of
- grabbing a task's path.
- (__stp_utrace_task_finder_report_clone): Calls new
- __stp_utrace_attach_match_tsk().
- (__stp_utrace_task_finder_report_exec): Notifies upper layer that
- it might need to detach from newly exec'ed process.`
-
-2008-05-27 Josh Stone <joshua.i.stone@intel.com>
-
- PR 6432
- * loc2c-runtime.h (kread, kwrite, deref, store_deref): Add
- architecture-neutral implementations, using probe_kernel_*
- facilites (controlled by autoconf).
- * autoconf-probe-kernel.c: test for above.
-
-2008-05-21 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_utrace_attach_match_filename): Added
- event_flag parameter of event to pass to callback.
- (__stp_utrace_task_finder_target_death): Ditto.
- (__stp_utrace_task_finder_report_clone): Calls
- __stp_utrace_attach_match_filename() with new argument.
- (__stp_utrace_task_finder_report_exec): Ditto.
- (stap_start_task_finder): Calls callback with an invalid
- event_flag since this callback call isn't related to an event.
-
-2008-05-16 David Smith <dsmith@redhat.com>
-
- PR 6499.
- * task_finder.c (stap_register_task_finder_target): Added error
- check.
- (__stp_utrace_task_finder_report_clone): Ditto.
- (stap_utrace_detach_ops): Uses do_each_thread/while_each_thread
- instead of for_each_process (which only iterated among process
- group leaders instead of all threads).
- (stap_start_task_finder): Ditto.
-
-2008-05-08 David Smith <dsmith@redhat.com>
-
- PR 6500.
- * task_finder.c (__stp_utrace_task_finder_report_exec): Moved
- attach logic to __stp_utrace_attach_match_filename().
- (__stp_utrace_attach_match_filename): New function.
- (__stp_utrace_task_finder_report_clone): Calls
- __stp_utrace_attach_match_filename() to attach to newly cloned
- threads.
-
-2008-05-06 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 5648
- * print_old.c (stp_print_flush): Fix unaligned access warning on
- ia64.
- * print_new.c (stp_print_flush): Ditto.
-
-2008-05-06 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 5648
- * vsprintf.c (_stp_vsnprintf): Fix memcpy's endianess issue.
-
-2008-05-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6481.
- * time.c (__stp_time_timer_callback): Reenable irq's before
- mod_timer.
-
-2008-05-05 David Smith <dsmith@redhat.com>
-
- * task_finder.c (stap_utrace_detach_ops): Make sure we ignore
- /sbin/init.
- (__stp_utrace_attach): Added function to handle details of
- attaching a utrace engine.
- (__stp_utrace_task_finder_report_clone): Calls
- __stp_utrace_attach.
- (__stp_utrace_task_finder_report_exec): Ditto.
- (stap_start_task_finder): Ditto.
-
-2008-04-30 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 5648
- From Shaohua Li <shaohua.li@intel.com>
- * vsprintf.c (_stp_vsnprintf): Fix unaligned access warning on ia64.
-
-2008-04-29 David Smith <dsmith@redhat.com>
-
- * task_finder.c: Made more robust by ensuring that all utrace
- attaches have a corresponding utrace detach.
-
-2008-04-28 Frank Ch. Eigler <fche@elastic.org>
-
- * runtime.h (TEST_MODE): Remove.
-
-2008-04-25 David Smith <dsmith@redhat.com>
-
- From Srinivasa <srinivasa@in.ibm.com>
- * task_finder.c (__stp_get_mm_path): Fixed kernel 2.6.25 change.
-
-2008-04-24 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_get_mm_path): Made kernel 2.6.25 changes.
-
-2008-04-16 David Smith <dsmith@redhat.com>
-
- * task_finder.c (__stp_get_mm_path): Made kernel 2.6.18 changes.
-
-2008-04-15 David Smith <dsmith@redhat.com>
-
- PR 5961 (partial)
- * task_finder.c (stap_start_task_finder): When an interesting
- thread is found that is already running, make sure to set up
- thread death notification.
-
-2008-04-15 hunt <hunt@redhat.com>
- * print.c (_stp_pbuf_full): Delete.
-
-2008-04-15 hunt <hunt@redhat.com>
- * stack-x86_64.c (_stp_stack_print_fallback): Add levels.
- (__stp_stack_print): Count levels properly.
-
-2008-04-15 Martin Hunt <hunt@redhat.com>
-
- Finish support for limits on backtrace depth.
- * runtime.h (MAXTRACE): Default to 20.
- * stack.c (_stp_stack_print): Call __stp_stack_print
- with levels set properly.
- * sym.c (_stp_func_print): Return a value indicating
- if something was printed.
-
- Support for i386 and x86_64 on 2.6.25 kernel
- * unwind/i386.h: Support unified registers on 2.6.25.
- Remove unused frame stuff, including STACK_*.
- * stack-i386.c (__stp_stack_print): Support unified
- registers on 2.6.25.
- * regs.h (REG_FP): Define for i386.
-
-2008-04-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6410.
- * unwind.c, unwind.h: Make body conditional in STP_USE_DWARF_UNWINDER.
- * stack-x86_64.c (__stp_stack_print): Tolerate !unwinder.
-
-2008-04-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6405
- * autoconf-module-nsections.c: New file.
-
-2008-04-15 Frank Ch. Eigler <fche@elastic.org>
-
- * unwind/i386.h (STACK_BOTTOM, STACK_TOP): Comment out these
- unused definitions, for they collide with some kernels
- (2.6.25-0.121.rc5.git4 rawhide).
-
-2008-04-13 Frank Ch. Eigler <fche@elastic.org>
-
- * print.c (_stp_pbuf_full): New function to note full print buffer.
- * stack-{i386,x86_64}.c: Use it in all stack-searching loops, to
- impose another limit against unbounded iteration.
-
-2008-03-31 Martin Hunt <hunt@redhat.com>
-
- * runtime.h (STP_USE_DWARF_UNWINDER): Define.
-
-2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 6028
- * loc2c-runtime.h (fetch_register): Call ia64_fetch_register with
- the address of c->unwaddr.
- * regs-ia64.c (ia64_fetch_register): Don't unwind stack if it has
- already unwound stack in same probe.
-
-2008-03-30 Martin Hunt <hunt@redhat.com>
-
- * runtime.h (STP_USE_FRAME_POINTER): Define when frame pointers
- are available in the kernel and can be used.
- * stack-arm.c: Use STP_USE_FRAME_POINTER.
- * stack-i386.c: Ditto.
- * unwind/i386.h: Ditto.
- * unwind/x86_64.h: Ditto.
-
-2008-04-04 David Smith <dsmith@redhat.com>
-
- PR 5961 (partial)
- * task_finder.c: New file.
-
-2008-03-28 Martin Hunt <hunt@redhat.com>
-
- * copy.c (_stp_read_address): New function. Safely read
- kernel or userspace.
-
-2008-03-26 Martin Hunt <hunt@redhat.com>
- Fixes to get i386 working.
- * unwind.c (unwind): Fix types in debug print.
- * stack-i386.c (_stp_stack_print_fallback): New function.
- (__stp_stack_print): Call _stp_stack_print_fallback() if unwinder
- appears to fail.
-
-2008-03-25 Martin Hunt <hunt@redhat.com>
-
- * unwind.c (unwind): Return a positive number to indicate
- that unwinding is done.
-
-2008-04-01 Frank Ch. Eigler <fche@elastic.org>
-
- * lket/*: Belatedly remove retired LKET code.
-
-2008-03-17 Eugene Teo <eteo@redhat.com>
-
- PR 5947
- * autoconf-tsc-khz.c: Remove "&& defined(__i386__)" to make the test
- more pessimistic.
-
-2008-03-14 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 3542
- * autoconf-unregister-kprobes.c : New file.
-
-2008-03-10 Dave Brolley <brolley@redhat.com>
-
- PR5189
- * vsprintf.c (_stp_vsnprintf): Arguments for dynamic width and precision
- are of type 'int' again.
- * loc2c-runtime.h (deref_string): Copy the data only if dst is not NULL.
- (deref_buffer): New macro.
-
-2008-02-27 Martin Hunt <hunt@redhat.com>
-
- * sym.h (_stp_module): Add text_size, lock, and unwind data
- pointer.
- * sym.c (_stp_find_module_by_addr): New function.
- (_stp_kallsyms_lookup): Call _stp_find_module_by_addr().
- (_stp_get_unwind_info): New.
-
- * runtime.h: Move debug macros to debug.h. Include it.
- * debug.h: New file.
- * map.c: Update debug calls.
- * map-gen.c: Update debug calls.
- * pmap-gen.c: Update debug calls.
-
- * mempool.c: New file.
-
-2008-02-27 Dave Brolley <brolley@redhat.com>
-
- PR5189
- * vsprintf.c (_stp_vsnprintf): Extract arguments of type int64_t for
- dynamic width and precision. Implement width and precision correctly for
- the %b format specifier. Implement the %m specifier.
-
-2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>
-
- * stack-ia64.c (__stp_show_stack_sym): Skip printing symbol if (ip ==
- REG_IP(regs)).
-
-2008-01-29 Martin Hunt <hunt@redhat.com>
-
- * io.c (_stp_vlog): Use get_cpu() instead
- of smp_processor_id() because this function can get
- called with interrupts enabled.
-
-2008-01-29 Martin Hunt <hunt@redhat.com>
-
- * alloc.c (struct _stp_malloc_type): Remove
- redundant field.
-
-2008-01-28 Martin Hunt <hunt@redhat.com>
-
- * alloc.c: Use DEFINE_SPINLOCK.
- * counter.c: Ditto.
- * pmap-gen.c: Ditto.
- * print_new.c: Ditto.
- * stat.c: Ditto.
-
-2008-01-27 Frank Ch. Eigler <fche@elastic.org>
-
- * stack-i386.c (__stp_stack_print): Correct #elif->#else typo.
-
-2008-01-14 Martin Hunt <hunt@redhat.com>
-
- * print.c (_stp_print_kernel_info): New function.
- (all): Call stp memory functions.
-
- * alloc.c: Rewrite to track allocated memory if
- DEBUG_MEM is defined.
- * counter.c, map.c, stat.c, time.c: Call stp
- memory functions.
-
-2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * regs-ia64.c (ia64_fetch_register): Fix the bug of fetching
- register 12 on IA64.
-
-2007-11-12 Martin Hunt <hunt@redhat.com>
-
- * print.c (_stp_print): Rewrite to eliminate the strlen()
- call and save a bit of time.
-
-2007-11-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR3858
- * print.c: Add -DRELAY_HOST=<hostname> and -DRELAY_GUEST=<hostname>
- options support.
- (_stp_print_flush): Disable irqs if -DRELAY_* option is specified.
- * print_old.c: Export stp_print_flush to other modules if the
- -DRELAY_HOST option is specified.
- * print_new.c: Ditto.
-
-2007-10-25 Mike Mason <mmlnx@us.ibm.com>
-
- * stat-common.c: Allow histogram bucket elision to be turned off
- with -DHIST_ELISION=<negative #>. Also cleaned up looping code
- to prevent unnecessary interation over non-existent buckets.
-
-2007-10-17 Masami Hiramatsu <mhiramat@redhat.com>
-
- * autoconf-tsc-khz.c: Not to be compiled if the kernel version is
- younger than 2.6.23 on i386.
-
-2007-10-17 Martin Hunt <hunt@redhat.com>
- PR5000
- * vsprintf.c: Remove _stp_endian.
-
-2007-10-15 Masami Hiramatsu <mhiramat@redhat.com>
-
- * autoconf-tsc-khz.c: Fix a bug to be configured correctly.
-
-2007-10-09 Martin Hunt <hunt@redhat.com>
-
- * user/*: Removed obsolete userspace test files.
-
-2007-10-02 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5041
- From <michael.gruener@linux.vnet.ibm.com>:
- * loc2c-runtime.h (store_register): Add value as macro parameter where
- missing.
-
-2007-09-24 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 3916
- * time.c (stp_time_t): Rename cpufreq to freq.
- (__stp_get_freq): Rename from __stp_estimate_cpufreq. Use tsc_khz or
- cpu_khz if it is available. Use itc_freq on ia64.
- (__stp_ktime_get_real_ts): New function to get current kernel time.
- (__stp_time_timer_callback): Call __stp_ktime_get_real_ts to get
- base time.
- (__stp_init_time): Ditto.
- (__stp_constant_freq): New function to check the processor has
- constant frequency timestamp counter.
- (_stp_kill_time): Don't use the cpufreq notifier if the processor has
- constant frequency timestamp counter.
- (_stp_init_time): Ditto.
- * autoconf-ktime-get-real.c : New file.
- * autoconf-constant-tsc.c: Ditto.
- * autoconf-tsc-khz.c: Ditto.
-
-2007-09-22 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5057.
- * stat-common.c (_stp_stat_print_histogram): Elide consecutive
- zero rows beyond 2*STAT_ELISION+1.
- (STAT_ELISION): New parameter, default 2.
-
-2007-09-21 Martin Hunt <hunt@redhat.com>
- PR 5024
- * stat-common.c (_stp_stat_print_histogram): Change
- overflow and underflow handling for linear histograms.
- (__stp_stat_add): For linear histograms, use under
- and over buckets.
-
-2007-09-19 Martin Hunt <hunt@redhat.com>
- PR 5042
- * procfs.c (_stp_rmdir_proc_module): Warn if removal of
- /proc/systemtap/module is deferred. Do not defer removal of
- /proc/systemtap.
- (_stp_mkdir_proc_module): Call path_release(). Set ownership of
- /proc/systemtap/module to force deletion to be deferred.
- (_stp_create_procfs): Set owner of all path components.
-
-2007-09-14 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_create_procfs): Be sure that directories in the path
- are really directories and not files.
-
-2007-09-13 David Smith <dsmith@redhat.com>
-
- * procfs.c (_stp_procfs_dir_lookup): Added 'const' qualifier to
- 'dir' parameter.
- (_stp_create_procfs): Added 'const' qualifier to 'path'
- parameter. Removed debug prints.
- (_stp_close_procfs): Removed debug prints.
-
-2007-09-12 Martin Hunt <hunt@redhat.com>
-
- * map-stat.c (_stp_map_new_hstat_log): Set buckets to
- HIST_LOG_BUCKETS.
- (_stp_pmap_new_hstat_log): Ditto.
- (_stp_map_new_hstat_linear): Call _stp_stat_calc_buckets().
- (_stp_pmap_new_hstat_linear): Ditto.
-
- * stat.h (STP_MAX_BUCKETS): Define..
- (HIST_LOG_BUCKETS): Define.
-
- * stat.c (_stp_stat_init): Call _stp_stat_calc_buckets().
-
- * stat-common.c (_stp_stat_calc_buckets): New function. Common
- bucket calculation and error reporting code.
- (_stp_bucket_to_val): New function.
- (_stp_val_to_bucket): Renamed and now handles negative numbers.
- (_stp_stat_print_histogram): Handle negative values in log histograms.
- (__stp_stat_add): Cleanup..
-
- * map-gen.c (_stp_map_new): Remove buckets param for HIST_LOG.
- * pmap-gen.c (_stp_pmap_new): Ditto.
-
-2007-09-10 Martin Hunt <hunt@redhat.com>
-
- * procfs.c: New file. Common runtime procfs functions.
-
-2007-08-20 Martin Hunt <hunt@redhat.com>
-
- * stack.c (_stp_kta): Removed.
-
-2007-08-20 Masami Hiramatsu <mhiramat@redhat.com>
-
- * stack-x86_64.c: Fix backtrace to use the value of stack register
- instead of its address.
-
-2007-08-17 Martin Hunt <hunt@redhat.com>
-
- * bench2/bench.rb: Send HUP to stapio, instead of staprun.
-
-2007-08-10 Josh Stone <joshua.i.stone@intel.com>
-
- PR 4593
- * loc2c-runtime.h (deref, store_deref): Set an error message with
- the pointer value and name into last_error, since it's hard to
- determine the details once you've already jumped to deref_fault.
-
-2007-07-09 Martin Hunt <hunt@redhat.com>
-
- * sym.h (STP_MAX_MODULES): Raise limit to 256.
-
-2007-07-06 Martin Hunt <hunt@redhat.com>
-
- * stat-common.c (__stp_stat_add): Fix calculations
- for linear histogram buckets.
-
- * stat.c (_stp_stat_init): Check for interval too
- small.
-
-2007-07-05 Eugene Teo <eteo@redhat.com>
-
- * regs.c (_stp_print_regs): #ifdef CONFIG_CPU_CP15 instead.
-
-2007-07-02 Martin Hunt <hunt@redhat.com>
-
- * sym.c (_stp_kallsyms_lookup): Improve heuristic
- for determining when a pointer is in a function.
- (_stp_func_print): New function.
- * stack-i386.c, stack-x86_64.c: Remove obsolete
- unwind code. Use _stp_func_print().
-
-2007-06-22 Frank Ch. Eigler <fche@elastic.org>
-
- * string.c (_stp_text_str): Fix handling of embedded
- " and \ characters.
-
-2007-06-21 David Smith <dsmith@redhat.com>
-
- * lket/b2a/Makefile.in: Regenerated with automake 1.10.
-
-2007-06-15 Martin Hunt <hunt@redhat.com>
- From Quentin Barnes.
- * loc2c-runtime.h: Latest arm marcos.
- * stack-arm.c (__stp_stack_print): Add a cast.
- * regs.c (_stp_ret_addr): Define for arm.
-
-2007-06-07 Martin Hunt <hunt@redhat.com>
- PR 4075 fix from Ananth Mavinakayanahalli
- * string.h (_stp_get_user): Define.
- * string.c (_stp_text_str): Use _stp_get_user().
-
-2007-05-30 Martin Hunt <hunt@redhat.com>
-
- Patch from Quentin Barnes.
- * arith.c: Add arm support for 64-bit division.
- * copy.c: Enable arm support.
- * loc2c-runtime.h: Ditto.
- * regs.[ch]: Ditto.
- * stack.c: Include stack-arm.c.
- * stack-arm.c: New file.
- * time.c (_stp_gettimeofday_ns): hack
- for arm. See PR 4569.
-
-2007-05-29 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4458
- * print_new.c (_stp_print_flush): Use interrupt-disabling
- spinlock variants.
-
-2007-05-29 Frank Ch. Eigler <fche@redhat.com>
-
- PR 2224
- * map.h (NEED_MAP_LOCKS): New config macro, defaults to 0.
- (MAP_GET_CPU, MAP_PUT_CPU): Wrappers, default to ~no-op.
- * map.c (_stp_pmap_clear,agg): Use them.
- * pmap-gen.c (_stp_pmap_new,set,add,get_cpu,get,del): Ditto.
-
-2007-05-15 Martin Hunt <hunt@redhat.com>
-
- * vsprintf.c: Add comment about %p.
- * regs.c, stack*.c, sym.c: Fix %p calls.
-
-2007-04-27 Martin Hunt <hunt@redhat.com>
-
- * runtime.h: Improve check for debugfs in kernel.
-
-2007-04-27 Frank Ch. Eigler <fche@elastic.org>
-
- * autoconf-inode-private.c: New file from hunt.
-
-2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>
-
- * runtime/lket/b2a/lket_b2a.c: Fix percpu files parsing
- for percpu_header transport changes.
-
-2007-04-05 Martin Hunt <hunt@redhat.com>
-
- * bench2/var_bench, var.st, const.st: New test.
-
-2007-04-05 Martin Hunt <hunt@redhat.com>
-
- * bench2/bench.rb (Stapbench::run): Check result code
- of "killall staprun". If it is nonzero, something happened to
- staprun. Print an error.
- (Stapbench::load): Define STP_NO_OVERLOAD.
- * bench2/README: Update.
- * bench2/print_bench: New set of tests.
-
-2007-03-22 Frank Ch. Eigler <fche@elastic.org>
-
- * sym.c (_stp_module_relocate): Tolerate empty section string.
-
-2007-03-21 Martin Hunt <hunt@redhat.com>
-
-
- * sym.h: Declare _stp_module_relocate.
- * sym.c (_stp_module_relocate): Add comments, reformat, add
- a way for "last" cached values to be cleared when modules
- are removed.
- (_stp_symbol_print): Simplify and remove static buffer.
- (_stp_symbol_snprint): Ditto.
-
-2007-03-21 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_map_init): Fix signed vs unsigned comparison warning.
-
-2007-03-20 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4224.
- * sym.c (_stp_module_relocate): Support kernel relocations.
-
-2007-03-19 Frank Ch. Eigler <fche@elastic.org>
-
- * autoconf-hrtimer-rel.c: New file.
-
-2007-03-18 Martin Hunt <hunt@redhat.com>
-
- * stack.c, string.c, sym.c, transport/symbols.c:
- Fix some signed vs unsigned comparison warnings.
-
-2007-03-14 Martin Hunt <hunt@redhat.com>
- * stpd: Remove directory.
- * relayfs: Remove directory.
-
-2007-03-14 Martin Hunt <hunt@redhat.com>
- * bench2/bench.rb: Updated to work with new transport
- and new itest.c.
- * bench2/Makefile: Updated for new itest.c
- * bench2/itest.c: Rewritten to use multiple threads
- and automatically divide the workload among the threads.
-
- * print.c (_stp_print_flush): Move to print_new.c and
- print_old.c.
- * print_new.c: New file containing _stp_print_flush()
- for the new transport.
- * print_old.c: Ditto for old transport.
-
- * runtime.h (STP_OLD_TRANSPORT): Define
- (errk): Define.
- (MAXSTRINGLEN): Define if not already defined.
-
- * io.c (_stp_vlog): Use _stp_ctl_write().
-
-2007-03-12 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4179.
- Based on patch from Vasily Averin <vvs@sw.ru>:
- * time.c (_stp_init_time): Recover from partial failures.
-
-2007-03-01 David Wilder <dwilder@us.ibm.com>
-
- * loc2c-runtime.h: rewrote s390x version of __stp_put_asm
- and __stp_put_asm to do single byte writes.
-
-2007-02-27 David Wilder <dwilder@us.ibm.com>
-
- * loc2c-runtime.h: Added defines for EX_TABLE needed by older
- s390 kernels that do not already have it defined.
-
-2007-02-07 Martin Hunt <hunt@redhat.com>
-
- * stack-ppc64.c (__stp_stack_print): Remove an old
- reference to the string length and instead limit backtraces
- to MAXBACKTRACE.
- * stack.c: Define MAXBACKTRACE
-
-2007-02-06 Josh Stone <joshua.i.stone@intel.com>
-
- * loc2c-runtime.h (kread): Let it work with const types.
-
-2007-01-31 Martin Hunt <hunt@redhat.com>
-
- * string.c (_stp_string_init): Deleted.
- (_stp_sprintf): Deleted.
- (_stp_vsprintf): Deleted.
- (_stp_string_cat_cstr): Deleted.
- (_stp_string_cat_string): Deleted.
- (_stp_string_cat_char): Deleted.
- (_stp_string_ptr): Deleted.
- (_stp_string_cat): Deleted.
- (_stp_snprintf): Moved from vsprintf.c.
- (_stp_vscnprintf): Moved from vsprintf.c.
-
- * string.h (STP_STRING_SIZE): Deleted.
- (STP_NUM_STRINGS): Deleted.
- Remove all references to type "String".
-
- * vsprintf.c (_stp_vscnprintf): Moved to string.c.
- (_stp_snprintf): Moved to string.c
-
- * sym.c (_stp_symbol_sprint): Replaced with
- _stp_symbol_print, which writes to the print buffer.
- (_stp_symbol_sprint_basic): Replaced with
- _stp_symbol_snprint.
-
- * runtime.h: Include io.c.
-
- * stat-common.c: Use new _stp_print* functions.
- * stat.c: Ditto.
-
- * regs.c: Renamed to regs-ia64.c.
- * current.c: Renamed regs.c.
- * regs-ia64.c: New file (renamed from regs.c).
-
- * stack.c (_stp_stack_sprint): Renamed _stp_stack_print
- and now just prints to the print buffer. Calls
- __stp_stack_print instead of __stp_stack_sprint.
- (_stp_stack_snprint): New function. Calls _stp_stack_print and
- then copies the print buffer into a string.
- (_stp_stack_printj): Deleted.
- (_stp_ustack_sprint): Deleted.
- * stack-*.c: Rewritten to print instead of writing to strings.
- Uses new _stp_print* functions.
-
- * print.c (_stp_printf): Create new function instead of macro.
- (_stp_print): Ditto.
- (_stp_print_char): New function.
-
- * map.c: Use _stp_print() and _stp_print_char()
- instead of _stp_print_cstr().
-
- * io.c (_stp_vlog): Use _stp_print() instead
- of _stp_string_cat_cstr().
-
- * copy.c (_stp_string_from_user): Deleted.
-
-
-2007-01-30 Martin Hunt <hunt@redhat.com>
-
- * io.c (_stp_vlog): Use dynamic percpu allocations
- instead of very wasteful static allocations.
- * print.c (_stp_print_init): Do percpu allocations
- for io.c.
- (_stp_print_cleanup): Free percpu allocations.
-
- * string.c (_stp_sprintf): Overflow check needed
- to be >= instead of >.
-
-2007-01-30 Martin Hunt <hunt@redhat.com>
-
- * alloc.c (_stp_alloc_percpu): Don't implement
- our own; just call __alloc_percpu with appropriate args
- for the OS version.
- (_stp_free_percpu): Delete.
- * map.c (_stp_map_init): When calling kmalloc_node, first
- call cpu_to_node() to get the proper node number.
- * stat.c (_stp_stat_del): Call free_percpu()
- instead of _stp_free_percpu().
-
-2007-01-29 Martin Hunt <hunt@redhat.com>
-
- * alloc.c (_stp_kmalloc): New function. Call kmalloc
- with the correct flags and track usage.
- (_stp_kzalloc): Ditto.
- * map.c: Use new alloc calls.
- * print.c: Ditto.
- * stat.c: Ditto.
- * time.c: Ditto.
-
-2007-01-25 Roland McGrath <roland@redhat.com>
-
- * loc2c-runtime.h (store_deref): Use "Zr" constraint for 64-bit case.
-
-2007-01-22 Josh Stone <joshua.i.stone@intel.com>
-
- * loc2c-runtime.h (kread, kwrite): Tweaks to work better with
- reading and writing pointer values.
-
-2007-01-22 Martin Hunt <hunt@redhat.com>
-
- * map-gen.c (_stp_map_exists): New. Check for membership only.
-
-2007-01-19 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3079
- * loc2c-runtime.h (kread, kwrite): New macros to safely read/write
- values from kernel pointers. This includes a workaround for 64-bit
- numbers on i386 platforms.
-
-2007-01-10 Martin Hunt <hunt@redhat.com>
-
- PR 3708
- * map.c (str_copy): Check for NULL pointers.
- (_new_map_set_int64): Don't check val for 0.
- (_new_map_set_str): Don't check val for NULL.
-
- * map-gen.c (VAL_IS_ZERO): Removed.
- (_stp_map_del): New.
- (__stp_map_set): Don't check for zero.
-
- * pmap-gen.c (VAL_IS_ZERO): Removed.
- (_stp_pmap_del): New.
- (__stp_pmap_set): Don't check for zero.
-
-2006-12-20 Martin Hunt <hunt@redhat.com>
-
- * runtime.h: Include mm.h.
-
-2006-12-20 Li Guanglei <guanglei@cn.ibm.com>
-
- * runtime/lket/b2a/lket_b2a.c: bugfix for NULL appname when
- search appNameTree.
-
-2006-12-18 David Smith <dsmith@redhat.com>
-
- * lket/b2a/Makefile.in: Regenerated. This needed to be done since
- lket/b2a/README was removed but lket/b2a/Makefile.in still had a
- reference to it which was causing "make distdir" to fail.
-
-2006-12-18 Frank Ch. Eigler <fche@elastic.org>
-
- PR 3079
- * loc2c-runtime.h (deref, store_deref): Fork x86 and x86-64
- variants. Remove dysfunctional 64-bit ops from x86.
-
-2006-12-15 Frank Ch. Eigler <fche@elastic.org>
-
- * print.c (_stp_print_flush): Add a likely() marker to the hot path.
-
-2006-12-13 Frank Ch. Eigler <fche@elastic.org>
-
- * regs.h (s390x REG_IP): Parenthesize for warning-free builds.
-
-2006-12-08 Josh Stone <joshua.i.stone@intel.com>
-
- * runtime.h (param_set_int64_t, param_get_int64_t,
- param_check_int64_t): New functions to allow taking module parameters
- directly as int64_t values.
-
-2006-12-06 Josh Stone <joshua.i.stone@intel.com>
-
- * time.c (stp_timer_reregister): Add a global to control whether the
- gettimeofday timer should restart itself, for clean shutdown.
- (__stp_time_timer_callback): Check the global.
- (_stp_kill_time, _stp_init_time): Set the global.
- (_stp_gettimeofday_ns): Switch to preempt_enable_no_resched.
-
- * time.c (__stp_time_cpufreq_callback): Use the cpu# from the notifier.
- (_stp_init_time): No need to disable preemption around cpufreq init.
-
-2006-12-04 Martin Hunt <hunt@redhat.com>
-
- * bench2/bench.rb: Fixes for the latest runtime
- changes.
-
-2006-11-21 Li Guanglei <guanglei@cn.ibm.com>
-
- * runtime/lket/b2a/lket_b2a.[ch]: add b2a_error() and change
- the error return codes.
-
-2006-11-19 Li Guanglei <guanglei@cn.ibm.com>
-
- * runtime/lket/b2a/lket_b2a.[ch]: bugfix for #3536
-
-2006-11-15 Martin Hunt <hunt@redhat.com>
-
- * alloc.c (STP_ALLOC_FLAGS): Define.
- Cleanup ifdefs.
- * map.c: Use STP_ALLOC_FLAGS.
- * stat.c: ditto.
-
-2006-11-10 Li Guanglei <guanglei@cn.ibm.com>
-
- * transport/procfs.c: bugfix of the obsolete buf_info
- and consumed_info.
-
-2006-11-09 Martin Hunt <hunt@redhat.com>
-
- * sym.h: Change int to int32_t.
-
-2006-11-09 Li Guanglei <guanglei@cn.ibm.com>
-
- * runtime/lket/b2a/lket_b2a.[ch]: add options to control
- the output data fields of lket.out
-
-2006-11-02 Martin Hunt <hunt@redhat.com>
-
- * sym.c (_stp_module_relocate): New function. Needed by the
- translator to relocate module symbols.
- (_stp_kallsyms_lookup_name): Rewrite to use new symbol structs.
- (_stp_kallsyms_lookup): Ditto.
-
- * sym.h: Declare the structures and arrays that contain all
- the symbol and module information.
-
- * io.c (_stp_vlog, _stp_dbug): Make first parameter const.
- * runtime.h: Update prototype for _stp_dbug.
-
-2006-10-27 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * runtime/regs.c: patch from Bibo Mao for fixing the return
- value on IA64 (bz #3404).
-
-2006-10-24 Li Guanglei <guanglei@cn.ibm.com>
-
- * runtime/lket/b2a/lket_b2a.[ch]: be sync with LKET hookid
- rearrangement.
-
-2006-10-23 Li Guanglei <guanglei@cn.ibm.com>
-
- * runtime/lket/b2a/lket_b2a.c: bugfix of event description
- data insert.
-
-2006-10-12 Martin Hunt <hunt@redhat.com>
-
- * stack-ppc64.c (__stp_stack_sprint): Declare sp before _sp.
-
-2006-10-12 Martin Hunt <hunt@redhat.com>
-
- * stack.c: Reorganize and split arch-specific functions to
- separate files.
- (_stp_kta): Better checking.
- (_stp_stack_sprint): Better handling of return probes.
-
- * stack-i386.c: New file. Uses 2.6.18 DWARF unwinder if available.
- * stack-x86_64.c: New file. Uses 2.6.18 DWARF unwinder if available.
- * stack-ppc64.c: New file.
- * stack-ia64.c: New file.
-
- * sym.c (_stp_kallsyms_lookup_name): New function. Like
- kallsyms_lookup_name() except use our internal lookup table.
-
-2006-10-10 Frank Ch. Eigler <fche@elastic.org>
-
- * runtime/lket/b2a/lket_b2a.c: Add several missing #ifdef HAS_MYSQL.
-
-2006-10-10 Li Guanglei <guanglei@cn.ibm.com>
-
- * runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
- clean up the unused database tables and destory GTree on exit.
-
-2006-10-10 Li Guanglei <guanglei@cn.ibm.com>
-
- * runtime/lket/b2a/Makefile.am: add the checking and optional
- compiling for mysql client library
- * runtime/lket/b2a/Makefile.in: regenerated
- * runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
- Adding the support of automatically database creation and
- dumping lket trace into mysql database
-
-2006-10-09 Josh Stone <joshua.i.stone@intel.com>
-
- From David Wilder <dwilder@us.ibm.com>
- * time.c (__stp_estimate_cpufreq): Short-circuit on s390.
- (_stp_gettimeofday_ns): Use a fixed formula on s390 to
- convert TOD clocks to nanoseconds.
-
-2006-09-27 Martin Hunt <hunt@redhat.com>
-
- * stack.c (_stp_kta): Rewrite. Use the _stap_symbols
- struct instead of calling into the kernel.
-
- * sym.c (_stp_kallsyms_lookup): Move here from runtime.h
-
- * runtime.h: Get rid of all the symbol stuff that
- did not belong here.
-
-2006-09-26 David Smith <dsmith@redhat.com>
-
- * README: Changed 'stpd' references to 'staprun'.
- * README.doc: Ditto.
- * TODO: Ditto.
- * io.c: Ditto.
- * print.c: Ditto.
- * runtime.h: Ditto.
- * bench2/bench.rb: Ditto.
-
-2006-09-26 Martin Hunt <hunt@redhat.com>
-
- * time.c (_stp_init_time): Use dynamic percpu allocations
- instead of evil static allocations.
- (_stp_kill_time): Free percpu allocations and set
- _stp_time to NULL so the timers are only deleted once.
-
-2006-09-26 Martin Hunt <hunt@redhat.com>
-
- * io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now
- behaves the same as procfs.
-
-2006-09-22 Martin Hunt <hunt@redhat.com>
-
- * print.c: Replace STP_PRINT_BUF_LEN with STP_BUFFER_SIZE.
- * string.c: Ditto.
-
-2006-09-21 Martin Hunt <hunt@redhat.com>
-
- PR 3232
- * print.c (_stp_print_init): New. Alloc per-cpu buffers.
- (_stp_print_cleanup): New. Free per-cpu buffers.
- (_stp_print_flush): Use per_cpu_ptr().
- * string.c (_stp_sprintf): Ditto.
- (_stp_vsprintf): Ditto.
- (_stp_string_cat_cstr): Ditto.
- (_stp_string_cat_char): Ditto.
-
-2006-09-20 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3233
- * time.c (stp_time_t): Use ns for the base time, and freq is now kHz.
- (__stp_estimate_cpufreq): Compute kHz instead of MHz.
- (__stp_time_timer_callback, __stp_init_time): Compute base in ns.
- (__stp_time_cpufreq_callback): Record kHz instead of MHz.
- (_stp_init_time): Record kHz, and disable preemption to avoid a race
- in the cpufreq notifier.
- (_stp_gettimeofday_ns): Converted from _stp_gettimeofday_us.
-
- * lket/b2a/lket_b2a.c (main): Correct arguments to fseek.
- (dump_data): Work around a spurious compiler warning.
-
-2006-09-19 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket/b2a/lket_b2a.c, lket/b2a/lket_b2a.h:
- Be sync with the recent runtime printing changes made by Martin.
- Some clean up work before adding the support of dumping data
- into MySQL
- Bug fix of segment fault when an event is not registered.
-
-2006-09-18 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3220
- From Eugeniy Meshcheryakov <eugen@debian.org>:
- * lket/b2a/lket_b2a.c: Check that appNameTree exists before destroying.
-
-2006-09-18 Martin Hunt <hunt@redhat.com>
-
- * bench2/bench.rb: Remove the deprecated "-m" option
- to stpd. Also, don't use merge mode for relayfs.
- * bench2/run_binary_print: New test. Compare various ways of
- printing binary data.
-
-2006-09-18 Martin Hunt <hunt@redhat.com>
-
- * print.c (_stp_print_flush): Rewrite so one version works for
- relayfs or procfs. Use proper per-cpu functions.
- (_stp_reserve_bytes): New function. Reserve bytes in the output buffer.
- (_stp_print_binary): New function. Write a variable number of
- 64-bit values directly into the output buffer.
-
- * string.c (_stp_sprintf): Rewrite using new per-cpu buffers.
- (_stp_vsprintf): Ditto.
- (_stp_string_cat_cstr): Ditto.
- (_stp_string_cat_char): Ditto.
-
- * runtime.h: Set defaults for MAXTRYLOCK and TRYLOCKDELAY to make
- runtime tests in bench2 happy.
-
-2006-08-29 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian <guijian@cn.ibm.com>
- * lket/b2a/lket_b2a.c, lket/b2a/lket_b2a.h:
- add the support to get_cycles() and sched_clock() timing
- mechanism for LKET.
-
-2006-08-14 Will Cohen <wcohen@redhat.com>
-
- PR 3037
- * string.c:
- * print.c: Remove includes for <linux/config.h>.
-
-2006-08-11 David Smith <dsmith@redhat.com>
-
- * lket/b2a/.cvsignore: Added file to let cvs ignore generated
- files.
-
-2006-07-21 Martin Hunt <hunt@redhat.com>
-
- * runtime.h: Include compat.h.
-
-2006-07-20 Martin Hunt <hunt@redhat.com>
-
- * vsprintf.c (_stp_vsnprintf): %p format fixes.
-
-2006-07-14 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2922
- * time.c (_stp_init_time): call cpufreq_get for each cpu from
- a non-atomic context (module init time).
- * time.c (__stp_init_time): remove call to cpufreq_get from IPI.
-
- * time.c (__stp_time_timer_callback): disable IRQ's to avoid
- perturbations in measurements.
- * time.c (_stp_gettimeofday_us): disable preemption to avoid CPU
- swaps while we're computing the time.
-
-2006-07-12 Martin Hunt <hunt@redhat.com>
-
- * runtime.h (for_each_cpu): Define for new kernels
- which no longer define it.
-
-2006-07-11 Martin Hunt <hunt@redhat.com>
-
- * string.c (_stp_text_str): Use __get_user().
-
-2006-07-11 Martin Hunt <hunt@redhat.com>
-
- * string.c (_stp_text_str): Add a parameter to support
- userspace strings too.
- * string.h: (_stp_text_str): Fix proto.
-
-2006-07-11 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket/b2a/lket_b2a.c: modified to be sync with
- the new addevent.process event hooks
-
-2006-06-29 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket/b2a/lket_b2a.c, lket/b2a/lket_b2a.h: modified to be
- sync with new _lket_trace()
-
-2006-06-27 Roland McGrath <roland@redhat.com>
-
- * loc2c-runtime.h: Add some comments.
-
-2006-06-23 Josh Stone <joshua.i.stone@intel.com>
-
- * time.c: Do cpufreq notification only if CONFIG_CPU_FREQ defined.
-
-2006-06-21 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2525
- * time.c: Time-estimation with minimal dependency on xtime.
-
-2006-06-16 Roland McGrath <roland@redhat.com>
-
- * lket/b2a/Makefile.in: Regenerated with automake-1.9.6-2.
-
-2006-06-09 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket/b2a/lket_b2a.c, lket/b2a/lket_b2a.h: Rewrite
- according to the latest LKET's tapsets. Make it able
- to read the metainfo wrote by tapsets.
-
-2006-06-02 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket/b2a/lket_b2a.c: eliminate some compile warnings
-
-2006-06-01 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket/b2a/lket_b2a.h, lket/b2a/lket_b2a.c: make it able to
- read user added trace data and backtrace
-
-2006-05-30 Martin Hunt <hunt@redhat.com>
-
- * string.c (_stp_text_str): New function.
- * string.h (_stp_text_str): Declare.
-
-2006-05-25 Martin Hunt <hunt@redhat.com>
-
- * vsprintf.c (_stp_vsnprintf): Change %p to work like
- libc and automatically insert "0x" before the pointer.
-
-2006-05-24 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2677
- * sym.c (_stp_symbol_sprint_basic): New function that returns
- just the symbol name, and doesn't bother with String.
-
-2006-05-24 Li Guanglei <guanglei@cn.ibm.com>
-
- * lket/b2a/Makefile.am, lket/b2a/Makefile.in,
- lket/b2a/README, lket/b2a/lket_b2a.c,
- lket/b2a/lket_b2a.h: a binary to ascii converter used
- to convert LKET's default binary trace data.
-
-2006-05-09 Li Guanglei <guanglei@cn.ibm.com>
-
- PR 2647
- Patch given by Gui Jian <guij@cn.ibm.com>
- * vsprintf.c: %0s support to print null-terminated string
-
-2006-05-03 Josh Stone <joshua.i.stone@intel.com>
-
- * loc2c-runtime.h (deref_string): resolved gcc "warning:
- assignment makes integer from pointer without a cast" when
- using a pointer as the source address.
-
-2006-04-28 Martin Hunt <hunt@redhat.com>
-
- * vsprintf.c (_stp_vsnprintf): Fix argument size for %p.
-
-2006-04-17 Martin Hunt <hunt@redhat.com>
-
- * vsprintf.c (_stp_vsnprintf): Fix endian
- before writing binary.
- (_stp_endian): New variable to control endianess.
-
-2006-04-11 Tom Zanussi <zanussi@us.ibm.com>
-
- * print.c (_stp_print_flush): Change TIMESTAMP_SIZE to
- STP_TIMESTAMP_SIZE to avoid conflicts with Suse kernels.
-
-2006-04-10 Martin Hunt <hunt@redhat.com>
-
- * string.c (_stp_string_cat_cstr): No need to copy
- terminating 0.
-
- * vsprintf.c (_stp_snprintf): New function.
-
- * stat-common.c (_stp_stat_print_histogram): Write a
- newline at the end of the histogram.
-
-2006-04-09 Martin Hunt <hunt@redhat.com>
-
- * print.c (_stp_print_flush): Send 'len" bytes
- instead of 'len+1', which included terminating 0.
-
- * string.c (_stp_sprintf): Call _stp_vsnprintf()
- instead of vsnprintf().
- (_stp_vsprintf): Ditto.
-
- * vsprintf.c: New file.
-
-2006-04-05 Will Cohen <wcohen@redhat.com>
-
- * string.h (__stp_stdout): Correct initialization.
-
-2006-03-30 Martin Hunt <hunt@redhat.com>
-
- * string.c (_stp_string_cat_cstr): Use memcpy() instead of strncpy().
-
-2006-03-26 Martin Hunt <hunt@redhat.com>
-
- * bench2/bench.rb (Bench::run): Instead of loading the module
- once and running against different numbers of threads, load
- and unload the module each time. Then keep track of failures
- per thread. Also use the new itest to keep the tests the same
- size regardless of the number of threads.
- (Bench::initialize): Make itest if needed.
- (Bench::load, Stapbench::load): Increase buffer size to 8MB.
-
- * bench2/itest.c: Change arg to be the number of threads
- instead of the number of millions of calls to make.
- This makes it easy to divide the work among multiple threads
- without making the test run many times longer.
-
-2006-03-09 Martin Hunt <hunt@redhat.com>
-
- * bench2: New directory containing a benchmark framework.
-
-2006-02-10 Martin Hunt <hunt@redhat.com>
-
- * copy.c (_stp_copy_from_user): Revert previous incorrect change.
-
-2006-02-09 Martin Hunt <hunt@redhat.com>
-
- * copy.c (_stp_copy_from_user): If access fails,
- return -1.
-
-2006-01-25 Martin Hunt <hunt@redhat.com>
-
- * stat.c (_stp_stat_init): Use _stp_alloc_percpu().
- (_stp_stat_del): New function.
-
- * alloc.c (_stp_alloc_percpu): New function.
- (_stp_free_percpu): New function.
-
-2006-01-19 Martin Hunt <hunt@redhat.com>
-
- * pmap-gen.c (_stp_pmap_get): Fix bug where old data
- from agg map could be returned after element was deleted.
-
-2006-01-16 Josh Stone <joshua.i.stone@intel.com>
-
- * stat.c (_stp_stat_clear): add a function that just
- clears a Stat, so we can use delete in the translator.
-
-2006-01-16 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_pmap_agg): Return NULL when aggregation
- fails.
-
-2006-01-15 Frank Ch. Eigler <fche@elastic.org>
-
- * io.c (_stp_exit): Revert.
-
-2006-01-10 Martin Hunt <hunt@redhat.com>
-
- * io.c (_stp_exit): set STAP_SESSION_STOPPING.
-
-2006-01-03 Frank Ch. Eigler <fche@redhat.com>
-
- * io.c (_stp_softerror): New function.
-
-2005-12-14 Martin Hunt <hunt@redhat.com>
-
- * pmap-gen.c (_stp_pmap_new_*): Initialize lock.
- (_stp_pmap_set_*): Lock map while in use.
- (_stp_pmap_add_*): Lock map while in use.
- (_stp_pmap_get_cpu): Ditto.
- (_stp_pmap_get): Lock each per-cpu map.
-
- * map-gen.c: Define and use NULLRET for a NULL return value.
- * map.c (_stp_pmap_clear): New function.
- (_stp_pmap_agg): Lock each per-cpu map as
- it gets aggregated.
-
-2005-12-13 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_map_sortn): Set a limit of 30 for n. Automatically
- call _stp_map_sort() if more is requested.
-
-2005-12-08 Martin Hunt <hunt@redhat.com>
-
- * map.c (_new_map_create): Only increment map size if a node
- was moved off the free list.
- (_stp_map_size): New function.
- (_stp_pmap_size): New function.
-
-2005-12-07 Martin Hunt <hunt@redhat.com>
-
- PR1923
- * map.h (struct map_root): Remove membuf.
- (struct pmap): Define.
- (PMAP): Declare.
-
- * map.c (_stp_map_init): Use kmalloc() to allocate individual
- nodes instead of using vmalloc() to allocate one big chunk.
- (_stp_map_new): Use kmalloc.
- (_stp_pmap_new): Use kmalloc. Return a PMAP.
- (__stp_map_del): New function. Free all the nodes in a map.
- (_stp_map_del): Call __stp_map_del() then free map struct.
- (_stp_pmap_del): Takes a PMAP. Calls __stp_map_del() for
- each cpu.
- (_stp_pmap_printn_cpu): Change arg to PMAP.
- (_stp_pmap_agg): Change arg to PMAP.
- (_stp_pmap_get_agg): Change arg to PMAP.
-
- * map-stat.c (_stp_pmap_new_hstat_linear): Use PMAP
- instead of MAP. Fix allocations.
- (_stp_pmap_new_hstat_log): Ditto.
-
- * pmap-gen.c Fix all functions to take or return PMAPS
- instead of MAPS.
-
- * alloc.c: Remove everything except kmalloc_node().
- All runtime code now uses kmalloc() directly.
-
-2005-11-30 Martin Hunt <hunt@redhat.com>
-
- * io.c (_stp_exit): To prevent any possible interactions
- with the probed function, just set a flag here.
-
-2005-11-28 Graydon Hoare <graydon@redhat.com>
-
- * stat-common.c (_stp_stat_print_histogram): Various formatting
- corrections and aesthetic tweaks.
- (__stp_stat_add): Correction to linear bucket underflow cases.
-
-2005-11-28 Martin Hunt <hunt@redhat.com>
-
- * alloc.c (__stp_valloc_percpu): Use same code for up and smp.
- (_stp_per_cpu_ptr): New macro.
- * user/alloc.c: Ditto.
- * map.c: Use _stp_map_cpu_ptr().
- * map-stat.c: Ditto.
- * pmap-gen.c: Ditto.
- * runtime.h: Include alloc.c
- * user/runtime.h: Ditto.
-
- * map.c (_stp_pmap_del): Use _stp_free_percpu() to
- free pmaps.
-
- * map-stat.c (_stp_pmap_new_hstat_log): Fix typo. Call
- _stp_pmap_new() instead of _stp_map_new().
-
-2005-11-11 Martin Hunt <hunt@redhat.com>
-
- * map.h: Removed old API macros and prototypes.
-
-2005-11-10 Martin Hunt <hunt@redhat.com>
-
- * pmap-gen.c (_stp_pmap_get()): New function. Aggregates
- the per-cpu map nodes into an aggregation map node.
-
- * map.c (_stp_new_agg): Return a struct map_node *.
- (_stp_add_agg): If count is 0 when adding,
- just set the stats.
-
-2005-11-10 Martin Hunt <hunt@redhat.com>
-
- * map.c: Doc updates.
- (_stp_new_agg):
-
- * pmap-gen.c: Change a bunch of generated function names to
- avoid conflicts with maps with the same key and value types.
-
-2005-11-10 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_cmp): Use _stp_div64().
-
-2005-11-09 Martin Hunt <hunt@redhat.com>
-
- * map.h: Remove HSTAT_LOG and HSTAT_LINEAR.
- * map-gen.c: Fix comment.
- * pmap-gen.c: Ditto.
-
-2005-11-09 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_cmp): Patch to sort on stats.
- (_stp_map_sort): Ditto.
- (_stp_map_sortn): Ditto.
-
-2005-11-09 Martin Hunt <hunt@redhat.com>
-
- * map.c: Change order of includes.
-
-2005-11-09 Martin Hunt <hunt@redhat.com>
-
- * map.h (struct map_root): Delete fields
- used by old API.
-
- * map.c: Remove old map API functions.
- * map-stat.c (_stp_map_add_stat): Delete.
- (_stp_pmap_new_hstat_linear): Move here from map.c.
- (_stp_pmap_new_hstat_log): Ditto.
-
- * list.c: Deleted.
- * map-keys.c: Deleted.
- * map-values.c: Deleted.
- * map-int.c: Deleted.
-
-2005-11-08 Martin Hunt <hunt@redhat.com>
-
- * alloc.c (__stp_valloc_percpu): Fix call to vmalloc_node.
- (vmalloc_node): Remove nonworking code.
-
-2005-11-08 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_map_init): New function. Extracted from _stp_map_new()
- so it can be used in _stp_pmap_new().
- (_stp_map_new): Call _stp_map_init().
- (_stp_pmap_new): New function.
- (_stp_pmap_new_hstat_linear): New function.
- (_stp_pmap_new_hstat_log): New function.
- (_stp_pmap_del): New function.
- (_stp_pmap_printn_cpu): New function.
- (_stp_pmap_printn): New function.
- (_stp_new_agg): New function.
- (_stp_add_agg): New function.
- (_stp_pmap_agg): New function.
- (_new_map_clear_node): New function.
-
- * map.h (struct map_root): Add Hist struct. Add copy
- and cmp function pointers for pmaps.
-
- * stat.h: Remove Stat struct. Replace with Hist struct
- that is limited to only histogram params.
- * map-stat.c: Fix up references to histogram params in map_root.
- * stat-common.c: Ditto.
- * stat.c: Ditto.
-
- * pmap-gen.c: New file. Implements per-cpu maps.
-
- * map-gen.c: Minor bug fixes. Use new VAL_IS_ZERO() macro.
-
- * alloc.c (vmalloc_node): For NUMA, provide a vmalloc that
- does node-local allocations.
- (_stp_alloc_cpu): A version of _stp_alloc() that does
- node-local allocations.
- (_stp_valloc): A version of _stp_valloc() that does
- node-local allocations.
- (__stp_valloc_percpu): New function. Like alloc_percpu()
- except uses _stp_valloc().
- (_stp_vfree_percpu): New function. Like free_percpu().
-
-2005-11-04 Martin Hunt <hunt@redhat.com>
-
- * runtime.h: #include <linux/version.h>.
- (init_module): Remove old ppc comment.
- ifdef _stp_kta so it only gets set for x86 and x86_64.
-
-2005-10-31 Martin Hunt <hunt@redhat.com>
-
- * ALL: Cleanup copyrights.
-
-2005-10-28 Martin Hunt <hunt@redhat.com>
-
- * map-gen.c (MAP_GET_VAL): Use the _stp_get_*() functions.
- (_stp_map_set_*): When setting to "", don't create
- node if key not found.
- (_stp_map_get_*): Use new MAP_GET_VAL. Return "" when
- string lookups not found.
-
- * map.c (_stp_get_int64): Check args and return
- 0 on bad args or wrong type.
- (_stp_get_stat): Ditto.
- (_stp_key_get_int64): Ditto.
- (_stp_get_str): Check args and return
- "bad type" on bad args or wrong type.
- (_stp_key_get_str): Ditto.
- (_new_map_set_str): If setting to "", delete node.
- (_new_map_get_*): Delete. Use _stp_get_*().
-
-
-2005-10-26 Martin Hunt <hunt@redhat.com>
-
- * map-gen.c (KEY4CPY): Fix typo.
- (KEYCPY): Add missing semicolon.
-
-2005-10-26 Martin Hunt <hunt@redhat.com>
-
- * map-gen.c: New file.
-
- * map.c (_new_map_create, _new_map_del_node, _new_map_del_node,
- _new_map_set_int64, _new_map_set_str,_new_map_get_int64,
- _new_map_get_str, _new_map_get_stat, _new_map_set_stat):
- New internal functions for the new API.
-
- * map-int.c (__stp_map_set_int64): Modify to return an
- error code.
- * map-stat.c (_stp_map_add_stat): Ditto.
- * map-str (_stp_map_set_str): Ditto.
-
- * Doxyfile: Remove predefines NEED_STRING_VALS,
- NEED_STATS, NEED_INT64.
- * map-keys.c: Ditto.
- * list.c (_stp_list_new): Ditto. Also set map->list.
- * map-values.c: Ditto.
-
-2005-10-19 Martin Hunt <hunt@redhat.com>
-
- * runtime.h (_stp_kallsyms_lookup_tabled): Only
- compile this for systemtap. Runtime-only examples
- don't need it.
-
-2005-10-19 Tom Zanussi <zanussi@us.ibm.com>
-
- * print.c (_stp_print_flush): Switch to binary TIMESTAMP.
-
-2005-10-14 Tom Zanussi <zanussi@us.ibm.com>
-
- PR 1455
- * string.c (_stp_sprintf): Restore overwritten NULL byte.
- * print.c: Change STP_PRINT_BUF_LEN to correct size.
-
-2005-10-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1332.
- * sym.h: New file to declare explicit symbol table struct.
- * runtime.h (_stp_kallsyms_lookup_tabled): Use it if available.
- * sym.c (_stp_symbol_sprint): HAS_LOOKUP mooted.
-
-2005-09-30 Graydon Hoare <graydon@redhat.com>
-
- * loc2c-runtime.h (_put_user_asm): Fix bracket-matching.
-
-2005-09-23 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_map_sortn): Call _stp_map_sort()
- when n is 0.
-
-2005-09-23 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_cmp): New comparison function for sorts.
- (_stp_swap): New swap function for bubble sort.
- (_stp_map_sortn): New function.
- (_stp_map_sort): New function.
- (_stp_map_printn): New function.
- (_stp_map_print): Convert to a macro.
-
-2005-09-22 Martin Hunt <hunt@redhat.com>
-
- * regs.h: PPC64 version from
- Ananth N Mavinakayanahalli <ananth@in.ibm.com>
-
- * runtime.h (init_module): Only initialize _stp_kta and
- _stp_kallsyms_lookup on i386 and x86_64. Define HAS_LOOKUP.
-
- * sym.c (_stp_symbol_sprint): If HAS_LOOKUP is not
- defined, just print address in hex.
-
- * current.c (_stp_ret_addr): Add ppc64 version.
- (_stp_sprint_regs): PPC64 version from
- Ananth N Mavinakayanahalli <ananth@in.ibm.com>
-
-2005-09-14 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_map_clear): New function. CLears a map but
- does not free it.
-
- * copy.c (__stp_strncpy_from_user): Add ppc64 support.
- (_stp_strncpy_from_user): Call access_ok().
- (_stp_string_from_user): Ditto.
- (_stp_copy_from_user): Ditto.
-
-2005-09-12 Martin Hunt <hunt@redhat.com>
-
- * io.c (ERR_STRING): Remove ansi codes.
- (WARN_STRING): Ditto.
-
-2005-09-12 Martin Hunt <hunt@redhat.com>
-
- * arith.c (_stp_div64): Check for division by 0 or -1 first.
- This simplifies things and removes the possibility of x86_64
- trying LLONG_MIN/-1 and faulting.
- (_stp_mod64): Ditto.
-
-2005-09-10 Frank Ch. Eigler <fche@elastic.org>
-
- * arith.c: Add some comments explaining why the last change works.
-
-2005-09-09 Roland McGrath <roland@redhat.com>
-
- * loc2c-runtime.h [__powerpc__] (store_register): Add #undef.
-
-2005-09-09 Martin Hunt <hunt@redhat.com>
-
- * stat-common.c (_stp_stat_print_valtype): Use _stp_div64().
- * arith.c (_stp_div64): Check error before writing to it.
- Remove check against 32-bit LONG_MIN and -1. That only
- applies to 64-bit.
- (_stp_mod64): Ditto.
-
-2005-09-08 Martin Hunt <hunt@redhat.com>
-
- * arith.c (_stp_div64): Check for overflow.
- (_stp_mod64): Ditto.
-
-2005-09-08 Martin Hunt <hunt@redhat.com>
-
- * arith.c (_stp_div64): For 64-bit cpus, just use native
- division. Otherwise call _div64().
- (_stp_mod64): Call _mod64() isf necessary.
- (_div64): 64-bit division for 32-bit cpus.
- (_mod64): 64-bit modulo for 32-bit cpus.
-
- * map-values.c (_stp_map_entry_exists): Remove unused var.
-
-2005-09-01 Martin Hunt <hunt@redhat.com>
-
- * stack.c (_stp_stack_sprint): Add a verbose arg
- to pass along to underlying funcs.
-
-2005-08-31 Martin Hunt <hunt@redhat.com>
-
- * runtime.h (init_module): Include full prototype
- info in function cast to satisfy stap.
-
- * sym.c (_stp_kallsyms_lookup): Moved to runtime.h.
- * stack.c (_stp_kta): Moved to runtime.h.
- * runtime.h (init_module): Initialize _stp_kallsyms_lookup
- and _stp_kta.
- * probes.c (_stp_lookup_name): Replaced by kallsyms_lookup_name().
- * list.c (_stp_copy_argv_from_user): ifdef this function
- NEED_STRING_VALS.
-
-2005-08-30 Roland McGrath <roland@redhat.com>
-
- * loc2c-runtime.h (fetch_register, store_register): Rewritten to pass
- REGS to dwarf_register_<N> as a macro argument.
- [__i386__, __x86_64__]: Update dwarf_register_* macros.
- [__i386__] (dwarf_register_4): Define special case for stack pointer.
-
-2005-08-29 Martin Hunt <hunt@redhat.com>
-
- * list.c (_stp_copy_argv_from_user): Move to here.
- * copy.c (_stp_copy_argv_from_user): Delete.
- * runtime.h: Always include copy.h.
-
-2005-08-25 Roland McGrath <roland@redhat.com>
-
- * loc2c-runtime.h (deref_string): Rewritten using deref.
-
-2005-08-24 Roland McGrath <roland@redhat.com>
-
- * loc2c-runtime.h (deref_string): New macro.
-
-2005-08-24 Martin Hunt <hunt@redhat.com>
-
- * io.c (_stp_vlog): Send warnings and errors to STP_OOB_DATA.
-
-2005-08-23 Martin Hunt <hunt@redhat.com>
-
- * runtime.h: Add a prototype for _stp_dbug().
-
-2005-08-22 Martin Hunt <hunt@redhat.com>
-
- * runtime.h (kbug): New dbug macros that calls printk.
-
-2005-08-21 Frank Ch. Eigler <fche@redhat.com>
-
- * arith.c (*): Adapt to last_error context variable.
-
-2005-08-19 Frank Ch. Eigler <fche@elastic.org>
-
- * arith.c (_stp_random_pm): New function.
-
-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.
-
-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.
-
-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.
-
-2005-08-10 Roland McGrath <roland@redhat.com>
-
- * loc2c-runtime.h (store_bitfield): Fix argument use.
- (store_deref): New macro (three flavors).
-
-2005-08-03 Martin Hunt <hunt@redhat.com>
-
- * io.c (_stp_vlog): Revert previous change for now.
- * print.c (_stp_print_flush): Ditto.
-
-2005-08-03 Tom Zanussi <trz@us.ibm.com>
-
- * io.c (_stp_vlog): Remove call to _stp_print_flush().
- * print.c (_stp_print_flush): _stp_warn() on first
- transport failure.
-
-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().
-
-2005-07-28 Graydon Hoare <graydon@redhat.com>
-
- * loc2c-runtime.h: New file from elfutils CVS.
-
-2005-07-20 Martin Hunt <hunt@redhat.com>
-
- * io.c (_stp_vlog): Don't count transport failures for
- these messages.
-
-2005-07-19 Martin Hunt <hunt@redhat.com>
-
- * print.c (_stp_print_flush): Check return value and increment
- transport failures.
-
-2005-07-14 Frank Ch. Eigler <fche@redhat.com>
-
- * builtin_functions.h (printk): Use explicit format string.
-
-2005-07-11 Graydon Hoare <graydon@redhat.com>
-
- * builtin_functions.h: New file.
-
-2005-07-10 Martin Hunt <hunt@redhat.com>
-
- * runtime.h (init_module): Fix return value.
-
-2005-07-08 Martin Hunt <hunt@redhat.com>
-
- * runtime.h: Move some common pieces of modules into this file.
- Includes MODULE_LICENSE, cleanup_module and init_module.
-
- * print.c (_stp_print_flush): Rename "t" to "_stp_tport".
-
- * io.c (_stp_vlog): Ditto.
-
-2005-07-01 Martin Hunt <hunt@redhat.com>
-
- * string.c (_stp_string_init): CAll stp_error() on bad
- init.
-
- * list.c (_stp_list_clear): Call _stp_warn().
-
- * probes.c: Convert all _stp_log() calls to either stp_warn() or
- dbug().
-
- * print.c: Comment out dbug()s.
-
- * stat-common.c: Comment out dbug()s.
-
- * map.c (_stp_map_new): Call _stp_error() on a bad map type.
- Comment out dbug()s.
-
- * map-stat.c (_stp_map_new_hstat_log): Call _stp_warn().
- (_stp_map_new_hstat_linear): Ditto.
-
- * map-int.c: Comment out dbug()s.
-
- * map-str.c: Comment out dbug()s.
-
- * map-keys.c: Use _stp_warn(). Comment out dbug()s.
-
- * alloc.c (_stp_alloc): Call _stp_error().
- (_stp_valloc): Ditto.
-
- * io.c (_stp_warn): New function.
- (_stp_exit): New function.
- (_stp_error): New function.
- (_stp_dbug): New function.
-
- * runtime.h (dbug): Call _stp_dbug() if DEBUG is defined.
-
-2005-06-29 Martin Hunt <hunt@redhat.com>
-
- * map-values.c (_stp_map_add_int64): Fix docs.
- * map-str.c: Fix some docs
- * map.c: Ditto.
- * map.doc: Ditto.
-
- * current.c (_stp_ret_addr_r): New function.
- (_stp_probe_addr): New function.
- (_stp_probe_addr_r): New function.
-
-2005-06-27 Martin Hunt <hunt@redhat.com>
-
- * Doxyfile (PREDEFINED): Added USE_RET_PROBES.
-
- * probes.c (_stp_register_kretprobes): New function.
- (_stp_unregister_kretprobes): New function.
-
-2005-06-20 Tom Zanussi <zanussi@us.ibm.com>
-
- * print.c: Made relayfs _stp_print_flush() use sequence counter.
-
- * runtime.h: Added sequence counter, moved subbuf_size etc to probes.
-
-2005-06-18 Martin Hunt <hunt@redhat.com>
-
- * counter.c: New file. Counter aggregations.
-
- * stat.c: New file. Stat aggregations.
-
- * stat.h: Header file for stats.
-
- * map-int.c: New file. Support for int64 values.
-
- * map-stat.c: New file. Support for stat values.
-
- * map-str.c: New file. Support for string values.
-
- * map-values.c: Now just includes the necessary map-*.c files.
-
- * stat-common.c: New file. Stats stuff common to Stats and maps
- containing stats.
-
- * Doxyfile: Bumped version to 0.6.
-
- * README: Renamed README.doc and reorganized.
-
-
-2005-06-15 Martin Hunt <hunt@redhat.com>
-
- * current.c (_stp_ret_addr): Fix computation for i386.
-
-2005-06-14 Martin Hunt <hunt@redhat.com>
-
- * README: Removed old docs and replaced with simple build
- instructions.
-
- * Makefile: New file.
-
- * probes/build: New file.
-
-2005-06-13 Martin Hunt <hunt@redhat.com>
-
- * print.c (next_fmt): Move this func to print.c.
-
-2005-06-02 Martin Hunt <hunt@redhat.com>
-
- * string.c (_stp_string_cat_cstr): Be sure result is
- always terminated.
-
- * print.c (_stp_vprintf): Fix typo.
-
-2005-05-31 Martin Hunt <hunt@redhat.com>
-
- * map.c (_stp_map_print): Now takes a format string instead of a name.
-
- * map.h (foreach): Update macro.
-
- * string.c (_stp_string_cat_char): New function. Append a char
- to a string.
-
- * map-keys.c: Don't forget to undef KEYSYM, ALLKEYS and ALLKEYSD.
-
-2005-05-26 Martin Hunt <hunt@redhat.com>
-
- * current.c (_stp_sprint_regs): Implement for i386.
-
- * sym.c (_stp_symbol_sprint): Check name before trying to
- print it.
- (_stp_symbol_print): Change to macro that calls _stp_symbol_sprint().
-
-2005-05-18 Martin Hunt <hunt@redhat.com>
-
- * print.c: All functions except _stp_print_flush() are
- now macros which use _stp_stdout.
-
- * string.c: Add _stp_stdout support. Data written to
- _stp_stdout is automatically flushed when the print buffer
- is full.
-
- * runtime.h: Always include string.c.
-
-2005-05-17 Martin Hunt <hunt@redhat.com>
-
- * map.c (needed_space): Use do_div().
- (_stp_map_print_histogram): Ditto.
- (_stp_map_print): Ditto.
-
- * map-values.c (_stp_map_add_int64_stat): Use do_div() when
- computing histogram bucket.
-
- * map-keys.c (_stp_map_key): Fix some warnings on 32-bit machines
- by using key_data casts.
-
-2005-03-30 Martin Hunt <hunt@redhat.com>
-
- * scbuf.c: Make functions use per-cpu buffers as documented.
- _stp_scbuf_clear(): Now returns a pointer to the buffer.
diff --git a/runtime/staprun/ChangeLog b/runtime/staprun/ChangeLog
deleted file mode 100644
index 4a483b3e..00000000
--- a/runtime/staprun/ChangeLog
+++ /dev/null
@@ -1,910 +0,0 @@
-2009-01-28 David Smith <dsmith@redhat.com>
-
- PR9788
- * mainloop.c (cleanup_and_exit): Added workaround for bug 9788 by
- fork'ing/exec'ing staprun.
-
-2008-01-11 Mark Wielaard <mjw@redhat.com>
-
- * staprun.h: include config.h for dependency.
-
-2008-12-08 Frank Ch. Eigler <fche@elastic.org>
-
- PR7062
- * staprun.c (enable_uprobes): Find uprobes.ko based on
- SYSTEMTAP_RUNTIME.
- (main): Unset SYSTEMTAP_* environment vars if setuid.
-
-2008-12-03 Roland McGrath <roland@redhat.com>
-
- PR7063
- * staprun.c (main): Use $SYSTEMTAP_STAPIO instead of hard-coded path.
- Remove SYSTEMTAP_STAPRUN and SYSTEMTAP_STAPIO
- environment variables when setuid is in effect.
- * mainloop.c (cleanup_and_exit): Use $SYSTEMTAP_STAPRUN to re-exec,
- not hard-coded path.
-
-2008-12-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR6925
- * staprun (init_staprun): If a stap_* module load fails, try
- to unload possible leftover, and try again.
-
-2008-11-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR4783
- * staprun.c (remove_module): Don't reset with setpriority(0),
- as we never set it to high-priority any more anyway.
- * mainloop.c (system_cmd): Ditto.
-
-2008-11-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR6964 redux.
- * mainloop (WORKAROUND_BZ467568): New macro to control
- behavior.
- (start_cmd, stp_main_loop): Use signal/pause-based
- synchronization as a fallback for rhbz 467568.
-
-2008-10-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR6964, from Wenji Huang <wenji.huang@oracle.com>:
- * mainloop.c (start_cmd, stp_main_loop): Temporarily
- disable ptrace calls.
-
-2008-10-15 Frank Ch. Eigler <fche@elastic.org>
-
- * mainloop.c (start_cmd): Fix wordexp error handling.
-
-2008-09-18 David Smith <dsmith@redhat.com>
-
- PR 6903.
- * staprun_funcs.c (check_permissions): Instead of checking the
- effective uid, check the real uid for root permissions.
-
-2008-09-06 Frank Ch. Eigler <fche@elastic.org>
-
- * mainloop.c (start_cmd): Rewrite to use wordexp/execvp/ptrace.
- (stp_main_loop): Use ptrace detach to resume target process.
-
-2008-09-05 Frank Ch. Eigler <fche@elastic.org>
-
- * staprun.c (run_as): Teach it to exec too. Update callers.
- Always do set[ug]id as dictated.
- * staprun.h (do_cap): Remove. Update all callers.
- * staprun_funcs.c: Ditto.
- * cap.c: Removed. Update headers.
-
-2008-07-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6736.
- * common.c (send_request): Move here ...
- * mainloop.c: from here.
- * staprun.c (send_relocations): New function to send kernel
- and module relocation bases to probe module.
- * staprun.h: Corresponding changes.
-
-2008-06-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6429.
- * mainloop.c (stp_main_loop): Remove STP_UNWIND message support.
-
-2008-05-05 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (child_proc): Handle sig_chld
- in the proper thread.
- (signal_thread): Don't call send_request()
- because it isn't thread-safe.
-
-2008-05-05 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (signal_thread): New thread to handle signals
- better.
- (setup_main_signals): Create signal thread.
-
-2008-04-30 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 6008
- * common.c (parse_args): Increase the limitation of the buffer size
- to 4095MB.
- * common.c (usage): Ditto.
-
-2008-04-30 Masami Hiramatsu <mhiramat@redhat.com>
-
- * stapio.c (main): Fix a typo in a debug message.
- * staprun.c (main): Ditto.
-
-2008-04-24 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6451.
- * common.c (control_channel): Initialize to -1.
- * ctl.c (close_ctl_channel): Tolerate fd=0.
-
-2008-04-22 Martin Hunt <hunt@redhat.com>
-
- * cap.c (init_cap): Detect capabilities failure and
- run with them disabled.
-
-2008-04-22 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (send_request): Move here from common.c
- staprun no longer send any messages.
-
-2008-04-22 hunt <hunt@redhat.com>
-
- * common.c (usage): Add -d option.
-
-2008-04-21 Martin Hunt <hunt@redhat.com>
-
- * staprun.c, stapio.c, staprun.h, mainloop.c, staprun_funcs.c,
- ctl.c, common.c: Add "-d" option to have staprun remove
- modules. Have staprun exec stapio and then have stapio
- exec "staprun -d" to remove the module when finished.
-
-2008-04-16 Martin Hunt <hunt@redhat.com>
-
- * ctl.c (init_ctl_channel): Remove unused parameter.
- Just opens one channel now.
-
-2008-02-21 David Smith <dsmith@redhat.com>
-
- * staprun_funcs.c (check_path): Small security fix.
-
-2008-01-21 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (send_module): Simplify and use new send_data()
- function to keep longword alignment.
-
-2008-01-14 Martin Hunt <hunt@redhat.com>
-
- PR4037 and fixes to better synchronize staprun and stapio.
- * symbols.c (send_data): Send header and data seperately, saving
- a memcpy and avoiding any alignment issues.
- (get_sections): Return -1 on error instead of just exiting
- and leaving stapio hanging. Send data in proper format even if kernel
- pointers are different size.
- (send_module): Return -1 on error instead of just exiting
- and leaving stapio hanging.
- (do_module): Ditto.
- (compar): Removed.
- (do_kernel_symbols): Rewrite to be more robust. Return -1 on
- error instead of just exiting and leaving stapio hanging.
-
- * staprun_funcs.c (handle_symbols): Signal stapio if we error out.
- Set kernel_ptr_size;
-
- * staprun.h (kernel_ptr_size): Declare.
-
- * mainloop.c (stp_main_loop): When ready, send STP_READY.
-
-2008-01-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5603 horrible hack.
- * symbols.c (do_kernel_symbols): Make buf[256] instead of [128].
-
-2007-12-11 Martin Hunt <hunt@redhat.com>
- PR5368
- * relay_old.c (init_oldrelayfs): Don't start threads
- if load_only.
- * relay.c (init_relayfs): Ditto.
-
-2007-11-09 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (stp_main_loop): Bump recvbuf to 8196 for
- compatibility with old transport.
-
-2007-10-26 Martin Hunt <hunt@redhat.com>
- PR5218
- * stapio.c (main): Set initialized properly when
- attached.
-
-2007-10-12 Martin Hunt <hunt@redhat.com>
- Changes to separate the symbols from the command channel.
-
- * cap.c (init_cap): Add CAP_DAC_OVERRIDE.
- * staprun.h: Change init_ctl_channel prototype.
- * ctl.c (init_ctl_channel): Modify to open either
- a command or symbol channel. Use ".cmd" and ".symbols"
- as the new names.
- * mainloop.c (init_stapio): Call init_ctl_channel(0);
- * staprun.c (cleanup): Call stop_symbol_thread().
- (main): Call start_symbol_thread().
- * staprun_funcs.c (handle_symbols): Make a thread.
- (start_symbol_thread): New.
- (stop_symbol_thread): New.
-
-2007-10-11 Frank Ch. Eigler <fche@elastic.org>
-
- * staprun.c (main): Move checks for init_cap and getuid
- from just before command line argument parsing to just after.
-
-2007-10-09 Martin Hunt <hunt@redhat.com>
-
- * common.c (set_clexec): New.
- * staprun.h: Add prototype for set_clexec.
- * relay*.c, ctl.c: Call set_clexec after
- file opens.
-
-2007-09-14 Martin Hunt <hunt@redhat.com>
-
- * ctl.c (init_ctl_channel): Return 1 if the ctl file opened
- was for the old relayfs transport.
-
- * mainloop.c (init_stapio): Don't call using_old_transport().
- Use the return of init_ctl_channel() instead.
- (using_old_transport): Deleted.
-
-2007-08-31 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (start_cmd): Set the priority to
- forked processes back to normal.
- (system_cmd): Ditto.
-
-2007-08-21 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (start_cmd): Send SIGINT to target_cmd,
- not stapio.
-
-2007-08-20 David Smith <dsmith@redhat.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * common.c (parse_args): Make sure the '-c' and '-x' options can't
- be specified together.
-
-2007-08-15 David Smith <dsmith@redhat.com>
-
- * staprun.c (main): Quit if effective uid is not root.
-
-2007-08-15 Martin Hunt <hunt@redhat.com>
- PR4736
- * staprun.c (cleanup): Set priority back to normal
- before removing module.
-
-2007-08-15 Martin Hunt <hunt@redhat.com>
-
- * stap_merge.tcl: New.
-
-2007-08-14 David Smith <dsmith@redhat.com>
-
- Merge from setuid-branch. Changes also by Martin Hunt
- <hunt@redhat.com>.
-
- * staprun.c (init_staprun): Drop CAP_SYS_ADMIN when we're done
- with it.
- (main): Calls parse_modpath instead of path_parse_modname. Just
- call parse_modpath with argv[optind]. Let it allocate and set
- modpath and modname. If no modulename was given, display usage
- and exit. Drop CAP_SYS_NICE when we're done with it. Set
- atexit(exit_cleanup) so cleanup always gets called and modules get
- removed. Call handle_symbols.
- (run_stapio): Set argv[0] to stapio so that it executes as itself
- instead of staprun.
- (cleanup): Only do cleanups once and only try to remove module
- when appropriate.
- (exit_cleanup): New. Calls cleanup().
- (mountfs): Sets uid to root before making directory and then
- restores uid.
- (setup_ctl_channel): Uses DEBUGFS define and improved
- error message.
- (setup_relayfs): Ditto.
- (setup_oldrelayfs): Uses DEBUGFS and RELAYFS defines.
- (run_stp_check): Replaced by mountfs().
- (mountfs): New function. Replaces an external script with C code.
- (init_staprun): Calls mountfs() instead of run_stp_check().
-
- * staprun.h: Renamed path_parse_modname to parse_modpath. Added
- MODULE_NAME_LEN define. Added [_][p]err macros. Removed
- VERSION_CMD.
-
- * mainloop.c (cleanup_and_exit): Make sure initialized is 2
- before exiting with code 2.
- (stp_main_loop): Set initialized to 2 when STP_TRANSPORT
- is received. Call cleanup_and_exit() with proper status.
- (start_cmd): exit 1 instead of -1.
- (system_cmd): Ditto.
- (init_staprun): Renamed init_stapio.
- (cleanup_and_exit): Set exit status.
-
- * cap.c: New file.
- * common.c: New file.
- * stapio.c: New file.
- * staprun_funcs.c: New file.
- * Makefile: Removed.
-
- * symbols.c (get_sections): Move the filter code up so that
- uninteresting section names are filtered out before
- attempting to open them.
- (do_kernel_symbols): Better detect overfow conditions and realloc
- new space.
- (do_module): After sending all modules, send a null message to
- indicate we are finished.
-
- * ctl.c (init_ctl_channel): When attempting to attach, if the
- control channel doesn't exist, print a better error message.
-
- * relay_old.c (init_oldrelayfs): Errors out if
- open_relayfs_files() couldn't open any files.
-
- PR 4795
- * mainloop.c (send_request): Fixed buffer overflow check.
- * staprun.h: Added buffer overflow checking versions of
- strcpy/sprintf/snprintf.
- * common.c (path_parse_modname): Checks for overflows on
- strcpy/sprintf/snprintf.
- (read_buffer_info): Ditto.
- * ctl.c (init_ctl_channel): Ditto.
- * relay.c (init_relayfs): Ditto.
- * relay_old.c (open_relayfs_files): Ditto.
- (init_oldrelayfs): Ditto.
- * staprun_funcs.c (insert_module): Ditto.
- (check_path): Ditto.
- * symbols.c (get_sections): Ditto.
-
-2007-07-09 David Smith <dsmith@redhat.com>
-
- * relay.c (init_relayfs): Fixed a buffer size bug introduced by
- the last change.
-
-2007-07-09 David Smith <dsmith@redhat.com>
-
- * relay.c (init_relayfs): Make sure buffers are big enough to hold
- a full path.
- * relay_old.c (init_oldrelayfs): Ditto.
-
-2007-07-09 David Smith <dsmith@redhat.com>
-
- * ctl.c (read_buffer_info): Make sure buffer is big enough to hold
- a full path.
- (init_ctl_channel): Ditto.
-
-2007-07-02 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (get_sections): Set data pointer to the lowest address
- of any data section.
-
-2007-06-21 Martin Hunt <hunt@redhat.com>
-
- * relay.c (init_relayfs): Send message to check for bulkmode.
-
-2007-06-20 Martin Hunt <hunt@redhat.com>
-
- * stap_merge.c (main): Add verbose option. Will realloc
- buffer if current size is too small. Check return codes
- from writes so gcc won't complain.
-
-2007-06-07 Martin Hunt <hunt@redhat.com>
-
- * relay_old.c (open_relayfs_files): Add support for
- output file names (-o) with bulk (relayfs) mode.
-
-2007-06-04 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (cleanup_and_exit): Disable signals
- while exiting.
- (fatal_handler): Use return values from write() to
- avoid warnings.
-
-2007-05-24 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (cleanup_and_exit): Fix typo.
-
-2007-05-22 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (init_staprun): Change dbug() call.
-
- * relay.c: Fix ppoll() call and some race conditions involving
- signals.
-
-2007-05-10 Martin Hunt <hunt@redhat.com>
-
- * relay.c (reader_thread): Set timeout for streaming to
- 200ms.
-
-2007-05-09 Martin Hunt <hunt@redhat.com>
-
- * relay.c (reader_thread): For bulk mode, set timeout to NULL
- so ppoll never times out.
-
-2007-05-08 Martin Hunt <hunt@redhat.com>
-
- * relay.c (ppoll): Add a compatibility function for
- glibc < 2.4.
-
-2007-05-08 Martin Hunt <hunt@redhat.com>
- Signal handler cleanup.
- * mainloop.c (fatal_handler): New. Cleanly handle
- unexpected fatal signals.
- (setup_main_signals): New. Set signals once mainloop
- is entered.
- (setup_signals): New. Block certain signals during initialization.
- Set handler for fatal signals.
- * relay.c (reader_thread): Use ppoll(). Terminate on
- SIGUSR2 after reading any remaining data.
- (close_relayfs): Remove sleep hack. Send SIGUSR2 to all threads.
-
- Runtime debug messages.
- * staprun.h: Change dbug() to accept a debuglevel and
- enable it.
- * *.c: Modify dbug() calls.
-
-2007-05-07 Martin Hunt <hunt@redhat.com>
- Patch from David Smith
- * mainloop.c (stp_main_loop): Properly handle write()
- return value. Fixes build problem with some compilers.
-
-2007-04-10 Martin Hunt <hunt@redhat.com>
-
- * relay.c (close_relayfs): Give threads some time to
- run before closing.
-
-2007-04-06 Martin Hunt <hunt@redhat.com>
-
- * stp_merge.c (main): Remove extra newline in output.
- * stap_merge.c: Renamed from stp_merge.c.
- * Makefile: Updated.
-
-2007-04-02 Martin Hunt <hunt@redhat.com>
-
- * relay_old.c (close_oldrelayfs): If just detaching, call
- pthread_cancel.
- (open_relayfs_files): Just return 0 if relay_fd[cpu] not opened.
- (init_oldrelayfs): Scan percpu files to calculate ncpus.
-
- * mainloop.c (init_staprun): Call old transport init when necessary.
- (cleanup_and_exit): Ignore signals when cleaning up.
-
- * ctl.c (read_buffer_info): For old transport, need to read transport
- parameters.
-
-2007-03-26 Martin Hunt <hunt@redhat.com>
-
- * mainloop.c (run_stp_check): Just use system() call.
- (init_staprun): Remove _stp_pid module parameter.
- (cleanup_and_exit): If closed==2, just exit without removing module.
- (driver_poll): Remove. We no longer require stap running.
- (_stp_main_loop): Remove call to driver_poll.
-
- * ctl.c (init_ctl_channel): Don't put files in systemtap_pid,
- revert back to systemtap/modulename.
-
- * relay.c: Revert back to systemtap/modulename paths.
- * relay_old.c: Ditto.
-
- * staprun.c: Add -L and -A args.
-
-2007-03-20 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (send_module): If send returns < 0 then
- cleanup and exit.
- (do_kernel_symbols): Ditto.
-
-2007-03-18 Martin Hunt <hunt@redhat.com>
- * staprun.h (err): Define.
- * symbols.c (get_sections): More overflow checking.
-
-2007-03-18 Martin Hunt <hunt@redhat.com>
- * symbols.c (get_sections): Filter out .gnu.linkonce.* sections
- except for .gnu.linkonce.this_module.
-
-2007-03-18 Martin Hunt <hunt@redhat.com>
- * staprun.h (VERSION_CMD): Command to use for version check.
- Changes to support runtime decision on new or old transport.
- * mainloop.c (init_staprun): Check the kernel version at runtime
- instead of at compile time.
- (cleanup_and_exit): Call the correct relayfs close function.
- (stp_main_loop): Call the correct relayfs init function.
- * relay.c: Remove ifdef wrapper. File is always compiled and used
- if the kernel version is appropriate.
- * relay_old.c: Ditto.
-
-2007-03-14 Martin Hunt <hunt@redhat.com>
-
- * staprun.c: Renamed from stpd.c. Removed quiet and print_only
- options. Added "-x" option as an alias for "-t". Removed "-m"
- option. Updated arg processing to leave 4 slots for modoptions[].
- Bump the priority of staprun.
- * ctl.c: New. Transport control channel functions.
- * relay.c: New. Relayfs control functions for new transport.
- * relay_old.c: New. Relayfs control functions for older
- versions of relayfs.
- * mainloop.c: New. Staprun main loop.
- * staprun.h: Renamed from librelay.h. Cleaned up.
-
- * stap_merge.c: Renamed. Updated for modified save format.
-
-
-2006-12-11 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (get_sections): Set buffer sizes to large enough
- sizes to hold all possible values, but also include checks in case
- we are wrong.
-
-2006-11-15 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (do_kernel_symbols): Add sizeof(long) to sym_base
- to preserve 64-bit alignment.
-
-2006-11-09 Martin Hunt <hunt@redhat.com>
-
- * librelay.c: Change all references to transport messages
- to use the new names with "_stp" prefix.
- (stp_main_loop): For STP_SYMBOLS, check pointer size and
- endianess to confirm staprun is compatible with the kernel.
-
- * librelay.h: Move a bunch of common includes here.
- * stpd.c: Cleanup includes.
- * symbols.c: Ditto.
-
-2006-11-02 Martin Hunt <hunt@redhat.com>
-
- * symbols.c: New file. Sends symbol and module information to
- the systemtap module.
-
- * librelay.c (stp_main_loop): Add STP_MODULE and STP_SYMBOLS
- message handling.
-
- * librelay.h: Add some new function prototypes.
-
- * Makefile (CFLAGS): Set to be the same as for building modules.
- Added symbols.c to sources.
-
-2006-10-10 Tom Zanussi <zanussi@us.ibm.com>
-
- * librelay.c (merge_output): Add check for min when writing
- output, otherwise last write happens twice.
-
-2006-09-26 David Smith <dsmith@redhat.com>
-
- * Makefile: Changed 'stpd' references to 'staprun'.
- * librelay.c: Ditto.
- * stpd.c: Ditto.
-
-2006-09-25 Tom Zanussi <zanussi@us.ibm.com>
-
- * librelay.c (kill_percpu_threads): Remove printf.
- (wait_for_percpu_threads): New.
- (process_subbufs): Remove processing, processing_mutex, exit
- thread if exiting flag set.
- (read_last_buffers): Removed.
- (cleanup_and_exit): Remove call to read_last_buffers, wait for
- threads to read flushed buffers instead.
- (stp_main_loop): Remove mutex init.
-
-2006-09-22 Tom Zanussi <zanussi@us.ibm.com>
-
- * librelay.c (init_relayfs): Cleanup if stp_check fails.
-
-2006-09-19 Tom Zanussi <zanussi@us.ibm.com>
-
- * librelay.c (init_relayfs): Add debugfs path to relay files and
- add new systemtap directory to path.
- (init_stp): rmmod module on failure.
- (merge_output): Remove debugging printfs left in code.
- (close_relay_files): Clear relay_file descriptor after close.
- (cleanup_and_exit): Allow cleanup and exit even if there was an
- error opening relay files.
- (stp_main_loop): Call cleanup_and_exit() if init_relayfs() fails.
-
-2006-09-18 Martin Hunt <hunt@redhat.com>
-
- * stpd.c (usage): Remove "-m" option.
- (main): Print warning if "-m" is used.
- * librelay.c (merge_output): Rewrite to handle
- new format that support binary.
- (stp_main_loop): Read merge option from the
- transport info message.
-
-2006-09-13 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (init_relayfs): Exec stp_check and find
- relay_filebase.
-
- * librelay.h (stp_main_loop): Fix declaration of init_stp().
-
- * stpd.c (usage): Remove "-r" option.
- (main): Don't find stpd_filebase and don't send it to init_stp().
-
-
-2006-08-02 Tom Zanussi <zanussi@us.ibm.com>
-
- * stpd.c (main): Use modname rather than driver_pid in
- stpd_filebase.
-
-2006-07-20 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (stp_main_loop): If module doesn't start, kill any
- target command.
-
-2006-06-23 Tom Zanussi <zanussi@us.ibm.com>
-
- * librelay.c (cleanup_and_exit): Close relay files even if
- not merging.
-
-2006-06-13 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (start_cmd): Rewrite using sigwait() to eliminate
- a race.
-
-2006-05-18 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (stp_main_loop): Set output to always be line
- buffered.
-
-2006-04-08 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (stp_main_loop): Write with fwrite() instead
- of fputs() so we can write binary data.
-
-2006-04-05 Martin Hunt <hunt@redhat.com>
- * librelay.c (merge_output): Remove ANSI codes and write
- warning to stderr.
-
-2006-04-05 Martin Hunt <hunt@redhat.com>
- * librelay.c (merge_output): Set the output filename if necessary.
- (merge_output):
-
- * stpd.c (main): Don't reset output_filename just because
- relayfs is possible. Move that code to librelay.c.
-
-2006-04-04 Roland McGrath <roland@redhat.com>
-
- * stpd.c (main): Cast f_type when comparing; type differs by machine.
-
-2006-04-04 Tom Zanussi <zanussi@us.ibm.com>
-
- * stpd.c (main): Check that /mnt/relay is actually relayfs.
-
-2006-03-15 Tom Zanussi <zanussi@us.ibm.com>
-
- * stpd.c (main): Add runtime check for relayfs vs relay-on-proc.
-
-2006-03-06 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (start_cmd): Set proper uid/gid before execing
- command.
- (system_cmd): New function.
- (cleanup_and_exit): Wait for any child processes to complete.
- (stp_main_loop): Recognize STP_SYSTEM message.
-
- * stpd.c (main): Add support for "-u username".
-
-2006-02-25 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (init_stp): Better error handling and cleanup.
-
-2006-02-23 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1304
- * stpd.c (mdooptions): New array.
- (main): Populate it with leftover arguments.
- * librelay.c (init_stp): Pass it to execve().
-
-2005-12-08 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1937
- * stpd.c (main): Support new "-d" option.
- (usage): Document it.
- * librelay.c (driver_poll): New function to react to death of
- driver process.
- (stp_main_loop): Call it if "-d PID" given. Treat SIGHUP like others.
-
-2005-10-19 Tom Zanussi <zanussi@us.ibm.com>
-
- * librelay.c: Move output_file var to stpd.c.
- (stp_main_loop): If the output_file option was specified,
- and streaming mode is being used, send output to the file
- instead of stdout. If !streaming, send output to the file
- instead of probe.out.
- * stpd.c (usage): Add comment for -o option.
- (main): Add -o option.
-
-2005-10-19 Tom Zanussi <zanussi@us.ibm.com>
-
- * librelay.c (merge_output): Switch to binary TIMESTAMP.
- * stp_dump.c (main): Switch to binary TIMESTAMP.
- * stp_merge.c (main): Switch to binary TIMESTAMP.
-
-2005-10-14 Tom Zanussi <zanussi@us.ibm.com>
-
- PR 1476
- * librelay.c: Add flag for buffer processing.
- (reader_thread): Disable/enable cancel state around buffer
- processing, and update flag to show we're busy processing.
- (cleanup_and_exit): Wait for any threads busy processing.
- (stp_main_loop): Initialize processing mutex.
-
-2005-09-06 Martin Hunt <hunt@redhat.com>
-
- * librelay.c: Remove all USE_PROCFS ifdefs.
- (sig_usr): Signal handler for SIGUSR1.
- (start_cmd): New function to handle "-c" option, forks()
- off a new process then waits for SIGUSR1 to exec it.
- (init_stp): Call start_cmd().
- (stp_main_loop): Set a signal handler for SIGCHLD.
-
- * stpd.c (main): Add "-t" and "-c" options.
- (usage): Update with new options.
-
-2005-08-29 Martin Hunt <hunt@redhat.com>
-
- * stpd.c main): Add enable_relayfs flag.
- Turn it off with "-r".
-
-2005-08-24 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (sigproc): Removed the "Exiting..."
- message for now.
-
-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.
-
-2005-08-23 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (merge_output): Don't add an extra \n.
-
-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.
-
-2005-08-22 Martin Hunt <hunt@redhat.com>
-
- * Makefile (debug): Add debug target.
- * librelay.h (dbug): Define.
- * librelay.c: Enable some dbug lines.
-
-2005-08-19 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (reader_thread): Check the return value for write().
-
-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.
-
-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.
-
-2005-08-03 Tom Zanussi <trz@us.ibm.com>
-
- * librelay.c: Track subbuf info requests/replies
- so we know unequivocally when it's ok to do final
- processing.
- (reader_thread): Remove buffer-full warning.
-
-2005-08-03 Martin Hunt <hunt@redhat.com>
- * librelay.c (init_stp): Change variable name to eliminate shadow warning.
-
-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.
-
-2005-08-01 Frank Ch. Eigler <fche@redhat.com>
-
- * librelay.c: Correct fwrite api usage.
- * all: Correct copyright holder name.
-
-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.
-
-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.
-
-2005-07-18 Martin Hunt <hunt@redhat.com>
-
- * stp_merge.c (main): Fix dropped count calculation.
-
-2005-07-14 Tom Zanussi <zanussi@us.ibm.com>
-
- * librelay.c (reader_thread): Add missing pthread_mutex_lock
-
-2005-07-14 Frank Ch. Eigler <fche@redhat.com>
-
- * stpd.c (main): Pass !quiet mode to init_stp().
- * librelay.c (init_relayfs): Be quiet if !print_totals.
-
-2005-07-13 Martin Hunt <hunt@redhat.com>
-
- * stpd.c (usage): Fix usage string.
-
- * librelay.c (init_stp): Change last arg to NULL, not 0.
-
-2005-07-08 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (sigchld): Signal handler to detect
- completion of module loading.
- (init_stp): Use fork/exec instead of system() so
- we can get async signal of module load success/failure.
- (cleanup_and_exit): New function.
- (sigproc): If module is not loaded, don't send message to it.
- (stp_main_loop): Call cleanup_and_exit() when STP_EXIT
- is received. Don't send a request for the transport
- mode. The module will send notification to the daemon
- when it is ready.
-
- * stpd.c (main): Don't print message until module
- is loaded.
-
-2005-07-01 Martin Hunt <hunt@redhat.com>
-
- * librelay.c: Removed the color coding of cpu output.
-
-2005-06-28 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (merge_output): Use unlocked stdio
- to improve speed.
-
- * stp_merge.c: New file.
-
- * Makefile: Add stp_merge.
-
-2005-06-27 Martin Hunt <hunt@redhat.com>
-
- * stpd.c (main): Add new command line arg, "-m"
- to disable the per-cpu merging.
-
- * librelay.c (merge_output): Replacement for sort_output().
- Efficiently merges per-cpu streams.
-
-
-2005-06-20 Tom Zanussi <zanussi@us.ibm.com>
-
- * librelay.c: Large refactoring, important changes are
- added transport_mode command, for relayfs transport
- display results only when probe completes and/or write
- output file, merge, sort and delete the per-cpu files
- in postprocessing, refactor so that relayfs files aren't
- created until transport command received, removed sigalrm,
- read the final subbuffers on exit
-
- * stpd.c: Remove all command-line args except for -p
- and -q as well as all code related to buffer sizes.
-
- * librelay.h: Add transport mode command and struct.
-
-2005-05-16 Martin Hunt <hunt@redhat.com>
-
- * librelay.c (sigproc): If STP_EXIT send fails, keep retrying
- every 10ms.
- (init_stp): Don't set n_subbufs and subbuf_size params.
diff --git a/runtime/transport/ChangeLog b/runtime/transport/ChangeLog
deleted file mode 100644
index 14abee41..00000000
--- a/runtime/transport/ChangeLog
+++ /dev/null
@@ -1,862 +0,0 @@
-2009-02-18 David Smith <dsmith@redhat.com>
-
- * control.c: Removed unused variable '_stp_current_buffers'.
- * procfs.c (_stp_set_buffers): Removed unused function.
- (_stp_register_ctl_channel_fs): Removed unused variables and
- label.
- * symbols.c (u32_swap): Removed unused function.
- (generic_swap): Ditto.
- (_stp_sort): Ditto.
- (_stp_section_is_interesting): Ditto.
- * transport.c (_stp_transport_init): Removed unused variable
- 'ret'.
-
-2009-02-17 David Smith <dsmith@redhat.com>
-
- * control.c: Contains generic control channel functions.
- * procfs.c: Specific procfs control channel functions. All generic
- control channel functions moved to control.c.
- * debugfs.c: New file containing debugfs specific control channel
- functions.
- * control.h: New file.
- * transport.c: Updated file inclusion.
-
-2009-02-13 David Smith <dsmith@redhat.com>
-
- * procfs.c: Added inclusion of ../procfs.c for
- _stp_mkdir_proc_module().
-
-2009-02-12 David Smith <dsmith@redhat.com>
-
- * transport.c: Moved inclusion of procfs.c to
- procfs_derived_probe_group::emit_module_decls() in tapsets.cxx.
-
- * transport.c (_stp_lock_transport_dir): Renamed from
- _stp_lock_debugfs(), since on older kernels this actually uses
- procfs.
- (_stp_unlock_transport_dir): Renamed from _stp_unlock_debugfs(),
- since on older kernels this actually uses procfs.
- (_stp_lock_transport_dir): Changed
- _stp_lock_debugfs()/_stp_unlock_debugfs() to
- _stp_lock_transport_dir()/_stp_unlock_transport_dir().
- * transport.h: Ditto. Also added _stp_transport_init()
- prototype.
- * utt.c (utt_remove_root): Changed
- _stp_lock_debugfs()/_stp_unlock_debugfs() to
- _stp_lock_transport_dir()/_stp_unlock_transport_dir().
- * relayfs.c (_stp_remove_relay_root): Ditto.
-
-2009-02-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR9740/9816?
- * transport.c (_stp_handle_start): Run alloc/free_vm_area() dummy
- calls as workaround for kernel valloc/vfree bug. Suggested by
- Masami Hiramat <mhiramat@redhat.com>.
-
-2009-01-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR9699.
- * transport.c (_stp_transport_init): Adapt to task_struct cred switch.
-
-2008-11-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR5947: make code -Wpointer-arith clean
- * symbols.c (generic_swap): Cast void* to char* as needed.
- (_stp_sort): Ditto.
- * utt.c (utt_switch_subbuf): Ditto.
- * utt.h (utt_reserve): Ditto.
-
-2008-11-13 Masami Hiramatsu <mhiramat@redhat.com>
-
- * utt.c (utt_trace_setup): Use KERN_WARNING and show buffer size.
-
-2008-11-13 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR7016
- * utt.c (utt_trace_setup): Check freeram and bufferram before
- allocating relay buffers for avoiding OOM.
-
-2008-11-12 Frank Ch. Eigler <fche@elastic.org>
-
- * transport.c (_stp_cleanup_and_exit): Move debug print into
- one-time conditional block to prevent spew.
-
-2008-10-07 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4886
- * symbols.c (_stp_do_relocation): Simplify processing of build-id
- note address.
-
-2008-09-17 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6487, 6504.
- From Masami Hiramatsu <mhiramat@redhat.com>
- * utt.c (utt_switch_subbof, _utt_wakeup*, utt_reserve): New.
-
-2008-07-17 Frank Ch. Eigler <fche@elastic.org>
-
- * symbols.c (_stp_do_relocation): Adapt to stp_module decl changes.
-
-2008-07-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6738.
- * procfs.c (*): Remove code/data associated with symbol/unwind data
- uploading.
- (_stp_ctl_write_cmd): Support STP_RELOCATION message.
- (kbug): Replace calls with dbug_trans().
- * relayfs.c (kbug): Ditto.
- * transport.h: Corresponding changes.
-
-2008-07-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6736.
- * control.c (_stp_ctl_write_cmd): Accept STP_RELOCATION message.
- * symbols.c: Gutted file.
- (_stp_do_relocation): New function.
- * transport.c (_stp_transport_init): Corresponding changes.
- * transport_msgs.h: Ditto.
-
-2008-07-09 Frank Ch. Eigler <fche@elastic.org>
-
- PR5963
- * transport.c (_stp_work_queue): Don't signal a premature exit
- if a begin probe happened to exit().
-
-2008-06-23 Wenji Huang <wenji.huang@oracle.com>
- PR 6646
- * symbols.c (_stp_validate_addr): Revert the previous code.
-
-2008-06-23 Wenji Huang <wenji.huang@oracle.com>
- PR 6646
- * symbols.c (_stp_validate_addr): Add validating address in runtime.
-
-2008-06-13 Wenji Huang <wenji.huang@oracle.com>
-
- * control.c (_stp_ctl_write_dbug): Remove STP_UNWIND support.
-
-2008-06-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6429
- * symbols.c (_stp_init_modules): Don't ask stapio for unwind data.
- * control.c (_stp_ctl_write_cmd): Remove STP_UNWIND support.
- * transport_msgs.h (STP_UNWIND): Remove declaration.
-
-2008-04-30 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 5645
- * transport.c (_stp_transport_init): Fix subbuffer size calculation
- overflow.
-
-2008-04-21 hunt <hunt@redhat.com>
-
- * control.c (_stp_ctl_write): Return len + sizeof(int) so
- sending an empty command doesn't return 0 and look like a failure.
- * transport.c: _stp_cleanup_and_exit(): Cleanup.
-
-2008-04-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6410
- * symbols.c (_stp_do_unwind_data): Tolerate !STP_USE_DWARF_UNWINDER.
-
-2008-04-15 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6405
- * symbols.c (_stp_load_module_symbols): Support older kernels
- without module->sect_attrs->nsections.
-
-2008-04-09 Martin Hunt <hunt@dragon>
-
- * symbols.c (_stp_init_kernel_symbols): Print error
- messages and exit if symbol lookups fail.
- (_stp_init_modules): Lookup modules_op.
-
-2008-03-31 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (_stp_init_modules): Use STP_USE_DWARF_UNWINDER.
-
- * transport.c (_stp_get_root_dir): Remove misleading error message.
-
-2008-03-30 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (_stp_init_modules): If using frames, don't
- request unwind info.
-
-2008-03-25 Martin Hunt <hunt@redhat.com>
-
- * control.c (_stp_ctl_write_dbug): Insert missing break.
-
- 32-bit systems can't do 64-bit get_user(), so
- * symbols.c (_stp_do_unwind_data): Change unwind_len to a u32.
- * transport_msgs.h (struct _stp_msg_unwind): Ditto.
-
-2008-02-27 Martin Hunt <hunt@redhat.com>
-
- * symbols.c: Use rwlocks. Use new dbug macros. Handle
- unwind info if present.
-
- * transport.c: Include mempool.c. Update dbug and kbug calls
- to new macros.
- * transport_msgs.h (_stp_command_name): Add
- struct containing message names for debugging.
-
- * control.c, procfs.c: Use new dbug macros. Use
- new mempool functions.
-
-2008-01-28 Martin Hunt <hunt@redhat.com>
-
- * control.c, procfs.c, symbols.c: Use DEFINE_SPINLOCK
-
-2008-01-15 Martin Hunt <hunt@redhat.com>
-
- PR4037 and fixes to better synchronize staprun and stapio.
- * transport_msgs.h (struct _stp_symbol32): New.
- (struct _stp_symbol64): New.
- (struct _stp_msg_symbol_hdr): New.
- (struct _stp_msg_module): New.
- (STP_READY): Declare.
-
- * transport.c (_stp_handle_start): Don't set _stp_start_finished.
- (_stp_work_queue): Don't use _stp_start_finished.
- (_stp_transport_init): Don't call _stp_ask_for_symbols().
-
- * symbols.c (_stp_do_symbols): Use _stp_msg_symbol_hdr;
-
- * control.c (_stp_sym_write_cmd): Allow sending of headers
- and data in separate messages.
- (_stp_ctl_write_cmd): Add STP_READY message.
-
- * procfs.c (_stp_sym_write_cmd): Allow sending of headers
- and data in separate messages.
- (_stp_ctl_write_cmd): Add STP_READY message.
-
-2008-01-15 Martin Hunt <hunt@redhat.com>
-
- Support for DEBUG_MEM
- * transport.c (_stp_transport): Call stp_mem_debug_done();
- * (*.c): Call stp malloc and free functions.
-
-2007-11-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR3858
- * transport.c (_stp_transport_init): Reduce relay buffer size to
- 64KB*2 if -DRELAY_GUEST is specified.
-
-2007-11-09 Martin Hunt <hunt@redhat.com>
- PR 5281
- * transport.c (_stp_detach, _stp_attach): Call utt_set_overwrite()
- instead of setting a flag directly.
- * utt.c (utt_set_overwrite): New. Set overwrite mode.
- * relayfs.c (utt_set_overwrite): New. Set overwrite mode.
- * utt.h: Remove global utt_overwrite_flag.
-
-2007-11-01 Martin Hunt <hunt@redhat.com>
-
- * procfs.c, control.c, transport.c: Recognize when stapio
- is detached and disable delayed work. Enable when attached.
- Cleanup code to destroy workqueue on exit.
-
-2007-10-12 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_ask_for_symbols): Don't ask for
- transport_info yet. Need to wait until symbols are
- received.
- (_stp_work_queue): Rename _stp_ready_q to _stp_ctl_ready_q.
- * procfs.c: Create a ".symbols" channel and use it for
- STP_MODULE and STP_SYMBOLS. Rename "cmd" channel to ".cmd".
- * control.c: Ditto.
-
-2007-09-21 Martin Hunt <hunt@redhat.com>
- From Alan Brunelle
- * control.c (_stp_ctl_read_cmd): Cast count to an int before printing.
-
-2007-09-20 Martin Hunt <hunt@redhat.com>
-
- * transport.h: Increase default buffer size.
- * control.c (_stp_ctl_read_cmd): Check buffer size.
-
-2007-09-10 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_register_ctl_channel): Call
- _stp_mkdir_proc_module().
- (_stp_unregister_ctl_channel): Call _stp_rmdir_proc_module().
- * transport.c: Include ../procfs.c runtime procfs functions.
-
-2007-08-17 Martin Hunt <hunt@redhat.com>
- PR3857
- From Masami Hiramatsu
- * utt.c (utt_subbuf_start_callback): Use overwrite flag.
- * control.c (_stp_ctl_open_cmd): Set overwrite_flag off.
- (_stp_ctl_close_cmd): Set overwrite flag on.
-
-2007-08-14 David Smith <dsmith@redhat.com>
-
- Merge from setuid-branch. Changes also by Martin Hunt
- <hunt@redhat.com>.
-
- * control.c (_stp_ctl_write): Make sure we don't overflow.
- (_stp_ctl_open_cmd): Do not allow multiple opens of the control
- file.
- (_stp_ctl_write_cmd): Once STP_START is received, ignore
- everything except STP_EXIT. Create another state variable
- "initialized". Don't respond to STP_SYMBOLS or STP_MODULES unless
- initialized is 0. Also check that current pid is the same as the
- pid that did insmod.
- (_stp_register_ctl_channel): Bug fix - sets owner/group after
- checking for NULL.
-
- * procfs.c (_stp_ctl_write): Make sure we don't overflow.
- (_stp_ctl_open_cmd): Do not allow multiple opens of the control
- file.
- (_stp_ctl_write_cmd): Once STP_START is received, ignore
- everything except STP_EXIT. Create another state variable
- "initialized". Don't respond to STP_SYMBOLS or STP_MODULES unless
- initialized is 0. Also check that current pid is the same as the
- pid that did insmod.
- (_stp_register_ctl_channel): Set ownership of cmd file and percpu
- files for bulkmode.
-
- * relayfs.c (utt_trace_setup): Set ownership of percpu files.
- Improved error handling.
- (utt_trace_remove): Improved error checking.
-
- * utt.c (utt_remove_tree): Improved error checking.
- (utt_trace_cleanup): Ditto.
- (utt_create_buf_file_callback): Set file ownership.
- (utt_create_global_buf_file_callback): Set file ownership.
-
- * transport.h: Delcare _stp_uid, _stp_gid, and _stp_init_pid.
- * transport.c (_stp_transport_init): Set _stp_uid, _stp_gid, and
- _stp_init_pid.
-
-2007-07-26 Martin Hunt <hunt@redhat.com>
-
- Spotted by Ming Chang.
- * procfs.c (_stp_register_ctl_channel): Fix iterator when removing
- proc entries when an error occurs.
-
-2007-07-10 Michal Schmidt <mschmidt@redhat.com>
-
- * symbols.c (_stp_del_module): Split freeing of module memory into
- a separate function _stp_free_module().
- (_stp_do_module): Free module memory if _stp_ins_module() fails.
-
-2007-07-09 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (_stp_ins_module): Check for overflow of
- modules array.
- (_stp_do_module): If _stp_ins_module() fails, return an error.
-
-2007-07-02 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (_stp_do_symbols): Set "data" pointer for kernel to _etext.
- (_stp_sort): New. sort function from the kernel.
- (_stp_load_module_symbols): Use _stp_sort().
-
-2007-06-21 Martin Hunt <hunt@redhat.com>
-
- * control.c (_stp_ctl_write_cmd): Add support for STP_BULK.
- * transport_msgs.h (enum): Add STP_BULK.
-
-2007-06-18 Martin Hunt <hunt@redhat.com>
-
- * control.c (_stp_register_ctl_channel): Fix mode of cmd file.
-
-2007-05-16 Will Cohen <wcohen@redhat.com>
-
- * control.c: Explicit type cast for picky compilers.
-
-2007-05-15 Martin Hunt <hunt@redhat.com>
-
- * control.c: Change default buffer number and size.
- (_stp_ctl_write): Add debug statements. Check size of
- message to avoid overwriting buffer.
-
-2007-04-27 Martin Hunt <hunt@redhat.com>
-
- * utt.h (struct utt_trace): Remove sequence.
- * utt.c (utt_trace_cleanup): Remove free of utt->sequence.
- (utt_dropped_open): PR 4415. Use STAPCONF_INODE_PRIVATE to detect
- correct inode struct.
- (utt_trace_setup): Do not allocate utt->sequence.
-
-2007-04-02 Martin Hunt <hunt@redhat.com>
-
- * transport_msgs.h (struct _stp_msg_trans): Deleted.
- Transport parameters are now read from procfs.
-
- * transport.c (_stp_ask_for_symbols): STP_TRANSPORT
- message is empty.
-
- * procfs.c (_stp_ctl_open_cmd): New. Set _stp_ pid.
- (_stp_ctl_close_cmd): New. Unset _stp_pid.
- (_stp_proc_fops_cmd): Add pointers to above funcs.
- (_stp_ctl_read_bufsize): New.
- (_stp_register_ctl_channel): Create a proc read entry
- "bufsize" containing transport buffer sizes.
-
-2007-03-28 Martin Hunt <hunt@redhat.com>
-
- * control.c (_stp_ctl_open_cmd): Set _stp_pid.
- (stp_ctl_close_cmd): Clear _stp_pid.
- * transport.h: Declare _stp_pid;
-
-2007-03-26 Frank Ch. Eigler <fche@elastic.org>
-
- * transport.c: Add #include <linux/namei.h> for lookup_one_len.
-
-2007-03-26 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (_stp_do_module): If a module has no symbols, just
- return NULL instead of an errorcode.
-
- * control.c, procfs.c, relayfs.c, transport.c, utt.c, utt.h:
- Revert back to using systemtap/modulename instead of systemtap_pid.
-
-2007-03-21 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (_stp_del_module): Add a call to _stp_module_relocate
- to clear its cache.
-
-2007-03-20 Frank Ch. Eigler <fche@elastic.org>
-
- * symbols.c (_stp_do_symbols): Add cautionary blurb for important
- setup of _stp_modules[0]->text.
-
-2007-03-20 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (_stp_alloc_module): Fix up error
- cleanup when malloc fails.
-
-2007-03-14 Martin Hunt <hunt@redhat.com>
-
- * transport_msgs.h: ifdef old messages as such.
- Add support for new transport.
- * relayfs.c: Simplify and add new interface to look
- like utt.
- * utt.[ch]: New files. Similar to the proposed utt interface.
- These setup and teardown relayfs on debugfs.
- * control.c: New file. Implements a simple control channel.
- A small subset of procfs.c.
- * procfs.c: This is now only used for old kernels lacking newer
- relayfs. Change STP_RELAYFS to STP_BULKMODE. Use new
- messages from transport_msgs.h. Don't support
- RELAYFS_CHANNEL_VERSION >= 4. CHanges all control channel functions
- to new names. Use pids instead of module names in /proc names.
-
-2007-03-12 Frank Ch. Eigler <fche@elastic.org>
-
- * procfs.c (_stp_register_procfs): Use /proc/MODULE rather than
- /proc/systemtap/MODULE.
-
-2007-03-12 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4179.
- Based on patch from Vasily Averin <vvs@sw.ru>:
- * procfs.c (_stp_register_procfs): Recover from partial failures.
- * transport.c (_stp_transport_open): Ditto.
-
-2007-01-30 Martin Hunt <hunt@redhat.com>
-
- * symbols.c: Comment out many debug lines.
-
-2007-01-29 Martin Hunt <hunt@redhat.com>
-
- * procfs.c: Count allocated IO memory.
- * symbols.c: Use _stp_kmalloc() and _stp_kzalloc().
- * transport.c: Count allocated IO memory.
-
-2007-01-09 Martin Hunt <hunt@redhat.com>
-
- * symbols.c (_stp_del_module): Fix so memory allocated
- for module 0 (kernel) is freed.
- (_stp_free_modules): No need to lock module list.
-
-2006-12-20 Martin Hunt <hunt@redhat.com>
-
- * transport.c: Fixes to use the new 2.6.20 workqueue API.
-
-2006-11-15 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_proc_write_cmd): For STP_SYMBOLS,
- type field is a long to preserve alignment.
- Use STP_ALLOC_FLAGS.
-
- * symbols.c: Use STP_ALLOC_FLAGS.
-
-2006-11-09 Martin Hunt <hunt@redhat.com>
-
- * transport_msgs.h: Change all ints to int32_t. Prefix
- all struct names with "_stp".
- * transport.c: Use new struct names.
- (_stp_handle_start): Send pointer size and endianess.
- * procfs.c: Use new struct names.
-
-2006-11-02 Martin Hunt <hunt@redhat.com>
- * symbols.c (_stp_do_module): Fix error message.
-
-2006-11-02 Martin Hunt <hunt@redhat.com>
-
- * symbols.c: New file. Get the STP_SYMBOLS and STP_MODULE
- messages, allocate memory and store the data.
-
- * procfs.c (_stp_proc_write_cmd): When STP_SYMBOLS or STP_MODULE
- request is received, call the appropriate functions.
-
- * transport.c (_stp_handle_start): If necessary, ask staprun for
- symbols and modules.
- (_stp_cleanup_and_exit): Unregister module notifier.
- (_stp_transport_close): Unregister module notifier and free module
- memory.
- * transport_msgs.h (enum): Add STP_MODULE and STP_SYMBOLS.
-
-2006-09-26 David Smith <dsmith@redhat.com>
-
- * transport.c: Changed 'stpd' references to 'staprun'.
- * transport.txt: Ditto.
-
-2006-09-26 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_handle_start): Don't initialize timers here.
- (_stp_transport_init): Initialize timers here.
- (_stp_cleanup_and_exit): Don't kill timers or free print buffers here.
- (_stp_transport_close): kill timers and free print buffers here.
-
-2006-09-25 Tom Zanussi <zanussi@us.ibm.com>
-
- * procfs.c (_stp_proc_read): Set buf_info flushing flag.
- * transport.c (_stp_cleanup_and_exit): Remove braces.
- * transport_msgs.h: Add flushing flag to buf_info.
-
-2006-09-22 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_work_queue): Reenable some cleanup
- code.
-
-2006-09-21 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_transport_init): Call _stp_print_init().
- (_stp_cleanup_and_exit): Call _stp_print_cleanup().
-
-2006-09-21 Tom Zanussi <zanussi@us.ibm.com>
-
- * relayfs.c (_stp_get_relay_root): Call new mutex lock/unlock
- wrappers instead.
- (_stp_lock_inode): New.
- (_stp_unlock_inode): New.
-
-2006-09-19 Tom Zanussi <zanussi@us.ibm.com>
-
- * procfs.c (_stp_get_proc_root): Removed.
- (_stp_force_dir_creation): Removed.
- (_stp_register_procfs): Remove unneeded procfs dentry code. *
- relayfs.c (_stp_create_buf_file): Remove code to create relay
- files in procfs, add code to create in debugfs.
- (_stp_remove_buf_file): Remove code to delete relay files in
- procfs, add code to delete from debugfs.
- (_stp_create_relay_dir): New.
- (_stp_remove_relay_dir): New.
- (_stp_get_relay_root): New.
- (_stp_relayfs_close): Use new functions.
- (_stp_relayfs_open): Consolidate alternative versions and remove
- extraneous version. * relayfs.h: Remove extraneous
- _stp_relayfs_open prototype.
- * transport.c (_stp_transport_open): Remove extraneous call to
- _stp_relayfs_open() and remove call to _stp_unregister_procfs() on
- failure - since it's called from cmd write, cmd can't be removed;
- it's removed in normal shutdown anyway.
-
-2006-09-18 Martin Hunt <hunt@redhat.com>
-
- * transport_msgs.h (struct transport_info): Add merge field.
- * transport.c (_stp_transport_open): Set merge field.
-
-2006-06-21 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2525
- * transport.c (_stp_handle_start): Initialize timer functions.
- * transport.c (_stp_cleanup_and_exit): Teardown timer functions.
-
-2006-06-13 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_transport_close): Destroy workqueue when
- done.
-
-2006-06-09 Martin Hunt <hunt@redhat.com>
-
- * transport.c: Using the default workqueue was causing problems
- because of the long delays on probe_exit(). Created a new
- systemtap work queue and used that instead.
-
-2006-06-05 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_write): Always use spin_lock_irqsave() because
- this function can sometimes be called with interrupts enabled.
-
-2006-04-10 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_write): More fixes because buffers
- are no longer null-terminated.
-
-2006-03-20 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_write): Combine buffers only for REALTIME_DATA.
-
-2006-03-16 Tom Zanussi <zanussi@us.ibm.com>
-
- * procfs.c (_stp_proc_read): Change ifdef for relayfs version.
- * relayfs.c: Change ifdefs for relayfs version.
- * relayfs.h: Remove relayfs-config.h include.
- * transport.c (_stp_handle_buf_info.c): Change ifdef for relayfs
- version.
- * relayfs-config.h.in: Removed.
-
-2006-03-15 Tom Zanussi <zanussi@us.ibm.com>
-
- * procfs.c (_stp_proc_read): Add ifdef for CONFIG_RELAY.
- (_stp_get_proc_root): New function.
- (_stp_force_dir_create): New function.
- (_stp_register_procfs): Add support for CONFIG_RELAY files in
- proc.
-
- * relayfs.c (_stp_subbuf_start): Fix ppc64 compilation error
- mentioned in bug #2406.
- (_stp_create_buf_file): New function.
- (_stp_remove_buf_file): New function.
- (_stp_relayfs_close): Add support for CONFIG_RELAY.
- (_stp_relayfs_open): Add support for CONFIG_RELAY.
-
- * relayfs.h: Add support for CONFIG_RELAY and
- RELAYFS_VERSION_GE_4.
- * transport.c (_stp_handle_buf_info.c): Add support for
- CONFIG_RELAY.
- * transport (_stp_transport_open.c): Add support for CONFIG_RELAY.
-
- * relayfs-config.h.in: New file.
-
-2006-03-15 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (STP_DEFAULT_BUFFERS): Bump up to 256.
-
-2006-03-06 Martin Hunt <hunt@redhat.com>
-
- * transport_msgs.h (struct cmd_info): New message.
-
-2006-02-25 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_proc_write_cmd): Check return code for
- _stp_transport_open().
-
- * transport.c (_stp_transport_write): This function
- can now sleep because it is
- (_stp_handle_start): Don't use a mutex when a simple atomic
- will do.
- (_stp_work_queue): Check atomic to see if probe_start()
- has finished before attempting exit.
- (_stp_transport_close): PR2391. Cancel work queue.
- (_stp_transport_init): If _stp_register_procfs() fails,
- return an error code.
-
- * transport.txt: New file. Documents transport initialization and
- shutdown sequence.
-
-2006-02-24 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_transport_init): Fail if
- _stp_register_procfs() fails.
-
-2006-02-17 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_proc_read_cmd): Change spin_lock()
- to spin_lock_irqsave().
-
- * transport.c (_stp_work_queue): Ditto.
-
-2005-12-02 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_set_buffers): kmalloc the buffers instead
- of vmalloc.
- (_stp_register_procfs): Ditto.
- (_stp_unregister_procfs): kfree the buffers.
-
-2005-11-30 Martin Hunt <hunt@redhat.com>
-
- * transport.h (STP_WORK_TIMER): Declare.
- * transport.c (_stp_work_queue): Wake up every STP_WORK_QUEUE
- jiffies and check IO and exit status.
- (_stp_handle_exit): Deleted.
- * procfs.c (_stp_proc_write_cmd): Just set exit flag on STP_EXIT.
- (_stp_write): Don't call wake_up_interruptible.
-
-2005-10-17 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_handle_start): Grab semaphore before
- calling probe_start() and release after it is done.
- (_stp_handle_exit): Ditto for exiting. This prevents
- exiting before probe_start() is finished.
-
-2005-10-14 Tom Zanussi <zanussi@us.ibm.com>
-
- * relayfs.h: Add ifdef'ed relayfs_fs.h include for mainline
- relayfs version. If you're running a kernel with a version
- of relayfs >= 4 (the version # can be found in
- /include/linux/relayfs_fs.h) configured in, adding a
- #define RELAYFS_VERSION_GE_4 at the top of transport/relayfs.h
- will make systemtap use it instead of the packaged version.
-
- * relayfs.c: Add ifdef'ed relayfs callback functions for
- mainline relayfs version.
- (_stp_relayfs_open): Add ifdef'ed code for mainline
- relayfs version.
- * procfs.c (_stp_proc_read): Ditto.
- * transport.c (_handle_buf_info): Ditto.
-
-2005-10-05 Tom Zanussi <zanussi@us.ibm.com>
-
- * transport.c (_stp_transport_open): Add kbug message.
- * transport.h: Change default n_subbufs to 16.
-
-2005-09-08 Martin Hunt <hunt@redhat.com>
-
- * procfs.c (_stp_register_procfs): Change ifdefs to eliminate
- unused variable warnings.
- (_stp_unregister_procfs): Ditto.
-
-2005-09-06 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_handle_start): Always reply to
- a start message with STP_START.
-
-2005-08-24 Martin Hunt <hunt@redhat.com>
-
- * transport_msgs.h (enum): New type, STP_OOB_DATA.
-
-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.
-
-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().
-
-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.
-
-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.
-
-2005-08-03 Martin Hunt <hunt@redhat.com>
-
- * transport.c: Comment out a couple printks.
-
-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.
-
-2005-07-18 Martin Hunt <hunt@redhat.com>
-
- * transport.h (_stp_transport_write): Call _stp_relay_write().
-
- * transport.c (_stp_cleanup_and_exit): Print transport
- failure count.
- (_stp_relay_write): Like relay_write() except returns
- -1 on error.
-
-2005-07-14 Tom Zanussi <zanussi@us.ibm.com>
-
- * netlink.c (_stp_netlink_open): Add missing delayed_pkts
- initialization.
-
-2005-07-08 Martin Hunt <hunt@redhat.com>
-
- * transport.c: Rename pid to _stp_pid.
- Rename t to _stp_tport.
- (_stp_cleanup_and_exit): New internal function.
- (stp_exit_helper): Call _stp_cleanup_and_exit().
- (_stp_transport_cleanup): New function.
- (_stp_cmd_handler): Remove handler for STP_TRANSPORT_MODE.
- The transport now notifies the daemon of the transport.
- (_stp_transport_close): No longer calls _stp_exit_helper().
- That is done by _stp_transport_cleanup().
- (_stp_transport_open): When done, call _stp_handle_transport()
- to notify the daemon what our transport is.
- (_stp_transport_send): Put a retry limit on sends.
-
- * transport.h: Rename pid to _stp_pid.
- (_stp_transport_cleanup): Add prototype.
-
-2005-06-23 Martin Hunt <hunt@redhat.com>
-
- * transport.h: Move all the transport open stuff here
- and provide a convenient macro.
-
- * control.c: Replace macro DEFINE_SPINLOCK because
- some kernels don't have it.
-
-2005-06-20 Tom Zanussi <zanussi@us.ibm.com>
-
- * control.h: Added STP_TRANSPORT_MODE command.
-
- * transport.c: Lots of changes, most importantly
- added transport mode command, which also sends buffer
- sizes to daemon, added limit to number of attempts to
- sending STP_EXIT (in case there is no daemon), moved
- exit helper call.
-
- * transport.h: Added transport type enum and transport
- info struct for communication with userspace, changed and
- moved a couple functions to transport.c.
-
-2005-05-17 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_transport_close): Call stp_exit_helper()
- directly instead of using work queue.
-
-2005-05-16 Martin Hunt <hunt@redhat.com>
-
- * transport.c (_stp_cmd_handler): For STP_EXIT, schedule a
- work queue to do the exit functions.
- (_stp_transport_close): Call work queue for STP_EXIT.
- (_stp_transport_send): Call _stp_ctrl_send() like before, except
- when in probe_exit(). In that case, keep retrying on send errors
- until we succeed.
-
- * transport.h (_stp_transport_write): Change to call
- _stp_transport_send() for NETLINK_ONLY.
-
- * Makefile (KDIR): set to /lib/modules/... instead of
- /usr/local/src/...
-
-
-
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
deleted file mode 100644
index 2034b770..00000000
--- a/tapset/ChangeLog
+++ /dev/null
@@ -1,2116 +0,0 @@
-2009-02-13 Will Cohen <wcohen@redhat.com>
-
- * DEVGUIDE: Update Documentation section and include URLs.
-
-2009-02-12 Will Cohen <wcohen@redhat.com>
-
- * memory.stp (VM_FAULT_*, function vm_fault_contains): New.
-
-2009-02-09 Josh Stone <jistone@redhat.com>
-
- * process.stp (process.create): Read the task pid *after*
- the task pointer is checked for errors.
-
-2009-02-04 K Prasad <prasad@linux.vnet.ibm.com>
-
- PR 7030.
- * signal.stp: handle functions inlined in 2.6.27+
-
-2009-02-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6961/9810.
- * context-unwind.stp (print_backtrace, backtrace): Revert.
-
-2009-01-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR 9699.
- * context.stp, task.stp: Adapt to STAPCONF_TASK_UID.
-
-2008-12-09 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6961.
- * context-unwind.stp (print_backtrace, backtrace): WARN_ON !regs.
-
-2008-11-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6965.
- * context-{symbols,unwind}.h: Tweak control symbols to
- STP_NEED_{SYMBOL,UNWIND}_DATA.
-
-2008-11-28 Elliott Baron <ebaron@redhat.com>
-
- PR 6965.
- * tapsets/context.stp: moved functions requiring symbols
- to tapsets/context-symbols.stp and those requiring both
- symbols and unwinder to tapsets/context-unwind.stp.
- * tapsets/context-symbols.h: New file.
- * tapsets/context-unwind.h: New file.
-
-2008-11-26 Will Cohen <wcohen@redhat.com>
-
- * scsi.stp: Add kernel-doc notation.
-
-2008-11-26 Will Cohen <wcohen@redhat.com>
-
- * process.stp: Add kernel-doc notation.
-
-2008-11-25 Will Cohen <wcohen@redhat.com>
-
- * ioscheduler.stp:
- * socket.stp:
- * tcp.stp:
- * udp.stp: Add kernel-doc notation.
-
-2008-11-24 Will Cohen <wcohen@redhat.com>
-
- * context.stp:
- * memory.stp:
- * networking.stp:
- * timestamp.stp: Change to use kernel-doc notation.
-
-2008-11-19 Jim Keniston <jkenisto@us.ibm.com>
-
- * s390x/registers.stp: Fixed typo.
-
-2008-11-19 Ananth Mavinakayanahalli <ananth@us.ibm.com> and Jim Keniston <jkenisto@us.ibm.com>
-
- * s390x/registers.stp: Added
-
-2008-11-13 William Cohen <wcohen@redhat.com>
-
- * networking.stp: Order entries in table.
-
-2008-11-13 William Cohen <wcohen@redhat.com>
-
- * memory.stp: Add xml documentation.
-
-2008-11-12 William Cohen <wcohen@redhat.com>
-
- * context.stp: Remove cpuid() documentation.
-
-2008-10-28 William Cohen <wcohen@redhat.com>
-
- * vfs.stp (vfs.(read|write){.return}): Add inode variable, ino.
-
-2008-10-28 David Smith <dsmith@redhat.com>
-
- PR6972
- * vfs.stp (generic.fop.aio_read): Works under 2.6.18 kernels, such
- as RHEL5.
- (generic.fop.aio_read.return): Ditto.
- (vfs.__set_page_dirty_buffers): Fixed small bug.
- (_vfs.block_write_begin): Only use for kernels >= 2.6.24.
- (_vfs.block_write_begin.return): Ditto.
- (_vfs.block_write_end): Ditto.
- (_vfs.block_write_end.return): Ditto.
-
-2008-10-28 Wenji Huang <wenji.huang@oracle.com>
-
- * ioblock.stp (ioblock.request, ioblock.end): Correct for 2.6.28.
- * scsi.stp (scsi_timer_pending): Ditto.
-
-2008-10-27 William Cohen <wcohen@redhat.com>
-
- * vfs.stp (vfs.(read|write){.return}): Add dev and devname variables.
-
-2008-10-23 Mark Wielaard <mjw@redhat.com>
-
- * syscalls2.stp (syscall.utime): Don't use pointer_arg to fetch
- arguments.
- (syscall.compat_utime): Likewise.
-
-2008-10-07 Mark Wielaard <mjw@redhat.com>
-
- * aux_syscalls.stp (_stp_sigaction_str): New embedded C function.
- (_struct_sigaction_u): Call _stp_sigaction_str.
- (_struct_sigaction32_u): New function.
- * syscalls2.stp (syscall.rt_sigaction32): Call _struct_sigaction32_u.
-
-2008-09-23 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * socket.stp (socket.aio_read/write): Fix version-checking method.
-
-2008-09-22 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * socket.stp (socket.aio_read/write): Fix the semantic error
- caused by the difference of kernel versions.
-
-2008-09-18 Mark Wielaard <mjw@redhat.com>
-
- * aux_syscalls.stp (_reboot_magic_str): Moved reboot.h include out.
-
-2008-09-17 Mark Wielaard <mjw@redhat.com>
-
- * aux_syscalls.stp: Removed commented out code. Removed unneeded
- unpure embedded C-code.
-
-2008-09-15 Mark Wielaard <mjw@redhat.com>
-
- * x86_64/syscalls.stp (syscall.vm86_warning): Add argstr.
-
-2008-09-15 Mark Wielaard <mjw@redhat.com>
-
- * vfs.stp: Fix 2.6.27 detection.
- * syscall.stp: Likewise.
- * syscall2.stp: Likewise.
-
-2008-09-12 Wenji Huang <wenji.huang@oracle.com>
-
- * signal.stp: Initialize __sig in a function.
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * utrace.stp: Added _utrace_syscall_return().
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * utrace.stp: Added _utrace_syscall_arg().
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * marker.stp : New file, including marker context variable accessors.
-
-2008-09-01 Frank Ch. Eigler <fche@elastic.org>
-
- PR4225 merge.
- * utrace.stp: New file, for use by utrace $var expansions.
-
-2008-09-01 Zhaolei <zhaolei@cn.fujitsu.com>
- * nfs_proc.stp: Fix memory access error in nfs.proc.read_setup,
- nfs.proc.write_setup and nfs.proc.commit_setup.
-
-2008-08-28 Zhaolei <zhaolei@cn.fujitsu.com>
- * socket.stp: Make _get_sock_addr return correct address in kernel
- before 2.6.16.
-
-2008-08-04 Wenji Huang <wenji.huang@oracle.com>
-
- * syscall.stp: Change $path to $pathname for 2.6.27.
- * syscall2.stp: Ditto.
-
-2008-08-03 Wenji Huang <wenji.huang@oracle.com>
-
- * vfs.stp(add_to_page_cache): Correct for 2.6.27.
-
-2008-07-25 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp: Add sys_unlinkat.
-
-2008-07-18 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp: Add sys_symlinkat.
-
-2008-07-14 David Smith <dsmith@redhat.com>
-
- * i686/registers.stp: Removed syscall_nr function.
- * x86_64/registers.stp: Ditto.
-
-2008-07-10 Josh Stone <joshua.i.stone@intel.com>
-
- * vfs.stp (__address_inode): Correct access to the mapping field.
-
-2008-07-09 Mark Wielaard <mwielaard@redhat.com>
-
- PR 6732
- * context.stp (ppid): Use STAPCONF_REAL_PARENT.
- (pexecname): Likewise.
- * task.stp (task_parent): Likewise.
-
-2008-07-01 Wenji Huang <wenji.huang@oracle.com>
-
- * vfs.stp : Make _vfs.generic_commit_write only for kernel<=2.6.25
-
-2008-06-26 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp: Add sys_renameat.
-
-2008-06-23 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls.stp: Add sys_mknodat.
-
-2008-06-20 wcohen <wcohen@redhat.com>
-
- * dev.stp: New.
-
-2008-06-19 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * aux_syscalls.stp: Output unknown bits in _stp_lookup_or_str.
-
-2008-06-17 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls.stp: Add sys_linkat.
-
-2008-06-17 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * aux_syscalls.stp (__fork_flags): Add termination signal.
-
-2008-06-13 Josh Stone <joshua.i.stone@intel.com>
-
- * aux_syscalls.stp, ctime.stp, inet.stp, memory.stp,
- s390x/syscalls.stp, {i686,x86_64,ppc64}/registers.stp: Add
- 'pure' to embedded-C functions that deserve it.
-
-2008-06-13 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls.stp: Add sys_fchownat.
-
-2008-06-12 Will Cohen <wcohen@redhat.com>
-
- * tasks.stp: Add user_mode.
-
-2008-06-11 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls.stp: Add sys_fchmodat.
-
-2008-06-10 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls.stp: Add sys_faccessat.
-
-2008-06-10 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls.stp(syscall.mkdirat): Use _dfd_str() to add support
- for AT_FDCWD.
-
-2008-06-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6470.
- * argv.stp: New tapset.
-
-2008-06-09 David Smith <dsmith@redhat.com>
-
- * x86_64/registers.stp (syscall_nr): Added syscall_nr function.
- * i686/registers.stp (syscall_nr): Ditto.
-
-2008-06-04 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp: Add sys_unshare.
-
-2008-06-03 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * aux_syscalls.stp (__fork_flags): Support for new clone flags
- before linux-2.6.25.
-
-2008-05-26 Mark Wielaard <mwielaard@redhat.com>
-
- * task.stp : Only include fdtable.h for kernel versions > 2.6.25.
-
-2008-05-26 Wenji Huang <wenji.huang@oracle.com>
-
- * task.stp : Include fdtable.h for 2.6.26.
-
-2008-05-26 Wenji Huang <wenji.huang@oracle.com>
-
- * signal.stp (send.*): Correct for 2.6.26.
-
-2008-05-23 Frank Ch. Eigler <fche@elastic.org>
-
- * nfs.stp (*): Similarly convert kernel?,module? -> kernel!,module.
-
-2008-05-23 Frank Ch. Eigler <fche@elastic.org>
-
- * rpc.stp (*): Convert kernel?,module? -> kernel!,module probe points.
- (rpc_create_task): Make conditional on kernel <= 2.6.18.
-
-2008-05-21 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6538
- * nfs.stp (nfs.aop.readpage): Fix rsize.
-
-2008-05-20 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6538
- * signal.stp (_signal.send.part[23]): Initialize dummy sinfo.
- * syscalls2.stp (syscall.compat_sys_semtimedop): Fix sops_uaddr.
- * vfs.stp (__find_bdevname): Rewrite.
- * x86_64/syscalls.stp (syscall.pipe32): Fix argstr.
-
-2008-05-21 Mark Wielaard <mwielaard@redhat.com>
-
- * syscalls2.stp (syscall.utime): Use pointer_arg to fetch arguments.
- (syscall.compat_utime): Likewise.
-
-2008-05-20 Mark Wielaard <mwielaard@redhat.com>
-
- PR 5001
- * aux_syscalls.stp (_stp_ctime): Removed.
- (_struct_utimbuf_u): Removed.
- (_struct_compat_utimbuf_u): Removed.
- (_struct_utimbuf_actime): New function.
- (_struct_utimbuf_modtime): New function.
- (_struct_compat_utimbuf_actime): New function.
- (_struct_compat_utimbuf_modtime): New function.
- * syscalls2.stp (syscall.utime): Use new functions and ctime.
- (syscall.compat_utime): Likewise.
-
-2008-05-19 Mark Wielaard <mwielaard@redhat.com>
-
- PR 6524
- * ctime.stp: Don't try to convert values that won't fit in 32bits.
-
-2008-05-08 Ananth N Mavinakayanahalli <ananth@in.ibm.com>
-
- PR 5231
- * ioblock.stp (ioblock.end): Set bytes_done depending on kernel
- version.
-
-2008-04-29 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6466
- * tcp.stp (tcp_sockstate_str, tcp_sockopt_str): Initialize
- number->string lookup tables here, instead of "probe begin(-1)"
- block that can be elided/warned.
-
-2008-04-16 Wenji Huang <wenji.huang@oracle.com>
-
- * scsi.stp (scsi.iodispatching): Correct for 2.6.25 kernel.
-
-2008-04-15 Martin Hunt <hunt@monkey>
-
- * context.stp (print_backtrace, backtrace): Use MAXTRACE.
-
-2008-03-21 Eugene Teo <eugeneteo@kernel.sg>
-
- PR 5528
- * conversions.stp (user_string_n, user_string_n2, user_string_n_warn,
- user_string_n_quoted, user_short, user_short_warn, user_int,
- user_int_warn, user_long, user_long_warn, user_char, user_char_warn):
- New user_* functions.
-
-2008-03-20 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5956.
- * null.stp: New file, defining global NULL=0.
-
-2008-03-11 Will Cohen <wcohen@redhat.com>
-
- * syscalls2.stp (syscall.wait{4|id}): Correct for 2.6.24.n kernels.
-
-2008-03-06 Ananth N Mavinakayanahalli <ananth@in.ibm.com
-
- * i686/syscalls.stp: Handle sys_sigaltstack parameter after
- register unification
-
-2008-02-28 Will Cohen <wcohen@redhat.com>
-
- PR433780
- * errno.stp (returnstr): Handle unified i386/x86_64 reg names.
-
-2008-02-27 Masami Hiramatsu <mhiramat@redhat.com>
-
- * x86_64/syscalls.stp (syscall.iopl): Use new_iopl instead of level
- on xen kernel.
-
-2008-01-25 Will Cohen <wcohen@redhat.com>
-
- PR5554
- * syscalls.stp (__is_user_regs): Modify to work with older kernels.
-
-2008-01-23 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR5554
- * syscalls.stp (__is_user_regs): Add new function to check whether
- pt_regs is user mode registers.
- (syscall.fork): Use __is_user_regs() to decide syscall name.
-
-2008-01-16 Eugene Teo <eteo@redhat.com>
-
- * signal.stp (get_sa_flags, get_sa_handler): New functions to
- return addresses of sa_flags and sa_handler of struct k_sigaction.
- (sigset_mask_str): New function. Returns a string containing the
- set of signals to be blocked when executing the signal handler.
- (is_sig_blocked): New function. Checks task_struct->blocked signal
- mask for signals that are currently blocked.
- (signal_str): New function. Translates a signal number.
- (sa_flags_str): New function. Translates the sa_flags.
- (sa_handler_str): New function. Returns the signal action or handler
- associated to the signal.
-
-2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>
-
- * aux_syscalls.stp (_stp_fork_list): Check kernel version for new
- flags.
-
-2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR5152
- * scheduler.stp (scheduler.ctxswitch): Change probe point __switch_to
- to context_switch on ia64.
-
-2007-12-27 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
- * signal.stp (_signal.send.part3.return): Correct name variable.
-
-2007-12-25 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
- * aux_syscalls.stp (_struct_sigaction_u): Delete overlaped
- SA_SIGINFO from _stp_sa_flags_list[].
-
-2007-12-21 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
- * aux_syscalls.stp (_futex_op_str): Add new futex options.
- (_stp_fork_list[]): Add new clone flags.
-
-2007-12-17 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp (get_mempolicy): Fix syntax. Add prototype.
- (kexec_load): Ditto.
- (mbind): Ditto.
- (move_pages): Ditto.
-
-2007-12-17 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
- * Add new address family to _fam_num2str: IUCV and RXRPC.
-
-2007-12-17 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Bai Weidong <baiwd@cn.fujitsu.com>
- * syscalls.stp: Add missed compat* probes in syscalls.stp.
-
-2007-12-12 Martin Hunt <hunt@redhat.com>
-
- * syscalls2.stp (compat_sys_ptrace): Remove for now.
- Utrace-patched kernels have a different compat_sys_ptrace().
-
-2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
- * syscalls2.stp: Add missed compat* probes in syscalls2.stp.
-
-2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Bai Weidong <baiwd@cn.fujitsu.com>
- * aux_syscalls.stp (__sem_flags): Add the missed mode display,
- Fix calculation error when string is empty.
-
-2007-11-21 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Bai Weidong <baiwd@cn.fujitsu.com>
- * syscalls2.stp (rt_sigsuspend): Fix the semantic error caused by
- the difference of kernel versions on IA64.
-
-2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * signal.stp (signal.do_action): Call __get_action_mask to get mask
- to fix semantic error of accessing a struct.
- * signal.stp (__get_action_mask): Add.
-
-2007-11-12 Martin Hunt <hunt@redhat.com>
-
- * logging.stp (print_char): Remove. Now implemented by
- stap.
- (log): Add a comment that it is deprecated.
-
-2007-11-12 Martin Hunt <hunt@redhat.com>
-
- * syscalls2.stp (sys_remap_file_pages: : Change kernel
- version check to >= 2.6.24.
-
-2007-11-8 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * rpc.stp (clones_from_clnt): Use deref to check, then use
- atomic_read to read an atomic_t to avoid compilation error of
- type matching.
- (tasks_from_clnt): Ditto.
-
-2007-11-6 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * rpc.stp (sunrpc.clnt.call_sync): Define procname only for
- kernel>=2.6.17.
- (sunrpc.clnt.call_async): Ditto.
-
-2007-11-5 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * nfs_proc.stp: Use kread in get_ip and get_prot to avoid kernel
- panic.
-
-2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * nfsd.stp: Fix the semantic error caused by the difference of
- kernel versions.
- * nfs_proc.stp: Ditto.
-
-2007-11-1 Will Cohen <wcohen@redhat.com>
-
- * syscall2.stp (sys_remap_file_pages): Fix compile error with kernel
- version greater than 2.6.23.
-
-2007-11-1 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * rpc.stp (clones_from_clnt): Add CATCH_DEREF_FAULT().
- (tasks_from_clnt): Ditto.
-
-2007-10-17 Martin Hunt <hunt@redhat.com>
- PR5000
- * endian.stp (set_endian): Remove.
-
-2007-10-15 Dave Wilder <dwilder@us.ibm.com>
-
- *aux_syscalls.stp:_dfd_str Added test for 32-bit value of AT_FDCWD
-
-2007-10-15 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * conversions.stp: Add a function kernel_string_n for copy
- non-0-terminated string with fixed length from kernel space at
- given address.
- * stapfuncs.5.in: Add kernel_string_n.
- * nfsd.stp: Using kernel_string_n to copy non-0-terminated string
- with fixed length from kernel space at given address.
- * nfs_proc.stp: Ditto.
-
-2007-10-12 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * queue_stats.stp (qsq_start): Fix problem that compile fails when
- calling qsq_utilization or other query functions next to qsq_start.
-
-2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * queue_stats.stp (qsq_utilization): Update queue account datas
- before calculate.
- (qsq_blocked): Ditto.
- (qsq_wait_queue_length): Ditto.
- (qsq_service_time): Ditto.
- (qsq_wait_time): Ditto.
- (qsq_throughput): Ditto.
-
-2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * nfs_proc.stp (__nfs_write_data_info): Add data-access code for
- count, valid and timestamp.
-
-2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * udp.stp: Add name argument for all probes.
-
-2007-10-10 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_stp_lookup_str): When defaulting
- to a numeric value, append, don't overwrite.
-
-2007-10-10 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * aux_syscalls.stp (_stp_lookup_or_str) redirect to _stp_lookup_str
- if val is 0.
-
-2007-10-09 Mike Mason <mmlnx@us.ibm.com>
-
- * rpc.stp: Replaced atomic_read()'s with kread()'s
-
-2007-10-09 Martin Hunt <hunt@redhat.com>
- PR5153
- * aux_syscalls.stp (_sighandler_str): No
- sa_restorer field for IA64.
-
-2007-10-09 Martin Hunt <hunt@redhat.com>
-
- * syscalls2.stp (sys_signal): Call
- _sighandler_str().
-
- * aux_syscalls.stp (_stp_sigset_str): Don't
- include SIG_0.
- (_sighandler_str): New.
-
-2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * queue_stats.stp (qsq_start): Add destruction for qs_utime.
-
-2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * memory.stp (addr_to_node): Fix the compilation error of function
- addr_to_node on IA64.
-
-2007-10-05 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp: Put #ifdef CONFIG_COMPAT
- around compat code.
-
- * syscalls2.stp (rt_sigaction, sigaction): Call
- _struct_sigaction_u().
-
- * aux_syscalls.stp (_struct_timeval): Removed. No longer
- necessary now that we have structure access in scripts.
- (_struct_timespec): Ditto.
- (_struct_itimerval): Ditto.
- (_struct_timezone_u): Remove random CATCH_DEREF_FAULT()
- line.
- (_stp_sigset_str): New.
- (_struct_sigaction_u): New.
-
-2007-10-04 Frank Ch. Eigler <fche@elastic.org>
-
- * inet.stp: New tapset for htonl and friends.
-
-2007-10-04 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * queue_stats.stp (qsq_print): Make value of ops/s output as float
-
-2007-10-03 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * aux_syscalls.stp(_sockopt_level_str): Add support for protocol
- number 134~137.
- * socket.stp (global define,begin): Ditto.
-
-2007-10-02 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * tcp.stp: Add name argument for all probes.
- * tcp.stp (tcp.setsockopt.return): Add comment.
-
-2007-10-01 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_str_lookup_str): Print unmatched
- values in hex.
-
-2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * socket.stp (_success_check): Fix compare method.
-
-2007-09-27 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_stp_lookup_str, _stp_lookup_or_str):
- New functions to efficiently and safely read arrays of values
- and return a string.
- (_signal_name): Reimplement using _stp_lookup_str().
- (_semctl_cmd): Ditto.
- (__fork_flags): Ditto.
- (_mmap_flags): Ditto.
- (_mprotect_prot_str): Ditto.
- (_shmat_flags_str): Ditto.
- (_at_flag_str): Ditto.
- (get_mmap_args): Complete rewrite for safety and correctness.
-
-2007-09-27 Wenji Huang <wenji.huang@oracle.com>
-
- * rpc.stp (clones_from_clnt, tasks_from_clnt): Fix for kernel >= 2.6.22.
- * nfs.stp (__nfsi_ndirty) : Ditto.
- * nfs_proc.stp (__nfsv4_bitmask) : Make bitmask valid according to CONFIG.
-
-2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * rpc.stp (sunrpc.clnt.shutdown_client): Add argument progname's
- definition for probe sunrpc.clnt.shutdown_client, because it
- is in the man page but not defined in tapset.
-
-2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * rpc.stp (sunrpc.clnt.call_sync, sunrpc.clnt.call_async): Fix
- the output format of flags in argstr from hex to decimal just
- to make it same as other probes.
-
-2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * tcp.stp (sendmsg.return): Fix description of size variable.
- * tcp.stp (recvmsg.return): Ditto.
-
-2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * socket.stp (aio_read): Fix compile error with kernel version
- less than 2.6.19.
- * socket.stp (aio_write): Ditto.
-
-2007-09-26 Mike Mason <mmlnx@us.ibm.com>
-
- * vfs.stp:
- Specified explicit types for __find_bdevname() parameters
- and return value. The types could not be determined correctly
- when __find_bdevname() was used in nfs.stp
-
- Added __page_index() to work around problem dereferencing unions
- in stap language.
-
- Made generic.fop.sendfile conditional on kernel <= 2.6.22.
- generic_file_sendfile() was removed in 2.6.23.
-
-2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * syscall.stp (syscall.brk): Add probe point
- kernel.function("ia64_brk").
- * syscall.stp (syscall.mremap): Add probe point
- kernel.function("ia64_mremap").
-
-2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- modify field-access operator from "." to "->" in all files.
-
-2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls.stp (adjtimex.return): Improve retstr.
- * aux_syscalls.stp: Add a function(_adjtimex_return_str) for
- adjtimex.return.
-
-2007-09-25 Frank Ch. Eigler <fche@elastic.org>
-
- * socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed.
-
-2007-09-25 Frank Ch. Eigler <fche@elastic.org>
-
- * nfs_proc.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.
-
-2007-09-25 Frank Ch. Eigler <fche@elastic.org>
-
- * signal.stp (_signal.send.part*): Remove sinfo alias variable,
- since it's a struct rather than integral value.
-
-2007-09-25 Martin Hunt <hunt@redhat.com>
-
- * syscalls2.stp (sys_readlinkat): Make optional.
-
- * aux_syscalls.stp (_struct_compat_timeval_u): ifdef
- CONFIG_COMPAT so buildok test will pass.
-
-2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * rpc.stp Fix the wrong calling of returnstr($return) to
- returnstr(1) or returnstr(2).
-
-2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * rpc.stp Add function for probe point sunrpc.clnt.create_client.
-
-2007-09-24 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_at_flag_str): Add some more flags.
- * syscalls2.stp (openat): Call _dfd_str().
-
-2007-09-24 David Smith <dsmith@redhat.com>
-
- * nfsd.stp (__svc_fh): Added missing semicolon.
-
-2007-09-24 Frank Ch. Eigler <fche@elastic.org>
-
- * aux_syscalls.stp: Add missing CATCH_DEREF_FAULT()s.
-
-2007-09-24 Frank Ch. Eigler <fche@elastic.org>
-
- * inet_sock.stp, ioblock.stp, rpc.stp, scsi.stp, socket.stp,
- tcp.stp: Add /* pure */ to embedded-C functions.
-
-2007-09-24 Frank Ch. Eigler <fche@elastic.org>
-
- * conversions.stp (user_string): Redefine in terms of user_string2.
-
-2007-09-23 Ulrich Drepper <drepper@redhat.com>
-
- * syscalls2.stp (readlinkat): Add.
-
-2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * aux_syscalls.stp (_sys_open_flag_str): Fix bug that missing
- "O_ASYNC".
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * aux_syscalls.stp: Add a function _mremap_flags.
- * syscalls.stp (syscall.mremap): Use _mremap_flags instead of
- _mmap_flags.
-
-2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * aux_syscalls.stp(_reboot_magic_str) Fix the problem that
- LINUX_REBOOT_MAGIC1 printed as UNKNOWN VALUE.
-
-2007-09-19 Martin Hunt <hunt@redhat.com>
- PR 2295
- * syscalls.stp (sys_bdflush): Make optional.
- (sys_madvise): Ditto.
- (sys_mincore): Ditto.
- (sys_mlock): Ditto.
- (sys_mlockall): Ditto.
- (sys_mprotect): Ditto.
- (sys_mremap): Ditto.
- (sys_msync): Ditto.
- (sys_munlock): Ditto.
- (sys_munlockall): Ditto.
- * syscalls2.stp (sys_remap_pages): Make optional.
- * ppc64/syscalls.stp (ppc_rtas): Make optional.
-
-2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscall.stp(getrusage) Fix the output of getrusage's argstr
- when who is set to -2.
-
-2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * ia64/syscalls.stp Add a probe point syscall.sigaltstack for
- ia64.
- * signal.stp(signal.force_segv) Add a part(force_sigsegv_info)
- for signal.force_segv.
-
-2007-09-13 David Smith <dsmith@redhat.com>
-
- * task.stp (task_open_file_handles): Fixed for kernels less than
- version 2.6.15.
- (task_max_file_handles): Ditto.
-
-2007-09-13 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp: Replace get_user calls with __stp_get_user.
-
-2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * aux_syscalls.stp (_stp_sockaddr_str): Fix memory access error
- when calling with addrlen set to 0.
-
-2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * aux_syscalls.stp (_module_flags_str): Modify combination of
- flags' values.
-
-2007-09-04 Zhaolei <zhaolei@cn.fujitsu.com>
-
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * syscalls2.stp (quotactl): Init special_str before use.
- (rt_sigqueueinfo): Change pid's type from %p to %d in argstr.
-
-2007-08-31 Zhaolei <zhaolei@cn.fujitsu.com>
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * aux_syscalls.stp (_mknod_mode_str): Fix file type
- judgement error.
-
-2007-08-30 Wenji Huang <wenji.huang@oracle.com>
-
- * nfs.stp (__iov_length): Update.
- (nfs.fop.aio_read, nfs.fop.aio_write): Update calling __iov_length.
- * vfs.stp (generic.fop.aio_read, generic.fop.aio_write): Modify evaluating count,buf.
- (generic.fop.readv*, generic.fop.writev*, generic.fop.splice_read*,
- generic.fop.splice_write*, generic.fop.read*, generic.fop.write*): Make optional.
- (vfs.__set_page_dirty_buffers.return): Add condition.
- (vfs.remove_from_page_cache.return): Fix typo.
- (vfs.block_sync_page.return): Remove size and units.
-
-2007-08-30 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp (syslog): Make $buf output as address in argstr.
-
-2007-08-29 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp (sysfs): Set argstr's format different
- by value of option arg.
-
-2007-08-28 Wenji Huang <wenji.huang@oracle.com>
-
- * tcp.stp (sockstate): Fix typo.
-
-2007-08-28 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls.stp (bdflush): Add comma between args in argstr
- Set second parameter(data)'s type by first parameter(func)'s
- value in argstr.
-
-2007-08-27 Martin Hunt <hunt@redhat.com>
-
- * context.stp (module_name): New. Returns the current
- module name.
-
- * tcp.stp (tcp_sendmsg): For 2.6.23, parameters change.
-
-2007-08-27 Wenji Huang <wenji.huang@oracle.com>
-
- * signal.stp (signal.do_action): Modify evaluating sa_handler,sa_mask.
-
-2007-08-27 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp(sendto): Set $addr as content string in argstr.
-
-2007-08-24 Wenji Huang <wenji.huang@oracle.com>
-
- * scheduler.stp (scheduler.cpu_on,scheduler.migrate): Make optional.
- (scheduler.migrate): Modify evaluating cpu_from with task_cpu.
-
-2007-08-24 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp(send): Add len argument into argstr.
-
-2007-08-09 William Cohen <wcohen@redhat.com>
-
- * syscalls2.stp (compat_sys_utimensat): Correct function arg.
-
-2007-08-23 Martin Hunt <hunt@redhat.com>
-
- * syscalls2.stp (sys_tee.return): Make optional
-
-2007-08-23 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_struct_compat_timeval_u): Fix
- array reference.
- (_struct_compat_timespec_u): Cast args to long.
-
-2007-08-23 Martin Hunt <hunt@redhat.com>
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * aux_syscalls.stp (_waitid_opt_str): New.
- (_wait4_opt_str): Just handle wait4 options.
- * syscalls2.stp (sys_waitid): Use _waitid_opt_str.
-
-2007-08-23 Wenji Huang <wenji.huang@oracle.com>
-
- * rpc.stp (sunrpc.svc.process, sunrpc.svc.recv): Modify evaluating
- sv_name,sv_prog,sv_nrthreads in kernel>=2.6.19.
- (sunrpc.sched.delay,sunrpc.sched.delay): Fix typo.
- (sunrpc.*.return): Change name by adding "return".
-
-2007-08-23 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * aux_syscalls.stp (_send_flags_str): Add support for MSG_MORE
- (used in send, sendto, sendmsg and compat_sys_sendmsg).
- Change name of _send_flags_str to _sendflags_str for unify with
- _recvflags_str.
-
- * syscalls2.stp(send, sendto, sendmsg, compat_sys_sendmsg): Change
- name of _send_flags_str to _sendflags_str for unify with _recvflags_str.
-
-2007-08-22 Martin Hunt <hunt@redhat.com>
-
- * ppc64/syscalls.stp: Remove a bunch of
- non-ppc64 specific probes.
-
- * syscalls.stp (compat_sys_epoll_ctl): New.
- (compat_sys_epoll_wait): New.
- (sys_epoll_pwait): New.
- (compat_sys_epoll_pwait): New.
- (compat_sys_keyctl): New.
- (compat_sys_mq_open): New.
- (compat_sys_futex): New.
- (compat_sys_mq_timedsend): New.
- (compat_sys_mq_timedreceive): New.
- (compat_sys_mq_notify): New.
- (compat_sys_mq_getsetattr): New.
- (init_module): Make optional and quote args.
- (sys_eventfd): New.
-
- * syscalls2.stp (sys_splice): New.
- (sys_vmsplice): New.
- (compat_sys_vmsplice): New.
- (sys_tee): New.
- (sys_signalfd): New.
- (compat_sys_signalfd): New.
- (sys_timerfd): New.
- (compat_sys_timerfd): New.
- (old32_readdir): New.
-
-2007-08-22 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_utimensat_flag_str): New.
- (_dfd_str): New.
- (_struct_timeval2_u): Deleted.
- (_struct_timeval_u): Take a number of structs to decode.
- (_struct_compat_timeval2_u): Deleted
- (_struct_compat_timeval_u): Take a number of structs to decode.
- (_struct_timespec_u): Take a number of structs to decode.
- Recognize UTIME_NOW and UTIME_OMIT.
- (_struct_compat_timespec_u): Ditto.
-
- * syscalls.stp (compat_sys_old_getrlimit): Removed.
- (sys_migrate_pages): New.
- (sys_move_pages): New.
-
- * syscalls2.stp (compat_sys_sigprocmask): Removed. Calls
- sys_sigprocmask.
- (compat_sys_sysinfo): New.
- (compat_sys_rt_sigtimedwait): New.
- (sys_utimensat, compat_sys_utimensat): New.
-
- * ppc64/syscalls.stp (compat_sys_sigpending): Removed.
- Calls sys_ func.
- (compat_sys_setrlimit): Ditto.
- (compat_sys_getrlimit): Ditto.
- (compat_sys_old_getrlimit): Ditto.
- (compat_sys_getrusage): Ditto.
- (compat_sys_wait4): Ditto.
- (compat_sys_sched_setaffinity): Ditto.
- (compat_sys_sched_getaffinity): Ditto.
-
-2007-08-22 Wenji Huang <wenji.huang@oracle.com>
-
- * nfsd.stp (nfsd.proc?.*): Modify evaluating client_ip
- with function addr_from_rqst to make it compatible in kernel>=2.6.19
- (nfsd.proc4.compound,nfsd.read,nfsd.write): Fix typo.
- (nfsd.unlink): Fix reference to variable iap.
-
-2007-08-22 Wenji Huang <wenji.huang@oracle.com>
-
- * nfs.stp (__iov_length): Updated, Temporary here.
- * nfs_proc.stp (__i2n_ip_proto): Add type cast to sockaddr_in.
- (nfs.proc?.*): Modify evaluating count and offset.
- (nfs.proc?.read.return): Delete evaluating size and units.
- (nfs.proc?.write.return): Modify evaluating size.
- (nfs.proc?.create): Modify evaluating filename and filelen.
- (nfs.proc?.rename): Fix typo.
-
-2007-08-22 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp (syscall.setdomainname): Add argstr content
- (argstr = "" -> argstr = sprintf("%p, %d", $name, $len)).
-
-2007-08-21 Frank Ch. Eigler <fche@elastic.org>
-
- From Cai Fei <caifei@cn.fujitsu.com>:
- * syscalls2.stp, syscalls.stp: Added several missing argstr/retstr
- variables.
-
-2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>
-
- * syscalls2.stp (syscall.select): Fixed variable name error
- (timeout_uaddr = $tv->$tvp).
- * aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT
- used in recv, recvfrom, recvmsg, compat_sys_recvmsg
-
-2007-08-20 Masami Hiramatsu <mhiramat@redhat.com>
-
- * ioblock.stp: Fix __bio_ino() not to access i_ino if the page is not
- assigned to any inode.
-
-2007-08-20 Wenji Huang <wenji.huang@oracle.com>
-
- * nfs.stp (nfs.fop.aio_read, nfs.fop.aio_write): Modify evaluating count.
- (__iov_length): New function.
- (nfs.fop.sendfile, nfs.aop.set_page_dirty, nfs.aop.prepare_write,
- nfs.aop.release_page): Fix typo.
-
-2007-08-17 Martin Hunt <hunt@redhat.com>
- From Lai Jiangshan <laijs@cn.fujitsu.com>
- * syscalls.stp (creat): Fix argstr.
-
-2007-08-17 Wenji Huang <wenji.huang@oracle.com>
-
- * ioscheduler.stp (ioscheduler.elv_add_request,
- ioscheduler.elv_completed_request): Add checking $rq.
-
- * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
-
-2007-08-16 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1315.
- * target_set.stp: New tapset file.
-
-2007-08-16 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_sock_family_str):
- Add PF_IUCV, PF_RXRPC, PF_TIPC.
-
- From zhaolei@cn.fujitsu.com
- Remove PF_UNIX. PF_LOCAL is correct.
-
-2007-08-16 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (__get_argv): Add parameter to
- optionally skip the first argv (argv[0]).
- (__get_compat_argv): Ditto.
-
- * syscalls.stp (execve): Set args to the whole argv.
- For argstr use filename plus argv starting at [1].
- (compat_execve): Ditto.
- * ppc64/syscalls.stp (sys32_exevve): Ditto.
-
- From Cai Fei <caifei@cn.fujitsu.com>
- * syscalls.stp (sts_getpgid): Add pid arg.
-
-2007-08-16 Wenji Huang <wenji.huang@oracle.com>
-
- * errno.stp: Fix Typo for EADV.
-
-2007-08-15 Wenji Huang <wenji.huang@oracle.com>
-
- * aux_syscalls.stp (_reboot_flag_str,_futex_op_str,_mprotect_prot_str,
- _fcntl_cmd_str, _quotaclt_cmd_str, _sock_type_str, _rlimit_resource_str,
- _rusage_who_str): Add new entries, modify default return string.
-
-2007-08-15 Martin Hunt <hunt@redhat.com>
-
- * x86_64/syscalls.stp: Add support for sys32_mmap[2],
- sys32_vm86_warning, and sys32_pipe.
- * s390x/syscalls.stp (get_mmap_args): Move to aux_syscalls.
- * aux_syscalls.stp (get_mmap_args): Moved here.
- * syscalls.stp: Add sys32_alarm.
- * syscalls2.stp: Add sys32_uname.
-
-2007-08-15 Frank Ch. Eigler <fche@elastic.org>
-
- * context.stp (cpuid, cpu): Use smp_processor_id().
-
-2007-08-12 Wenji Huang <wenji.huang@oracle.com>
-
- * aux_syscalls.stp(_sched_policy_str,_nfsctl_cmd_str): Add SCHED_BATCH to
- policy entries, FSCTL_GETFD,NFSCTL_GETFS to nfsctl entries
-
-2007-08-10 Josh Stone <joshua.i.stone@intel.com>
-
- * conversions.stp (kernel_string, kernel_long, kernel_int,
- kernel_short, kernel_char, user_string_warn): Use the
- CONTEXT->error_buffer to create an error message instead of a static
- local array.
-
-2007-08-10 Frank Ch. Eigler <fche@elastic.org>
-
- From "Zhaolei" zhaolei@cn.fujitsu.com:
- * syscalls.stp (msync.return): Correct name variable.
-
-2007-08-10 Frank Ch. Eigler <fche@elastic.org>
-
- From "Zhaolei" zhaolei@cn.fujitsu.com:
- * aux_syscalls.stp (_sockopt_optname_str): Add SO_SND/RCVBUFFORCE.
-
-2007-08-09 Frank Ch. Eigler <fche@elastic.org>
-
- From Cai Fei <caifei@cn.fujitsu.com>:
- * aux_syscalls.stp (__fork_flags): Decode CLONE_VM, NEWNS, DETACHED.
-
-2007-08-09 William Cohen <wcohen@redhat.com>
-
- * tapset/syscalls.stp (syscall.compat_execve,
- syscall.compat_execve.return):
- * tapset/syscalls2.stp (syscall.compat_sys_semtimedop,
- syscall.compat_sys_semtimedop.return):
- * tapset/i686/syscalls.stp (syscall.set_zone_reclaim,
- syscall.set_zone_reclaim.return): Make optional.
-
-2007-08-08 Frank Ch. Eigler <fche@elastic.org>
-
- From "Zhaolei" zhaolei@cn.fujitsu.com:
- * aux_syscalls.stp (_sockopt_level_str): Correct level=1 string.
-
-2007-08-03 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (__get_compat_argv): Add cast.
-
-2007-07-31 Martin Hunt <hunt@redhat.com>
-
- * syscalls*: Move sys32_sysctl to arch dirs.
-
-2007-07-31 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp (clock_nanosleep): Fix flags string.
- * syscalls2.stp: Fix typo.
-
-2007-07-31 Martin Hunt <hunt@redhat.com>
-
- * */syscalls.stp: Added mmap functions.
- Continued moving common compatibility functions to
- the main tapset.
-
- * aux_syscalls.stp (_shmat_flags_str): New.
- (__get_compat_argv): New.
-
- * syscalls.stp (adjtimex): Just print hex argument.
- (compat_adjtimex): New.
- (clock_getres): Also probe compat_clock_getres.
- (clock_gettime): Also probe compat funcs.
- (compat_clock_nanosleep): New.
- (compat_execve): New.
- (fstatat): New.
- (get[e][gu]id): Also probe sys32.
- (getsockopt): Make optional. Also probe compat.
- (mmap, mmap2): These are arch-specific, so move to individual
- architecture subdirs.
- (compat_sys_msgctl): New.
- (compat_sys_msgrcv): New.
- (compat_sys_msgsnd): New.
-
- * syscalls.stp (pread32): Remove. It calls pread64 .
- (quotactl): Make optional.
- (recv): Probe correct function.
- (recvfrom): Fix args.
- (compat_sys_recvmsg): New.
- (semctl): Make optional.
- (compat_sys_semctl): New.
- (semget): Make optional.
- (semop): Make optional.
- (semtimedop): Make optional.
- (compat_sys_semtimedop): New.
- (send): Make optional.
- (sendmsg): Make optional.
- (compat_sys_sendmsg): New.
- (sendto): Make optional.
- (setsockopt): Make optional. Add compat.
- (shmat): New.
- (compat_sys_shmat): New.
- (shmctl): New.
- (compat_sys_shmctl): New.
- (shmdt): New.
- (shmget): New.
- (shutdown): Make optional.
- (socket): Make optional.
- (socketpair): Make optional.
- (swapoff): Make optional.
- (swapon): Make optional.
- (sysctl): Add probe on sys32.
-
-2007-07-31 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4793
- * ppc64/syscalls.stp: Remove duplicate sys_request_key{,.return}
- aliases.
-
-2007-07-30 Dave Wilder <dwilder@us.ibm.com>
-
- PR 4794
- * syscalls2.stp (syscall.pread and syscall.pread32)
- For s390x only changed the $buf argument to $ubuf.
- Change the format for count and position from %p to %d
- to make it consistant with sys_read and sys_write.
-
-2007-07-25 Mike Mason <mmlnx@us.ibm.com>
-
- PR 4386
- * memory.stp (vm.pagefault, vm.pagefault.return):
- __handle_mm_fault renamed back to handle_mm_fault in 2.6.23.
- Changed probes to look for either name in mm/memory.c and removed
- kernel version check.
- * task.stp (task_cpu): thread_info in task_struct changed
- to stack in 2.6.23. Usage appears to be the same as before.
-
-2007-07-17 Mike Mason <mmlnx@us.ibm.com>
-
- * socket.stp: changed initialization of *num2str arrays to
- foreach loops.
-
-2007-07-16 Martin Hunt <hunt@redhat.com>
- (compat_sys_io_submit): Fix typo.
-
-2007-07-16 Martin Hunt <hunt@redhat.com>
- * syscalls.stp (compat_sys_fcntl64, compat_sys_fcntl): Add.
- (compat_sys_fstatfs64): Add.
- (compat_sys_getdents, compat_sys_getdents64): Add.
- (compat_sys_ioctl): Add.
- (compat_sys_io_getevents): Add.
- (compat_sys_io_setup): Add.
- (compat_sys_io_submit): Add.
-
- * syscalls2.stp (compat_sys_nfsservctl): Add.
- (sys_openat): Add.
- (sys_ppoll): Add;
- (compat_sys_ppoll): Add.
- (sys32_pread64): Add.
- (sys32_pwrite32): Add.
- (sys_pwrite64): Print quoted string.
- (sys_pselect6, compat_sys_pselect6): Add.
- (sys_pselect7, compat_sys_pselect7): Add.
- (compat_sys_old_readdir): Add.
- (sys_select): Don't try to print fd_sets.
- (compat_sys_select): Add.
- (compat_sys_statfs64): Add.
-
- * ppc/syscalls.stp: Remove duplicated probes.
-
- * aux_syscalls.stp (_nfsctl_cmd_str): New.
- (_fd_set_u): Removed. Not used.
-
-2007-07-11 Eugene Teo <eteo@redhat.com>
-
- * tcp.stp (tcp_sockstate_str, tcp_sockopt_str,
- tcp_setsockopt): New. Also added sockopt and sockstate
- lookup tables.
-
-2007-07-10 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_struct_compat_timeval2_u):
- Fixes.
-
-2007-07-10 Martin Hunt <hunt@redhat.com>
- * syscall*.stp: Major reorganization work.
- * aux_syscalls.stp (_sigprocmask_how_str): Rewrite
- in C so real arch-dependent header files
- will be used.
- (_mlockall_flags_str): Ditto.
-
-2007-07-09 Martin Hunt <hunt@redhat.com>
- * syscalls2.stp (compat_sys_settimeofday): New.
-
-2007-07-09 Martin Hunt <hunt@redhat.com>
-
- * syscalls2.stp (compat_sys_utimes): New.
- * ppc64/syscalls.stp (compat_sys_utimes): Removed.
-
- * syscalls.stp (compat_sys_futimesat): Fix arg.
-
-2007-07-03 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp: Add sys_futimesat, compat_sys_futimesat.
- * syscalls2.stp (utimes): Use _struct_timeval2_u.
- * aux_syscalls.stp (_struct_timeval2_u): New function.
- (_struct_compat_timeval2_u): New function.
-
-2007-07-02 Martin Hunt <hunt@redhat.com>
-
- * context.stp (print_backtrace): If no regs, just
- print the probe point.
-
-2007-06-22 Frank Ch. Eigler <fche@elastic.org>
-
- * syscalls_cfg_trunc.stp: New file for configuration global.
- * syscalls.stp (add_key, mount), syscalls2.stp (write):
- Use parameter.
-
-2007-06-15 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp: Add sys_fcntl64, sys_oabi_fstat64,
- sys_oabi_lstat64.
- * syscalls2.stp: Fix sys_send. Add sys_sendfile64.
- * errno.stp: Add arm support.
-
-2007-06-14 Mike Mason <mmlnx@us.ibm.com>
-
- * socket.stp: removed extra assignment to "size" in
- socket.aio_write.return
-
-2007-06-07 Martin Hunt <hunt@redhat.com>
- Fallout from PR 3331 fix. Sometimes glibc and the
- kernel disagree about signed vs unsigned.
- * aux_syscalls.stp: Rename __uid() to __int32().
- * syscalls.stp: Change syscall.chown, syscall.fchown,
- syscall.lchown, and syscall.lseek to use __int32().
- * syscalls2.stp: Change syscall.setregid, syscall.resgid,
- syscall.resuid, and syscall.setreuid to use __int32().
-
-2007-05-17 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp: Make optional sys_alarm, sys_fadvise64,
- sys_gethostname, sys_getpgrp, and sys_llseek.
- (syscall.getrlimit): Add optional calls sys_old_getrlimit,
- compat_sys_getrlimit, and compat_sys_old_getrlimit.
-
- * syscalls2.stp: Make optional sys_nice, sys_rt_sigreturn,
- sys_signal, sys_sigprocmask, sys_utime
- (syscall.old_getrlimit): Moved into syscall.getrlimit.
-
-2007-05-16 Will Cohen <wcohen@redhat.com>
- PR 4471
- * syscall2.stp: Correct sys_pipe function args for ia64.
-
-2007-05-16 Will Cohen <wcohen@redhat.com>
-
- PR 4510
- * scheduler.stp: Correct function argument.
-
-2007-05-09 Martin Hunt <hunt@redhat.com>
-
- * syscalls2.stp: Added compat_sys_pause to syscall.pause.
-
- * syscalls.stp: Added sys_lstat64 to syscall.lstat.
- Added compat_sys_gettimeofday to syscall.gettimeofday.
-
- * ppc64/syscalls.stp: Remove sys_lstat64.
- * i686/syscalls.stp: Remove sys_lstat64.
-
-2007-04-25 David Wilder <dwilder@us.ibm.com>
-
- * syscall2.stp:syscall.pause added sys32_pause to probe list.
-
-2007-04-25 David Wilder <dwilder@us.ibm.com>
-
- * s390x/syscall.stp: Fix bug in syscall.mmap returning the wrong args
- for 32-bit versions of mmap calls.
-
-2007-04-24 Will Cohen <wcohen@redhat.com>
-
- * memory.stp: Update vm.pagefault.return comment.
-
-2007-04-24 Mike Mason <mmlnx@us.ibm.com>
-
- * socket.stp: adapted to changes in 2.6.19 socket routines
-
-2007-04-24 Will Cohen <wcohen@redhat.com>
-
- * memory.stp: Add matching vm.pagefault.return
-
-2007-04-23 Frank Ch. Eigler <fche@elastic.org>
-
- * scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes
- switch from __switch_to to context_switch on x86-64 in Ipswitch.
-
-2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>
-
- * scsi.stp: Fix for when the scsi driver is built into the kernel.
-
-2007-04-11 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp: Add in6.h include.
-
-2007-04-10 Martin Hunt <hunt@redhat.com>
-
- * logging.stp (print_char): New function.
-
- * aux_syscalls.stp: Clean up network includes.
-
-2007-04-09 Mike Mason <mmlnx@us.ibm.com>
-
- * DEVGUIDE: Added new tapset developer's guide.
-
-2007-03-30 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1570.
- * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt
- to .inline -> .function change.
-
-2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net>
-
- * nfsd.stp (nfsd.dispatch): Change initialization of variable
- client_ip with a call to addr_from_rqst.
- * rpc.stp (addr_from_rqst): - update with changes in struct svc_rqst
- - __rpc_execute returns void now. struct rpc_xprt modified since
- kernel 2.6.19.
- * nfs.stp, vfs.stp: Local variables f_dentry renamed, because
- conflicting with a new #define in kernel header linux/fs.h in 2.6.20.
-
-2007-02-29 David Wilder <dwilder@us.ibm.com>
-
- *conversions.stp (kernel_int) added goto success; (PR 4419)
-
-2007-02-22 David Wilder <dwilder@us.ibm.com>
-
- * syscalls.stp, s390x/syscall.stp: Created an s390x version of
- syscall.mmap, syscall.mmap2, syscall.mmap.return, syscall.mmap2.return.
-
-2007-02-09 Fr ank Ch. Eigler <fche@elastic.org>
-
- * conversions.stp (*): Make errmsg usage uniform.
-
-2007-02-06 Josh Stone <joshua.i.stone@intel.com>
-
- * aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp,
- nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp,
- socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences
- with kread wherever possible. Some places still have hazards, as
- marked with FIXMEs.
-
- * errno.stp (returnstr): Don't use return in tapset C functions.
- * aux_syscalls.stp (__uget_timex_m): Ditto.
- * nfsd.stp (__get_fh): Ditto.
- * nfs.stp, vfs.stp (<many functions>): Ditto.
- * string.stp (substr): Ditto. Also make sure start index is valid.
-
- * syscalls.stp (syscall.execve): Change __string to kernel_string.
-
-2007-02-06 Frank Ch. Eigler <fche@elastic.org>
-
- * conversions.stp (kernel_long/int/short/char): New functions.
-
-2007-01-31 Martin Hunt <hunt@redhat.com>
-
- * context.stp (print_backtrace): Modify for new
- _stp_stack_print.
- (backtrace): Just use _stp_stack_snprint().
- (print_stack): Use new _stp_print* functions.
- (probefunc): Use _stp_symbol_snprint.
-
-2007-01-26 Josh Stone <joshua.i.stone@intel.com>
-
- * vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.
-
-2007-01-25 Mike Mason <mmlnx@us.ibm.com>
-
- * socket.stp: Fix for missing SOCK_PASSSEC in kernels earlier
- than 2.6.18.
-
-2007-01-25 Martin Hunt <hunt@localhost.localdomain>
-
- * syscalls2.stp: Add sys32_ustat probe.
-
-2007-01-23 Mike Mason <mmlnx@us.ibm.com>
-
- * socket.stp: Fixed bit checking method in sock_flags_num2str()
- to match how it's done in the kernel.
-
-2007-01-23 Mike Mason <mmlnx@us.ibm.com>
-
- * socket.stp: New sockets tapset.
-
-2007-01-23 Mike Mason <mmlnx@us.ibm.com>
-
- * string.stp: Added tokenize() and strtol() functions.
-
-2007-01-17 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp: Add syscall.creat.
- * syscalls2.stp: Add compat_sys_open.
-
-2007-01-13 Mike Mason <mmlnx@us.ibm.com>
-
- * ioblock.stp: renamed __bio_direction() to bio_rw_num()
-
-2007-01-12 Mike Mason <mmlnx@us.ibm.com>
-
- * x86_64/syscalls.stp: added ? to request_key aliases
- to prevent syscall.* failures on some kernels
-
-2006-12-29 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian <guij@cn.ibm.com>
- * ioscheduler.stp, nfsd.stp, nfs.stp, nfs_proc.stp,
- rpc.stp, vfs.stp: patch for 2.6.19 kernel
-
-2006-12-18 Frank Ch. Eigler <fche@elastic.org>
-
- * vfs.stp (ppos_pos): Protect contents with deref(), though
- this blocks operation on i686 due to bug #3079.
-
-2006-12-13 Mike Mason <mmlnx@us.ibm.com>
-
- * scheduler.stp: fixed last line in scheduler.ctxswitch to
- reference $prev_p->state instead of $prev_p->pid.
-
-2006-12-11 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian <guij@cn.ibm.com>
- * nfs.stp, nfs_proc.stp, rpc.stp: patch for 2.6.9 kernel
-
-2006-11-29 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian <guij@cn.ibm.com>
- * scheduler.stp, vfs.stp: made idle_balance and
- buffer_migrate_page optinal.
-
-2006-11-20 Frank Ch. Eigler <fche@elastic.org>
-
- * context.stp (caller_addr): Declare return type.
-
-2006-11-07 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian <guij@cn.ibm.com>
- * signal.stp, memory.stp: make do_mmap2, copy_cow_page
- and signal.handle.return optional since they are obsolete
- or failed to probe on 2.6.18.1/ppc64
-
-2006-11-02 Frank Ch. Eigler <fche@elastic.org>
-
- * README: Add a blurb against running these scripts directly.
-
-2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * context.stp: Added proper handling of statement
- * probe in probefunc() for IA64 (bz# 3423)
-
-2006-10-16 Li Guanglei <guanglei@cn.ibm.com>
- * scsi.stp: check whether rq_disk is empty
- * scheduler.stp: revert changes for x86_64
-
-2006-10-13 Li Guanglei <guanglei@cn.ibm.com>
- * scsi.stp: add some variables
- * scheduler.stp: skip __switch_to on x86_64
-
-2006-10-12 Martin Hunt <hunt@redhat.com>
- * context.stp (print_backtrace): Pass in new
- kretprobe instance arg.
- (backtrace): Ditto.
- (is_return): Rewrite.
- (stack_size): New.
- (stack_used): New.
- (stack_unused): New.
- (called_addr): New.
- (caller): New.
-
-2006-10-12 Li Guanglei <guanglei@cn.ibm.com>
- * ioscheduler.stp: bugfix to avoid refer to NULL pointer
-
-2006-10-11 Li Guanglei <guanglei@cn.ibm.com>
- * nfs.stp, nfsd.stp: bugfix of pointer conversion on
- 32-bit platform.
- * i686/syscall.stp: make sys_request_key optional since
- it failed to probe on 2.6.18/i386
-
-2006-10-04 Frank Ch. Eigler <fche@elastic.org>
-
- * context.stp (probefunc): Return empty string for
- userspace (< PAGE_OFFSET) pointers.
-
-2006-09-26 David Smith <dsmith@redhat.com>
-
- * test/run.sh: Changed 'stpd' references to 'staprun'.
-
-2006-09-20 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3233
- * timestamp.stp (gettimeofday_ns): New function
- (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
- Use gettimeofday_ns as the base unit.
-
-2006-09-19 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian <guijian@cn.ibm.com>
-
- * rpc.stp: Some changes and more comments of RPC tapset
-
-2006-09-18 Martin Hunt <hunt@redhat.com>
-
- * logging.stp (stp_print_binary): New function.
- * string.stp: Fix docs.
-
-2006-09-12 Li Guanglei <guanglei@cn.ibm.com>
-
- From Li Xuepeng <xuepengl@cn.ibm.com>
-
- * nfsd.stp, nfs_proc.stp, nfs.stp:
- Change NFS file identifier. Change NFS version data type
- from String to INT. Add version variable to nfs_open
- and nfs_release.
-
-2006-09-11 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian(guijian@cn.ibm.com>
- * rpc.stp: tapsets for RPC activities.
-
-2006-08-30 Li Guanglei <guanglei@cn.ibm.com>
-
- * signal.stp: some changes to arguments and comments
- of signal tapset
-
-2006-08-25 Li Guanglei <guanglei@cn.ibm.com>
-
- From Li Xuepeng:
- * vfs.stp,nfsd.stp,nfs.stp: bug fixes and more error checking
-
-2006-08-23 Li Guanglei <guanglei@cn.ibm.com>
-
- * vfs.stp: New tapset from Thomas Zanussi(trz@us.ibm.com) to probe
- vfs layer activities.
- * nfs.stp: New tapset from Li Xuepeng(xuepengl@cn.ibm.com) to probe
- nfs file operations and nfs address space operations on client side.
- * nfs_proc.stp: New tapset from Li Xuepeng to probe some nfs RPC
- procedure stub functions on client side.
- * nfsd.stp: New tapset from Li Xuepeng to probe nfs server side
- activities, including some RPC procedure stub functions, nfsd
- dispatch routine, and nfsd_* functions
-
-2006-08-22 Li Guanglei <guanglei@cn.ibm.com>
-
- * signal.stp: More variables for signal.do_action and
- signal.procmask. New function of get_sigset(). Minor
- changes to naming of signal.pend and its comments
-
-
-2006-08-21 Martin Hunt <hunt@redhat.com>
-
- * string.stp (substr): Rewrite. Make the 3rd parameter
- be the length.
-
-2006-08-17 Josh Stone <joshua.i.stone@intel.com>
-
- * signal.stp: Changes on behalf of Manoj S Pattabhiraman:
- 1. As per the suggestions, i have removed the argstr from the
- probe points.
- 2. Added some checks to find whether the signals generated are
- USER or Kernel Mode in signal_handle probe.
-
-2006-08-17 Li Guanglei <guanglei@cn.ibm.com>
-
- * signal.stp: update signal tapsets based on the discussion
- with Josh Stone on mailinglist:
- 1. Added "send2queue" and "name" variable for signal.send.part*
- 2. Added signal.send.return probe alias
- 3. Added signal.checkperm and signal.checkperm.return probe alias
- 4. Commented out signal.handle_stop
- 5. Alias all signal syscalls to syscall tapsets.
-
-2006-08-15 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * ioblock.stp: Added safety checks for __bio_ino() and
- __bio_start_sect().
-
-2006-08-09 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * ioblock.stp: Merged io.stp from Tom Zanussi (IBM) into existing
- ioblock.stp. Removed/Renamed duplicate variables and probes.
-
-2006-08-09 Josh Stone <joshua.i.stone@intel.com>
-
- * signal.stp: Create a new tapset that addresses process signals.
- Much of this was contributed by Manoj Pattabhiraman (IBM).
- * process.stp: Remove aliases that now belong in signal tapset
- * memory.stp: move pagefault to vm.* namespace, and add many other
- virtual-memory themed probes.
-
-2006-08-09 David Smith <dsmith@redhat.com>
-
- * syscalls.stp: Fixed typo in syscall.kexec_load argument
- handling.
-
-2006-08-08 Eugene Teo <eteo@redhat.com>
-
- * context.stp (probemod): New function.
-
-2006-07-18 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * context.stp: Modified probefunc() to print the function
- name (without the dot) for statement probe on ppc64.
-
-2006-07-17 David Smith <dsmith@redhat.com>
-
- * context.stp: Removed returnval() function. Use $return
- instead.
- * return.stp: Removed. Use $return instead.
-
-2006-07-17 Tom Zanussi <zanussi@us.ibm.com>
-
- * ioblock.stp: add null bi_bdev check to bio_devname()
-
-2006-07-17 Li Guanglei <guanglei@cn.ibm.com>
-
- * syscalls.stp: make sys_acct, sys_add_key, sys_keyctl
- and sys_modify_ldt optional on ppc64 since they are
- weak symbol.
- * ppc64/syscalls.stp: remove syscall.acct, syscall.add_key
- and syscall.umask since they are already defined in
- syscalls.stp
-
-2006-07-04 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp, syscalls2.stp: Use user_string_quoted().
-
-2006-07-04 Li Guanglei <guanglei@cn.ibm.com>
-
- * syscalls.stp, syscalls2.stp, ppc64/syscalls.stp:
- fix syscall.lstat, syscall.lstat64, syscall.newlstat.
- * ppc64/syscalls.stp: fix syscall.compat_sys_statfs and
- syscall.sys32_open
-
-2006-07-04 Li Guanglei <guanglei@cn.ibm.com>
-
- * memory.stp: add addr_to_node() from Jose R. Santos
- (jrs@us.ibm.com)
- * syscalls.stp: typo for syscall.lstat
-
-2006-06-30 Martin Hunt <hunt@redhat.com>
-
- * conversions.stp (user_string): Don't generate errors
- on faults, just return <unknown>.
- (user_string2): New function.
- (user_string_warn): New function.
-
-2006-06-26 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_stp_ctime): New function.
- (_struct_utimbuf_u): New function.
-
-2006-06-25 Li Guanglei <guanglei@cn.ibm.com>
-
- * syscalls.stp: Changes to AIO related syscalls(io_setup,
- io_submit, io_getevents, io_cancel, io_destroy)
-
-2006-06-23 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * tcp.stp: Refined variables and added more
- function descriptions.
- * udp.stp: UDP tapset.
- * inet_sock.stp: common inet_sock functions
- for TCP and UDP tapsets.
-
-2006-06-22 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * tcp.stp: TCP tapset (originally from IBM)
-
-2006-06-21 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2525
- * timestamp.stp (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
- Convert to using the runtime-provided _stp_gettimeofday_us().
-
-2006-06-19 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp: Make the 16-bit calls optional.
- * syscalls2.stp: Ditto.
-
-2006-06-09 Martin Hunt <hunt@redhat.com>
-
- * syscalls2.stp: Fix sys_sync.
-
-2006-06-09 Martin Hunt <hunt@redhat.com>
-
- * syscalls2.stp: Fixed the uid and gid calls.
-
-2006-06-09 Li Guanglei <guanglei@cn.ibm.com>
-
- * syscalls.stp: made sys_ftruncate64 optional since it doesn't
- exist on 2.6.16*/ppc64
-
-2006-06-08 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * ioblock.stp: new (block I/O activities)
-
-2006-06-06 Josh Stone <joshua.i.stone@intel.com>
-
- * process.stp (create, exec_complete): replace retval() with $return
-
-2006-06-02 Josh Stone <joshua.i.stone@intel.com>
-
- * process.stp (exec, exec_complete): conditionally include
- compat_do_execve for 64-bit kernels
- * process.stp (handle_signal): use optional probes to alternate
- between function or inline
-
-2006-05-30 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_mountflags_str): Rewrite.
- (_umountflags_str): New.
-
- * syscalls.stp (fstatfs.return): Add retstr.
-
- * syscalls2.stp (sys_write): Use text_strn().
- * syscalls.stp (sys_lseek): Fix.
- (sys_llseek): Fix.
-
- * string.stp (text_str): New.
- (text_strn): New.
-
-2006-05-26 Martin Hunt <hunt@redhat.com>
-
- * errno.stp: Add octal option for returnstr.
-
- * [i686,x86_64]/syscalls.stp (umask): Print args and return
- in octal.
- (add_key): Comment out. This syscall is added by a xen patch
- and may not be present.
- (tux): Ditto.
-
- * syscalls.stp (accept): Fix arg name.
-
-2006-05-25 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp: Add sys_fcntl and sys_listen.
-
- * syscalls2.stp: Commented out sys_socketcall because it only calls
- other system calls which are already probed.
-
-2006-05-25 Martin Hunt <hunt@redhat.com>
-
- * syscall*.stp: Change "0x%p" to "%p".
-
-2006-05-25 Li Guanglei <guanglei@cn.ibm.com>
-
- * scheduler.stp: add prev_task and next_task variable.
-
-2006-05-24 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2677
- * context.stp (probefunc): Use _stp_symbol_sprint_basic
-
-2006-05-19 Li Guanglei <guanglei@cn.ibm.com>
-
- Patch from Mao Bibo (bibo.mao@intel.com)
- * tapset/aux_syscalls.stp: change %lx to %llx in snprintf to
- print the address in IA64
-
-2006-05-19 Li Guanglei <guanglei@cn.ibm.com>
-
- * tapset/ioscheduler.stp: change . to -> operator to get the
- elevator name
-
-2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
-
- * tapset/LKET/*: tracing tapsets of LKET
- * tapset/context.stp: add stp_pid() func
- * tapset/ppc64/syscalls.stp: add conditional preprocessing
- since sys64_time is removed from kernel >= 2.6.16
-
-2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
-
- * tapset/tskschedule.stp: deleted, merge into scheduler.stp
- * tapset/scheduler.stp: incorporate tskschedule.stp
-
-2006-05-17 Josh Stone <joshua.i.stone@intel.com>
-
- * process.stp: Rename signal.send to signal_send and process.complete
- to process_complete, to allow process.* to work properly.
- * process.stp (_IS_ERR): declare parameter type
- * process.stp (process.create): correct new_pid assignment
- * scheduler.stp: New scheduler tapset
-
-2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
-
- * tapset/ioscheduler.stp: generic IO scheduler tapsets from LKET
- * tapset/memory.stp: generic pagefault tapsets from LKET
- * tapset/networking.stp: generic networking tapsets from LKET
- * tapset/scsi.stp: generic scsi tapsets from LKET
- * tapset/tskschedule.stp: generic task scheduler tapsets from LKET
- * tapset/process.stp: changes to process.exec alias
-
-
-2006-05-16 David Smith <dsmith@redhat.com>
-
- * conversions.stp (hexstring, string): Removed functions. Because
- of parser changes, "string" is now a reserved word and cannot be a
- function name. Use 'sprintf("0x%x", num)' to replace hexstring()
- and either 'sprint(num)' or 'sprintf("%d", num)' to replace
- string().
-
- * syscalls.stp (syscall.accept, syscall.alarm, syscall.close,
- syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir,
- syscall.fdatasync, syscall.fsync, syscall.getsid) Changed
- 'string()' calls to 'sprint()' calls.
- * syscalls2.stp (syscall.sched_get_priority_max,
- syscall.sched_get_priority_min, syscall.sched_getscheduler,
- syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid,
- syscall.setfsuid16, syscall.setgid, syscall.setgid16,
- syscall.setuid, syscall.setuid16, syscall.ssetmask,
- syscall.timer_delete, syscall.timer_getoverrun): Ditto.
- * i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn,
- syscall.sigreturn): Ditto.
- * ppc64/syscalls.stp (syscall.ppc64_personality): Ditto.
- * x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask):
- Ditto.
-
- * test/ctostp.sh: Uses 'sprint()' instead of 'string()' in
- generated systemtap code.
-
-2006-05-14 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it
- is complete and works on different archs.
-
-2006-05-09 Josh Stone <joshua.i.stone@intel.com>
-
- * context.stp (probefunc): remove use of labels
- * task.stp: functions to retrieve task information
- * process.stp: tapset for process-related events
-
-2006-05-08 Josh Stone <joshua.i.stone@intel.com>
-
- PR 2594
- From Thang P Nguyen <thang.p.nguyen@intel.com>
- * context.stp (probefunc): expands ability to detect the function
- for different types of probes.
-
-2006-05-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2643
- * syscalls.stp: Put back some dummy syscall.exit*.return probes.
-
-2006-05-03 Frank Ch. Eigler <fche@elastic.org>
-
- * context.stp, errno.stp: Note/eliminate some retval() duplication.
-
-2006-04-27 Martin Hunt <hunt@redhat.com>
-
- * endian.stp (set_endian): Remove "pure" to prevent
- this from optimizing away.
-
-2006-04-21 Frank Ch. Eigler <fche@elastic.org>
-
- * aux_syscalls.stp (_fildes_u): Declare return value type.
-
-2006-04-18 Frank Ch. Eigler <fche@elastic.org>
-
- * conversions.stp (string, hex_string): Use snprintf for safety.
-
-2006-04-18 Martin Hunt <hunt@redhat.com>
-
- * conversions.stp (user_string): Reenable error message.
-
-2006-04-17 Martin Hunt <hunt@redhat.com>
-
- * endian.stp (set_endian): New function.
-
-2006-03-06 Martin Hunt <hunt@redhat.com>
-
- * system.stp: New tapset.
-
-2006-03-01 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_struct_sockaddr_u): Parse sockaddr.
-
- * syscalls.stp (bind): Call _struct_sockaddr_u().
-
- * errno.stp (errno_str): Complete rewrite in C for speed and
- accuracy.
- (returnstr): New function for syscall tapet.
-
-2006-02-22 Frank Ch. Eigler <fche@elastic.org>
-
- * timestamp.stp (get_cycles): New function.
-
-2006-02-21 Martin Hunt <hunt@redhat.com>
-
- * context.stp: Fix definition of returnval(). Now the same as retval().
- Cleanup needed. Only one can survive.
-
-2006-02-17 Frank Ch. Eigler <fche@elastic.org>
-
- * context.stp (cpu): Clone undocumented cpuid() function.
-
-2006-02-14 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp: More updates.
-
-2006-02-14 Frank Ch. Eigler <fche@elastic.org>
-
- * queue_stats.stp: New tapset.
-
-2006-02-14 Mark McLoughlin <markmc@redhat.com>
-
- * aux_syscalls.stp: (_sys_open_flag_str): s/O_NDCTTY/O_NOCTTY/
-
-2006-02-14 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp (_struct_timeval_u): New function.
- (_struct_timeval): New function.
- (_struct_timespec_u): New function.
- (_struct_timespec): New function.
- (_struct_itimerval_u): New function:
- (_struct_itimerval): New function:
- (_signal_name): New function.
- (_module_flags_str): Fixed.
-
- * syscalls2.stp (syscall.setitimer): Use new function
- _struct_itimerval_u().
-
- * syscalls.stp: Latest version. Many changes.
-
-2006-02-08 Martin Hunt <hunt@redhat.com>
-
- * aux_syscalls.stp(_msync_flag_str): Fix.
- (_wait_opt_str): Fix.
- * syscalls.stp: Latest.
-
-2006-02-07 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp: Latest.
- * syscalls2.stp: Commented out pciconfig calls. Those
- need to go in arch-specific directories.
-
- * aux_syscalls.stp (_access_mode_str): Fix.
- (_mmap_flags): New Function.
- (_mprotect_prot_str): Fix.
- (__string): New.
- (__get_argv): New.
- (__fork_flags): New.
-
-2006-02-01 Martin Hunt <hunt@redhat.com>
-
- * syscalls.stp: New syscall file.
- * syscall2.stp: More syscalls.
- * i686/syscalls.stp: x86-specific calls.
- * x86_64/syscalls.stp: x86_64-specific calls.
-
-2006-01-30 Martin Hunt <hunt@redhat.com>
-
- * context.stp (probefunc): New function.
- (is_return): New function.
- (returnval): New function.
-
-2006-01-15 Frank Ch. Eigler <fche@elastic.org>
-
- * logging.stp: Revert.
-
-2006-01-10 Martin Hunt <hunt@redhat.com>
-
- * logging.stp: Don't set STAP_SESSION_STOPPING.
- That it done in _stp_exit().
-
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
deleted file mode 100644
index afb757ae..00000000
--- a/testsuite/ChangeLog
+++ /dev/null
@@ -1,2190 +0,0 @@
-2009-02-19 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/static_uprobes.exp: Standardized pass/fail message
- strings. Removed "objcopy -R .probe" for C++ test case.
-
-2009-02-18 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp: Also test without .probes section.
-
-2009-02-18 David Smith <dsmith@redhat.com>
-
- * systemtap.base/static_uprobes.exp: Handles errors from running
- 'dtrace' python script better.
- * systemtap.base/labels.exp: Better cleanup.
-
-2009-02-17 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/static_uprobes.exp: Handle $srcdir != $builddir.
-
-2009-02-17 Mark Wielaard <mjw@redhat.com>
-
- * Makefile.am: Set SYSTEMTAP_INCLUDES.
- * systemtap.base/static_uprobes.exp: Always run the compile tests,
- use SYSTEMTAP_INCLUDES to find sys/sdt.h, use SYSTEMTAP_PATH to
- find dtrace script.
- * Makefile.in: Regenerated.
- * aclocal.m4: Likewise.
- * configure: Likewise.
-
-2009-02-16 David Smith <dsmith@redhat.com>
-
- * systemtap.base/bz5274.exp: Better cleanup.
- * systemtap.base/bz6850.exp: Ditto.
- * systemtap.base/uprobes.exp: Ditto.
- * systemtap.base/static_uprobes.exp: Ditto. Also changed a
- 'spawn' to an 'exec' to avoid needing to wait.
-
-2009-02-15 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp: Test with both c++ and c.
-
-2009-02-10 Will Cohen <wcohen@redhat.com>
-
- * systemtap.examples/memory/kmalloc-top.meta: Correct testing commands.
-
-2009-02-10 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/pfaults.exp:
- * systemtap.samples/pfaults.stp: Removed.
- * systemtap.examples/memory/pfaults.stp: Revised version from samples.
- * systemtap.examples/memory/pfaults.meta: New
- * systemtap.examples/index.html:
- * systemtap.examples/index.txt:
- * systemtap.examples/keyword-index.html:
- * systemtap.examples/keyword-index.txt: Regenerate.
-
-2009-02-11 Tim Moore <timoore@redhat.com>
-
- * systemtap.examples/profiling/latencytap.stp: Use _stp_stack_snprint_tsk.
-
-2009-02-10 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/profile.exp:
- * systemtap.samples/profile.stp: Remove.
-
-2009-02-10 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/crash.exp:
- * systemtap.samples/crash.sh: Move to systemtap.base directory.
-
-2009-02-09 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/poll_map.exp:
- * systemtap.samples/poll_map.stp: Move to systemtap.base directory.
-
-2009-02-09 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/kmalloc-top: Removed.
- * systemtap.examples/memory/kmalloc-top: Revised version from samples.
- * systemtap.examples/memory/kmalloc-top.meta: New
- * systemtap.examples/index.html:
- * systemtap.examples/index.txt:
- * systemtap.examples/keyword-index.html:
- * systemtap.examples/keyword-index.txt: Regenerate.
-
-2009-02-06 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/iotask.stp:
- * systemtap.samples/iotask2.stp: Remove.
- * systemtap.examples/io/iostats.stp:
- * systemtap.examples/io/iostats.meta: New
- * systemtap.examples/index.html:
- * systemtap.examples/index.txt:
- * systemtap.examples/keyword-index.html:
- * systemtap.examples/keyword-index.txt: Regenerate.
-
-2009-02-06 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/syscalls.stp:
- * systemtap.samples/syscalls1.exp:
- * systemtap.samples/syscalls2.exp: Removed.
-
-2009-02-06 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/symbols.exp:
- * systemtap.samples/symbols.sstp: Move to systemtap.context directory.
-
-2009-02-02 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/topsys.stp: Revised and moved to examples.
- * systemtap.examples/profiling/topsys.stp:
- * systemtap.examples/profiling/topsys.meta: New.
- * systemtap.examples/index.html:
- * systemtap.examples/index.txt:
- * systemtap.examples/keyword-index.html:
- * systemtap.examples/keyword-index.txt: Regenerate.
-
-2009-02-02 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/tcp_connections.stp: Revised and moved to examples.
- * systemtap.examples/network/tcp_connections.stp:
- * systemtap.examples/network/tcp_connections.meta: New.
- * systemtap.examples/index.html:
- * systemtap.examples/index.txt:
- * systemtap.examples/keyword-index.html:
- * systemtap.examples/keyword-index.txt: Regenerate.
-
-2009-02-02 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/tcp_connections_wa.stp: Remove.
-
-2009-02-01 Stan Cox <scox@redhat.com>
-
- * systemtap.base/labels.exp: New.
-
-2009-01-30 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/queue_demo.exp:
- * systemtap.samples/queue_demo.stp: Remove.
-
-2009-01-30 Frank Ch. Eigler <fche@elastic.org>
-
- * semok/twenty.stp: Don't spew so much into systemtap.log.
-
-2009-01-30 Dave Brolley <brolley@redhat.com>
-
- * lib/systemtap.exp (setup_systemtap_environment): Make sure that
- the build directory is on the path if using a server for 'make check'.
- Use a string to check $server_pid.
-
-2009-01-30 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/scf.stp:
- * systemtap.samples/scf2.stp: Remove
- * systemtap.examples/interrupt/scf.*: Revised scf.stp.
- * systemtap.examples/index.html:
- * systemtap.examples/index.txt:
- * systemtap.examples/keyword-index.html:
- * systemtap.examples/keyword-index.txt: Regenerate.
-
-2009-01-29 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/arith*:
- * systemtap.samples/control_limits.*:
- * systemtap.samples/gtod.*:
- * systemtap.samples/system_func.*: Moved to systemtap.base.
-
-2009-01-29 Will Cohen <wcohen@redhat.com>
-
- * systemtap.samples/args.exp:
- * systemtap.samples/args.stp:
- * systemtap.samples/primes.exp:
- * systemtap.samples/primes.stp:
- * systemtap.samples/testlog.stp: Remove.
-
-2009-01-28 Will Cohen <wcohen@redhat.com>
-
- * systemtap.examples/profiling/timeout.meta:
- * systemtap.examples/profiling/timeout.stp: New.
- * systemtap.examples/index.html:
- * systemtap.examples/index.txt:
- * systemtap.examples/keyword-index.html:
- * systemtap.examples/keyword-index.txt: Regenerate.
-
-2009-01-22 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp: Test dtrace.
-
-2009-01-20 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp: Don't test -lsduprobes.
-
-2009-01-20 Wenji Huang <wenji.huang@oracle.com>
-
- * systemtap.base/bz5274.exp: Add checking utrace.
- * systemtap.base/bz6850.exp: Ditto.
- * systemtap.base/static_uprobes.exp: Ditto.
- * systemtap.base/uprobes.exp: Ditto.
-
-2009-01-13 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp: Use sdt.h
-
-2009-01-11 Wenji Huang <wenji.huang@oracle.com>
-
- * systemtap.base/badkprobe.exp: Add explicit timeout.
-
-2009-01-09 Dave Brolley <brolley@redhat.com>
-
- * lib/systemtap.exp: Remove ssl_server_path and ssl_client_path.
-
-2009-01-06 Frank Ch. Eigler <fche@elastic.org>
-
- PR 9699:
- * systemtap.context/backtrace.tcl: Correct tcl syntax in fail message.
-
-2008-12-24 Dave Brolley <brolley@redhat.com>
-
- * lib/systemtap.exp: Rename client_path to net_path.
- (setup_systemtap_environment): Set ssl_server_path and
- ssl_client_path. Pass ssl_server_path to stap-find-or-start-server.
-
-2008-12-21 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp: Parms now called $argN
-
-2008-12-16 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp: Generate our own probes file.
-
-2008-12-09 Frank Ch. Eigler <fche@elastic.org>
-
- PR6961.
- * systemtap.base/backtrace.{exp,stp}: New files.
- * systemtap.base/marker.exp: Modified to trigger backtrace.
-
-2008-12-04 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp (STAP_PROBE_START): Remove.
-
-2008-12-03 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/debugpath.exp: Correct test case for new -r behavior.
-
-2008-12-02 Wenji Huang <wenji.huang@oracle.com>
- PR7053.
- * systemtap.base/global_stat.exp: New test.
-
-2008-11-29 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/uprobes.exp: Simplify -p5 test.
-
-2008-11-29 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/static_uprobes.exp: Simplified pass/fail messages.
-
-2008-11-28 Frank Ch. Eigler <fche@elastic.org>
-
- PR5376.
- * parseko/twentysix: New test.
-
-2008-11-26 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp: Check debuginfo static uprobes.
- * systemtap.base/static_uprobes.stp: Check debuginfo static uprobes.
-
-2008-11-21 Frank Ch. Eigler <fche@elastic.org>
-
- PR5689.
- * systemtap.base/skipped.exp: New test.
-
-2008-11-19 Jim Keniston <jkenisto@us.ibm.com>
-
- * systemtap.context/num_args.stp: Added s390x case.
-
-2008-11-18 Frank Ch. Eigler <fche@elastic.org>
-
- PR6925.
- * systemtap.base/cmd_parse.exp: Add --vp test.
-
-2008-11-11 Stan Cox <scox@redhat.com>
-
- * systemtap.base/static_uprobes.exp: New file.
- * systemtap.base/static_uprobes.stp: New file.
-
-2008-11-13 Mark Wielaard <mjw@redhat.com>
-
- * systemtap.base/bz6850.exp: Pick up the stap being tested when
- executing under sudo.
- * systemtap.base/uprobes.exp: Likewise.
-
-2008-11-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR6964.
- * systemtap.base/cmd_parse.exp: Remove exit() hack.
-
-2008-11-12 David Smith <dsmith@redhat.com>
-
- * systemtap.context/num_args.tcl: Improved error handling of
- testcase.
-
-2008-11-03 Wenji Huang <wenji.huang@oracle.com>
-
- * systemtap.base/cmd_parse.exp: Add exit() to probe.
-
-2008-10-29 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/vars.exp: Remove "2>&1" that left turds behind.
-
-2008-10-28 Frank Ch. Eigler <fche@elastic.org>
-
- From Srikar Dronamraju <srikar@linux.vnet.ibm.com>:
- * systemtap.base/bz5274.*: New tests.
-
-2008-10-28 David Smith <dsmith@redhat.com>
-
- * buildok/vfs_testcase.stp: Fixes for updated vfs tapset.
-
-2008-10-28 Wenji Huang <wenji.huang@oracle.com>
-
- * buildok/context_test.stp: Correct for 2.6.28.
- * buildok/ioblock_test.stp: Ditto.
-
-2008-10-27 Josh Stone <joshua.i.stone@intel.com>
-
- * systemtap.printf/char1.stp: Expose i686 failure
-
-2008-10-27 Rajan Arora <rarora@redhat.com>
-
- * systemtap.base/global_end.exp: Spawn global_end2.stp
-
-2008-10-20 Elliott Baron <ebaron@redhat.com>
-
- PR6851
- * systemtap.printf/char1.exp: New test.
-
-2008-10-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR6749.
- * systemtap.base/badkprobe.exp: New test.
-
-2008-10-09 Mark Wielaard <mjw@redhat.com>
-
- * systemtap.base/uprobes.exp: Cleanup generated files.
-
-2008-10-09 Rajan Arora <rarora@redhat.com>
-
- * systemtap.base/warnings.exp: Allow for source: lines.
- * parseko/source_context.stp: New file.
-
-2008-10-04 Mark Wielaard <mjw@redhat.com>
-
- * systemtap.base/debugpath.exp: Guess a bit more intelligently
- where debuginfo is installed.
-
-2008-10-03 Mark Wielaard <mjw@redhat.com>
-
- * systemtap.base/global_end.exp: Adjust expected foreach ordering.
-
-2008-10-01 Mark Wielaard <mjw@redhat.com>
-
- * semok/thirtythree.stp: Use page->mapping instead of page->inuse
- as annonymous struct value (also available in older kernels).
-
-2008-09-26 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6916.
- * systemtap.base/alternatives.exp: Assert error counts.
-
-2008-09-15 Mark Wielaard <mjw@redhat.com>
-
- * buildok/seventeen.stp: Fix 2.6.27 detection.
- * testsuite/buildok/seven.stp: Likewise.
-
-2008-09-12 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/uprobes.stp: Use printf in case pp() is long enough
- to overflow MAXSTRINGLEN.
-
-2008-09-11 David Smith <dsmith@redhat.com>
-
- * lib/stap_run.exp: Ignore new warning.
-
-2008-09-11 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6871.
- * systemtap.base/uprobes.*: Energize.
-
-2008-09-10 Josh Stone <joshua.i.stone@intel.com>
-
- * systemtap.base/probe_list.exp: New test for correct probe listing.
-
-2008-09-09 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/uprobes.*: Tweak regexps for read-only src tree
- tolerance.
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * buildok/per-process-syscall.stp: New test, for process.syscall test.
- * semko/utrace15.stp: Ditto.
- * semko/utrace16.stp: Ditto.
- * semko/utrace17.stp: Ditto.
- * semko/utrace18.stp: Ditto.
- * semko/utrace19.stp: Ditto.
- * semko/utrace20.stp: Ditto.
- * semko/utrace21.stp: Ditto.
- * semko/utrace22.stp: Ditto.
-
-2008-09-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- * systemtap.base/marker.exp : Added testcases of $name.
-
-2008-09-06 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/cmd_parse.exp: Adapt to sh-c-less "stap -c"
- execution.
-
-2008-09-05 Stan Cox <scox@redhat.com>
-
- * systemtap.base/global_end.stp: Also check scalar statistics.
- * systemtap.base/global_end.exp: Likeewise.
-
-2008-09-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4255.
- * systemtap.base/uprobes.{exp,stp}: New file.
-
-2008-09-05 Wenji Huang <wenji.huang@oracle.com>
-
- * systemtap.base/cmd_parse.stp: Add test for "-L" option.
-
-2008-09-01 Stan Cox <scox@redhat.com>
-
- * systemtap.base/global_end.stp: Also check statistics.
- * systemtap.base/global_end.exp: Likewise.
-
-2008-08-29 David Smith <dsmith@redhat.com>
-
- PR6841
- * systemtap.base/utrace_p5.exp: Added system-wide syscall test for
- bug 6841 fix.
-
-2008-08-27 Stan Cox <scox@redhat.com>
-
- * systemtap.base/global_end.exp: New.
- * systemtap.base/global_end.stp: New.
- * systemtap.base/bench.exp: Bump up ok.
- * systemtap.base/optim_arridx.exp: Consider unread globals.
- * systemtap.base/optim_arridx.stp: Fix typos.
-
-2008-08-27 Wenji Huang <wenji.huang@oracle.com>
-
- * semok/nodwf02.stp: Make syscall.q* optional.
- * semok/nodwf05.stp: Ditto.
-
-2008-08-25 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (AUTOMAKE_OPTIONS): Add no-dist. Remove dist-related
- targets.
- * Makefile.in: Regenerated.
-
-2008-08-25 Mark Wielaard <mjw@redhat.com>
-
- * Makefile.am (EXTRA_DIST): html_footer.tmpl, systemtapcorner.gif,
- systemtaplogo.png, html_header.tmpl and systemtap.css moved to html
- subdir.
- * Makefile.in, aclocal.m4: Regenerated.
-
-2008-08-25 Dave Brolley <brolley@redhat.com>
-
- * systemtap.base/warnings.exp: Allow 30 seconds for completion.
- * Makefile.in: Regenerated.
-
-2008-08-22 Wenji Huang <wenji.huang@oracle.com>
-
- * buildok/process-all-probes.stp: Change system-wide probes to detailed ones to avoid including user space ones.
-
-2008-08-15 David Smith <dsmith@redhat.com>
-
- * systemtap.base/utrace_p4.exp: Change system-wide probes from
- 'process("*").begin' to 'process.begin'.
-
-2008-08-13 Dave Brolley <brolley@redhat.com>
-
- * lib/systemtap.exp (setup_systemtap_environment): client_path is now
- global.
- (systemtap_exit): Remove the directory named by $client_path.
-
-2008-08-12 David Smith <dsmith@redhat.com>
-
- PR 6445 (partial)
- * systemtap.base/utrace_p4.exp: Added test that probes all threads.
- * semko/utrace14.stp: New test.
-
-2008-08-11 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/vars.exp: Adjust to loss of "\n" at end of $$vars
- et al.
-
-2008-08-11 Frank Ch. Eigler <fche@elastic.org>
-
- PR5049
- * semok/thirtyone.stp: New test.
-
-2008-08-08 Dave Brolley <brolley@redhat.com>
-
- * lib/systemtap.exp (setup_systemtap_environment): If use_server_p,
- start or find a systemtap server.
- (systemtap_exit): If we started a server, stop it.
- * Makefile.am (EXTRA_SYSTEMTAP_PATH): Removed.
- (EXTRA_TOOL_OPTS): Removed.
- * Makefile.in: Regenerated.
-
-2008-08-08 Stan Cox <scox@redhat.com>
-
- * systemtap.base/stmt_rel.stp: Lower wildcard matching count.
-
-2008-08-07 David Smith <dsmith@redhat.com>
-
- * systemtap.base/utrace_p4.exp: Uses lib/stap_compile.exp instead
- of its own stap_compile procedure.
- * systemtap.base/cache.exp (stap_compile): Ignores warnings.
- * lib/stap_compile.exp: Ignores warnings.
-
-2008-08-05 Mark Wielaard <mwielaard@redhat.com>
-
- * systemtap.examples/README: Add meta file tag descriptions.
-
-2008-08-05 Stan Cox <scox@redhat.com>
-
- * systemtap.base/warnings.stp: Use relative instead of absolute line.
- * systemtap.base/vars.exp: New test.
-
-2008-08-03 Wenji Huang <wenji.huang@oracle.com>
-
- * buildok/seven.stp: Correct for 2.6.27.
- * buildok/seventeen.stp: Ditto.
-
-2008-07-29 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (SYSTEMTAP_PATH): Add $(EXTRA_SYSTEMTAP_PATH).
- * lib/stap_compile.exp: Revert previous change.
- * lib/stap_run.exp: Likewise.
- * lib/stap_run2.exp: Likewise.
- * lib/stap_run_binary.exp: Likewise.
- * lib/stap_run_exact.exp: Likewise.
- * lib/systemtap.exp (stap_exec): Removed.
- * Makefile.in: Regenerated.
-
-2008-07-24 Dave Nomura <dcnltc@us.ibm.com>
-
- * systemtap.base/itrace.stp: Added simple tests of itrace probe.
-
-2008-07-14 Dave Brolley <brolley@redhat.com>
-
- * Makefile.am (TOOL_OPTS): New variable.
- (installcheck): Add $(TOOL_OPTS) to --tool_opts.
- (RUNTESTDEFAULTFLAGS): Likewise.
- * Makefile.in: Regenerated.
- * lib/systemtap.exp (installtest_p): Look for 'install' as a substring
- of $TOOL_OPTIONS.
- (use_server_p): New proc.
- (stap_exec): New proc.
- * lib/stap_compile.exp: Use [stap_exec] to call systemtap.
- * lib/stap_run.exp: Likewise.
- * lib/stap_run2.exp: Likewise.
- * lib/stap_run_binary.exp: Likewise.
- * lib/stap_run_exact.exp: Likewise.
-
-2008-07-09 Frank Ch. Eigler <fche@elastic.org>
-
- From <James.Bottomley@HansenPartnership.com>:
- * systemtap.base/declaration.exp: New test.
- * lib/stap_compile.exp: New file, stap_compile moved from ...
- * systemtap.base/marker.exp: ... here.
-
-2008-07-01 Wenji Huang <wenji.huang@oracle.com>
-
- * buildok/vfs_testcase.stp: Test _vfs.generic_commit_write only when
- kernel<=2.6.25.
-
-2008-06-27 David Smith <dsmith@redhat.com>
-
- * systemtap.base/utrace_p4.exp: Added tests for 'process(PID)'
- variants.
-
-2008-06-24 Frank Ch. Eigler <fche@elastic.org>
-
- rhbz 451707
- * systemtap.stress/conversions.exp: Reorder value overrides
- so $test name conveys correct tested value.
-
-2008-06-23 Stan Cox <scox@redhat.com>
-
- * systemtap.base/stmt_rel.stp: Added test for
- kernel.statement("Func@File:*")
-
-2008-06-18 Josh Stone <joshua.i.stone@intel.com>
-
- * systemtap.base/optim_voidstmt.stp: Add tests for various statement
- optimizations that we should now be eliding.
-
-2008-06-16 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/warnings.exp: Adjust warning count again (me1 and
- elide were formerly duplicated).
-
-2008-06-16 Stan Cox <scox@redhat.com>
-
- * systemtap.base/warnings.stp: Added PR 6611 warning tests.
- * systemtap.base/warnings.exp: Reset warning count.
-
-2008-06-13 Frank Ch. Eigler <fche@elastic.org>
-
- * lib/stap_run.exp: Remove module/cache warning boilerplate.
-
-2008-06-11 Mark Wielaard <mwielaard@redhat.com>
-
- * systemtap.base/warnings.exp: Expect 11 warning plus 1 .ko output
- line.
-
-2008-06-11 David Smith <dsmith@redhat.com>
-
- * systemtap.base/utrace_p5.exp: Made changes to work when not
- configured in the src directory.
- * systemtap.base/utrace_p5_multi.c: Made changes to work on x86_64
- systems.
-
- * systemtap.base/utrace_p5.exp: Added 'process().thread.begin' and
- 'process().thread.end' tests.
- * systemtap.base/utrace_p5_multi.c: Added multi-threaded test
- program for utrace_p5.exp.
- * .gitignore: Updated.
-
-2008-06-10 Stan Cox <scox@redhat.com>
-
- * systemtap.base/warnings.exp: Adjust for duplicate warning elimination.
-
-2008-06-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6470.
- * parseko/preprocess08.stp, ...08b.stp: Revised/new test.
- * systemtap.base/cmd_parse.exp: Added some argv[] tests.
-
-2008-06-09 Stan Cox <scox@redhat.com>
-
- * systemtap.base/stmt_rel.stp: New test.
- * systemtap.base/stmt_rel.exp: Likewise.
-
-2008-06-06 David Smith <dsmith@redhat.com>
-
- * systemtap.base/utrace_p4.exp: Updated for utrace probe changes.
- * systemtap.base/utrace_p5.exp: Ditto.
-
-2008-06-03 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.context/backtrace.tcl: Tolerate "(inexact)" backtraces.
-
-2008-05-30 Wenji Huang <wenji.huang@oracle.com>
-
- * systemtap.base/debugpath.exp: Add path for self-built kernel.
-
-2008-05-28 Josh Stone <joshua.i.stone@intel.com>
-
- PR 6529
- * systemtap.base/error_fn.*: New tests.
-
-2008-05-28 Mark Wielaard <mwielaard@redhat.com>
-
- * testsuite/Makefile.am (clean-local): Correct redirect of stderr.
- (installcheck): Don't depend on clean.
-
-2008-05-28 Mark Wielaard <mwielaard@redhat.com>
-
- * lib/systemtap.exp (setup_systemtap_environment): Create user
- based cache dir.
- * systemtap.base/cache.exp: Likewise.
- * Makefile.am (clean-local): Try to remove all .systemtap and
- .cache_test dirs.
-
-2008-05-26 Frank Ch. Eigler <fche@elastic.org>
-
- * testsuite/stmtvars.exp: Tweaked matching regexps, tested on
- f7, rhel5.
-
-2008-05-24 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac (enable-dejazilla): Add option, default off.
- * Makefile.am (*check): Send systemtap.sum to dejazilla if enabled$a
- * execrc: New helper script for runtest rc overriding.
- * configure, Makefile.in: Regenerated.
-
-2008-05-23 Frank Ch. Eigler <fche@elastic.org>
-
- * buildok/{nfs,rpc}-all-probes.stp: Suppress warnings from empty probe
- bodies.
- * systemtap.pass1-4/buidok.exp: Mark above as kfail due to bug #4413.
- While there, also mark the process_test kfail for #1155, though even
- it fails only sporadically.
-
-2008-05-21 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6538
- * buildok/ioscheduler.stp, nine.stp, scsi.stp, sixteen.stp,
- socket.stp, stat_insert.stp: Adapt to new warnings.
- * systemtap.maps/linear_empty.exp, systemtap.samples/args.exp,
- systemtap.samples/poll_map.stp, systemtap.string/strtol.stp: Ditto.
-
-2008-05-20 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6538
- * systemtap.base/warnings.*: New tests.
- * buildok/eleven.stp, systemtap.examples/disktop.stp,
- transok/three.stp: Adapt to new warnings.
-
-2008-05-21 Stan Cox <scox@redhat.com>
-
- * systemtap.base/optim_arridx.stp: Test compound assignment and
- binary expression.
- * systemtap.base/optim_arridx.exp: Likewise.
- (optim_arridx_run): Don't check warnings.
-
-2008-05-21 Mark Wielaard <mwielaard@redhat.com>
-
- * buildok/aux_syscalls-embedded.stp: Don't check _struct_utimbuf_u
- and _struct_compat_utimbuf_u. Check new _struct_utimbuf_actime,
- _struct_utimbuf_modtime, _struct_compat_utimbuf_actime and
- _struct_compat_utimbuf_modtime.
-
-2008-05-20 Mark Wielaard <mwielaard@redhat.com>
-
- PR 5001
- * systemtap.syscall/futimes.c (utime): Expect new time format.
- * systemtap.syscall/stat.c (utime): Likewise.
-
-2008-05-19 Mark Wielaard <mwielaard@redhat.com>
-
- PR 6524
- * systemtap.base/ctime.stp: New test.
- * systemtap.base/ctime.exp: New expect file.
-
-2008-05-19 Stan Cox <scox@redhat.com>
-
- * systemtap.base/optim_arridx.stp: New test.
- * systemtap.base/optim_arridx.exp: New test.
-
-2008-04-29 Frank Ch. Eigler <fche@elastic.org>
-
- PR 6466.
- * semko/twelve.stp, semok/twenty.stp, systemtap.base/cache.exp,
- systemtap.base/maxactive.exp, systemtap.base/warnings.exp,
- transok/eight.stp: Adapt to new elision capabilities; add new
- side-effects or -w warning-suppression flags.
- * systemtap.pass1-4/buildok.exp: Remove two kfails.
- * semok/optimize.stp: Test new elision.
-
-2008-04-24 Will Cohen <wcohen@redhat.com>
-
- * systemtap.examples: examples moved into testsuite.
-
-2008-04-22 David Smith <dsmith@redhat.com>
-
- * systemtap.base/utrace_p5.exp: Simplfied a little.
-
- * systemtap.base/utrace_p5.exp: Added run-time utrace tests.
-
-2008-04-21 David Smith <dsmith@redhat.com>
-
- * parseko/utrace01.stp: Renamed from semko/utrace02.stp (since it
- received a parse error, not a semantic error).
-
-2008-04-21 Martin Hunt <hunt@redhat.com>
-
- * systemtap.samples/args.exp: Remove obsolete "-d" option.
-
-2008-04-18 David Smith <dsmith@redhat.com>
-
- * systemtap.base/utrace_p4.exp: Added exec probe test.
-
- * buildok/utrace01.stp: Removed.
- * buildok/utrace02.stp: Ditto.
- * buildok/utrace03.stp: Ditto.
- * systemtap.base/utrace_p4.exp: Rewrote buildok tests to check for
- kernel utrace support.
-
-2008-04-17 David Smith <dsmith@redhat.com>
-
- * buildok/utrace01.stp: New test.
- * buildok/utrace02.stp: Ditto.
- * buildok/utrace03.stp: Ditto.
- * semko/utrace01.stp: Ditto.
- * semko/utrace02.stp: Ditto.
- * semko/utrace03.stp: Ditto.
- * semko/utrace04.stp: Ditto.
- * semko/utrace05.stp: Ditto.
- * semko/utrace06.stp: Ditto.
- * semko/utrace07.stp: Ditto.
- * semko/utrace08.stp: Ditto.
- * semko/utrace09.stp: Ditto.
- * semko/utrace10.stp: Ditto.
- * semko/utrace11.stp: Ditto.
- * semko/utrace12.stp: Ditto.
- * semko/utrace13.stp: Ditto.
-
-2008-04-10 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2949
- * systemtap.base/cmd_parse.exp: Add "-l" listing test.
-
-2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 5528
- * systemtap.stress/conversions.exp: Update a script to catch up
- recently changes of conversions.stp.
-
-2008-03-31 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Bump version to 0.7.
- * configure: Regenerated.
-
-2008-03-27 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/cmd_parse.exp: Don't assume $SHELL=bash.
-
-2008-03-23 Frank Ch. Eigler <fche@elastic.org>
-
- * lib/stap_run.exp (stap_run): Ignore missing debuginfo warnings.
- Try harder to kill stap child in case of timeouts and errors.
-
-2008-03-23 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5980.
- * lib/systemtap.exp: Set default Snapshot: value from "stap -V"
- output.
-
-2008-03-21 Eugene Teo <eugeneteo@kernel.sg>
-
- PR 5528
- * systemtap.stress/conversions.stp: Test new user_* functions.
- * buildok/conversions.stp: Test new user_* functions.
- * buildok/conversions-embedded.stp: Test new user_* functions.
-
-2008-03-20 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5956.
- * semko/fortyfive.stp: New test.
-
-2008-03-15 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/maxactive.exp, probefunc.exp: Standardize pass msg.
-
-2008-03-10 Dave Brolley <brolley@redhat.com>
-
- PR5189
- * systemtap.printf/memory1.{stp,exp}: Rewrite to reflect new %m safety checks.
- * systemtap.stress/conversions.exp: Add a test for invalid argument to %m.
-
-2008-03-05 David Smith <dsmith@redhat.com>
-
- PR5422
- * systemtap.samples/examples.exp: Updated.
-
-2008-03-03 Frank Ch. Eigler <fche@elastic.org>
-
- PR5516
- * buildok/twentynine.stp: New test.
-
-2008-02-27 Dave Brolley <brolley@redhat.com>
-
- PR5189
- * systemtap.printf/bin6.{exp,stp}: New test case.
- * systemtap.printf/memory1.{exp,stp}: New test case.
-
-2008-02-27 David Smith <dsmith@redhat.com>
-
- * systemtap.base/marker.exp: Added better path to Module.markers.
-
-2008-02-25 Frank Ch. Eigler <fche@elastic.org>
-
- PR5792.
- * systemtap.base/preprocessor.exp: New test.
-
-2008-02-23 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.printf/*.exp: Canonicalize pass/fail messages.
-
-2008-02-23 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.samples/args.exp: Remove installation-specific paths from
- pass/fail judgements.<
-
-2008-02-23 Frank Ch. Eigler <fche@elastic.org>
-
- * */*.exp: Change all "send \003" to "exec kill -INT -<pgrp>" in order
- to more reliably kill an inferior stap/stapio/staprun process group.
-
-2008-02-22 Frank Ch. Eigler <fche@elastic.org>
-
- * semko/fortyfive.stp: Add ".call" to exclude false (?) positives
- from inlined instances defined in header files.
-
-2008-02-22 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/stmtvars.exp: New test for PR 5787.
-
-2008-02-21 Will Cohen <wcohen@redhat.com>
-
- * systemtap.base/beginenderror.exp: Increase timeout for slow machines.
-
-2008-02-20 David Smith <dsmith@redhat.com>
-
- * systemtap.base/marker.exp: Added tests for marker probe
- ".format" component.
-
-2008-02-19 Frank Ch. Eigler <fche@elastic.org>
-
- PR5766.
- * semko/fortyfive.stp: New test.
-
-2008-02-19 Frank Ch. Eigler <fche@elastic.org>
-
- PR5771.
- * transko/one.stp: Remove, or rather, move to this ...
- * semko/zero.stp: new file.
-
-2008-02-12 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.context/context.exp: Build temporary modules under
- build tree, to tolerate read-only source trees.
- * {args,backtrace,pid}.tcl: Corresponding changes.
- * systemtap_test_module2.c: Add a bunch of asm("")'s to prevent
- inlining even better than noinline does.
-
-2008-02-12 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.pass1-4/buildok.exp: No longer kfail buildok/seventeen.
-
-2008-02-07 Martin Hunt <hunt@redhat.com>
-
- * systemtap.base/debugpath.exp: Remove explicit closes.
- Stap will terminate without help, and cleanup after itself.
-
-2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>
-
- * systemtap.context/backtrace.tcl: Fixed regular expressions and Added
- new expression for checking return probe's stacktrace on ia64.
- * systemtap.context/backtrace.stp (print_all_trace_info): Added
- trace point output before calling print_stack().
-
-2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>
-
- * systemtap.base/cmd_parse.exp: Added 'wait' between tests for
- preventing unexpected EOF.
-
-2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>
-
- * systemtap.base/procfs.exp: Added PROCFS.ko cleanup.
- * systemtap.context/context.exp: Added cleanup call.
- * systemtap.printf/end1b.exp: Passed evaluated command string to
- as_root.
- * systemtap.printf/mixed_outb.exp: Ditto.
- * systemtap.printf/out1b.exp: Ditto.
- * systemtap.printf/out2b.exp: Ditto.
- * systemtap.printf/out3b.exp: Ditto.
-
-2008-02-04 David Smith <dsmith@redhat.com>
-
- PR 4446.
- * systemtap.base/marker.exp: Added tests for marker "$format"
- variable.
-
-2008-02-01 Martin Hunt <hunt@redhat.com>
- PR4736
- * systemtap.printf/stap_merge.tcl: Copied here so
- it will always be available.
-
-2008-01-31 Will Cohen <wcohen@redhat.com>
-
- * systemtap.pass1-4/buildok.exp: Add some kfails.
-
-2008-01-29 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (clean-local): Allow "rm -rf" to fail due to
- root-owned .ko files in the local cache.
- * Makefile.in: Regenerated.
-
-2008-01-26 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5673.
- * testsuite/parseko/maxactive{04,05}.stp: New tests.
-
-2008-01-24 Frank Ch. Eigler <fche@elastic.org>
-
- crash(8) tests, based on Masami Hiramatsu <mhiramat@redhat.com>:
- * Makefile.am (CRASH_LIBDIR): Pass in $(RUNTEST).
- * lib/systemtap.exp (as_root): Trace command string, output, and
- result.
- * systemtap.samples/crash.*, testlog.stp: New test case.
- * Makefile.in: Regenerated.
-
-2008-01-23 Frank Ch. Eigler <fche@elastic.org>
-
- PR 2521.
- * systemtap.base/debugpath.exp: New test.
-
-2008-01-18 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Bump version to 0.6.1.
- * configure: Regenerated.
-
-2008-01-17 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4935.
- * semko/forty.stp, fortyone.stp, fortytwo.stp: New tests.
- * semok/twentynine.stp: Weaken test since condition expressions have
- become more tightly constrained.
-
-2008-01-17 David Smith <dsmith@redhat.com>
-
- * semko/procfs11.stp: Added test for invalid use of procfs probe
- '$value' target variable.
- * semko/procfs12.stp: Ditto.
-
-2008-01-16 David Smith <dsmith@redhat.com>
-
- PR 5608.
- * systemtap.base/marker.exp: Added 2 tests for treating marker
- arguments incorrectly.
-
-2008-01-16 Eugene Teo <eteo@redhat.com>
-
- * buildok/signal-embedded.stp: Add all new embedded C functions
- in signal.
-
-2008-01-14 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4935.
- * systemtap.base/onoffprobe.*: Toughen test.
-
-2008-01-12 Frank Ch. Eigler <fche@elastic.org>
-
- * lib/systemtap.exp (get_system_info): Look for $builddir/SNAPSHOT too.
-
-2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR5554
- * systemtap.syscall/alarm.c: Fix expected output patterns on ia64.
- * systemtap.syscall/stat.c: Ditto.
-
-2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR5544
- * lib/stap_run.exp (stap_run): Support warning before ending probe.
-
-2008-01-07 William Cohen <wcohen@redhat.com>
- * lib/systemtap.exp (as_root): new proc.
- * systemtap.context/context.exp:
- * systemtap.printf/end1b.exp:
- * systemtap.printf/mixed_outb.exp:
- * systemtap.printf/out1b.exp:
- * systemtap.printf/out2b.exp:
- * systemtap.printf/out3b.exp: Use as_root proc.
-
-2008-01-04 David Smith <dsmith@redhat.com>
-
- * systemtap.base/marker.exp: Improved regexp that finds markers
- with arguments.
-
-2007-12-12 Martin Hunt <hunt@redhat.com>
- Detect crashing stap and report as a test failure.
- * lib/systemtap.exp (stap_run_batch): Return -1 if stap
- crashed.
- * systemtap.pass1-4/buildko.exp: If stap_run_batch returned
- -1 then mark test as failed.
- * systemtap.pass1-4/parseko.exp: Ditto.
- * systemtap.pass1-4/semko.exp: Ditto.
- * systemtap.pass1-4/transko.exp: Ditto.
-
-2007-12-05 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 4935
- * parseok/five.stp: Add an example of conditional probe point.
- * parseko/probepoint04.stp: New test for conditional probe point.
- * parseko/probepoint05.stp: Ditto.
- * parseko/probepoint06.stp: Ditto.
- * parseko/probepoint07.stp: Ditto.
- * parseko/probepoint08.stp: Ditto.
- * parseko/probepoint09.stp: Ditto.
- * semok/twentynine.stp: Ditto.
- * semko/thirtynine.stp: Ditto.
- * systemtap.base/onoffprobe.*: Ditto.
-
-2007-12-03 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 5376
- * perseko/twentytwo.stp: Change testcase to the wildcarded probe
- points with spaces.
-
-2007-11-29 David Smith <dsmith@redhat.com>
-
- * systemtap.base/marker.exp: Gets marker list from
- Module.markers. K_MARKER03 is always run since it is designed to
- fail.
-
-2007-11-27 David Smith <dsmith@redhat.com>
-
- * semok/twentyeight.stp: Tests wildcarded probe points.
-
-2007-11-19 Frank Ch. Eigler <fche@elastic.org>
-
- * parseok/five.stp, semok/twentyseven.stp: Test "!" probe point flag.
-
-2007-11-15 David Smith <dsmith@redhat.com>
-
- * systemtap.base/marker.exp: Removed 'module("foo").mark("bar")'
- tests since that facility was removed.
-
-2007-11-12 Martin Hunt <hunt@redhat.com>
-
- * systemtap.base/*.stp: Replace log() calls with
- println() (or printf() if formatting would help.)
- * systemtap.maps/*.stp: Ditto.
- * systemtap.samples/*.stp: Ditto.
- * systemtap.stress/*.stp: Ditto.
-
-2007-11-09 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR3858
- * systemtap.printf/sharedbuf.exp: New test for buffer sharing option.
- * systemtap.printf/sharedbuf.stp: Ditto.
- * systemtap.printf/hello.stp: Ditto.
- * systemtap.printf/hello2.stp: Ditto.
-
-2007-10-25 Martin Hunt <hunt@redhat.com>
-
- * systemtap.printf/printd.exp: New.
- Runs printd.stp and printdln.stp.
- * systemtap.printf/printdln.stp: Removed bad tests.
- * systemtap.printf/printd.stp: Ditto.
-
-2007-10-25 Martin Hunt <hunt@redhat.com>
-
- * systemtap.printf/print_char.*: New test.
- * systemtap.printf/print.*: New test.
- * systemtap.printf/println.*: New test.
-
- * systemtap.maps/elision.*: New tests.
-
- * config/unix.exp: Added stap_run_exact.
- * lib/stap_run_exact.exp: New. Like stap_run2 but
- takes a seperate test name.
-
-2007-10-25 Martin Hunt <hunt@redhat.com>
-
- * systemtap.printf/printd.stp: New
- * systemtap.printf/printdln.stp: New
-
-2007-10-16 Martin Hunt <hunt@redhat.com>
-
- PR 5000
- * systemtap.printf/bin3.stp. Removed.
- * systemtap.printf/bin3a.stp. Renamed bin3.stp.
- * systemtap.printf/bin4.stp. Removed.
- * systemtap.printf/bin4a.stp. Renamed bin4.stp.
- * systemtap.printf/bin5.stp. Removed.
- * systemtap.printf/bin5a.stp. Renamed bin5.stp.
- * systemtap.printf/bin3.exp: Don't run bin3a.stp.
- * systemtap.printf/bin4.exp: Don't run bin4a.stp.
- * systemtap.printf/bin5.exp: Don't run bin5a.stp.
-
- Increase reliability under loads.
- * systemtap.samples/pfaults.exp: Increase MAXACTION.
- * systemtap.context/backtrace.tcl: Handle just
- a single userspace address.
-
-2007-10-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1119.
- * systemtap.base/warnings.*: New test.
-
-2007-10-05 Martin Hunt <hunt@redhat.com>
-
- * buildok/aux_syscalls-embedded.stp: Add all embedded
- C function in aux_syscalls.
-
-2007-10-04 Frank Ch. Eigler <fche@elastic.org>
-
- * buildok/inet-embedded.stp: Test inet.stp functions.
-
-2007-10-04 Mike Mason <mmlnx@us.ibm.com>
-
- * buildok/memory-all-probes.stp: New test that uses wildcarding to
- determine if all probes are resolvable.
- * buildok/nfs-all-probes.stp: Ditto
- * buildok/nfsd-all-probes.stp: Ditto
- * buildok/process-all-probes.stp: Ditto
- * buildok/rpc-all-probes.stp: Ditto
- * buildok/scheduler-all-probes.stp: Ditto
- * buildok/scsi-all-probes.stp: Ditto
- * buildok/signal-all-probes.stp: Ditto
- * buildok/socket-all-probes.stp: Ditto
- * buildok/tcp-all-probes.stp: Ditto
- * buildok/udp-all-probes.stp: Ditto
- * buildok/vfs-all-probes.stp: Ditto
-
-2007-10-03 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.syscall/test.tcl: Don't list PASS on stdout.
-
-2007-10-02 Frank Ch. Eigler <fche@redhat.com>
-
- PR 5078
- * semok/twentysix.stp, systemtap.base/beginenderror.*: New tests.
-
-2007-10-02 William Cohen <wcohen@redhat.com>
-
- * systemtap.syscall/signal.c:
- * systemtap.syscall/uid16.c: Compilation regardless of defines.
- * systemtap.syscall/test.tcl: Handle UNSUPP tests correctly.
-
-2007-09-28 Wenji Huang <wenji.huang@oracle.com>
-
- * lib/systemtap.exp: New proc get_system_info.
- * lib/stap_run.exp: New proc print_system_info.
-
-2007-09-27 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR3916
- * systemtap.sample/gtod.*: New test for gettimeofday accuracy.
-
-2007-09-25 Martin Hunt <hunt@redhat.com>
-
- * systemtap.context/backtrace.tcl: Handle single line timer.profile
- backtraces.
-
-2007-09-25 David Smith <dsmith@redhat.com>
-
- * systemtap.base/marker.exp: Improved regexp to work correctly on
- kernels with no markers.
-
- * systemtap.base/marker.exp: Updated for the 9/18/2007 markers
- patch.
-
-2007-09-24 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.samples/examples.exp: New file, replacing
- * buildok/examples.stp: Removed.
-
-2007-09-24 Frank Ch. Eigler <fche@elastic.org>
-
- * buildok/*-embedded.stp: New test case for every embedded-C
- function in the tapsets.
-
-2007-09-22 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.maps/linear_overunder.exp: Correct for actual data.
-
-2007-09-22 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5057.
- * systemtap.maps/linear_nearlyempty.*: New test for
- histogram printing elision.
-
-2007-09-22 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/optim.exp: Wait for both result lines.
-
-2007-09-21 Martin Hunt <hunt@redhat.com>
-
- * systemtap.maps/linear*: Updated linear histogram tests.
-
- * lib/stap_run2.exp (stap_run2): Use send_log()
- instead of puts to save failure context in the log.
-
-2007-09-21 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/optim.exp/stp: New test for rhbz# 300121.
-
-2007-09-18 David Smith <dsmith@redhat.com>
-
- * systemtap.base/procfs.exp: New test case.
- * lib/stap_run.exp (stap_run): Handles the case where the stap
- '-m' option was used.
-
-2007-09-17 David Smith <dsmith@redhat.com>
-
- * semko/procfs06.stp: New test case.
- * semko/procfs07.stp: Ditto.
- * semko/procfs08.stp: Ditto.
- * semko/procfs09.stp: Ditto.
- * semko/procfs10.stp: Ditto.
-
-2007-09-15 Wenji Huang <wenji.huang@oracle.com>
-
- PR 4930
- * buildok/examples.stp: New test case.
-
-2007-09-14 David Smith <dsmith@redhat.com>
-
- PR 1154
- * buildok/procfs01.stp: New test case.
- * semko/procfs01.stp: Ditto.
- * semko/procfs02.stp: Ditto.
- * semko/procfs03.stp: Ditto.
- * semko/procfs04.stp: Ditto.
- * semko/procfs05.stp: Ditto.
-
-2007-09-13 Martin Hunt <hunt@redhat.com>
-
- * systemtap.base/limits.exp: New. Test 32 and 64-bit integer
- extremes.
-
-2007-09-12 Frank Ch. Eigler <fche@elastic.org>
-
- * buildok/print_histograms.stp: Test println(@hist*()).
-
-2007-09-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5023.
- * buildok/ten.stp: Extend some more.
-
-2007-09-12 Martin Hunt <hunt@redhat.com>
-
- * systemtap.maps/foreach_limit.stp: Clean up the aggregates
- section.
-
- * systemtap.maps/foreach_limit2.stp: Remove newline that was
- confusing the output match.
-
- * systemtap.maps/linear_bad.exp: Fix expected output.
- * systemtap.maps/linear_neg.exp: Ditto.
-
- * systemtap.maps/log.*: New files.
- * systemtap.maps/log_edge.*: New files.
-
- * lib/stap_run2.exp (stap_run2): Rewrite. Previous version
- was too complex and buggy.
-
-2007-09-12 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 4633
- * systemtap.context/backtrace.stp: Add testcases for the return
- probe and the profile probe.
- * systemtap.context/backtrace.tcl: Ditto.
- * systemtap.context/systemtap_test_module2.c: Ditto.
-
-2007-09-12 Frank Ch. Eigler <fche@elastic.org>
-
- PR 5023.
- * buildok/ten.stp: Reactivate and extend.
-
-2007-09-11 Josh Stone <joshua.i.stone@intel.com>
-
- PR 5014
- * systemtap.maps/pmap_agg_overflow.stp: Ensure that the percpu arrays
- don't overflow before we get the chance to test aggregation overflow.
- Also use a more optimal overflow limit (MAXMAPENTRIES + 1).
-
-2007-09-10 Wenji Huang <wenji.huang@oracle.com>
-
- * systemtap.stress/current.stp: Make module probe optional.
- * buildok/four.stp: Ditto.
- * buildok/twentyfive.stp: Ditto.
- * semok/twelve.stp: Ditto.
-
-2007-09-06 Masami Hiramatsu <mhiramat@redhat.com>
-
- PR 4542
- * systemtap.stress/current.stp: Don't probe the return of __switch_to
- on i686.
-
-2007-08-27 Martin Hunt <hunt@redhat.com>
-
- * systemtap.context/context.exp (build_modules): Change
- build order to prevent messages about no version for yyy_int64.
-
-2007-08-24 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4899
- * buildok/fortytwo.stp: New test.
- * semko/thirtynine.stp: Removed test, now that bug #1305 has become
- mooted/undone.
-
-2007-08-21 David Smith <dsmith@redhat.com>
-
- * foreach_limit.stp: Added test for sorting numeric arrays by
- value.
- * foreach_limit.exp: Ditto.
-
- PR 2305
- * foreach_limit2.stp: New file. Tests sorting aggregate arrays by
- value.
- * foreach_limit2.exp: Ditto.
-
-2007-08-21 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4942
- * systemtap.base/kmodule.stp: Add "never" probe for type inference.
-
-2007-08-20 Martin Hunt <hunt@redhat.com>
-
- * systemtap.base/cmd_parse.exp: New file. Test
- command parsing for "-c".
-
-2007-08-20 David Smith <dsmith@redhat.com>
-
- * parseko/cmdline15.stp: Added new test to make sure options '-c
- cmd' and '-x pid' are mutually exclusive.
- * parseko/cmdline16.stp: Ditto.
-
-2007-08-16 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1315.
- * buildok/fortyfive.stp: New test.
-
-2007-08-16 Josh Stone <joshua.i.stone@intel.com>
-
- PR 4591
- * lib/stap_run.exp: Make sure to match the entire output, in case
- there are multiple pass/fail messages.
- * buildok/printf.stp: Add lines for new print variants.
- * parseko/printd01.stp: Make sure that bad printd calls are handled.
- * parseko/printd02.stp: Ditto.
- * parseko/printd03.stp: Ditto.
- * parseko/printd04.stp: Ditto.
- * systemtap.base/print.stp: Try a bunch of different print calls.
- * systemtap.base/print.exp: Driver for above.
-
-2007-08-15 Martin Hunt <hunt@redhat.com>
-
- * systemtap.printf/*b.exp: Use stap_merge.tcl.
-
-2007-08-14 David Smith <dsmith@redhat.com>
-
- Merge from setuid-branch.
- * configure.ac: Version increase to 0.6.
- * configure: Regenerated.
-
- * parseko/cmdline09.stp: Added new test for staprun command line
- options.
- * parseko/cmdline10.stp: Ditto.
- * parseko/cmdline11.stp: Ditto.
- * parseko/cmdline12.stp: Ditto.
- * parseko/cmdline13.stp: Ditto.
- * parseko/cmdline14.stp: Ditto.
-
- * systemtap.samples/args.exp: No longer necessary to use "sudo" to
- run staprun.
-
-2007-08-07 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4846
- * parseko/preprocess13.stp, parseok/nineteen.stp,
- semok/twentyfive.stp: New tests.
-
-2007-08-07 David Smith <dsmith@redhat.com>
-
- PR 4736 (partial fix)
- * systemtap.printf/end1b.exp: Changed 'FAIL' to 'fail', so
- the rest of the testsuite will continue.
- * systemtap.printf/mixed_outb.exp: Ditto.
- * systemtap.printf/out1b.exp: Ditto.
- * systemtap.printf/out2b.exp: Ditto.
- * systemtap.printf/out3b.exp: Ditto.
-
-2007-08-02 Mike Mason <mmlnx@us.ibm.com>
-
- * systemtap.samples/profile.stp: Changed limit check in
- foreach loop.
-
-2007-08-01 Mike Mason <mmlnx@us.ibm.com>
-
- * systemtap.samples/profile.stp: Changed pid to tid throughout.
- Changed delete method in decumulate().
-
-2007-07-26 David Smith <dsmith@redhat.com>
-
- PR 4295
- * systemtap.samples/args.exp: Tests to make sure the '-m' option
- leaves a module in the current directory.
- * systemtap.base/cache.exp (stap_compile): Added cleanup.
-
-2007-07-25 Mike Mason <mmlnx@us.ibm.com>
-
- PR 4836
- * systemtap.samples/pfault.stp: Changed to
- use memory tapset pagefault probes.
-
-2007-07-25 Mike Mason <mmlnx@us.ibm.com>
-
- PR 4836
- * buildok/twentytwo.stp, buildok/twentythree.stp:
- Changed free_task() probes to deactivate_super() probes. Changed
- references to timestamp in task_struct to s_maxbytes in super_block.
- timestamp was removed from task_struct in 2.6.23. s_maxbytes is an
- unsigned long long in every kernel I checked back to 2.4.18.
-
-2007-07-12 David Smith <dsmith@redhat.com>
-
- * systemtap.maps/pmap_agg_overflow.exp: On single processor
- systems, this test reported an unsupported test and a test failure
- when it should have only reported an unsupported test. Fixed.
-
-2007-07-10 Martin Hunt <hunt@localhost.localdomain>
-
- * systemtap.context/context.exp: Copy modules to
- /lib/modules/`uname -r`/kernel for debug info.
-
-2007-07-10 Martin Hunt <hunt@redhat.com>
-
- * systemtap.context/pid.tcl: Don't try to get real ppid,
- just match pattern.
-
-2007-07-09 Martin Hunt <hunt@redhat.com>
-
- * systemtap.context/systemtap_test_module1.c (stm_write_cmd):
- Set pointer type to "char *" so get_user() fetches a char.
-
-2007-07-06 Martin Hunt <hunt@redhat.com>
-
- * systemtap.maps/linear*: New tests of linear histograms.
-
-2007-07-03 Frank Ch. Eigler <fche@elastic.org>
-
- * configure.ac: Bumped version to 0.5.15.
- * configure: Regenerated.
-
-2007-07-03 Martin Hunt <hunt@redhat.com>
-
- * systemtap.context/pid.tcl: Better error reporting.
- * systemtap.context/args.*: Ditto.
- * systemtap.context/context.exp: Build in temp dir.
-
-2007-07-02 Martin Hunt <hunt@redhat.com>
-
- * systemtap.context/context.exp: Add pid tests.
- * systemtap.context/pid.*: New tests.
-
-2007-07-02 Martin Hunt <hunt@redhat.com>
-
- * systemtap.context/*: New context tests.
-
-2007-06-25 Martin Hunt <hunt@redhat.com>
-
- * systemtap.maps/pmap_agg_overflow.exp: Rewrite
- so order of error messages is not important.
-
-2007-06-22 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.syscall/readwrite.c: Tweak for new default string truncation width.
-
-2007-06-21 David Smith <dsmith@redhat.com>
-
- * Makefile.in: Regenerated with automake 1.10.
- * aclocal.m4: Regenerated with aclocal 1.10.
- * configure: Regenerated.
-
-2007-06-20 Martin Hunt <hunt@redhat.com>
-
- * systemtap.string/dot.exp: New test.
- * systemtap.string/sprint.exp: New test.
-
- * systemtap.samples/transport*: Removed.
-
-2007-06-20 Martin Hunt <hunt@redhat.com>
-
- * systemtap.printf/*b.exp: Add code to look in the
- toplevel directory for stap_merge.
-
-2007-06-18 Martin Hunt <hunt@redhat.com>
- From Quentin Barnes.
- * lib/stap_run.exp, lib/stap_run2.exp, lib/systemtap.exp,
- systemtap.base/cache.exp, systemtap.base/optim.exp,
- systemtap.base/overload.exp, systemtap.base/prologues.exp,
- systemtap.maps/absentstats.exp, systemtap.maps/foreach_fail.exp,
- systemtap.maps/ix_clear*.exp, systemtap.maps/pmap_agg_overflow.exp,
- systemtap.samples/args.exp, systemtap.samples/arith.exp,
- systemtap.samples/arith_limits.exp,
- systemtap.samples/control_limits.exp, systemtap.samples/lket.exp,
- systemtap.samples/pfaults.exp, systemtap.samples/poll_map.exp,
- systemtap.samples/primes.exp, systemtap.samples/profile.exp,
- systemtap.samples/queue_demo.exp, systemtap.samples/symbols.exp,
- systemtap.samples/syscalls1.exp, systemtap.samples/syscalls2.exp,
- systemtap.samples/transport.exp: Small fixes to patterns, plus
- fix timeouts for slower systems.
-
-2007-06-15 Frank Ch. Eigler <fche@elastic.org>
-
- * lib/systemtap.exp (stap_run_batch): Detect crashing stap and
- represent this as failing return code.
-
-2007-06-14 Martin Hunt <hunt@redhat.com>
-
- * systemtap.samples/syscalls.stp: Use printf
- for output to avoid problems with long paths.
-
- From Quentin Barnes.
- * systemtap.samples/system_func.exp: Change expect matching.
-
-2007-06-14 David Smith <dsmith@redhat.com>
-
- * systemtap.samples/profile.stp: Change output to avoid problems
- when kernel source path is long.
-
-2007-06-05 Frank Ch. Eigler <fche@elastic.org>
-
- PR 3331.
- * systemtap.base/deref2.*: New test, disabled.
-
-2007-06-04 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4589.
- * systemtap.base/optim.*: Rewritten, simplified.
-
-2007-05-30 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4567.
- * systemtap.base/optim.stp, optim.exp: New test.
-
-2007-05-29 Will Cohen <wcohen@redhat.com>
-
- PR4540
- * systemtap.stress/conversions.exp: Adjust for ia64 address space.
-
-2007-05-25 Martin Hunt <hunt@redhat.com>
-
- * systemtap.samples/lket.exp (cleanfiles): Set timeout inside expect.
- * systemtap.maps/absentstats.exp: Set timeout inside expect.
- * lib/stap_run2.exp (stap_run2): Set timeout to 180 inside expect.
- * lib/stap_run.exp (stap_run): Set timeout to 180 for slower machines.
- Remove $ anchor on output. Fix a few minor nits in patterns.
-
-2007-05-24 David Smith <dsmith@redhat.com>
-
- PR4446
- * systemtap.base/marker.exp: Renumbered tests and added new tests
- for invalid argument name ("$foo1") and writing to marker
- arguments.
-
-2007-05-23 David Smith <dsmith@redhat.com>
-
- PR4446
- * systemtap.base/marker.exp: Added new marker test.
- * buildok/marker.stp: Removed old marker test.
-
-2007-05-08 Will Cohen <wcohen@redhat.com>
- PR4470
- * testsuite/systemtap.syscall/syscall.exp: Build correct sizes for
- 32-bit and 64-bit machines.
-
-2007-05-07 Martin Hunt <hunt@redhat.com>
- PR4466
- * systemtap.samples/system_func.stp: Rewrite test to account
- for probes not being placed until after begin.
- * systemtap.samples/system_func.exp: Only expect 1 sys_open.
-
-2007-05-06 Frank Ch. Eigler <fche@elastic.org>
-
- * semko/thirtynine.stp: New test.
-
-2007-05-01 Martin Hunt <hunt@redhat.com>
-
- * systemtap.samples/system_func.*: New test.
-
-2007-05-01 Martin Hunt <hunt@redhat.com>
-
- * systemtap.samples/sysopen*: Deleted.
-
-2007-04-29 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (EXTRA_DIST): Add dejagnu subdirectories.
- * configure.ac: Bump version to match parent directory.
- * Makefile.in, configure: Regenerated.
-
-2007-04-25 David Wilder <dwilder@ibm.com>
-
- * systemtap.samples/profile.exp Increased timeout from 30 to 60 sec
- to fix intermittent failures on s390x.
-
-2007-04-25 Mike Mason <mmlnx@us.ibm.com>
-
- * buildok/socket.stp: Adapted to changes in 2.6.19 socket routines.
-
-2007-04-24 Will Cohen <wcohen@redhat.com>
-
- * buildok/memory.stp: Test vm.pagefault.return.
-
-2007-04-23 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.pass1-4/buildok.exp: Add some kfails.
-
-2007-04-10 Martin Hunt <hunt@redhat.com>
-
- * systemtap.printf/out*: New output tests to stress output
- buffering and transport.
- * systemtap.printf/mixed*: More output tests mixing print,
- printf, and print_char.
- * systemtap.printf/end*: Test that output from end probes
- is all sent.
-
-2007-04-05 Martin Hunt <hunt@redhat.com>
-
- * systemtap.samples/arith_limits.exp: Set test name correctly.
-
-2007-04-04 Pierre Peiffer <pierre.peiffer@bull.net>
-
- * parseok/fourteen.stp: Add test about $# and @# usage during
- the preprocessing.
- * parseko/preprocess10.stp: New test.
- * parseko/preprocess11.stp: New test.
- * parseko/preprocess12.stp: New test.
-
-2007-04-02 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.samples/poll_map.stp, profile.stp, syscalls.stp:
- Continue adopting to .inline -> .function change.
- * systemtap.samples/topsys.stp, systemtap.stress/current.stp: Ditto.
- * semko/twentyone.stp: Ditto.
-
-2007-03-30 Frank Ch. Eigler <fche@elastic.org>
-
- PR 1570
- * */*.stp: Adapt to .inline -> .function change.
- * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten
- pass/fail dejagnu log lines.
- * systemtap.syscall/sys.stp, test.tcl: Make slightly more
- compatible and failure more verbose.
-
-2007-03-29 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.maps/ix_*.exp: Add catch around close.
-
-2007-03-29 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.maps/pmap_agg_overflow.exp: Robustify with respect
- to expected error messages and early quitting.
-
-2007-03-29 David Smith <dsmith@redhat.com>
-
- PR 4281
- * parseko/cmdline07.stp: New test.
- * parseko/cmdline08.stp: New test.
-
-2007-03-22 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4224.
- * systemtap.base/probefunc.exp: Use kernel.statement().absolute
- instead with grep-found schedule_tick address.
- * semko/thirtyseven.stp, thirtyeight.stp: New tests.
- * buildok/twentyeight.stp: New test.
-
-2007-03-22 David Smith <dsmith@redhat.com>
-
- * systemtap.stress/conversions.exp: Fixed test case bug that only
- affected s390x.
-
-2007-03-21 David Smith <dsmith@redhat.com>
-
- PR 4146
- * systemtap.samples/control_limits.exp: Begin/end probes use
- MAXACTION_INTERRUPTIBLE instead of MAXACTION.
-
-2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net>
-
- * buildok/twenty.stp, semok/seventeen.stp: Adapt to kernel 2.6.20.
-
-2007-03-19 David Smith <dsmith@redhat.com>
-
- * .cvsignore: Added systemtap.syscall test programs.
-
-2007-03-16 David Smith <dsmith@redhat.com>
-
- * systemtap.base/overload.exp: New test.
-
-2007-03-15 David Smith <dsmith@redhat.com>
-
- * .cvsignore: Added "config.log" and "config.status".
-
-2007-03-14 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4171.
- * configure.ac, configure, aclocal.m4: New files to permit
- testsuite-only build tree.
- * Makefile.am (RUNTEST): Arrange a crazy concoction of
- environment/make variable for runtest.
- * Makefile.in: Regenerated.
- * */*.stp: Switch test cases from "./stap" to "stap" throughout.
- * lib/systemtap.exp: Assume/trace environment variables.
- (stap_run_batch): Add "#! stap"-handling hack.
-
-2007-03-14 Martin Hunt <hunt@redhat.com>
-
- * systemtap.base/div0.stp: Fix so output
- won't possibly have the error message before the printed
- output.
- * systemtap.base/maxactive.exp: Ditto.
- * systemtap.maps/ix_clear.stp: Ditto.
- * systemtap.maps/ix_clear2.stp: Ditto.
- * systemtap.samples/args.exp: Remove obsolete "-r" option
- to staprun.
-
-2007-03-07 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4116.
- * buildok/twentyseven.stp: New test.
- * systemtap.pass1-4/buildok.exp: kfail it.
-
-2007-03-06 David Smith <dsmith@redhat.com>
-
- * systemtap.base/alternatives.exp: Changed the probed kernel
- function from 'signal_wake_up' (which wasn't present on some
- kernels) to 'sys_getrlimit'.
-
-2007-03-02 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4121
- * systemtap.stress/conversions.exp: Fix & improve below patch.
-
-2007-03-01 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4121
- * systemtap.stress/conversions.exp: Bypass address=0 test for s390x.
-
-2007-02-27 Frank Ch. Eigler <fche@redhat.com>
-
- PR 4105
- * buildok/twentysix.stp: New test.
- * systemtap.pass1-4/buildok.exp: kfail it.
-
-2007-02-19 David Smith <dsmith@redhat.com>
-
- PR 4081
- * Makefile.am: The symbolic link that the Makefile creates to stap
- now points to the installed version of stap when "make
- installcheck" is run.
- * Makefile.in: Regenerated.
-
-2007-02-16 David Smith <dsmith@redhat.com>
-
- * systemtap.base/alternatives.exp: New test case.
-
-2007-02-09 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/prologue.*: New test case.
-
-2007-02-06 Josh Stone <joshua.i.stone@intel.com>
-
- * systemtap.base/deref.stp: Test kread with const sources.
-
-2007-02-06 Frank Ch. Eigler <fche@elastic.org>
-
- * buildok/conversions.stp: Build-test all conversions.stp functions.
- * systemtap.stress/conversions.*: New test.
-
-2007-01-29 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.base/cache.exp (stap_compile): Accept new -p4 output.
-
-2007-01-24 Will Cohen <wcohen@redhat.com>
-
- * systemtap.syscall/syscall.exp: Increase timeout for slow machines.
-
-2007-01-23 Frank Ch. Eigler <fche@elastic.org>
-
- * systemtap.pass1-4/buildok.exp: Remove most kfail designations.
-
-2007-01-23 Mike Mason <mmlnx@us.ibm.com>
-
- * buildok/socket.stp: Added sockets tapset build test.
-
-2007-01-23 Mike Mason <mmlnx@us.ibm.com>
-
- * systemtap.string/tokenize.exp, systemtap.string/tokenize.stp,
- systemtap.string/strtol.exp, systemtap.string/strtol.stp:
- Tests for new tokenize and strtol functions.
-
-2007-01-22 Josh Stone <joshua.i.stone@intel.com>
-
- * systemtap.base/deref.stp: Rewrite test, and now also check the ability
- to read/write pointers.
-
-2007-01-22 Frank Ch. Eigler <fche@redhat.com>
-
- * config/unix.exp: New file as a master load_lib repository.
- * */*.exp: Removed load_lib calls.
- * parseko/cmdline01.stp: Swallow expected stap ERROR: message.
- * systemtap.syscall/syscall.exp: Added installmode_p checks.
-
-2007-01-22 Martin Hunt <hunt@redhat.com>
-
- * systemtap.maps/exists.stp: New test to see if
- array elements exist using the "in" keyword.
-
-2007-01-20 Mike Mason <mmlnx@us.ibm.com>
-
- PR 3899
- * systemtap.base/kmodule.stp: Added probes for other
- modules that allow the test to pass when ext3 isn't
- built as a module.
-
-2007-01-19 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3079
- * systemtap.base/deref.stp: Use the new kread macro that should work
- fine with 64-bit numbers on i386 platforms. Also expand the test to
- include writes with kwrite.
- * systemtap.base/deref.exp: Remove the setup_kfail.
-
-2007-01-16 Mike Mason <mmlnx@us.ibm.com>
-
- * buildok/eighteen.stp: changed to find __audit_getname or
- audit_getname without checking kernel version to support
- audit code backports
-
-2007-01-13 Mike Mason <mmlnx@us.ibm.com>
-
- PR 3867
- * systemtap.samples/ioblocktest.stp: Fixed so only
- checks bit 0 (Read/Write bit) of bio->bi_rw. Also merged
- ioblock.request and ioblock.end probes. They do the same
- thing.
-
-2007-01-10 Martin Hunt <hunt@redhat.com>
-
- * systemtap.maps/foreach_foreach.exp: Update for new delete func.
- * systemtap.maps/ii.exp: Ditto.
- * systemtap.maps/ii.stp: Ditto.
- * systemtap.maps/iiiiii.exp: Ditto.
- * systemtap.maps/iiiiii.stp: Ditto.
- * systemtap.maps/is.stp: Ditto.
- * systemtap.maps/si.exp: Ditto.
- * systemtap.maps/si.stp: Ditto.
- * systemtap.maps/ss.stp: Ditto.
-
-2006-12-29 Frank Ch. Eigler <fche@redhat.com>
-
- PR 3523.
- * buildok/fourteen.stp, fourteen-plus.stp: Tweak & add a test.
- * systemtap.base/bench.stp: Work around randomized-ordered probes.
- * systemtap.base/bench.exp: Tighten output requirements.
-
-2006-12-22 Josh Stone <joshua.i.stone@intel.com>
-
- * buildok/array_size.stp, parseko/array01.stp, parseko/array02.stp,
- parseko/array03.stp, parseko/array04.stp, transko/array01.stp,
- systemtap.base/array_size.exp, systemtap.base/array_size.stp:
- Tests for specifying the size of global arrays.
-
-2006-12-22 David Smith <dsmith@redhat.com>
-
- * systemtap.base/cache.exp: Added test to ensure that using '-M'
- and '-t' changes the hash. The '-t' test is commented out until
- PR3523 is fixed.
-
-2006-12-21 David Smith <dsmith@redhat.com>
-
- * systemtap.base/cache.exp: Added test to ensure that using '-b'
- changes the hash.
-
-2006-12-19 Frank Ch. Eigler <fche@redhat.com>
-
- PR 3522.
- * buildok/twentyfive.stp: New test for static $var access.
-
-2006-12-18 Josh Stone <joshua.i.stone@intel.com>
-
- * systemtap.base/deref.exp, systemtap.base/deref.exp: Add a test for
- successfully dereferencing pointers of various sizes. This is known to
- fail on x86 for 64-bit values -- PR 3079.
-
-2006-12-18 David Smith <dsmith@redhat.com>
-
- * systemtap.samples/pfaults.stp: Since PR 1132 has been fixed,
- updated to use "$return".
-
-2006-12-08 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3681.
- * systemtap.base/global_init.exp, systemtap.base/global_init.stp: New
- test for checking the timeliness of global initialization.
-
-2006-12-07 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3624.
- * systemtap.base/be_order.exp, systemtap.base/be_order.stp,
- semok/beginend.stp: New tests for begin/end priorities.
-
- * lib/stap_run.exp: Anchor OUTPUT_CHECK_STRING to the end of output.
- * systemtap.base/maxactive.exp: Fix to compare output to the end.
- * systemtap.base/probefunc.exp: Ditto.
- * systemtap.samples/ioblocktest.exp: Ditto.
- * systemtap.samples/ioblocktest.stp: Ditto.
- * systemtap.samples/tcptest.exp: Ditto.
-
-2006-11-30 Martin Hunt <hunt@redhat.com>
-
- * systemtap.samples/pfaults.exp: Fix regular expression
- to handle buffering issues that broke on MP systems.
-
-2006-11-29 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian <guijian@cn.ibm.com>
-
- * systemtap.samples/lket.exp: Increase MAXSKIPPED
- and timeout thresholds; Fix the code of cleaning
- temporary files
-
- * systemtap.stress/whitelist.stp: New testcase to generate
- safe probes.
-
-2006-11-28 David Smith <dsmith@redhat.com>
-
- * semko/thirtyfour.stp: Checks for writing to target variable in
- .return probe.
- * semok/twentyfour.stp: Tests read access to target variable in
- .return probe.
-
-2006-11-21 Li Guanglei <guanglei@cn.ibm.com>
-
- From Gui Jian <guijian@cn.ibm.com>
- * systemtap.samples/lket.exp, systemtap.samples/lket.stp: add
- testcase for LKET
-
-2006-11-19 Frank Ch. Eigler <fche@elastic.org>
-
- * parseko/twentythree.stp: New test for running tapset file.
-
-2006-11-17 Frank Ch. Eigler <fche@redhat.com>
-
- * semko/thirtysix.stp, transko/three.stp: New tests.
-
-2006-11-16 Li Guanglei <guanglei@cn.ibm.com>
-
- * buildok/lket.stp: check for all available LKET trace hooks.
-
-2006-11-10 David Smith <dsmith@redhat.com>
-
- * semko/maxactive03.stp: Stop on pass2 instead of on pass1.
-
- * lib/stap_run.exp: As a side-effect, stap_run() sets global
- 'probe_errors' and 'skipped_probes' to the number of probe errors
- and skipped probes seen while running the probe.
- * systemtap.base/maxactive.exp: Uses extended stap_run() to find
- number of skipped probes instead of using private stap_run()
- variant.
-
-2006-11-09 David Smith <dsmith@redhat.com>
-
- * buildok/maxactive01.stp: Added test for "maxactive(N)"
- return probe processing.
- * parseko/maxactive01.stp: Ditto.
- * parseko/maxactive02.stp: Ditto.
- * parseko/maxactive03.stp: Ditto.
- * parseko/maxactive04.stp: Ditto.
- * semko/maxactive01.stp: Ditto.
- * semko/maxactive02.stp: Ditto.
- * semko/maxactive03.stp: Ditto.
- * systemtap.base/maxactive.exp: Ditto.
-
-2006-11-06 David Smith <dsmith@redhat.com>
-
- * systemtap.maps/foreach_limit.exp: Added new test for foreach
- "limit" keyword.
- * systemtap.maps/foreach_limit.stp: Ditto.
-
- * parseko/foreachstmt06.stp: Added new test for foreach "limit"
- keyword.
- * parseko/foreachstmt07.stp: Ditto.
- * parseok/foreachstmt01.stp: Ditto.
- * semko/foreachstmt01.stp: Ditto.
- * semko/foreachstmt02.stp: Ditto.
-
-2006-11-02 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * systemtap.samples/tcptest.exp: Put TCP load gen into a
- a seperate script.
- * systemtap.samples/tcptest.tcl: new script for TCP load
- gen.
-
-2006-10-30 Josh Stone <joshua.i.stone@intel.com>
-
- * systemtap.maps/pmap_agg_overflow.stp: Use
- kernel.function("scheduler_tick") instead of timer.jiffies
- so the test works on all kernels. The test needs a probe
- that is invoked often on all cpus.
- * systemtap.base/timers.stp: Fudge the comparison a bit between
- jiffies(1) and profile to allow for slop between start/end times.
-
-2006-10-30 Martin Hunt <hunt@redhat.com>
-
- * systemtap.maps/pmap_agg_overflow.stp: Use timer.jiffies
- instead of timer.profile so the test works on xen kernels.
-
-2006-10-30 David Smith <dsmith@redhat.com>
-
- * systemtap.base/cache.exp: Saves value of SYSTEMTAP_DIR
- environment variable before starting tests and restores value at
- the end. Without this caching was broken for the rest of the
- testsuite, since all cached files were ending up in
- testsuite/.cache_test (which gets deleted on the next run of the
- testsuite).
-
- * Makefile.am: The 'clean-local' target now removes the .systemtap
- and .cache_test directories.
- * Makefile.in: Regenerated.
-
-2006-10-30 Martin Hunt <hunt@redhat.com>
-
- * systemtap.base/cache.exp (stap_compile): Fix a simple
- buffering problem with expect.
-
-2006-10-26 David Smith <dsmith@redhat.com>
-
- * systemtap.base/cache.exp: New file that tests caching
- functionality.
- * lib/systemtap.exp (setup_systemtap_environment): Use a local
- systemtap directory/cache (instead of the user's cache).
- * .cvsignore: Added .systemtap directory.
-
-2006-10-23 David Smith <dsmith@redhat.com>
-
- * lib/stap_run.exp: Handles cached module.
- * lib/stap_run2.exp: Ditto.
-
-2006-10-23 William Cohen <wcohen@redhat.com>
-
- * systemtap.maps/absentstats.exp: Increase timeout for slow machines.
-
-2006-10-21 Thang Nguyen <thang.p.nguyen@intel.com>
-
- * systemtap.samples/tcptest.exp: fix bug #3404
- * systemtap.samples/tcptest.stp: fix bug #3404
-
-2006-10-18 David Smith <dsmith@redhat.com>
-
- * systemtap.syscall/.cvsignore: Added file.
-
-2006-09-28 Martin Hunt <hunt@redhat.com>
-
- * buildok/eighteen.stp: Fix for 2.6.18.
- * buildok/two.stp: Ditto.
-
-2006-09-27 Josh Stone <joshua.i.stone@intel.com>
-
- * buildok/fourteen.stp: Test new timer functionality.
-
-2006-09-26 David Smith <dsmith@redhat.com>
-
- * systemtap.samples/args.exp: Looks for 'staprun' instead of
- 'stpd'.
-
-2006-09-20 Josh Stone <joshua.i.stone@intel.com>
-
- PR 3233
- * buildok/timestamp.stp: add gettimeofday_ns test.
-
-2006-09-12 David Smith <dsmith@redhat.com>
-
- * Added .cvsignore file.
-
-2006-09-09 Frank Ch. Eigler <fche@elastic.org>
-
- * lib/systemtap.exp (stap_run_batch): New helper routine.
- * systemtap.pass1-4/*.exp: Use it instead of catch/exec/>>& hack.
-
-2006-09-06 Frank Ch. Eigler <fche@elastic.org>
-
- * parseok/eighteen.stp, semok/twentythree.stp: New files for
- testing initialized globals.
-
-2006-08-21 Martin Hunt <hunt@redhat.com>
-
- * lib/stap_run.exp: Check for existence of installtest_p
- before running it. This reenables running individual tests
- with runtest.
- * lib/stap_run2.exp: Ditto.
- * lib/stap_run_binary.exp: Ditto.
-
-2006-08-12 Frank Ch. Eigler <fche@elastic.org>
-
- * Makefile.am (clean-local): Clean up dejagnu turds.
- * Makefile.in: Regenerated.
-
-2006-08-12 Frank Ch. Eigler <fche@elastic.org>
-
- * all: Reorganized old pass-1..4 tests one dejagnu bucket.
- Moved over old pass-5 tests, except for disabled syscalls tests.
- * Makefile (installcheck): New target for running pass-1..5
- tests against installed systemtap.
diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in
index fa96c224..9547479b 100644
--- a/testsuite/Makefile.in
+++ b/testsuite/Makefile.in
@@ -31,16 +31,14 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-subdir = .
-DIST_COMMON = ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
- $(top_srcdir)/configure $(am__configure_deps)
+subdir = testsuite
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
SOURCES =
DEJATOOL = $(PACKAGE)
@@ -50,22 +48,39 @@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
+DATE = @DATE@
DEFS = @DEFS@
+DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
+LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
@@ -73,15 +88,25 @@ PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
+PIECFLAGS = @PIECFLAGS@
+PIECXXFLAGS = @PIECXXFLAGS@
+PIELDFLAGS = @PIELDFLAGS@
+PROCFLAGS = @PROCFLAGS@
+RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
+U = @U@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+am__include = @am__include@
am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
@@ -89,10 +114,15 @@ build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-dejazilla = @dejazilla@
docdir = @docdir@
dvidir = @dvidir@
+elfutils_abs_srcdir = @elfutils_abs_srcdir@
exec_prefix = @exec_prefix@
+have_dvips = @have_dvips@
+have_latex = @have_latex@
+have_latex2html = @have_latex2html@
+have_ps2pdf = @have_ps2pdf@
+have_xmlto = @have_xmlto@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
@@ -104,6 +134,8 @@ localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
+nspr_CFLAGS = @nspr_CFLAGS@
+nss_CFLAGS = @nss_CFLAGS@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
@@ -111,9 +143,14 @@ program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
+sqlite3_LIBS = @sqlite3_LIBS@
srcdir = @srcdir@
+stap_LIBS = @stap_LIBS@
+staplog_CPPFLAGS = @staplog_CPPFLAGS@
+subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = dejagnu no-dist
@@ -134,39 +171,35 @@ RUNTEST = "env SYSTEMTAP_RUNTIME=$(SYSTEMTAP_RUNTIME) SYSTEMTAP_TAPSET=$(SYSTEMT
all: all-am
.SUFFIXES:
-am--refresh:
- @:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
- echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
- cd $(srcdir) && $(AUTOMAKE) --foreign \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu testsuite/Makefile'; \
cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign Makefile
+ $(AUTOMAKE) --gnu testsuite/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
- echo ' $(SHELL) ./config.status'; \
- $(SHELL) ./config.status;; \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- cd $(srcdir) && $(AUTOCONF)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
tags: TAGS
TAGS:
@@ -237,7 +270,6 @@ clean: clean-am
clean-am: clean-generic clean-local mostlyclean-am
distclean: distclean-am
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-DEJAGNU distclean-generic
@@ -270,8 +302,6 @@ install-ps: install-ps-am
installcheck-am:
maintainer-clean: maintainer-clean-am
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
@@ -291,17 +321,16 @@ uninstall-am:
.MAKE: install-am install-strip
-.PHONY: all all-am all-local am--refresh check check-DEJAGNU check-am \
- check-local clean clean-generic clean-local distclean \
- distclean-DEJAGNU distclean-generic dvi dvi-am html html-am \
- info info-am install install-am install-data install-data-am \
- install-dvi install-dvi-am install-exec install-exec-am \
- install-html install-html-am install-info install-info-am \
- install-man install-pdf install-pdf-am install-ps \
- install-ps-am install-strip installcheck installcheck-am \
- installdirs maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
- uninstall-am
+.PHONY: all all-am all-local check check-DEJAGNU check-am check-local \
+ clean clean-generic clean-local distclean distclean-DEJAGNU \
+ distclean-generic dvi dvi-am html html-am info info-am install \
+ install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
all-local:
diff --git a/testsuite/systemtap.examples/ChangeLog b/testsuite/systemtap.examples/ChangeLog
deleted file mode 100644
index 253e1a76..00000000
--- a/testsuite/systemtap.examples/ChangeLog
+++ /dev/null
@@ -1,349 +0,0 @@
-2009-01-02 Mark Wielaard <mjw@redhat.com>
-
- PR9693. Reported by Eugeniy Meshcheryakov <eugen@debian.org>
- * io/traceio2.stp: Add proper #! /usr/bin/env stap line.
- * profiling/functioncallcount.stp: Likewise.
-
-2008-12-10 William Cohen <wcohen@redhat.com>
-
- * process/futexes.stp:
- * profiling/thread-times.stp: Tweak formatting.
-
-2008-12-10 Tim Moore <timoore@redhat.com>
-
- * profiling/latencytap.stp: Probe scheduler to identify processes
- that have slept inordinately.
-
-2008-12-09 William Cohen <wcohen@redhat.com>
-
- * general/ansi_colors.stp:
- * general/key.stp:
- * general/keyhack.stp:
- * general/para-callgraph.stp:
- * io/disktop.stp:
- * io/io_submit.stp:
- * io/iostat-scsi.stp:
- * io/iotime.stp:
- * io/traceio.stp:
- * io/traceio2.stp:
- * network/nettop.stp:
- * process/futexes.stp:
- * process/proc_snoop.stp:
- * process/sig_by_pid.stp:
- * process/sigkill.stp:
- * process/sigmon.stp:
- * process/syscalls_by_pid.stp:
- * process/syscalls_by_proc.stp:
- * process/wait4time.stp:
- * profiling/thread-times.stp: Tweak formatting, indent two space.
-
-2008-11-25 Mark Wielaard <mjw@redhat.com>
-
- * general/para-callgraph.meta: Add accidentially removed -c back
- to test_installcheck.
-
-2008-11-25 Mark Wielaard <mjw@redhat.com>
-
- * general/para-callgraph.meta: Don't use single quotes.
-
-2008-11-20 Frank Ch. Eigler <fche@elastic.org>
-
- * examples-index-gen.pl: Make "keywords: foo bar" list into
- clickable links.
-
-2008-11-20 Frank Ch. Eigler <fche@elastic.org>
-
- * subsystem-*: Removed subsystem indexes.
-
-2008-11-19 Frank Ch. Eigler <fche@elastic.org>
-
- * process/sleepingBeauties.meta: Updated description.
-
-2008-10-27 William Cohen <wcohen@redhat.com>
-
- * io/traceio2.stp: Use local variable available from vfs tapset.
-
-2008-10-27 William Cohen <wcohen@redhat.com>
-
- * io/disktop.stp: Clean up disktop.stp and check in for real.
-
-2008-10-29 Frank Ch. Eigler <fche@elastic.org>
-
- * process/syscalltimes: Rename global "start" to avoid collision
- with syscall tapset local variable.
-
-2008-10-27 William Cohen <wcohen@redhat.com>
-
- * io/disktop.stp: Make use of devname added to vfs tapset.
-
-2008-10-24 William Cohen <wcohen@redhat.com>
-
- * io/traceio.stp:
- * io/traceio2.stp:
- * io/iotop.stp:
- * io/disktop.stp: Use vfs tapset rather than kernel functions probes.
-
-2008-09-12 Frank Ch. Eigler <fche@elastic.org>
-
- * io/traceio2.stp: Make compatible with RHEL5.
- * general/para-callgraph.meta: Tweak quoting for dejagnu passage.
-
-2008-08-15 Frank Ch. Eigler <fche@elastic.org>
-
- * general/para-callgraph*: Extend.
- * indexes: Regenerated.
-
-2008-08-11 Mark Wielaard <mwielaard@redhat.com>
-
- * check.exp: Make sure that stderr gets redircted so warnings don't
- make example script run fail.
-
-2008-08-11 Mark Wielaard <mwielaard@redhat.com>
-
- PR6835. Reported by Eugeniy Meshcheryakov <eugen@debian.org>
- * io/io_submit.stp: Fix #! start. Convert to normal line-ending.
-
-2008-08-11 Mark Wielaard <mwielaard@redhat.com>
-
- PR2895. Reported by Eugeniy Meshcheryakov <eugen@debian.org>
- * general/graphs.stp: Add proper #! /usr/bin/env stap line.
- * general/para-callgraph.stp: Likewise.
- * io/io_submit.stp: Likewise.
- * io/iotop.stp: Likewise.
- * io/traceio.stp: Likewise.
- * process/proc_snoop.stp: Likewise.
- * process/sigkill.stp: Likewise.
- * iotask.stp: Likewise.
- * pfaults.stp: Likewise.
- * profile.stp: Likewise.
-
-2008-08-08 Mark Wielaard <mwielaard@redhat.com>
-
- * examples-index-gen.pl: Add index of subsystem and keywords at top of
- HTML indexes.
- * *index.html: Regenerated.
- * *index.txt: Likewise.
-
-2008-08-08 Mark Wielaard <mwielaard@redhat.com>
-
- * examples-index-gen.pl (add_meta_txt): Don't output output, exits,
- status line.
- (add_meta_html): Likewise.
- * *index.html: Regenerated.
- * *index.txt: Likewise.
-
-2008-08-08 Mark Wielaard <mwielaard@redhat.com>
-
- * examples-index-gen.pl (inputdir): Make absolute.
- (outputdir): Likewise.
- (supportfiles): Copy from new html dir. Add README. Make sure
- new html subdir is created in outputdir.
-
-2008-08-07 Frank Ch. Eigler <fche@elastic.org>
-
- * *index.txt, *index.html: New generated files.
- * .gitignore: Zap it.
- * html/*, examples-index-gen.pl: Adapt to html/ boilerplate subdir.
-
-2008-08-07 Frank Ch. Eigler <fche@elastic.org>
-
- * small_demos: Unique parts kept, others dropped.
- * all other samples: Moved into new subdirectories.
-
-2008-08-07 David Smith <dsmith@redhat.com>
-
- * .gitignore: New file.
-
-2008-08-07 Mark Wielaard <mwielaard@redhat.com>
-
- * examples-index-gen.pl: New file.
- * systemtap.css: Likewise.
- * systemtapcorner.gif: Likewise.
- * systemtaplogo.png: Likewise.
- * html_footer.tmpl: Likewise.
- * html_header.tmpl: Likewise.
- * Makefile.am (EXTRA_DIST): Add new support files.
-
-2008-08-07 Mark Wielaard <mwielaard@redhat.com>
-
- * futexes.meta: Correct name: entry.
-
-2008-08-01 William Cohen <wcohen@redhat.com>
-
- * helloworld.meta, traceio2.meta: Tweak test_installcheck.
-
-2008-08-01 William Cohen <wcohen@redhat.com>
-
- * check.exp: Run both tests for installcheck tests.
-
-2008-07-11 Mark Wielaard <mwielaard@redhat.com>
-
- * traceio.meta: s/decending/descending/ in description.
- * iotop.meta: Likewise.
-
-2008-07-02 William Cohen <wcohen@redhat.com>
-
- * functioncallcount.meta, functioncallcount.stp: New.
-
-2008-07-02 William Cohen <wcohen@redhat.com>
-
- * para-callgraph.stp, para-callgraph.meta: New.
-
-2008-06-20 William Cohen <wcohen@redhat.com>
-
- * traceio2.meta: Correct test_check and test_installcheck commands.
-
-2008-06-20 William Cohen <wcohen@redhat.com>
-
- * traceio2.stp, traceio2.meta: New.
-
-2008-06-18 William Cohen <wcohen@redhat.com>
-
- * sleepingBeauties.stp, sleepingBeauties.meta: New.
-
-2008-06-17 William Cohen <wcohen@redhat.com>
-
- * graphs.stp, graphs.meta: New.
-
-2008-06-12 William Cohen <wcohen@redhat.com>
-
- * thread-times.stp, thread-times.meta: New.
-
-2008-05-20 William Cohen <wcohen@redhat.com>
-
- * io_submit.stp, io_submit.meta:
- * traceio.stp, traceio.meta:
- * iotop.stp, iotop.meta:
- * disktop.stp, disktop.meta:
- * sigkill.stp, sigkill.meta: New.
-
-2008-05-09 William Cohen <wcohen@redhat.com>
-
- * syscalls_by_pid.meta, syscalls_by_proc.meta:
- * sigmon.meta, sig_by_pid.meta, sig_by_proc.meta:
- * socket-trace.meta: New.
-
-2008-05-08 William Cohen <wcohen@redhat.com>
-
- * iotime.meta: New.
-
-2008-05-08 William Cohen <wcohen@redhat.com>
-
- * sleeptime.meta, wait4time.meta: New.
-
-2008-05-08 Mark Wielaard <mwielaard@redhat.com>
-
- * futexes.meta (test_check,test_installcheck): Change futex.stp to
- futexes.stp.
-
-2008-05-07 William Cohen <wcohen@redhat.com>
-
- * futexes.meta, nettop.meta, pf2.meta: New.
-
-2008-05-07 William Cohen <wcohen@redhat.com>
-
- * pf2.stp: Clean up output.
-
-2008-05-01 William Cohen <wcohen@redhat.com>
-
- * helloworld.meta: New file.
-
-2008-04-27 William Cohen <wcohen@redhat.com>
-
- * check.exp: New script to run tests on cataloged examples.
-
-2008-03-09 Wenji Huang <wenji.huang@oracle.com>
-
- * wait4time.stp: Change reference of $pid to local variable pid.
-
-2008-03-05 David Smith <dsmith@redhat.com>
-
- PR5422
- * iostat-scsi.stp: Updated to handle kernel versions > 2.6.24.
- * iostat-scsi.txt: Updated.
-
-2008-01-29 Frank Ch. Eigler <fche@elastic.org>
-
- * nettop.stp: Reorganize array usage to minimize contention.
-
-2007-11-19 Frank Ch. Eigler <fche@elastic.org>
-
- * iostat-scsi.stp: Adopt "!" probe point flag.
-
-2007-11-09 Martin Hunt <hunt@redhat.com>
-
- * README: New.
-
- * *.stp. Fix path. See PR 4718.
-
-2007-10-10 Mike Mason
-
- * syscalltimes, syscalltime.txt: New combination shell/SystemTap script
- to measure system call times.
-
-2007-10-05 Frank Ch. Eigler <fche@elastic.org>
-
- * futexes.stp, sig_by_proc.stp, small_demos/rwtiming.stp: Fix elision
- warnings.
-
-2007-09-15 Wenji Huang <wenji.huang@oracle.com>
-
- * iostat-scsi.stp: Make module probe optional,clarify reference to flags.
- * small_demos/sched_snoop.stp(scheduler.migrage,scheduler.balance): Make optional.
-
-2007-09-05 Frank Ch. Eigler <fche@elastic.org>
-
- * pf2.stp: Exploit sortable aggregates.
-
-2007-08-09 Frank Ch. Eigler <fche@elastic.org>
-
- PR 4718, from Eugeniy Meshcheryakov <eugen@debian.org>:
- * *.stp: Make all shell scripts lead with #! /usr/bin/stap
-
-2007-05-29 Mike Mason <mmlnx@us.ibm.com>
-
- * sig_count_by_pid.stp, sig_count_by_pid.txt,
- sig_count_by_proc.stp, sig_count_by_proc.txt: Print signal activity
-
-2007-04-02 Frank Ch. Eigler <fche@elastic.org>
-
- * socket-trace.stp, small_demos/prof.stp, top.stp: Adapt to
- .inline -> .function change.
-
-2007-01-30 Frank Ch. Eigler <fche@elastic.org>
-
- * socket-trace.stp: Added from the tutorial.
-
-2007-01-29 Mike Mason <mmlnx@us.ibm.com>
-
- * socktop, socktop.txt: New example that uses a shell script to process
- command line options for a systemtap script.
-
-2007-01-11 Will Cohen <wcohen@redhat.com>
-
- * iotime.stp:
- * sleeptime.stp:
- * wait4time.stp: New examples.
-
-2007-01-10 Martin Hunt <hunt@redhat.com>
-
- * small_demos/top.stp: Use "limit" option in foreach.
-
-2007-01-01 Frank Ch. Eigler <fche@redhat.com>
-
- * *: Added several .stp/.txt files from the wiki.
-
-2006-04-20 Martin Hunt <hunt@redhat.com>
-
- * small_demos/top.stp: Use printf.
-
-2006-03-30 Martin Hunt <hunt@redhat.com>
-
- * small_demos/close.stp: Make it executable.
-
-2006-03-09 Martin Hunt <hunt@redhat.com>
-
- * key.stp: Toy example.
- * prof.stp: Example profiler.
- * top.stp: Print the top 20 syscalls.
-
diff --git a/testsuite/systemtap.syscall/ChangeLog b/testsuite/systemtap.syscall/ChangeLog
deleted file mode 100644
index e3a1f8de..00000000
--- a/testsuite/systemtap.syscall/ChangeLog
+++ /dev/null
@@ -1,229 +0,0 @@
-2008-11-27 Mark Wielaard <mjw@redhat.com>
-
- * forkwait.c: clone (CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD)
- is just fork ().
-
-2008-10-04 Mark Wielaard <mjw@redhat.com>
-
- * access.c: sys_access() calls through to sys_faccessat().
- * chmod.c: sys_chmod() calls through to sys_fchmodat().
- * link.c: sys_link() calls through to sys_linkat(),
- sys_symlink() calls through to sys_symlinkat(),
- sys_readlink() calls through to sys_readlinkat().
-
-2008-09-17 Mark Wielaard <mjw@redhat.com>
-
- * forkwait.c: Low byte of flags is always set to SIGCHLD.
-
-2008-09-17 Mark Wielaard <mjw@redhat.com>
-
- * timer.c: Timer id can be arbitrary number.
-
-2008-09-17 Mark Wielaard <mjw@redhat.com>
-
- * swap.c: Don't try including unnecessary asm/page.h.
-
-2008-02-22 Frank Ch. Eigler <fche@elastic.org>
-
- * test.tcl: Support noexec /tmp by creating test directory
- under build tree instead of /tmp.
-
-2007-10-12 David Wilder <dwilder@us.ibm.com>
-
- * timer.c: init tid to 0 to workaround bug on s390x.
-
-2007-10-11 David Wilder <dwilder@us.ibm.com>
-
- * futimes.c: Only test system calls that have
- numbers assigned in asm/unistd.h. (see PR:4902)
-
-2007-10-09 Martin Hunt <hunt@redhat.com>
-
- * rt_signal.c: Fix expected results for IA64.
-
-2007-10-09 Martin Hunt <hunt@redhat.com>
-
- * rt_signal.c: Fix expected patterns to match
- recent changes in tapsets.
-
- * signal.c: Use syscall(). Fix expected patterns.
-
-2007-10-01 Martin Hunt <hunt@redhat.com>
-
- * test.tcl (run_one_test): Append newlines when
- using send_log().
-
-2007-09-25 Martin Hunt <hunt@redhat.com>
-
- * test.tcl (run_one_test): Fix unsupported results.
- Send failure diffs to log.
-
-2007-09-24 Martin Hunt <hunt@redhat.com>
-
- * link.c (main): Don't check result code.
-
-2007-09-19 Martin Hunt <hunt@redhat.com>
- PR 4931
- * test-debug.tcl (cleanup): Remove print.
- * README: Update.
- * syscall.exp: Source test.tcl and call run_one_test()
- from there.
- * test.tcl: Rewrite as a function. Do compilation
- as well as testing. Compile into and execute in
- a directory in /tmp.
-
-2007-09-17 Martin Hunt <hunt@redhat.com>
-
- * timer.c (main): Remove the return value checks.
-
-2007-08-22 Martin Hunt <hunt@redhat.com>
-
- * futimes.c (main): Add utimensat tests.
-
-2007-08-16 Martin Hunt <hunt@redhat.com>
-
- * all_syscalls.stp: New file. Useful for debugging.
-
-2007-07-31 Martin Hunt <hunt@redhat.com>
-
- * clock.c (main): Change flags to hex.
-
-2007-07-30 David Wilder <dwilder@us.ibm.com>
-
- * readdwrite.c: Added pwrite and pread test
-
-2007-07-17 Martin Hunt <hunt@redhat.com>
-
- * poll.c (main): Don't hardcode fd.
-
-2007-07-16 Martin Hunt <hunt@redhat.com>
-
- * select.c (main): Ifdef SYS_pselect6.
- * poll.c (main): Ifdef SYS_ppoll.
-
-2007-07-16 Martin Hunt <hunt@redhat.com>
-
- * select.c, poll.c: New.
-
-2007-07-10 Martin Hunt <hunt@redhat.com>
-
- * futimes.c (main): Ifdef out futimesat tests
- if not defined.
-
- * uid16.c (main): 16-bit syscalls now have
- the same name as 32-bit. Fix patterns.
-
-2007-07-03 Martin Hunt <hunt@redhat.com>
-
- * futimes.c: New test.
-
-2007-06-21 Martin Hunt <hunt@redhat.com>
-
- * chmod.c, dir.c, mmap.c, net1.c, readwrite.c, stat.c,
- sync.c, trunc.c: Eliminated hardcoded fd numbers.
-
-2007-06-18 Martin Hunt <hunt@redhat.com>
-
- * syscall.exp (test_procedure): Use switch statements to clean
- up the logic for setting flags for 64 and 32-bit passes.
-
-2007-05-25 Martin Hunt <hunt@redhat.com>
-
- * syscall.exp (test_procedure): Remove stray timeout assignment.
-
-2007-05-07 Martin Hunt <hunt@redhat.com>
-
- * signal.c (main): Fix expected expression to accept
- both 32 and 64-bit pointers.
-
-2007-05-01 Martin Hunt <hunt@redhat.com>
-
- * statfs.c (main): Fix expected expression to accept
- both 32 and 64-bit pointers.
-
-2007-04-24 David Wilder <dwilder@us.ibm.com>
-
- * syscall.exp: Enabled 64-bit tests on s390, 32-bit test to use -m31
- on s390.
-
-2007-04-23 Martin Hunt <hunt@redhat.com>
-
- * clock.c (main): Ifdef SYS_time.
-
-2007-04-23 Martin Hunt <hunt@redhat.com>
-
- * mmap.c (main): Use open() instead of creat().
-
-2007-04-23 Martin Hunt <hunt@redhat.com>
-
- * syscall.exp (test_procedure): For 64-bit machines, first
- run with "-m64" and then with "-m32".
-
-2007-04-10 Martin Hunt <hunt@redhat.com>
-
- * syscall.exp (test_procedure): Remove
- test binaries when done.
-
-2007-01-17 Martin Hunt <hunt@redhat.com>
-
- * test.exp: Renamed to syscall.exp.
-
-2007-01-15 Mike Mason <mmlnx@us.ibm.com>
-
- * test.exp: test 32-bit binaries on ppc64
-
-2007-01-09 Martin Hunt <hunt@redhat.com>
-
- * test.exp, test.tcl, test-debug.tcl: PR 3524.
- Support for separtet source and obj trees.
-
-2006-10-27 Martin Hunt <hunt@redhat.com>
-
- * test.exp, test.tcl: Remove our own caching code
- and just use systemtap's new caching.
-
- * acct.c (main): Make pattern less selective so
- it works when run by root.
-
-2006-10-23 David Smith <dsmith@redhat.com>
-
- * test.exp (test_procedure): Handles cached module.
-
-2006-09-26 David Smith <dsmith@redhat.com>
-
- * test.tcl: Looks for 'staprun' instead of 'stpd'.
-
-2006-07-21 Martin Hunt <hunt@redhat.com>
-
- * signal.c: Fix expected pattern.
-
-2006-06-26 Martin Hunt <hunt@redhat.com>
- * stat.c: Add utime() test
-
-2006-06-15 Martin Hunt <hunt@redhat.com>
- * chmod.c: Results for some archs have
- 4294967295 instead of -1. Fix expected results
- for now.
-
-2006-06-15 Martin Hunt <hunt@redhat.com>
- * chmod.c: New test.
-
-2006-06-14 Martin Hunt <hunt@redhat.com>
- * test.tcl: Escape "|".
- * uid.c: Add setfsuid and setfsgid tests.
- * uid16.c: Ditto.
- * mmap.c, openclose.c, readwrite.c, stat.c: Fix
- expected results for sys_open calls.
-
-2006-06-14 Martin Hunt <hunt@redhat.com>
- * setgetgid.c: Renamed to uid.c. Added more syscalls.
- * uid16.c: Add some more calls.
-
-2006-06-13 Martin Hunt <hunt@redhat.com>
- * test.exp: Modify to recognize unsupported tests.
- * test.tcl: Ditto.
- * uid16.c: ifdef out for all but i386.
-
-2006-06-13 Martin Hunt <hunt@redhat.com>
- * sys.stp: Add indentation for nested syscalls.
- * uid16.c: New.