]>
sourceware.org Git - systemtap.git/log
Mark Wielaard [Sat, 16 Aug 2008 19:20:03 +0000 (21:20 +0200)]
Mention distro specific elfutils development sub-packages needed when not found.
David Smith [Fri, 15 Aug 2008 19:02:51 +0000 (14:02 -0500)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap into work
David Smith [Fri, 15 Aug 2008 19:02:31 +0000 (14:02 -0500)]
Change system-wide probes from 'process("*").begin' to 'process.begin'.
2008-08-15 David Smith <dsmith@redhat.com>
* tapsets.cxx (utrace_builder::build): Change system-wide probes
from 'process("*").begin' to 'process.begin'.
(register_standard_tapsets): Add new 'process' binding.
* stapprobes.5.in: Change system-wide probes
from 'process("*").begin' to 'process.begin'.
2008-08-15 David Smith <dsmith@redhat.com>
* systemtap.base/utrace_p4.exp: Change system-wide probes from
'process("*").begin' to 'process.begin'.
Frank Ch. Eigler [Fri, 15 Aug 2008 18:46:27 +0000 (14:46 -0400)]
PR6836: tweak $$return formatting
Frank Ch. Eigler [Fri, 15 Aug 2008 18:43:03 +0000 (14:43 -0400)]
extend callgraph example to use $$parms / $$return
Frank Ch. Eigler [Fri, 15 Aug 2008 16:21:22 +0000 (12:21 -0400)]
PR6836: $$vars extensions, $$return
Michael Meeks [Fri, 15 Aug 2008 10:49:29 +0000 (11:49 +0100)]
small patch ...
Hi guys,
I append a trivial patch for systemtap. I guess the SUSE wiki page also
needs updating to point out that it's broken in 11.0 by default, and
that you require HEAD with Frank's buildrun.cxx fix for the mach-default
include.
My patch will hopefully make similar problems easier to find in future
(for lovers of -v options ;-)
HTH,
Michael.
Dave Brolley [Thu, 14 Aug 2008 16:39:43 +0000 (12:39 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Thu, 14 Aug 2008 16:39:19 +0000 (12:39 -0400)]
PR 6834
Frank Ch. Eigler [Thu, 14 Aug 2008 12:10:48 +0000 (08:10 -0400)]
PR6842: work around possibly null task->signal in utrace death callback
Dave Brolley [Wed, 13 Aug 2008 15:56:16 +0000 (11:56 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts:
ChangeLog
testsuite/ChangeLog
Dave Brolley [Wed, 13 Aug 2008 15:53:36 +0000 (11:53 -0400)]
Minor bugs in stap-client.
Frank Ch. Eigler [Wed, 13 Aug 2008 13:24:08 +0000 (09:24 -0400)]
build compatibility and speed hack for bundled-elfutils mode
Frank Ch. Eigler [Wed, 13 Aug 2008 13:08:45 +0000 (09:08 -0400)]
revise build instructions; clarifying elfutils bundling and its new hosting site
Frank Ch. Eigler [Tue, 12 Aug 2008 16:57:01 +0000 (12:57 -0400)]
kbuild compatibility hack for separate-objdir O= builds
David Smith [Tue, 12 Aug 2008 15:18:56 +0000 (10:18 -0500)]
PR 6445 (partial). Implemented system-wide utrace probes.
2008-08-12 David Smith <dsmith@redhat.com>
PR 6445 (partial)
* tapsets.cxx (utrace_builder::build): Validates pid and allows
probing of "*" to mean all threads.
* stapprobes.5.in: Added note about a process path of "*" means to
probe all threads.
2008-08-12 David Smith <dsmith@redhat.com>
PR 6445 (partial)
* task_finder.c (stap_register_task_finder_target): Handles
probing all threads.
(__stp_utrace_attach_match_filename): Ditto.
(stap_start_task_finder): Ditto.
2008-08-12 David Smith <dsmith@redhat.com>
PR 6445 (partial)
* systemtap.base/utrace_p4.exp: Added test that probes all threads.
* semko/utrace14.stp: New test.
Wenji Huang [Tue, 12 Aug 2008 00:25:51 +0000 (20:25 -0400)]
Fixed compilation warning on gcc 3.x
Frank Ch. Eigler [Mon, 11 Aug 2008 23:52:00 +0000 (19:52 -0400)]
let $$vars work even with unsupported c types (e.g., funkytown floats)
Frank Ch. Eigler [Mon, 11 Aug 2008 21:32:48 +0000 (17:32 -0400)]
remove \n from end of $$vars/etc. convenience variables
Frank Ch. Eigler [Mon, 11 Aug 2008 20:18:19 +0000 (16:18 -0400)]
PR5049: fix overbroad effects of naive "*" prefixing; instead use optional "*/" only.
Dave Brolley [Mon, 11 Aug 2008 19:54:45 +0000 (15:54 -0400)]
stap-serverd was incorectly determining that the server could
not be started.
Frank Ch. Eigler [Mon, 11 Aug 2008 18:45:58 +0000 (14:45 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
* 'master' of ssh://sources.redhat.com/git/systemtap:
PR5049: prefix with "*" any filenames given in "fn@filename:line" probes
Frank Ch. Eigler [Mon, 11 Aug 2008 18:45:41 +0000 (14:45 -0400)]
stapprobes man page: clarify statement(NUM).absolute and process("path") searching
Frank Ch. Eigler [Mon, 11 Aug 2008 17:18:12 +0000 (13:18 -0400)]
PR5049: prefix with "*" any filenames given in "fn@filename:line" probes
David Smith [Mon, 11 Aug 2008 16:05:53 +0000 (11:05 -0500)]
Indentation fix.
2008-08-11 David Smith <dsmith@redhat.com>
* tapsets.cxx (utrace_builder::build): Fixed indentation.
Mark Wielaard [Mon, 11 Aug 2008 15:18:32 +0000 (17:18 +0200)]
Redirect stderr gets redircted so warnings don't let example script run fail.
Mark Wielaard [Mon, 11 Aug 2008 15:04:36 +0000 (17:04 +0200)]
PR6835. io/io_submit.stp: Fix #! start. Convert to normal line-ending.
Mark Wielaard [Mon, 11 Aug 2008 10:24:47 +0000 (12:24 +0200)]
PR2895. Add proper #! /usr/bin/env stap line. Make example scripts executable.
Mark Wielaard [Mon, 11 Aug 2008 10:11:26 +0000 (12:11 +0200)]
Use INSTALL_PROGRAM, not INSTALL_DATA for executable .stp scripts.
Frank Ch. Eigler [Sat, 9 Aug 2008 14:44:48 +0000 (10:44 -0400)]
example index: only warn if old, do not regenerate
Dave Brolley [Fri, 8 Aug 2008 19:15:19 +0000 (15:15 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts:
ChangeLog
testsuite/ChangeLog
Dave Brolley [Fri, 8 Aug 2008 19:11:36 +0000 (15:11 -0400)]
Start/stop the systemtap server from systemtap.exp and not in the top level Makefile.
Stan Cox [Fri, 8 Aug 2008 19:05:18 +0000 (15:05 -0400)]
Lower statement wildcard test matching threshold.
David Smith [Fri, 8 Aug 2008 18:47:27 +0000 (13:47 -0500)]
Moved details of utrace detach to stap_utrace_detach().
2008-08-08 David Smith <dsmith@redhat.com>
* tapsets.cxx (utrace_derived_probe_group::emit_module_decls):
Calls stap_utrace_detach() to perform detach.
2008-08-08 David Smith <dsmith@redhat.com>
* task_finder.c (stap_utrace_detach): New function.
(stap_utrace_detach_ops): Calls stap_utrace_detach().
(__stp_utrace_attach_match_filename): Ditto.
David Smith [Fri, 8 Aug 2008 17:26:02 +0000 (12:26 -0500)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap into work
David Smith [Fri, 8 Aug 2008 17:25:36 +0000 (12:25 -0500)]
Saves thread vma information.
2008-08-08 David Smith <dsmith@redhat.com>
* task_finder.c (__stp_tf_vm_cb): Added calls to save/delete vma
information.
* task_finder_vma.c (__stp_tf_vma_map_hash): New function.
(__stp_tf_get_vma_map_entry_internal): Ditto.
(stap_add_vma_map_info): Ditto.
(stap_remove_vma_map_info): Ditto.
(stap_find_vma_map_info): Ditto.
Mark Wielaard [Fri, 8 Aug 2008 15:11:53 +0000 (17:11 +0200)]
Always generate examples indexes and install examples from srcdir.
Mark Wielaard [Fri, 8 Aug 2008 14:20:05 +0000 (16:20 +0200)]
Refer to srcdir spec file Makefile so make rpm works when builddir != srcdir.
Mark Wielaard [Fri, 8 Aug 2008 13:59:54 +0000 (15:59 +0200)]
Add index of subsystem and keywords at top of HTML indexes.
Mark Wielaard [Fri, 8 Aug 2008 13:30:08 +0000 (15:30 +0200)]
Don't output output, exits, status line in indexes (mentioned in descriptions).
Mark Wielaard [Fri, 8 Aug 2008 13:25:33 +0000 (15:25 +0200)]
Disable chmodding of samples/kmalloc-top in spec file since it isn't installed.
Mark Wielaard [Fri, 8 Aug 2008 11:29:55 +0000 (13:29 +0200)]
Make sure examples indexes are always generated in builddir.
Frank Ch. Eigler [Thu, 7 Aug 2008 21:04:16 +0000 (17:04 -0400)]
remove chmod +x from perl script to avoid spurious build-time rpm-found prereq
Frank Ch. Eigler [Thu, 7 Aug 2008 21:00:07 +0000 (17:00 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
* 'master' of ssh://sources.redhat.com/git/systemtap:
Added testsuite/systemtap.examples/.gitignore file.
Frank Ch. Eigler [Thu, 7 Aug 2008 20:58:42 +0000 (16:58 -0400)]
PR6823: store generated sample index files
David Smith [Thu, 7 Aug 2008 20:49:34 +0000 (15:49 -0500)]
Added testsuite/systemtap.examples/.gitignore file.
2008-08-07 David Smith <dsmith@redhat.com>
* .gitignore: New file.
Frank Ch. Eigler [Thu, 7 Aug 2008 20:47:18 +0000 (16:47 -0400)]
samples: separate into subdirectories by subsystem
Frank Ch. Eigler [Thu, 7 Aug 2008 20:30:20 +0000 (16:30 -0400)]
simplify sample script installation logic
David Smith [Thu, 7 Aug 2008 15:20:13 +0000 (10:20 -0500)]
'stap_compile' test procedure now ignores warnings
2008-08-07 David Smith <dsmith@redhat.com>
* systemtap.base/utrace_p4.exp: Uses lib/stap_compile.exp instead
of its own stap_compile procedure.
* systemtap.base/cache.exp (stap_compile): Ignores warnings.
* lib/stap_compile.exp: Ignores warnings.
Mark Wielaard [Thu, 7 Aug 2008 14:50:21 +0000 (16:50 +0200)]
Add example indexes generation build machinery.
Mark Wielaard [Thu, 7 Aug 2008 14:42:16 +0000 (16:42 +0200)]
Add comment about versioned vs unversioned docs to systemtap.spec.
Mark Wielaard [Thu, 7 Aug 2008 13:18:14 +0000 (15:18 +0200)]
Add new examples-index-gen.pl script and support files.
Mark Wielaard [Thu, 7 Aug 2008 12:24:51 +0000 (14:24 +0200)]
Correct futexes.meta name: entry.
Mark Wielaard [Thu, 7 Aug 2008 10:43:39 +0000 (12:43 +0200)]
Add meta file tag descriptions to systemtap.examples/README.
Frank Ch. Eigler [Thu, 7 Aug 2008 01:02:20 +0000 (21:02 -0400)]
client-server: improve random port selection and mdns txt use
Eugeniy Meshcheryakov [Wed, 6 Aug 2008 20:46:53 +0000 (13:46 -0700)]
Fix minor problems in staprun(8)
Frank Ch. Eigler [Wed, 6 Aug 2008 19:25:48 +0000 (15:25 -0400)]
itrace: move test suite item to appropriate location
Stan Cox [Tue, 5 Aug 2008 18:37:03 +0000 (14:37 -0400)]
Use relative instead of absolute line. (bug 6611)
Frank Ch. Eigler [Tue, 5 Aug 2008 17:47:58 +0000 (13:47 -0400)]
move post-0.7 news tidbit to the top
Stan Cox [Tue, 5 Aug 2008 16:31:21 +0000 (12:31 -0400)]
Add test for $$vars, $$params, $$locals.
Frank Ch. Eigler [Tue, 5 Aug 2008 15:24:27 +0000 (11:24 -0400)]
typographical tweaks for embedded script code
Stan Cox [Mon, 4 Aug 2008 20:24:12 +0000 (16:24 -0400)]
Add $$vars, $$parms, $$locals
Wenji Huang [Mon, 4 Aug 2008 04:22:59 +0000 (00:22 -0400)]
Rename $path to $pathname of syscall tapset for 2.6.27
Wenji Huang [Mon, 4 Aug 2008 01:07:10 +0000 (21:07 -0400)]
Correct several tests for 2.6.27
Frank Ch. Eigler [Sat, 2 Aug 2008 17:50:28 +0000 (13:50 -0400)]
c code generation: assert C indentation/nesting cancels out at appropriate points
William Cohen [Fri, 1 Aug 2008 19:58:09 +0000 (15:58 -0400)]
Tweak test_installcheck for helloworld.meta and traceio2.meta.
William Cohen [Fri, 1 Aug 2008 19:52:44 +0000 (15:52 -0400)]
Run both tests for installcheck tests.
Dave Brolley [Wed, 30 Jul 2008 16:39:51 +0000 (12:39 -0400)]
No need for random suffix file cmdline and sysinfo files in the
client's request tree.
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
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'
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.
Zhaolei [Fri, 25 Jul 2008 10:51:25 +0000 (18:51 +0800)]
* syscalls2.stp: Add sys_unlinkat.
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.
Josh Stone [Thu, 24 Jul 2008 19:07:28 +0000 (12:07 -0700)]
Remove unused STAPCONF_MODULE_NSECTIONS
Frank Ch. Eigler [Wed, 23 Jul 2008 23:40:05 +0000 (19:40 -0400)]
changelog for entry-pc semantic error fix
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>
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.
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().
Masami Hiramatsu [Fri, 18 Jul 2008 22:34:32 +0000 (18:34 -0400)]
PR442528 (PR6028): register dummy kprobes on ia64 for fixing bsp offset.
Frank Ch. Eigler [Fri, 18 Jul 2008 21:55:41 +0000 (17:55 -0400)]
BZ442528 changelogs: ia64 fetch_register speedups
Frank Ch. Eigler [Thu, 10 Jul 2008 20:39:17 +0000 (16:39 -0400)]
PR442528
Stan Cox [Fri, 18 Jul 2008 13:44:07 +0000 (09:44 -0400)]
Avoid statement wildcard lines without a unique address.
Zhaolei [Fri, 18 Jul 2008 02:02:11 +0000 (10:02 +0800)]
syscalls2.stp: Add sys_symlinkat.
Frank Ch. Eigler [Thu, 17 Jul 2008 18:54:30 +0000 (14:54 -0400)]
PR6030: control signal relay and accept deferred re-reception
anithra [Thu, 17 Jul 2008 18:05:45 +0000 (14:05 -0400)]
PR6030: forward signals to children - stapio etc.
Masami Hiramatsu [Thu, 17 Jul 2008 15:55:32 +0000 (11:55 -0400)]
Include stap-client, stap-server and stap-serverd in rpm packages.
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.
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
Frank Ch. Eigler [Thu, 17 Jul 2008 03:27:15 +0000 (23:27 -0400)]
compiled unwindsyms should tolerate & notify on erroneous/missing "-d MODULE"
Frank Ch. Eigler [Thu, 17 Jul 2008 03:06:50 +0000 (23:06 -0400)]
version bump to 0.7.1
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'
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>
Frank Ch. Eigler [Tue, 15 Jul 2008 19:43:55 +0000 (15:43 -0400)]
fix *{ok,ko} test case permissions
Dave Brolley [Tue, 15 Jul 2008 16:18:32 +0000 (12:18 -0400)]
Add my name which was missing in some ChangeLog entries.
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.
Dave Brolley [Mon, 14 Jul 2008 17:41:48 +0000 (13:41 -0400)]
Enable 'make check' and 'make installcheck' using the systemtap client/server.
Frank Ch. Eigler [Sat, 12 Jul 2008 23:10:22 +0000 (19:10 -0400)]
PR6738: restore support for rhel4-era (2.6.9) kernels
Frank Ch. Eigler [Sat, 12 Jul 2008 14:20:47 +0000 (10:20 -0400)]
give credit to "smileytap.svg" image creator
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
Mark Wielaard [Fri, 11 Jul 2008 15:26:31 +0000 (17:26 +0200)]
s/decending/descending/g in example description.
This page took 0.059744 seconds and 5 git commands to generate.