summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add test suite for declaration resolutionJames Bottomley2008-07-094-40/+59
| | | | | | | | | | This adds the test declaration.exp which checks that specific named declarations inside the kernel both fail and succeed. We get the failure by only using a single compile unit which is currently known to have the structure stubbed. We get exactly the same declaration to succeed by adding a CU that is known to have the declaration. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
* Fix semantic error: empty structJames Bottomley2008-07-091-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | On Tue, 2008-07-08 at 14:57 -0400, Frank Ch. Eigler wrote: > Hi - > > > you need a global cache for resolution ... it's not tied to any local > > class instance. For class dwflpp it probably doesn't matter, since that > > class is effectively static (by its survival for a session) but > > logically because the DW_AT_declaration resolution is global, so should > > the cache that does it. > > .. except it's not actually global, in that the kernel is not the only > code that will go through the dwarf family of probe processors - > user-space dwarf files are coming its way soon. Plus, if in the > future the systemtap frontend attempts distributed probing of multiple > target systems concurrently, "global" will be even more local. In that context its as global as a lot of the other static data in that structure (like this_session) which would also have to be fixed to do a multiple target system. Regardless, it can become per instance: it will only screw up if dwflpp moves to being short lived. James
* Add hack to support git 1.6 in git_version.shTheodore Ts'o2008-07-091-0/+23
| | | | | | | | | | | | | | | | | | | This is needed now for people who are running the "master" branch of git, which is currently in development for git version 1.6.0. This is a kludge to support hyphenated git commands (i.e., git-diff-files), but this form is explicitly deprecated, and doesn't work in git 1.6 unless you put git's execdir (obtained via git --exec-path) in your PATH environment variable. Even then, these programs may no longer exist future versions of git. It would be better to change the script to use "git diff-files", et. al., but I assume upstream had some vaguely justifiable reason for not writing the script that way. I'll let them decide when they are willing to fix the script the right way, even if it means breaking compatibility for some ancient version of git. n.b., git 1.5.0 was released February 2007, and git 1.4.0 was released June, 2006. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Sync latest fix for git_version.sh from RadeonHD's treeTheodore Ts'o2008-07-091-1/+1
| | | | | | | This incorporates commit de4fbeeb: "Fix check for wrong macro in in git-version.sh", from the xf86-video-radeonhd tree. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Slightly cleanup code of translate.cxxWenji Huang2008-07-092-5/+9
|
* PR2111: add general blurbage to stapprobes.5 on syscalls tapsetFrank Ch. Eigler2008-07-081-0/+41
|
* Use `uname -rvm` for checking system compatibility. GenerateDave Brolley2008-07-084-8/+30
| | | | a finale response from the server to allow for error checking.
* Add section to stapex manual page on how installed examples are documented.Mark Wielaard2008-07-072-0/+12
|
* Install examples, demos and samples.Mark Wielaard2008-07-075-82/+143
|
* Install tutorial and langref manuals.Mark Wielaard2008-07-075-14/+59
|
* ubuntu (2.6.24-16-server) kernel compatibility fixFrank Ch. Eigler2008-07-032-1/+5
|
* client/server take 2. See bz6565.Dave Brolley2008-07-034-126/+256
|
* Add functioncallcount.meta and functioncallcount.stp.William Cohen2008-07-023-0/+34
|
* Add para-callgraph.stp and para-callgraph.meta.William Cohen2008-07-023-0/+37
|
* Fixed __stp_get_mm_path() error return code.David Smith2008-07-012-6/+19
| | | | | | | | | 2008-07-01 David Smith <dsmith@redhat.com> * task_finder.c (__stp_get_mm_path): Corrected error return code. (__stp_utrace_attach_match_tsk): Ignores ENOENT error from __stp_get_mm_path(). (stap_start_task_finder): Ditto.
* diagnostics improvement: print arch/mach at top if -vvFrank Ch. Eigler2008-07-012-1/+11
|
* Make _vfs.generic_commit_write only for kernel<=2.6.25Wenji Huang2008-07-014-0/+14
|
* Handles "mortally wounded" threads correctly when detaching.David Smith2008-06-302-23/+43
| | | | | | | | | | 2008-06-30 David Smith <dsmith@redhat.com> * task_finder.c (stap_utrace_detach_ops): Removed check to see if thread has a mm (in the case where a thread isn't quite dead yet). (stap_utrace_attach): Minor error handling improvement. (__stp_utrace_attach_match_tsk): Ditto.
* further clarify that elfutils need not be absolutely freshest, nor rebuilt ↵Frank Ch. Eigler2008-06-301-1/+3
| | | | every time
* point out releases/ directory; clarify optionality of elfutils bundlingFrank Ch. Eigler2008-06-291-5/+8
|
* Add auto_free_ref to auto_free stuff; bug 6694Tim Moore2008-06-295-9/+36
| | | | Also add auto_free.h to EXTRA_DIST.
* Always include libdw using link groups.Josh Stone2008-06-272-278/+7
| | | | | | 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.
* 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
|