summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in handling process(PID) probes.David Smith2008-06-272-1/+6
| | | | | | | 2008-06-27 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_module_decls): Fix bug in handling process(PID) probes.
* Added tests for 'process(PID)' variants.David Smith2008-06-272-6/+67
| | | | | | | 2008-06-27 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Added tests for 'process(PID)' variants.
* This commit makes changes to the VFS tapset. The changes include deprecation ofroot2008-06-273-6/+768
| | | | | | | 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.
* syscalls2.stp: Add sys_renameat.Zhaolei2008-06-262-0/+27
|
* Only probe lines once for the :* wildcard line pattern.Stan Cox2008-06-252-1/+8
|
* Revert checking address in runtimeWenji Huang2008-06-252-23/+5
|
* bz451707: fix conversions.exp test $nameFrank Ch. Eigler2008-06-242-2/+8
|
* Cleanup in tapsets.cxxTim Moore2008-06-243-89/+138
|
* Added powerpc support to runtime/syscall.h.David Smith2008-06-242-3/+50
| | | | | | | 2008-06-24 David Smith <dsmith@redhat.com> From: Srinivasa DS <srinivasa@in.ibm.com> * syscall.h: Added powerpc support.
* Remove validating _stext due to many aliased symbolsWenji Huang2008-06-241-7/+0
|
* PR6646: Add checking address in runtimeWenji Huang2008-06-242-1/+38
|
* Fixed offset argument to vm_callback.David Smith2008-06-232-4/+13
| | | | | | | | | 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.
* Handle exec's that use a relative path.David Smith2008-06-232-6/+7
| | | | | | | 2008-06-23 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_task_finder_report_exec): Handles relative exec paths correctly.
* Update documentation for .statement wildcard.Stan Cox2008-06-236-14/+25
|
* Made RHEL5 changes.David Smith2008-06-233-3/+36
| | | | | | | | | 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.
* more re. make module_cache a session fieldFrank Ch. Eigler2008-06-231-0/+8
|
* make module_cache a session field rather than plain staticFrank Ch. Eigler2008-06-233-21/+37
|
* Major update to memory map change notification code.David Smith2008-06-236-4/+637
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Removed trailing semicolons from macro definitions.David Smith2008-06-232-2/+6
| | | | | | 2008-06-23 David Smith <dsmith@redhat.com> * regs.h: Removed trailing semicolons from macro definitions.
* Add kernel.statement("Func@File:*) and kernel.statement("Func@File:X-Y)Stan Cox2008-06-235-87/+150
|
* syscalls.stp: Add sys_mknodat.Zhaolei2008-06-232-0/+25
|
* Correct test_check and test_installcheck commands.William Cohen2008-06-202-2/+6
|
* Add test for dev.stp tapset functions.William Cohen2008-06-203-0/+37
|
* Functions for kdev_t information: MAJOR, MINOR, MKDEV, and usrdev2kerndev.William Cohen2008-06-204-0/+55
|
* Get rid of the dynamic_cast<>s in void_statement_reducer.Josh Stone2008-06-191-57/+49
| | | | | | | | 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.
* stapvars.5: document NULLFrank Ch. Eigler2008-06-191-0/+6
|
* aux_syscalls.stp: Output unknown bits in _stp_lookup_or_str.Zhaolei2008-06-192-3/+10
|
* Prove that I know how to spell.Josh Stone2008-06-181-1/+1
|
* Add Intel to copyright header on elaborate.cxxJosh Stone2008-06-181-0/+1
|
* Add tests for new statement optimizations.Josh Stone2008-06-183-0/+105
| | | | | * systemtap.base/optim_voidstmt.stp: Add tests for various statement optimizations that we should now be eliding.
* Hack optim_arridx to avoid more optimization than intendedJosh Stone2008-06-182-2/+2
|
* New optimization to break up statements in void contexts.Josh Stone2008-06-182-19/+435
| | | | | | | | | | | | | | | | 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.
* Add sleepingBeauties.stp and sleepingBeauties.meta.William Cohen2008-06-183-0/+75
|
* Add the graphs.stp example from War Stories.William Cohen2008-06-173-0/+77
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtap into workDavid Smith2008-06-1710-73/+170
|\
| * syscalls.stp: Add sys_linkat.Zhaolei2008-06-172-0/+32
| |
| * more warning/error consistency for alternatives listingFrank Ch. Eigler2008-06-162-7/+6
| |
| * aux_syscalls.stp (__fork_flags): Add termination signal.Zhaolei2008-06-172-1/+11
| |
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-06-164-9/+20
| |\ | | | | | | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Improved callback handling. Create alternative list only as needed.
| * | warning/error message compaction by removing duplicated token file namesFrank Ch. Eigler2008-06-166-59/+117
| | |
* | | Got smarter on which utrace events to set on a newly found thread.David Smith2008-06-172-3/+15
| |/ |/| | | | | | | | | | | | | | | | | 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.
* | Improved callback handling.David Smith2008-06-162-8/+15
| | | | | | | | | | | | | | 2008-06-16 David Smith <dsmith@redhat.com> * task_finder.c (stap_start_task_finder): Improved callback handling.
* | Create alternative list only as needed.Stan Cox2008-06-163-29/+35
|/
* Bug 6611: read-only variable typo warnings should list alternatives.Stan Cox2008-06-166-11/+67
|
* Add 'pure' to embedded-C functions that deserve itJosh Stone2008-06-139-22/+27
|
* Reduce the number of actionremaining checks.Josh Stone2008-06-132-43/+45
| | | | | The generated code now only checks the actionremaining count at control points and after executing a large sequence of statements.
* Minimize last_error checking.Josh Stone2008-06-132-83/+57
| | | | | | 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.
* Tweak the configure script to play nice with Debian libs.Josh Stone2008-06-132-9/+201
| | | | | | | ./configure now accepts --enable-staticdw, which alters the link settings so they work with static libdw. Tested on Ubuntu Hardy.
* Added instructions for running a particular test.Jim Keniston2008-06-131-0/+9
|
* make "-p4 -m FOO" mode consistent with ordinary -p4Frank Ch. Eigler2008-06-134-3/+13
|