]> sourceware.org Git - systemtap.git/log
systemtap.git
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.

16 years agoRemoved trailing semicolons from macro definitions.
David Smith [Mon, 23 Jun 2008 17:20:47 +0000 (12:20 -0500)]
Removed trailing semicolons from macro definitions.
2008-06-23  David Smith  <dsmith@redhat.com>

* regs.h: Removed trailing semicolons from macro definitions.

16 years agoAdd kernel.statement("Func@File:*) and kernel.statement("Func@File:X-Y)
Stan Cox [Mon, 23 Jun 2008 16:37:06 +0000 (12:37 -0400)]
Add kernel.statement("Func@File:*) and kernel.statement("Func@File:X-Y)

16 years agosyscalls.stp: Add sys_mknodat.
Zhaolei [Mon, 23 Jun 2008 09:42:29 +0000 (17:42 +0800)]
syscalls.stp: Add sys_mknodat.

16 years agoCorrect test_check and test_installcheck commands.
William Cohen [Fri, 20 Jun 2008 20:43:05 +0000 (16:43 -0400)]
Correct test_check and test_installcheck commands.

16 years agoAdd test for dev.stp tapset functions.
William Cohen [Fri, 20 Jun 2008 19:06:42 +0000 (15:06 -0400)]
Add test for dev.stp tapset functions.

16 years agoFunctions for kdev_t information: MAJOR, MINOR, MKDEV, and usrdev2kerndev.
William Cohen [Fri, 20 Jun 2008 18:42:25 +0000 (14:42 -0400)]
Functions for kdev_t information: MAJOR, MINOR, MKDEV, and usrdev2kerndev.

16 years agoGet rid of the dynamic_cast<>s in void_statement_reducer.
Josh Stone [Fri, 20 Jun 2008 02:16:39 +0000 (19:16 -0700)]
Get rid of the dynamic_cast<>s in void_statement_reducer.

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.

16 years agostapvars.5: document NULL
Frank Ch. Eigler [Thu, 19 Jun 2008 21:59:34 +0000 (17:59 -0400)]
stapvars.5: document NULL

16 years agoaux_syscalls.stp: Output unknown bits in _stp_lookup_or_str.
Zhaolei [Thu, 19 Jun 2008 09:35:55 +0000 (17:35 +0800)]
aux_syscalls.stp: Output unknown bits in _stp_lookup_or_str.

16 years agoProve that I know how to spell.
Josh Stone [Thu, 19 Jun 2008 02:25:56 +0000 (19:25 -0700)]
Prove that I know how to spell.

16 years agoAdd Intel to copyright header on elaborate.cxx
Josh Stone [Thu, 19 Jun 2008 02:14:15 +0000 (19:14 -0700)]
Add Intel to copyright header on elaborate.cxx

16 years agoAdd tests for new statement optimizations.
Josh Stone [Thu, 19 Jun 2008 02:10:12 +0000 (19:10 -0700)]
Add tests for new statement optimizations.

* systemtap.base/optim_voidstmt.stp: Add tests for various statement
optimizations that we should now be eliding.

16 years agoHack optim_arridx to avoid more optimization than intended
Josh Stone [Thu, 19 Jun 2008 01:12:38 +0000 (18:12 -0700)]
Hack optim_arridx to avoid more optimization than intended

16 years agoNew optimization to break up statements in void contexts.
Josh Stone [Thu, 19 Jun 2008 00:07:15 +0000 (17:07 -0700)]
New optimization to break up statements in void contexts.

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.

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