David Smith [Tue, 15 Apr 2008 20:58:23 +0000 (15:58 -0500)]
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 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.
runtime backtrace: stop infinite loops by checking for full print buffer
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.
* commit 'origin/unwind':
Fixes for 2.6.25 pt_regs changes.
Include string.h
Change stap to get kernel symbols from debuginfo and
reincarnate vim/ directory in this branch to match master
Add new define STP_USE_DWARF_UNWINDER which is set based on which archs
Remove misleading error message.
Support for kernels built with CONFIG_FRAME_POINTER
Fix regression.
dded _stp_read_address() and changed code to use it.
kretprobe trampoline fixes
i386 fixes.
control.c (_stp_ctl_write_dbug): Insert missing break.
32-bit fixes
Cleanup.
2008-03-23 Frank Ch. Eigler <fche@elastic.org>
2008-03-23 Frank Ch. Eigler <fche@elastic.org>
2008-03-21 Eugene Teo <eugeneteo@kernel.sg>
add (back) runtime/unwind files
* clarify utility of epilogue-type probe aliases in documentation
rebased unwind_branch on top of current master
* master:
2008-04-11 David Smith <dsmith@redhat.com>
2008-04-11 David Smith <dsmith@redhat.com>
2008-04-11 David Smith <dsmith@redhat.com>
PR2949: add missing line
PR2949: listings mode (stap -l PROBE)
PR6393: don't bother print build (configure) date any more, with reliable git ids
PR6393: regenerate git_version.h at every make
PR6393: git version tagging at build time
2008-04-09 David Smith <dsmith@redhat.com>
2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>
2008-04-04 David Smith <dsmith@redhat.com>
2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>
removing another part of retired LKET
removing abandoned experiment: safety/* disassembly/symbol checks
Merge branch 'master' of git://sources.redhat.com/git/systemtap
* 'master' of git://sources.redhat.com/git/systemtap:
2008-04-11 David Smith <dsmith@redhat.com>
2008-04-11 David Smith <dsmith@redhat.com>
2008-04-11 David Smith <dsmith@redhat.com>
David Smith [Fri, 11 Apr 2008 14:52:55 +0000 (09:52 -0500)]
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().
Merge branch 'master' of git://sources.redhat.com/git/systemtap
* 'master' of git://sources.redhat.com/git/systemtap:
PR2949: add missing line
PR2949: listings mode (stap -l PROBE)
PR6393: don't bother print build (configure) date any more, with reliable git ids
PR6393: regenerate git_version.h at every make
PR6393: git version tagging at build time
2008-04-09 David Smith <dsmith@redhat.com>
2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>
2008-04-04 David Smith <dsmith@redhat.com>
2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>
PR 2949.
* session.h (listing_mode): New field.
* main.cxx (main): Test it. Enjoy it.
(usage): Document it.
* stap.1.in, stapex.5.in: Ditto.
* elaborate.cxx (print_error): Disable error messages in listing mode.
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>.
PR 6028
* translate.cxx (c_unparser::emit_common_header): Add unwaddr for
caching unwound address.
* tapsets.cxx (common_probe_entryfn_prologue): Clear unwaddr.
* 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.
Merge branch 'master' of git://sources.redhat.com/git/systemtap
* 'master' of git://sources.redhat.com/git/systemtap:
removing another part of retired LKET
removing abandoned experiment: safety/* disassembly/symbol checks
Revert "Just a test commit"
Just a test commit
bump autoconf* version numbers to 0.7
replace mentions of CVS with GIT in docuemntation files
* master:
Revert "Just a test commit"
Just a test commit
bump autoconf* version numbers to 0.7
replace mentions of CVS with GIT in docuemntation files
2008-03-27 Frank Ch. Eigler <fche@elastic.org>
2008-03-27 Frank Ch. Eigler <fche@elastic.org>
2008-03-26 Frank Ch. Eigler <fche@elastic.org>
Revert "dummy commit"
dummy commit
fche [Sun, 23 Mar 2008 23:01:43 +0000 (23:01 +0000)]
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.
(cherry picked from commit ef859360e89d32801e37ddecf59ceee20a049391)
eteo [Fri, 21 Mar 2008 14:35:25 +0000 (14:35 +0000)]
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.
eteo [Fri, 21 Mar 2008 14:35:25 +0000 (14:35 +0000)]
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.
hiramatu [Sat, 15 Mar 2008 00:02:00 +0000 (00:02 +0000)]
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.
* runtime/autoconf-unregister-kprobes.c : New file.
brolley [Mon, 10 Mar 2008 18:46:14 +0000 (18:46 +0000)]
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.
brolley [Mon, 10 Mar 2008 18:45:34 +0000 (18:45 +0000)]
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.
brolley [Mon, 10 Mar 2008 18:45:03 +0000 (18:45 +0000)]
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.