summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-09-011-83/+31
|\| | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': Fix memory access error in nfs.proc.read_setup, nfs.proc.write_setup and nfs.proc.commit_setup Update NEWS regarding the systemtap client/server. New man page for the systemtap client/server and related utilities. Repopulate symbol/type info. Pushed quiesce logic down into the task_finder layer. Added bug 6841 fix utrace syscall test. PR6731: improve listing mode to list variables
| * Pushed quiesce logic down into the task_finder layer.David Smith2008-08-291-83/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-29 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Pushed quiesce logic down into the task_finder layer. (utrace_derived_probe_group::emit_module_decls): Removed quiesce handler routines. Syscall probe handler detaches if systemtap state isn't correct. 2008-08-29 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach_match_filename): Don't call the callback when the interesting thread is found, call it when the tread is quiesced. (stap_start_task_finder): Ditto. (__stp_utrace_task_finder_target_quiesce): Call the callback.
* | PR6864: barest beginnings of restoring symtab-based kernel probesFrank Ch. Eigler2008-09-011-35/+22
| |
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-281-3/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': PR5686: correct regression in semok/optimize.stp trailing whitespace removal, as approved by emacs fix global-var array index rendering fix NEWS to refer to simpler context.stp tapset functions in auto-printing blurb Document written but unread global variable automatic display. 2nd try initial Make _get_sock_addr return correct address in kernel before 2.6.16. Automatically print written but unread globals Make nodwf test passed when CONFIG_QUOTACTL unset Uses STAPCONF_DPATH_PATH instead of a kernel version check. Simplified "rpm" target a bit. Moved tar archive creation step from "rpm" target to "dist-gzip" target. remove support for "make dist" since git-archive does as well; Examples html files moved into subdir. 2008-08-25 David Smith <dsmith@redhat.com> ChangeLog Entries Robustness improvements for the stap client/server
| * 2008-08-25 David Smith <dsmith@redhat.com>David Smith2008-08-251-3/+2
| | | | | | | | | | | | * tapsets.cxx (utrace_derived_probe_group::emit_module_init): Make sure we count the number of utrace probes correctly. (utrace_derived_probe_group::emit_module_exit): Ditto.
* | whitespace cleanup + uprobe "?@-1" fix tooFrank Ch. Eigler2008-08-241-5/+7
| |
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-241-50/+52
|\| | | | | | | | | | | | | | | * commit 'origin/master': correct probe point reverse-engineering of probes for which we have no source file / line number source whitespace cleanup Fixed failure of buildok/process-all-probes.stp clarify README instructions to spell out that running the testsuite is optional
| * correct probe point reverse-engineering of probes for which we have no ↵Frank Ch. Eigler2008-08-241-2/+4
| | | | | | | | source file / line number
| * source whitespace cleanupFrank Ch. Eigler2008-08-241-24/+24
| |
* | pr4225: fix shared library address range checks; make more task_finder_vma ↵Frank Ch. Eigler2008-08-221-3/+7
| | | | | | | | tracing conditional on DEBUG_TASK_FINDER_VMA
* | pr4225: check for null incoming vm_pathFrank Ch. Eigler2008-08-211-1/+1
| |
* | pr4225: fix address miscalculation for ET_DYN objects; add more printk's in ↵Frank Ch. Eigler2008-08-211-0/+3
| | | | | | | | task_finder vm_callback for debugging
* | pr4225: add putative shared library (ET_DYN) supportFrank Ch. Eigler2008-08-211-24/+50
| |
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-211-20/+60
|\| | | | | | | | | | | | | | | | | | | | | * 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.
| * Added task finder target parameter to vm_callback functions.David Smith2008-08-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-21 David Smith <dsmith@redhat.com> * tapsets.cxx (itrace_derived_probe_group::emit_module_decls): Updated task finder callback function signature. (utrace_derived_probe_group::emit_module_decls): Ditto. 2008-08-21 David Smith <dsmith@redhat.com> * task_finder.c (__stp_tf_vm_cb): Added task finder target parameter. (__stp_utrace_attach_match_filename): Updated task finder callback call. (__stp_utrace_task_finder_target_death): Ditto. (__stp_utrace_task_finder_target_quiesce): Ditto. (__stp_target_call_vm_callback): Ditto. (__stp_utrace_task_finder_target_syscall_exit): Ditto. (stap_start_task_finder): Ditto.
| * Supports original and new utrace interfaces.David Smith2008-08-201-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * PR 6841 fix.David Smith2008-08-191-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-19 David Smith <dsmith@redhat.com> PR 6841 * tapsets.cxx (utrace_derived_probe_group::emit_probe_decl): Workaround utrace bug by quiescing threads before attaching a utrace syscall engine to them. (utrace_derived_probe_group::emit_module_decls): Emit quiesce handler. 2008-08-19 David Smith <dsmith@redhat.com> PR 6841 * task_finder.c (__stp_utrace_task_finder_target_quiesce): Quiesces thread before turning on syscall tracing.
| * Add missing 'process' bindings.David Smith2008-08-181-7/+10
| | | | | | | | | | | | | | 2008-08-18 David Smith <dsmith@redhat.com> * tapsets.cxx (register_standard_tapsets): Add missing 'process.syscall' and 'process.syscall.return' bindings.
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-171-50/+108
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtap into workDavid Smith2008-08-151-1/+1
| |\
| | * PR6836: tweak $$return formattingFrank Ch. Eigler2008-08-151-1/+1
| | |
| * | Change system-wide probes from 'process("*").begin' to 'process.begin'.David Smith2008-08-151-11/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'.
| * PR6836: $$vars extensions, $$returnFrank Ch. Eigler2008-08-151-43/+78
| |
| * PR 6445 (partial). Implemented system-wide utrace probes.David Smith2008-08-121-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Fixed compilation warning on gcc 3.xWenji Huang2008-08-111-1/+1
| |
| * let $$vars work even with unsupported c types (e.g., funkytown floats)Frank Ch. Eigler2008-08-111-17/+35
| |
* | let $$vars work even with unsupported c types (e.g., funkytown floats)Frank Ch. Eigler2008-08-111-17/+35
| |
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-111-1/+0
|\| | | | | | | | | * commit 'origin/master': remove \n from end of $$vars/etc. convenience variables
| * remove \n from end of $$vars/etc. convenience variablesFrank Ch. Eigler2008-08-111-1/+0
| |
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-111-11/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. ...
| * PR5049: fix overbroad effects of naive "*" prefixing; instead use optional ↵Frank Ch. Eigler2008-08-111-5/+7
| | | | | | | | "*/" only.
| * PR5049: prefix with "*" any filenames given in "fn@filename:line" probesFrank Ch. Eigler2008-08-111-3/+12
| |
| * Indentation fix.David Smith2008-08-111-12/+12
| | | | | | | | | | | | 2008-08-11 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_builder::build): Fixed indentation.
| * Moved details of utrace detach to stap_utrace_detach().David Smith2008-08-081-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | PR5049: prefix with "*" any filenames given in "fn@filename:line" probesFrank Ch. Eigler2008-08-111-3/+12
| |
* | restore process(PID).statement(ADDR).absolute probe supportFrank Ch. Eigler2008-08-101-7/+26
| |
* | PR4225 and PR6826: expand & canonicalize executable path names process probesFrank Ch. Eigler2008-08-091-67/+53
| |
* | rework utrace $syscall var to expand to tapset fn, not synthetic hard-coded oneFrank Ch. Eigler2008-08-071-20/+1
| |
* | unbreak utrace probes by including task-finder.cFrank Ch. Eigler2008-08-071-0/+2
| |
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-061-1/+361
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Add test for $$vars, $$params, $$locals.Stan Cox2008-08-051-0/+1
| |
| * Add $$vars, $$parms, $$localsStan Cox2008-08-041-1/+78
| |
| * session.h (struct systemtap_session): Added itrace_derived_probedcn2008-07-291-0/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | PR4225: use shared stap_uprobe[] pool in .bssFrank Ch. Eigler2008-08-021-32/+36
| |
* | PR4225: it's alive, alive!Frank Ch. Eigler2008-08-021-4/+4
| |
* | PR4225: signs of lifeFrank Ch. Eigler2008-08-021-75/+296
| |
* | Merge commit '552fdd9f5a7eb3394888356301929c078173a22b' into pr4225Frank Ch. Eigler2008-07-231-2/+2
|\| | | | | | | | | | | * commit '552fdd9f5a7eb3394888356301929c078173a22b': fix semantic error: no entrypc found using probe .statement(*@file:line) constructs 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.
| * fix semantic error: no entrypc found using probe .statement(*@file:line) ↵James Bottomley2008-07-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | PR4225: support intermingled process/kernel/module probes without screwing ↵Frank Ch. Eigler2008-07-231-185/+114
| | | | | | | | up module cache
* | PR4225: parse process("path").function/statement probe pointsFrank Ch. Eigler2008-07-221-98/+184
|/