Frank Ch. Eigler [Thu, 21 Aug 2008 17:26:56 +0000 (13:26 -0400)]
Merge commit 'origin/master' into pr4225
* commit 'origin/master':
Added task finder target parameter to vm_callback functions.
Supports original and new utrace interfaces.
Add ChangeLog entries
stap client/server now pass 'make installcheck'
Looks for both mmap and mmap2.
PR 6841 fix.
Add missing 'process' bindings.
David Smith [Wed, 20 Aug 2008 20:05:57 +0000 (15:05 -0500)]
Supports original and new utrace interfaces.
2008-08-20 David Smith <dsmith@redhat.com>
* tapsets.cxx (utrace_derived_probe_group::emit_probe_decl):
Supports original and new utrace interfaces.
(utrace_derived_probe_group::emit_module_decls): Ditto.
2008-08-20 David Smith <dsmith@redhat.com>
* task_finder.c: Supports original and new utrace interfaces.
* utrace_compatibility.h (utrace_attach_task): Compatibility layer
for original utrace interface.
David Smith [Wed, 20 Aug 2008 17:33:13 +0000 (12:33 -0500)]
Looks for both mmap and mmap2.
2008-08-20 David Smith <dsmith@redhat.com>
* task_finder.c (__stp_utrace_task_finder_target_syscall_entry):
Handles mmap2 (as well as mmap).
(__stp_utrace_task_finder_target_syscall_exit): Ditto.
* syscall.h: Added defines for mmap and mmap2.
Frank Ch. Eigler [Sun, 17 Aug 2008 17:39:39 +0000 (13:39 -0400)]
Merge commit 'origin/master' into pr4225
* commit 'origin/master':
Mention distro specific elfutils development sub-packages needed when not found.
Change system-wide probes from 'process("*").begin' to 'process.begin'.
PR6836: tweak $$return formatting
extend callgraph example to use $$parms / $$return
PR6836: $$vars extensions, $$return
small patch ...
PR 6834
PR6842: work around possibly null task->signal in utrace death callback
Minor bugs in stap-client.
build compatibility and speed hack for bundled-elfutils mode
revise build instructions; clarifying elfutils bundling and its new hosting site
kbuild compatibility hack for separate-objdir O= builds
PR 6445 (partial). Implemented system-wide utrace probes.
Fixed compilation warning on gcc 3.x
let $$vars work even with unsupported c types (e.g., funkytown floats)
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'.
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 ;-)
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.
Frank Ch. Eigler [Mon, 11 Aug 2008 21:34:47 +0000 (17:34 -0400)]
Merge commit 'origin/master' into pr4225
* commit 'origin/master': (34 commits)
PR5049: fix overbroad effects of naive "*" prefixing; instead use optional "*/" only.
stap-serverd was incorectly determining that the server could
stapprobes man page: clarify statement(NUM).absolute and process("path") searching
PR5049: prefix with "*" any filenames given in "fn@filename:line" probes
Indentation fix.
Redirect stderr gets redircted so warnings don't let example script run fail.
PR6835. io/io_submit.stp: Fix #! start. Convert to normal line-ending.
PR2895. Add proper #! /usr/bin/env stap line. Make example scripts executable.
Use INSTALL_PROGRAM, not INSTALL_DATA for executable .stp scripts.
example index: only warn if old, do not regenerate
Start/stop the systemtap server from systemtap.exp and not in the top level Makefile.
Lower statement wildcard test matching threshold.
Moved details of utrace detach to stap_utrace_detach().
Saves thread vma information.
Always generate examples indexes and install examples from srcdir.
Refer to srcdir spec file Makefile so make rpm works when builddir != srcdir.
Add index of subsystem and keywords at top of HTML indexes.
Don't output output, exits, status line in indexes (mentioned in descriptions).
Disable chmodding of samples/kmalloc-top in spec file since it isn't installed.
Make sure examples indexes are always generated in builddir.
...
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.
* commit 'origin/master':
Use relative instead of absolute line. (bug 6611)
move post-0.7 news tidbit to the top
Add test for $$vars, $$params, $$locals.
typographical tweaks for embedded script code
Add $$vars, $$parms, $$locals
Rename $path to $pathname of syscall tapset for 2.6.27
Correct several tests for 2.6.27
c code generation: assert C indentation/nesting cancels out at appropriate points
Tweak test_installcheck for helloworld.meta and traceio2.meta.
Run both tests for installcheck tests.
No need for random suffix file cmdline and sysinfo files in the
Ensure that a systemtap server is available if 'server' is specified
session.h (struct systemtap_session): Added itrace_derived_probe
* syscalls2.stp: Add sys_unlinkat.
Fix on_each_cpu() call for kernels >2.6.26.
Remove unused STAPCONF_MODULE_NSECTIONS