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

16 years agoAdd sleepingBeauties.stp and sleepingBeauties.meta.
William Cohen [Wed, 18 Jun 2008 20:51:28 +0000 (16:51 -0400)]
Add sleepingBeauties.stp and sleepingBeauties.meta.

16 years agoAdd the graphs.stp example from War Stories.
William Cohen [Tue, 17 Jun 2008 18:36:34 +0000 (14:36 -0400)]
Add the graphs.stp example from War Stories.

16 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap into work
David Smith [Tue, 17 Jun 2008 14:20:16 +0000 (09:20 -0500)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap into work

16 years agoGot smarter on which utrace events to set on a newly found thread.
David Smith [Tue, 17 Jun 2008 14:19:24 +0000 (09:19 -0500)]
Got smarter on which utrace events to set on a newly found thread.
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.

16 years agosyscalls.stp: Add sys_linkat.
Zhaolei [Tue, 17 Jun 2008 09:04:47 +0000 (17:04 +0800)]
syscalls.stp: Add sys_linkat.

16 years agomore warning/error consistency for alternatives listing
Frank Ch. Eigler [Tue, 17 Jun 2008 02:47:25 +0000 (22:47 -0400)]
more warning/error consistency for alternatives listing

16 years agoaux_syscalls.stp (__fork_flags): Add termination signal.
Zhaolei [Tue, 17 Jun 2008 01:23:27 +0000 (09:23 +0800)]
aux_syscalls.stp (__fork_flags): Add termination signal.

16 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Frank Ch. Eigler [Mon, 16 Jun 2008 21:59:22 +0000 (17:59 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

* 'master' of ssh://sources.redhat.com/git/systemtap:
  Improved callback handling.
  Create alternative list only as needed.

16 years agowarning/error message compaction by removing duplicated token file names
Frank Ch. Eigler [Mon, 16 Jun 2008 21:57:20 +0000 (17:57 -0400)]
warning/error message compaction by removing duplicated token file names

16 years agoImproved callback handling.
David Smith [Mon, 16 Jun 2008 21:41:33 +0000 (16:41 -0500)]
Improved callback handling.
2008-06-16  David Smith  <dsmith@redhat.com>

* task_finder.c (stap_start_task_finder): Improved callback
handling.

16 years agoCreate alternative list only as needed.
Stan Cox [Mon, 16 Jun 2008 19:47:06 +0000 (15:47 -0400)]
Create alternative list only as needed.

16 years agoBug 6611: read-only variable typo warnings should list alternatives.
Stan Cox [Mon, 16 Jun 2008 16:49:42 +0000 (12:49 -0400)]
Bug 6611: read-only variable typo warnings should list alternatives.

16 years agoAdd 'pure' to embedded-C functions that deserve it
Josh Stone [Sat, 14 Jun 2008 02:32:59 +0000 (19:32 -0700)]
Add 'pure' to embedded-C functions that deserve it

16 years agoReduce the number of actionremaining checks.
Josh Stone [Sat, 14 Jun 2008 02:24:49 +0000 (19:24 -0700)]
Reduce the number of actionremaining checks.

The generated code now only checks the actionremaining count at control
points and after executing a large sequence of statements.

16 years agoMinimize last_error checking.
Josh Stone [Fri, 13 Jun 2008 21:06:18 +0000 (14:06 -0700)]
Minimize last_error checking.

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.

16 years agoTweak the configure script to play nice with Debian libs.
Josh Stone [Fri, 13 Jun 2008 00:14:05 +0000 (17:14 -0700)]
Tweak the configure script to play nice with Debian libs.

./configure now accepts --enable-staticdw, which alters the link
settings so they work with static libdw.

Tested on Ubuntu Hardy.

16 years agoAdded instructions for running a particular test.
Jim Keniston [Fri, 13 Jun 2008 23:37:30 +0000 (16:37 -0700)]
Added instructions for running a particular test.

16 years agomake "-p4 -m FOO" mode consistent with ordinary -p4
Frank Ch. Eigler [Fri, 13 Jun 2008 22:08:40 +0000 (18:08 -0400)]
make "-p4 -m FOO" mode consistent with ordinary -p4

16 years agosyscalls.stp: Add sys_fchownat.
Zhaolei [Fri, 13 Jun 2008 08:35:13 +0000 (16:35 +0800)]
syscalls.stp: Add sys_fchownat.

16 years agoRemove STP_UNWIND support in _stp_ctl_write_dbug
Wenji Huang [Fri, 13 Jun 2008 06:37:35 +0000 (02:37 -0400)]
Remove STP_UNWIND support in _stp_ctl_write_dbug

16 years agoAdd thread-times.meta and thread-times.stp.
William Cohen [Thu, 12 Jun 2008 21:53:05 +0000 (17:53 -0400)]
Add thread-times.meta and thread-times.stp.

16 years agoAdd user_mode function to tapset and document.
William Cohen [Thu, 12 Jun 2008 21:35:19 +0000 (17:35 -0400)]
Add user_mode function to tapset and document.

16 years agoMake print_warning parm a const.
Stan Cox [Thu, 12 Jun 2008 14:51:50 +0000 (10:51 -0400)]
Make print_warning parm a const.

16 years agodistribute dwarf_wrappers.h in snapshot tarballs
Frank Ch. Eigler [Wed, 11 Jun 2008 23:33:27 +0000 (19:33 -0400)]
distribute dwarf_wrappers.h in snapshot tarballs

16 years agoMicro-optimize print_warning output. Fix warnings.exp line count.
Mark Wielaard [Wed, 11 Jun 2008 16:30:57 +0000 (18:30 +0200)]
Micro-optimize print_warning output. Fix warnings.exp line count.

16 years agoCheck that make install was run before doing make installcheck.
Mark Wielaard [Thu, 29 May 2008 12:17:39 +0000 (14:17 +0200)]
Check that make install was run before doing make installcheck.

16 years agoutrace thread.begin and thread.end probe test fixes.
David Smith [Wed, 11 Jun 2008 16:16:07 +0000 (11:16 -0500)]
utrace thread.begin and thread.end probe test fixes.
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.

16 years agoAdded .thread.begin and .thread.end utrace probe tests.
David Smith [Wed, 11 Jun 2008 15:37:32 +0000 (10:37 -0500)]
Added .thread.begin and .thread.end utrace probe tests.
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.

16 years agoha ha ha
Frank Ch. Eigler [Wed, 11 Jun 2008 16:06:15 +0000 (12:06 -0400)]
ha ha ha

16 years agoduplicate warning thinko fox
Frank Ch. Eigler [Wed, 11 Jun 2008 15:55:00 +0000 (11:55 -0400)]
duplicate warning thinko fox

16 years agoFix bug in dwfl_assert call.
Tim Moore [Wed, 11 Jun 2008 14:44:45 +0000 (16:44 +0200)]
Fix bug in dwfl_assert call.

The problem was caused by ptrdiff_t being a long on x86_64 and not
matching any of the overloaded definitions of dwfl_assert.

16 years agoEliminate duplicate warnings.
Stan Cox [Wed, 11 Jun 2008 13:39:53 +0000 (09:39 -0400)]
Eliminate duplicate warnings.

16 years agoFix some logic inversions with dwfl_assert.
Tim Moore [Wed, 11 Jun 2008 12:46:34 +0000 (14:46 +0200)]
Fix some logic inversions with dwfl_assert.

16 years agoPR 2608 plus some refactoring in tapsets.cxx
Tim Moore [Wed, 11 Jun 2008 09:08:22 +0000 (11:08 +0200)]
PR 2608 plus some refactoring in tapsets.cxx

New dwarf_wrappers.h, dwarf_wrappers.cxx for for idiomatic access to
libdwarf and refactoring somethings out of the giant classes in tapsets.cxx.

16 years agosyscalls.stp: Add sys_fchmodat.
Zhaolei [Wed, 11 Jun 2008 09:03:20 +0000 (17:03 +0800)]
syscalls.stp: Add sys_fchmodat.

16 years agoPR5643: mention in src/NEWS since the speedup effect is dramatic
Frank Ch. Eigler [Tue, 10 Jun 2008 21:38:53 +0000 (17:38 -0400)]
PR5643: mention in src/NEWS since the speedup effect is dramatic

16 years agoPR6470: new argv[] tapset, docs, test cases
Frank Ch. Eigler [Tue, 10 Jun 2008 20:54:29 +0000 (16:54 -0400)]
PR6470: new argv[] tapset, docs, test cases

16 years agoPR6470: fix preprocessor construct nesting/expansion logic
Frank Ch. Eigler [Tue, 10 Jun 2008 19:40:36 +0000 (15:40 -0400)]
PR6470: fix preprocessor construct nesting/expansion logic

16 years agoPR6470: fix %( number OP number %? .... %) logic
Frank Ch. Eigler [Tue, 10 Jun 2008 18:11:10 +0000 (14:11 -0400)]
PR6470: fix %( number OP number %? .... %) logic

16 years agoEnable and update numeric-arg tests.
Jim Keniston [Tue, 10 Jun 2008 19:11:28 +0000 (12:11 -0700)]
Enable and update numeric-arg tests.

16 years agoVery early beginnings of memory map notification support.
David Smith [Tue, 10 Jun 2008 18:12:35 +0000 (13:12 -0500)]
Very early beginnings of memory map notification support.
2008-06-10  David Smith  <dsmith@redhat.com>

* tapsets.cxx (utrace_derived_probe_group::emit_probe_decl):
Initializes .vm_callback.

2008-06-10  David Smith  <dsmith@redhat.com>

* task_finder.c (struct stap_task_finder_target): Added
vm_callback public field.
(stap_register_task_finder_target): Sets up .report_quiesce
handler.
(__stp_utrace_task_finder_target_quiesce): New function.

16 years agosyscalls.stp: Add sys_faccessat.
Zhaolei [Tue, 10 Jun 2008 10:57:15 +0000 (18:57 +0800)]
syscalls.stp: Add sys_faccessat.

16 years agosyscalls.stp(syscall.mkdirat): Use _dfd_str() to add support for AT_FDCWD.
Zhaolei [Tue, 10 Jun 2008 09:55:11 +0000 (17:55 +0800)]
syscalls.stp(syscall.mkdirat): Use _dfd_str() to add support for AT_FDCWD.

16 years agoFixed utrace probe '$syscall' handling.
David Smith [Mon, 9 Jun 2008 19:50:18 +0000 (14:50 -0500)]
Fixed utrace probe '$syscall' handling.
2008-06-09  David Smith  <dsmith@redhat.com>

* tapsets.cxx
(utrace_var_expanding_copy_visitor::visit_target_symbol): Calls
'syscall_nr' to get the value of '$syscall'.

2008-06-09  David Smith  <dsmith@redhat.com>

* x86_64/registers.stp (syscall_nr): Added syscall_nr function.
* i686/registers.stp (syscall_nr): Ditto.

16 years agoFix powerpc PR 6601.
Jim Keniston [Mon, 9 Jun 2008 18:36:50 +0000 (11:36 -0700)]
Fix powerpc PR 6601.

16 years agoAdd test and doc for kernel.statement relative line number.
Stan Cox [Mon, 9 Jun 2008 18:31:02 +0000 (14:31 -0400)]
Add test and doc for kernel.statement relative line number.

16 years agoMade 2.6.25 kernel updates.
David Smith [Mon, 9 Jun 2008 18:10:14 +0000 (13:10 -0500)]
Made 2.6.25 kernel updates.
2008-06-09  David Smith  <dsmith@redhat.com>

* tapsets.cxx (utrace_derived_probe::join_group): Removed
generated inclusion of tracehook.h.
(utrace_var_expanding_copy_visitor::visit_target_symbol): Uses
'_stp_arg(0)' to get value of '$syscall'.

2008-06-09  David Smith  <dsmith@redhat.com>

* task_finder.c (__stp_utrace_task_finder_report_exec): Handles
2.6.25 kernels.

16 years agoAdd .statement("function@file.c+N")
Stan Cox [Fri, 6 Jun 2008 18:35:29 +0000 (14:35 -0400)]
Add .statement("function@file.c+N")

16 years agoUpdated utrace probe descriptions in NEWS and stapprobes.5.in.
David Smith [Fri, 6 Jun 2008 14:55:33 +0000 (09:55 -0500)]
Updated utrace probe descriptions in NEWS and stapprobes.5.in.
2008-06-06  David Smith  <dsmith@redhat.com>

* NEWS: Updated utrace probes descriptions.
* stapprobes.5.in: Ditto.

16 years agoChanged/renamed utrace probes.
David Smith [Fri, 6 Jun 2008 13:43:59 +0000 (08:43 -0500)]
Changed/renamed utrace probes.
2008-06-06  David Smith  <dsmith@redhat.com>

* tapsets.cxx (enum utrace_derived_probe_flags): Redefined in
terms of probe types instead of utrace events.
(utrace_var_expanding_copy_visitor::visit_target_symbol): Uses new
utrace_derived_probes_flags values.
(utrace_builder::build): Handles new probe types and new
utrace_derived_probes_flags values.
(utrace_derived_probe_group::emit_probe_decl): Updated to handle
new utrace_derived_probe_flags values.
(utrace_derived_probe_group::emit_module_decls): Ditto.  Also
correctly handles 'begin' events correctly by installing a quiesce
handler (instead of running the probe directly).
(register_standard_tapsets): Registers updated utrace probe
types.

2008-06-06  David Smith  <dsmith@redhat.com>

* task_finder.c: Added some debug logic.  Use
'-DDEBUG_TASK_FINDER' to enable.
(stap_utrace_attach): Renamed from '__stp_utrace_attach'.
(__stp_utrace_attach_match_filename): Calls callback with
notification that this is a process or thread event.
(__stp_utrace_attach_match_tsk): Ditto.
(__stp_utrace_task_finder_report_clone): Ditto.
(__stp_utrace_task_finder_report_exec): Ditto.
(stap_utrace_task_finder_report_death): Ditto.
(stap_start_task_finder): Ditto.
(stap_stop_task_finder): Added debug logic.

2008-06-06  David Smith  <dsmith@redhat.com>

* systemtap.base/utrace_p4.exp: Updated for utrace probe changes.
* systemtap.base/utrace_p5.exp: Ditto.

16 years agoSrinivasa DS <srinivasa@in.ibm.com> -fpie option puts limit on GOT size and hence...
Srikar Dronamraju [Thu, 5 Jun 2008 09:49:07 +0000 (15:19 +0530)]
Srinivasa DS <srinivasa@in.ibm.com> -fpie option puts limit on GOT size and hence systemtap build fails on s390. So use -fPIE which doesn't put limit on GOT size.

16 years agoAdded systemtap.context/num_args test.
Jim Keniston [Wed, 4 Jun 2008 23:51:29 +0000 (16:51 -0700)]
Added systemtap.context/num_args test.

16 years agoFix PR 6588
Jim Keniston [Wed, 4 Jun 2008 23:16:31 +0000 (16:16 -0700)]
Fix PR 6588

16 years agosyscalls2.stp: Add sys_unshare.
Zhaolei [Wed, 4 Jun 2008 06:42:43 +0000 (14:42 +0800)]
syscalls2.stp: Add sys_unshare.

16 years agoAdded string tokens for most probe types.
David Smith [Tue, 3 Jun 2008 18:50:02 +0000 (13:50 -0500)]
Added string tokens for most probe types.
2008-06-03  David Smith  <dsmith@redhat.com>

* tapsets.cxx: Added several string tokens that are used instead
of hard-coded strings.
(register_standard_tapsets): Uses new string tokens.

16 years agoPR6429: remove unused file
Frank Ch. Eigler [Tue, 3 Jun 2008 18:18:17 +0000 (14:18 -0400)]
PR6429: remove unused file

16 years agoPR6429: testsuite update for inexact backtrace tolerance
Frank Ch. Eigler [Tue, 3 Jun 2008 18:11:16 +0000 (14:11 -0400)]
PR6429: testsuite update for inexact backtrace tolerance

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

16 years agoSupport for new clone flags before linux-2.6.25.
Zhaolei [Tue, 3 Jun 2008 09:53:44 +0000 (17:53 +0800)]
Support for new clone flags before linux-2.6.25.

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