summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog349
1 files changed, 347 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d02db5f..f66ffda7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,344 @@
+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 <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.
@@ -7,6 +348,12 @@
* 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
@@ -176,8 +523,6 @@
* systemtap.spec.in: Simplify configuration defaults.
-2008-04-29 David Smith <dsmith@redhat.com>:ChangeLog
-
2008-04-25 David Smith <dsmith@redhat.com>
PR 6455.