]> sourceware.org Git - systemtap.git/log
systemtap.git
16 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Tue, 29 Jul 2008 17:47:31 +0000 (13:47 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

Conflicts:

ChangeLog
testsuite/ChangeLog

16 years agoEnsure that a systemtap server is available if 'server' is specified
Dave Brolley [Tue, 29 Jul 2008 17:40:08 +0000 (13:40 -0400)]
Ensure that a systemtap server is available if 'server' is specified
in EXTRA_TOOL_OPTS for 'make check' and 'make installcheck'

16 years agosession.h (struct systemtap_session): Added itrace_derived_probe
dcn [Tue, 29 Jul 2008 11:32:54 +0000 (06:32 -0500)]
session.h (struct systemtap_session): Added itrace_derived_probe
group.
elaborate.cxx (systemtap_session::systemtap_session): Added
initialization of itrace_derived_probes.
tapsets.cxx (struct itrace_derived_probe): Add derived_probe
struct for holding info needed by itrace probes.
(struct itrace_derived_probe_group): New derived_probe_group
to handle itrace probes.
(itrace_derived_probe::itrace_derived_probe): Needed for use with
task_finder.
(itrace_derived_probe_group::join_group): Ditto.
(itrace_derived_probe_group::enroll): Ditto.
(itrace_derived_probe_group::emit_probe_decl): Ditto.
(itrace_derived_probe_group::emit_module_decls): Ditto.
(itrace_derived_probe_group::emit_module_init): Ditto.
(itrace_derived_probe_group::emit_module_exit): Ditto.
stapprobes.5.in : Added documentation of itrace probe.

16 years ago* syscalls2.stp: Add sys_unlinkat.
Zhaolei [Fri, 25 Jul 2008 10:51:25 +0000 (18:51 +0800)]
* syscalls2.stp: Add sys_unlinkat.

16 years agoFix on_each_cpu() call for kernels >2.6.26.
Josh Stone [Thu, 24 Jul 2008 19:40:45 +0000 (12:40 -0700)]
Fix on_each_cpu() call for kernels >2.6.26.

This is a generalization of the patch from James Bottomley:
http://sources.redhat.com/ml/systemtap/2008-q3/msg00220.html

The on_each_cpu() change was merged *after* the 2.6.26 release, so I'm
using an autoconf test instead of James' version check.

16 years agoRemove unused STAPCONF_MODULE_NSECTIONS
Josh Stone [Thu, 24 Jul 2008 19:07:28 +0000 (12:07 -0700)]
Remove unused STAPCONF_MODULE_NSECTIONS

16 years agochangelog for entry-pc semantic error fix
Frank Ch. Eigler [Wed, 23 Jul 2008 23:40:05 +0000 (19:40 -0400)]
changelog for entry-pc semantic error fix

16 years agofix semantic error: no entrypc found using probe .statement(*@file:line) constructs
James Bottomley [Wed, 9 Jul 2008 21:58:31 +0000 (16:58 -0500)]
fix semantic error: no entrypc found using probe .statement(*@file:line) constructs

At the moment, you can't specify

probe module("scsi_mod").statement(*@drivers/scsi/scsi_lib.c:1443)

because the compiler will fail with the above semantic error on the
function scsi_end_bidi_request.  It seems looking through the dwarf that
this function is fully inlined and thus has no entrypc to catalogue.
The solution therefore seems to simply return DWARF_CB_OK when we find
such functions and continue cataloguing all the ones that do actually
have non-inline versions.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
16 years agoFix sw 6752. Alter condtional to check for >= 2.6.26. This accounts and fixes false...
Phil Muldoon [Tue, 22 Jul 2008 12:22:23 +0000 (13:22 +0100)]
Fix sw 6752. Alter condtional to check for >= 2.6.26. This accounts and fixes false positives in kernel_v strings that return xx.xx.xx.xx over xx.xx.xx.

16 years agoNo longer allocates structure used to save vma information.
David Smith [Mon, 21 Jul 2008 15:17:19 +0000 (10:17 -0500)]
No longer allocates structure used to save vma information.
2008-07-21  David Smith  <dsmith@redhat.com>

* task_finder_vma.c (__stp_tf_vma_initialize): New function to
initialize the free list.
(__stp_tf_vma_put_free_entry): Puts a vma entry back on the free
list.
(__stp_tf_add_vma): Instead of allocating a vma entry, grab one
from the free list by calling __stp_tf_vma_put_free_entry().
(__stp_tf_remove_vma_entry): Instead of freeing a vma entry, call
__stp_tf_vma_put_free_entry() to put it on the free list instead.
* task_finder.c (stap_start_task_finder): Calls
__stp_tf_vma_initialize().

16 years agoPR442528 (PR6028): register dummy kprobes on ia64 for fixing bsp offset.
Masami Hiramatsu [Fri, 18 Jul 2008 22:34:32 +0000 (18:34 -0400)]
PR442528 (PR6028): register dummy kprobes on ia64 for fixing bsp offset.

16 years agoBZ442528 changelogs: ia64 fetch_register speedups
Frank Ch. Eigler [Fri, 18 Jul 2008 21:55:41 +0000 (17:55 -0400)]
BZ442528 changelogs: ia64 fetch_register speedups

16 years agoPR442528
Frank Ch. Eigler [Thu, 10 Jul 2008 20:39:17 +0000 (16:39 -0400)]
PR442528

16 years agoAvoid statement wildcard lines without a unique address.
Stan Cox [Fri, 18 Jul 2008 13:44:07 +0000 (09:44 -0400)]
Avoid statement wildcard lines without a unique address.

16 years agosyscalls2.stp: Add sys_symlinkat.
Zhaolei [Fri, 18 Jul 2008 02:02:11 +0000 (10:02 +0800)]
syscalls2.stp: Add sys_symlinkat.

16 years agoPR6030: control signal relay and accept deferred re-reception
Frank Ch. Eigler [Thu, 17 Jul 2008 18:54:30 +0000 (14:54 -0400)]
PR6030: control signal relay and accept deferred re-reception

16 years agoPR6030: forward signals to children - stapio etc.
anithra [Thu, 17 Jul 2008 18:05:45 +0000 (14:05 -0400)]
PR6030: forward signals to children - stapio etc.

16 years agoInclude stap-client, stap-server and stap-serverd in rpm packages.
Masami Hiramatsu [Thu, 17 Jul 2008 15:55:32 +0000 (11:55 -0400)]
Include stap-client, stap-server and stap-serverd in rpm packages.

16 years agoFixed "Version" line.
David Smith [Thu, 17 Jul 2008 13:35:52 +0000 (08:35 -0500)]
Fixed "Version" line.
2008-07-17  David Smith  <dsmith@redhat.com>

* systemtap.spec: Moved comment that was on the same line as
"Version", which rpmbuild didn't like.

16 years agosupport multiple-relocatable-section modules such as hypothetical -ffunction-sections...
Frank Ch. Eigler [Thu, 17 Jul 2008 10:42:45 +0000 (06:42 -0400)]
support multiple-relocatable-section modules such as hypothetical -ffunction-sections .ko's

16 years agocompiled unwindsyms should tolerate & notify on erroneous/missing "-d MODULE"
Frank Ch. Eigler [Thu, 17 Jul 2008 03:27:15 +0000 (23:27 -0400)]
compiled unwindsyms should tolerate & notify on erroneous/missing "-d MODULE"

16 years agoversion bump to 0.7.1
Frank Ch. Eigler [Thu, 17 Jul 2008 03:06:50 +0000 (23:06 -0400)]
version bump to 0.7.1

16 years agoMake sure stap-client, stap-server and stap-serverd are included in 'make dist'
Dave Brolley [Wed, 16 Jul 2008 19:24:49 +0000 (15:24 -0400)]
Make sure stap-client, stap-server and stap-serverd are included in 'make dist'

16 years agofix missing functions in caches
James Bottomley [Mon, 14 Jul 2008 21:49:00 +0000 (16:49 -0500)]
fix missing functions in caches

Both the inline and non inline filtered function caches can lose
functions.  This happens because both of these caches are indexed by the
entrypc.  However, the vagaries of optimisation can actually cause us to
end up with two functions with apparently the same entrypc (mainly
because for inline functions, the entrypc has to be deduced from the
range of addresses, which is nastily heuristic).

A nice example of this is bsg_io_schedule.  In my build of 2.6.26 it's a
static function transformed to an inline by the compiler.  The range
deduction of its entrypc ends up being identical to that of bsg_release,
so when I try to place a probe inside it, none of the function
references actually refers to it.

Since nothing ever actually makes use of this index, the fix is simple:
don't use a map indexed on the entrypc, use a simple vector.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
16 years agofix *{ok,ko} test case permissions
Frank Ch. Eigler [Tue, 15 Jul 2008 19:43:55 +0000 (15:43 -0400)]
fix *{ok,ko} test case permissions

16 years agoAdd my name which was missing in some ChangeLog entries.
Dave Brolley [Tue, 15 Jul 2008 16:18:32 +0000 (12:18 -0400)]
Add my name which was missing in some ChangeLog entries.

16 years agoChanged method of getting the value of $syscall.
David Smith [Tue, 15 Jul 2008 16:09:32 +0000 (11:09 -0500)]
Changed method of getting the value of $syscall.
2008-07-14  David Smith  <dsmith@redhat.com>

* tapsets.cxx
(utrace_var_expanding_copy_visitor::visit_target_symbol):
Synthesize a function to get the value of $syscall.

2008-07-14  David Smith  <dsmith@redhat.com>

* i686/registers.stp: Removed syscall_nr function.
* x86_64/registers.stp: Ditto.

16 years agoEnable 'make check' and 'make installcheck' using the systemtap client/server.
Dave Brolley [Mon, 14 Jul 2008 17:41:48 +0000 (13:41 -0400)]
Enable 'make check' and 'make installcheck' using the systemtap client/server.

16 years agoPR6738: restore support for rhel4-era (2.6.9) kernels release-0.7 release-0.7-rc2
Frank Ch. Eigler [Sat, 12 Jul 2008 23:10:22 +0000 (19:10 -0400)]
PR6738: restore support for rhel4-era (2.6.9) kernels

16 years agogive credit to "smileytap.svg" image creator
Frank Ch. Eigler [Sat, 12 Jul 2008 14:20:47 +0000 (10:20 -0400)]
give credit to "smileytap.svg" image creator

16 years agoPR6739: speed up decl-alias cache by avoiding its recomputation; move to per-module/cu
Frank Ch. Eigler [Fri, 11 Jul 2008 20:50:18 +0000 (16:50 -0400)]
PR6739: speed up decl-alias cache by avoiding its recomputation; move to per-module/cu

16 years agos/decending/descending/g in example description.
Mark Wielaard [Fri, 11 Jul 2008 15:26:31 +0000 (17:26 +0200)]
s/decending/descending/g in example description.

16 years agofix variable-name-collision thinko in symbol processing logic release-0.7-rc1
Frank Ch. Eigler [Fri, 11 Jul 2008 04:47:50 +0000 (00:47 -0400)]
fix variable-name-collision thinko in symbol processing logic

This little ditty could cause infinite loops, but more often
if stap was compiled fully optimized.

16 years agostart bundling user-space programs' symbol tables
Frank Ch. Eigler [Fri, 11 Jul 2008 04:24:18 +0000 (00:24 -0400)]
start bundling user-space programs' symbol tables

16 years agoensure module caching does not ignore possibly changing -d MODULE options
Frank Ch. Eigler [Fri, 11 Jul 2008 04:20:03 +0000 (00:20 -0400)]
ensure module caching does not ignore possibly changing -d MODULE options

16 years agoarchive a version of the unofficial systemtap logo, SVG form
Frank Ch. Eigler [Fri, 11 Jul 2008 03:30:57 +0000 (23:30 -0400)]
archive a version of the unofficial systemtap logo, SVG form

16 years agodisable caching if "-k" (save-temps) option is given
Frank Ch. Eigler [Fri, 11 Jul 2008 03:25:31 +0000 (23:25 -0400)]
disable caching if "-k" (save-temps) option is given

16 years agoPR6703: gcc4.1 build compatibility
Frank Ch. Eigler [Fri, 11 Jul 2008 02:23:12 +0000 (22:23 -0400)]
PR6703: gcc4.1 build compatibility

16 years agoCorrect access to the mapping field in vfs::__address_inode().
Josh Stone [Thu, 10 Jul 2008 18:24:09 +0000 (11:24 -0700)]
Correct access to the mapping field in vfs::__address_inode().

16 years agofixing inappropriate personal copyright notices
Frank Ch. Eigler [Thu, 10 Jul 2008 16:55:06 +0000 (12:55 -0400)]
fixing inappropriate personal copyright notices

16 years agoPR6736: changelogs for post-merge compiled unwind/symbols data reorganization
Frank Ch. Eigler [Thu, 10 Jul 2008 15:09:51 +0000 (11:09 -0400)]
PR6736: changelogs for post-merge compiled unwind/symbols data reorganization

16 years agoMerge commit 'origin/master' into pr6429-comp-unwindsyms
Frank Ch. Eigler [Thu, 10 Jul 2008 02:44:13 +0000 (22:44 -0400)]
Merge commit 'origin/master' into pr6429-comp-unwindsyms

* commit 'origin/master':
  fix shutdown race condition for scripts that might exit during begin probes
  Fix PR 6732: Add runtime/autoconf-real-parent.c check for task_struct field.
  clarify dejagnu test case name for empty-struct changes
  add changelog entries for last two changes
  Add test suite for declaration resolution
  Fix semantic error: empty struct
  Add hack to support git 1.6 in git_version.sh
  Sync latest fix for git_version.sh from RadeonHD's tree
  Slightly cleanup code of translate.cxx
  PR2111: add general blurbage to stapprobes.5 on syscalls tapset
  Use `uname -rvm` for checking system compatibility. Generate
  Add section to stapex manual page on how installed examples are documented.
  Install examples, demos and samples.
  Install tutorial and langref manuals.

16 years agofix shutdown race condition for scripts that might exit during begin probes
Frank Ch. Eigler [Thu, 10 Jul 2008 02:36:46 +0000 (22:36 -0400)]
fix shutdown race condition for scripts that might exit during begin probes

16 years agoFix PR 6732: Add runtime/autoconf-real-parent.c check for task_struct field.
Mark Wielaard [Wed, 9 Jul 2008 15:14:01 +0000 (17:14 +0200)]
Fix PR 6732: Add runtime/autoconf-real-parent.c check for task_struct field.

16 years agoclarify dejagnu test case name for empty-struct changes
Frank Ch. Eigler [Wed, 9 Jul 2008 15:16:36 +0000 (11:16 -0400)]
clarify dejagnu test case name for empty-struct changes

16 years agoadd changelog entries for last two changes
Frank Ch. Eigler [Wed, 9 Jul 2008 11:14:32 +0000 (07:14 -0400)]
add changelog entries for last two changes

16 years agoAdd test suite for declaration resolution
James Bottomley [Tue, 8 Jul 2008 17:38:58 +0000 (12:38 -0500)]
Add test suite for declaration resolution

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>
16 years agoFix semantic error: empty struct
James Bottomley [Tue, 8 Jul 2008 21:45:16 +0000 (16:45 -0500)]
Fix semantic error: empty struct

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

16 years agoAdd hack to support git 1.6 in git_version.sh
Theodore Ts'o [Wed, 9 Jul 2008 00:51:45 +0000 (20:51 -0400)]
Add hack to support git 1.6 in git_version.sh

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>
16 years agoSync latest fix for git_version.sh from RadeonHD's tree
Theodore Ts'o [Wed, 9 Jul 2008 00:51:44 +0000 (20:51 -0400)]
Sync latest fix for git_version.sh from RadeonHD's tree

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>
16 years agoSlightly cleanup code of translate.cxx
Wenji Huang [Wed, 9 Jul 2008 22:06:39 +0000 (18:06 -0400)]
Slightly cleanup code of translate.cxx

16 years agoPR2111: add general blurbage to stapprobes.5 on syscalls tapset
Frank Ch. Eigler [Tue, 8 Jul 2008 22:37:09 +0000 (18:37 -0400)]
PR2111: add general blurbage to stapprobes.5 on syscalls tapset

16 years agoUse `uname -rvm` for checking system compatibility. Generate
Dave Brolley [Tue, 8 Jul 2008 18:22:11 +0000 (14:22 -0400)]
Use `uname -rvm` for checking system compatibility. Generate
a finale response from the server to allow for error checking.

16 years agopass /sys/module/*/sections/* addresses to the kernel module too
Frank Ch. Eigler [Mon, 7 Jul 2008 21:40:24 +0000 (17:40 -0400)]
pass /sys/module/*/sections/* addresses to the kernel module too

16 years agoAdd section to stapex manual page on how installed examples are documented.
Mark Wielaard [Mon, 7 Jul 2008 11:04:01 +0000 (13:04 +0200)]
Add section to stapex manual page on how installed examples are documented.

16 years agoInstall examples, demos and samples.
Mark Wielaard [Mon, 7 Jul 2008 10:52:16 +0000 (12:52 +0200)]
Install examples, demos and samples.

16 years agoInstall tutorial and langref manuals.
Mark Wielaard [Mon, 7 Jul 2008 09:15:50 +0000 (11:15 +0200)]
Install tutorial and langref manuals.

16 years agoavoid appearing to succeed in stp_relocation() of a symbol for a module that is not...
Frank Ch. Eigler [Fri, 4 Jul 2008 22:01:26 +0000 (18:01 -0400)]
avoid appearing to succeed in stp_relocation() of a symbol for a module that is not known to be loaded

16 years agoMerge commit 'origin/master' into pr6429-comp-unwindsyms
Frank Ch. Eigler [Fri, 4 Jul 2008 21:11:29 +0000 (17:11 -0400)]
Merge commit 'origin/master' into pr6429-comp-unwindsyms

* commit 'origin/master':
  ubuntu (2.6.24-16-server) kernel compatibility fix
  client/server take 2. See bz6565.
  Add functioncallcount.meta and functioncallcount.stp.
  Add para-callgraph.stp and para-callgraph.meta.
  Fixed __stp_get_mm_path() error return code.
  diagnostics improvement: print arch/mach at top if -vv
  Make _vfs.generic_commit_write only for kernel<=2.6.25
  Handles "mortally wounded" threads correctly when detaching.
  further clarify that elfutils need not be absolutely freshest, nor rebuilt every time
  point out releases/ directory; clarify optionality of elfutils bundling
  Add auto_free_ref to auto_free stuff; bug 6694

16 years agoemit all symbol tables at compile time; don't do any module munging; new unwinder...
Frank Ch. Eigler [Fri, 4 Jul 2008 20:59:48 +0000 (16:59 -0400)]
emit all symbol tables at compile time; don't do any module munging; new unwinder still disabled

16 years agoubuntu (2.6.24-16-server) kernel compatibility fix
Frank Ch. Eigler [Thu, 3 Jul 2008 20:00:40 +0000 (16:00 -0400)]
ubuntu (2.6.24-16-server) kernel compatibility fix

16 years agoclient/server take 2. See bz6565.
Dave Brolley [Thu, 3 Jul 2008 17:10:44 +0000 (13:10 -0400)]
client/server take 2. See bz6565.

16 years agoAdd functioncallcount.meta and functioncallcount.stp.
William Cohen [Wed, 2 Jul 2008 19:37:30 +0000 (15:37 -0400)]
Add functioncallcount.meta and functioncallcount.stp.

16 years agoAdd para-callgraph.stp and para-callgraph.meta.
William Cohen [Wed, 2 Jul 2008 18:11:37 +0000 (14:11 -0400)]
Add para-callgraph.stp and para-callgraph.meta.

16 years agoFixed __stp_get_mm_path() error return code.
David Smith [Tue, 1 Jul 2008 20:16:52 +0000 (15:16 -0500)]
Fixed __stp_get_mm_path() error return code.
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.

16 years agodiagnostics improvement: print arch/mach at top if -vv
Frank Ch. Eigler [Tue, 1 Jul 2008 14:51:57 +0000 (10:51 -0400)]
diagnostics improvement: print arch/mach at top if -vv

16 years agoMake _vfs.generic_commit_write only for kernel<=2.6.25
Wenji Huang [Tue, 1 Jul 2008 18:45:31 +0000 (14:45 -0400)]
Make _vfs.generic_commit_write only for kernel<=2.6.25

16 years agoHandles "mortally wounded" threads correctly when detaching.
David Smith [Mon, 30 Jun 2008 18:23:58 +0000 (13:23 -0500)]
Handles "mortally wounded" threads correctly when detaching.
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.

16 years agofurther clarify that elfutils need not be absolutely freshest, nor rebuilt every...
Frank Ch. Eigler [Mon, 30 Jun 2008 13:13:05 +0000 (09:13 -0400)]
further clarify that elfutils need not be absolutely freshest, nor rebuilt every time

16 years agopoint out releases/ directory; clarify optionality of elfutils bundling
Frank Ch. Eigler [Mon, 30 Jun 2008 01:08:35 +0000 (21:08 -0400)]
point out releases/ directory; clarify optionality of elfutils bundling

16 years agoAdd auto_free_ref to auto_free stuff; bug 6694
Tim Moore [Sun, 29 Jun 2008 21:04:31 +0000 (23:04 +0200)]
Add auto_free_ref to auto_free stuff; bug 6694

Also add auto_free.h to EXTRA_DIST.

16 years agotransport/symbol rework: kernel-only probes working
Frank Ch. Eigler [Sun, 29 Jun 2008 19:59:28 +0000 (15:59 -0400)]
transport/symbol rework: kernel-only probes working

16 years agoSTP_RELOCATE message for kernel relocatability (re)adaption, starting implementation
Frank Ch. Eigler [Sun, 29 Jun 2008 14:14:19 +0000 (10:14 -0400)]
STP_RELOCATE message for kernel relocatability (re)adaption, starting implementation

16 years agoMerge commit 'origin/master' into pr6429-comp-unwindsyms
Frank Ch. Eigler [Sat, 28 Jun 2008 01:45:37 +0000 (21:45 -0400)]
Merge commit 'origin/master' into pr6429-comp-unwindsyms

* commit 'origin/master':
  Always include libdw using link groups.
  Fix bug in handling process(PID) probes.
  Added tests for 'process(PID)' variants.
  This commit makes changes to the VFS tapset. The changes include deprecation of
  syscalls2.stp: Add sys_renameat.
  Only probe lines once for the :* wildcard line pattern.
  Revert checking address in runtime
  bz451707: fix conversions.exp test $name
  Cleanup in tapsets.cxx
  Added powerpc support to runtime/syscall.h.
  Remove validating _stext due to many aliased symbols
  PR6646: Add checking address in runtime
  Fixed offset argument to vm_callback.

16 years agoAlways include libdw using link groups.
Josh Stone [Fri, 27 Jun 2008 23:19:19 +0000 (16:19 -0700)]
Always include libdw using link groups.

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.

16 years agoFix bug in handling process(PID) probes.
David Smith [Fri, 27 Jun 2008 15:50:32 +0000 (10:50 -0500)]
Fix bug in handling process(PID) probes.
2008-06-27  David Smith  <dsmith@redhat.com>

* tapsets.cxx (utrace_derived_probe_group::emit_module_decls): Fix
bug in handling process(PID) probes.

16 years agoAdded tests for 'process(PID)' variants.
David Smith [Fri, 27 Jun 2008 15:12:02 +0000 (10:12 -0500)]
Added tests for 'process(PID)' variants.
2008-06-27  David Smith  <dsmith@redhat.com>

* systemtap.base/utrace_p4.exp: Added tests for 'process(PID)'
variants.

16 years agoThis commit makes changes to the VFS tapset. The changes include deprecation of
root [Fri, 27 Jun 2008 08:27:52 +0000 (13:57 +0530)]
This commit makes changes to the VFS tapset. The changes include deprecation of
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.

16 years agosyscalls2.stp: Add sys_renameat.
Zhaolei [Thu, 26 Jun 2008 05:45:46 +0000 (13:45 +0800)]
syscalls2.stp: Add sys_renameat.

16 years agoOnly probe lines once for the :* wildcard line pattern.
Stan Cox [Thu, 26 Jun 2008 01:09:24 +0000 (21:09 -0400)]
Only probe lines once for the :* wildcard line pattern.

16 years agoRevert checking address in runtime
Wenji Huang [Wed, 25 Jun 2008 14:43:35 +0000 (10:43 -0400)]
Revert checking address in runtime

16 years agobz451707: fix conversions.exp test $name
Frank Ch. Eigler [Wed, 25 Jun 2008 00:06:29 +0000 (20:06 -0400)]
bz451707: fix conversions.exp test $name

16 years agoCleanup in tapsets.cxx
Tim Moore [Tue, 24 Jun 2008 12:26:52 +0000 (14:26 +0200)]
Cleanup in tapsets.cxx

16 years agoAdded powerpc support to runtime/syscall.h.
David Smith [Tue, 24 Jun 2008 13:33:51 +0000 (08:33 -0500)]
Added powerpc support to runtime/syscall.h.
2008-06-24  David Smith  <dsmith@redhat.com>

From: Srinivasa DS <srinivasa@in.ibm.com>
* syscall.h: Added powerpc support.

16 years agoRemove validating _stext due to many aliased symbols
Wenji Huang [Tue, 24 Jun 2008 17:49:01 +0000 (13:49 -0400)]
Remove validating _stext due to many aliased symbols

16 years agoPR6646: Add checking address in runtime
Wenji Huang [Tue, 24 Jun 2008 14:11:10 +0000 (10:11 -0400)]
PR6646: Add checking address in runtime

16 years agoMerge commit 'origin/pr6429-comp-unwindsyms' into pr6429-comp-unwindsyms
Frank Ch. Eigler [Mon, 23 Jun 2008 21:50:40 +0000 (17:50 -0400)]
Merge commit 'origin/pr6429-comp-unwindsyms' into pr6429-comp-unwindsyms

* commit 'origin/pr6429-comp-unwindsyms':
  utrace process("PATH") also populate session unwindsym_modules
  populate sess.unwindsym_modules set from dwarf probes
  add module-name vector to session object, command line arguments

16 years agoFixed offset argument to vm_callback.
David Smith [Mon, 23 Jun 2008 21:49:40 +0000 (16:49 -0500)]
Fixed offset argument to vm_callback.
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.

16 years agomake module_cache a session field rather than plain static
Frank Ch. Eigler [Mon, 23 Jun 2008 17:51:41 +0000 (13:51 -0400)]
make module_cache a session field rather than plain static

16 years agoremove /proc/kallsyms hack; add initial elfutils symtab iteration logic
Frank Ch. Eigler [Mon, 23 Jun 2008 16:57:59 +0000 (12:57 -0400)]
remove /proc/kallsyms hack; add initial elfutils symtab iteration logic

16 years agoPR6429: remove stapio STP_UNWIND support and associated elfutils dependency
Frank Ch. Eigler [Tue, 3 Jun 2008 17:29:09 +0000 (13:29 -0400)]
PR6429: remove stapio STP_UNWIND support and associated elfutils dependency

16 years agoutrace process("PATH") also populate session unwindsym_modules
Frank Ch. Eigler [Mon, 28 Apr 2008 18:07:08 +0000 (14:07 -0400)]
utrace process("PATH") also populate session unwindsym_modules

16 years agopopulate sess.unwindsym_modules set from dwarf probes
Frank Ch. Eigler [Mon, 28 Apr 2008 18:01:50 +0000 (14:01 -0400)]
populate sess.unwindsym_modules set from dwarf probes

16 years agoadd module-name vector to session object, command line arguments
Frank Ch. Eigler [Thu, 24 Apr 2008 17:08:02 +0000 (13:08 -0400)]
add module-name vector to session object, command line arguments

16 years agoHandle exec's that use a relative path.
David Smith [Mon, 23 Jun 2008 20:56:53 +0000 (15:56 -0500)]
Handle exec's that use a relative path.
2008-06-23  David Smith  <dsmith@redhat.com>

* task_finder.c (__stp_utrace_task_finder_report_exec): Handles
relative exec paths correctly.

16 years agoUpdate documentation for .statement wildcard.
Stan Cox [Mon, 23 Jun 2008 20:02:09 +0000 (16:02 -0400)]
Update documentation for .statement wildcard.

16 years agoMade RHEL5 changes.
David Smith [Mon, 23 Jun 2008 19:42:03 +0000 (14:42 -0500)]
Made RHEL5 changes.
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.

16 years agomore re. make module_cache a session field
Frank Ch. Eigler [Mon, 23 Jun 2008 18:45:10 +0000 (14:45 -0400)]
more re. make module_cache a session field

16 years agomake module_cache a session field rather than plain static
Frank Ch. Eigler [Mon, 23 Jun 2008 18:03:37 +0000 (14:03 -0400)]
make module_cache a session field rather than plain static

16 years agoMajor update to memory map change notification code.
David Smith [Mon, 23 Jun 2008 17:41:45 +0000 (12:41 -0500)]
Major update to memory map change notification code.
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.

This page took 0.059295 seconds and 5 git commands to generate.