| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This is necessary for distros that ship static libdw, Roland suggested
that it shouldn't hurt to do it this way on other distros too. It's
nicer now not to require the extra "--enable-staticdw" configure flag.
|
|
|
|
|
|
|
| |
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-27 David Smith <dsmith@redhat.com>
* systemtap.base/utrace_p4.exp: Added tests for 'process(PID)'
variants.
|
|
|
|
|
|
|
| |
some old probe points to older versions of kernel, adding new helper C functions
and probe points for the VFS subsystem. A new testcase is created for the VFS
tapset which performs a compile test (i.e. up4) on the probe points to verify
sanity. These details can also be found in the ChangeLog.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
2008-06-23 David Smith <dsmith@redhat.com>
* task_finder.c (__stp_utrace_task_finder_report_exec): Handles
relative exec paths correctly.
|
| |
|
|
|
|
|
|
|
|
|
| |
2008-06-23 David Smith <dsmith@redhat.com>
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 David Smith <dsmith@redhat.com>
* 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.
|
|
|
|
|
|
| |
2008-06-23 David Smith <dsmith@redhat.com>
* regs.h: Removed trailing semicolons from macro definitions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Instead, visit_expr_statement can explicitly load a pointer to use for
back-references.
I also decided to be less-clever about reusing expr_statements. It's a
little leakier as a result, but I like having less magic in the air.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* systemtap.base/optim_voidstmt.stp: Add tests for various statement
optimizations that we should now be eliding.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | | |
* 'master' of ssh://sources.redhat.com/git/systemtap:
Improved callback handling.
Create alternative list only as needed.
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
The generated code now only checks the actionremaining count at control
points and after executing a large sequence of statements.
|
|
|
|
|
|
| |
The old behavior was to check last_error all over the place, and if set,
jump to the out-label. Now it's changed to just jump to the out-label
directly after setting last_error.
|
|
|
|
|
|
|
| |
./configure now accepts --enable-staticdw, which alters the link
settings so they work with static libdw.
Tested on Ubuntu Hardy.
|
| |
|