summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* syscalls.stp: Add sys_fchownat.Zhaolei2008-06-132-0/+26
|
* Remove STP_UNWIND support in _stp_ctl_write_dbugWenji Huang2008-06-132-4/+3
|
* Add thread-times.meta and thread-times.stp.William Cohen2008-06-123-0/+49
|
* Add user_mode function to tapset and document.William Cohen2008-06-123-0/+19
|
* Make print_warning parm a const.Stan Cox2008-06-123-2/+6
|
* distribute dwarf_wrappers.h in snapshot tarballsFrank Ch. Eigler2008-06-113-0/+6
|
* Micro-optimize print_warning output. Fix warnings.exp line count.Mark Wielaard2008-06-115-4/+14
|
* Check that make install was run before doing make installcheck.Mark Wielaard2008-06-113-0/+20
|
* utrace thread.begin and thread.end probe test fixes.David Smith2008-06-113-5/+16
| | | | | | | | | 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.
* Added .thread.begin and .thread.end utrace probe tests.David Smith2008-06-114-3/+116
| | | | | | | | | | 2008-06-11 David Smith <dsmith@redhat.com> * 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.
* ha ha haFrank Ch. Eigler2008-06-111-1/+1
|
* duplicate warning thinko foxFrank Ch. Eigler2008-06-112-2/+6
|
* Fix bug in dwfl_assert call.Tim Moore2008-06-111-1/+1
| | | | | The problem was caused by ptrdiff_t being a long on x86_64 and not matching any of the overloaded definitions of dwfl_assert.
* Eliminate duplicate warnings.Stan Cox2008-06-115-12/+35
|
* Fix some logic inversions with dwfl_assert.Tim Moore2008-06-114-3/+22
|