summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * PR11038 Trailing semicolon as null-statement confusing.Mark Wielaard2009-12-212-13/+40
| | | | | | | | | | | | | | | | | | * parse.cxx (parser::parse_statement): Squash semicolon after non-block-like statements. * testsuite/buildok/semicolon.stp: New test.
| * | Typo: @bindir -> @bindir@Dave Brolley2009-12-211-1/+1
| | |
| * | PR 10905: initscript improvements.Dave Brolley2009-12-219-1345/+1402
| | | | | | | | | | | | | | | | | | Make the stap-server initscript available as $bindir/stap-server Reimplement the stap-server initscript as a thin wrapper around $bindir/stap-server.
| * | Make sure we log server activity when testing using a server.Dave Brolley2009-12-211-1/+10
| | |
| * | Get PATH correct for fidning libexec tools for installcheck.Dave Brolley2009-12-211-4/+4
| | |
| * | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-12-2135-1568/+2075
| |\|
| | * PR10601: cleanup for i386, x86-64Frank Ch. Eigler2009-12-211-7/+16
| | | | | | | | | | | | | | | | | | * runtime/loc2c-runtime.h (usr_i386): Fix si/di ordering. Add ip. (usr_x86_64): Add rip. (u_*_register): Use kernel standard ARRAY_SIZE() instead of S().
| | * Merge remote branch 'origin/master'Tim Moore2009-12-2111-83/+269
| | |\
| | | * PR11015 Support shared library reloading (in different processes)Mark Wielaard2009-12-218-83/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/task_finder_vma.c (stap_remove_vma_map_info): Return negative status on failure. (stap_find_vma_map_info): Likewise. (stap_find_vma_map_info_user): New function. (stap_drop_vma_maps): New function. * runtime/sym.h (addr): Renamed to static_addr, to store addresses for sections which are always mapped at the same address. (_stp_module_relocate): Add extra struct task_struct *tsk argument. * runtime/sym.c (_stp_tf_exec_cb): New callback, calls stap_drop_vma_maps. (_stp_tf_mmap_cb): Don't store address in module.section, but call stap_add_vma_map_info() per tsk->group_leader for matched module. Don't register empty/null modules. (_stp_module_relocate): Take extra struct task_struct *tsk argument, cache last tsk used. Only use section->static_addr for none dynamic modules. Use stap_find_vma_map_info_user() to locate dynamic modules. (_stp_mod_sec_lookup): Add extra argument unsigned long *rel_addr to optionally store relative address when module/section found. (_stp_kallsyms_lookup): Use _stp_mod_sec_lookup to find relative address. (_stp_sym_init): Register _stp_tf_exec_cb in stap_task_finder_target. Add error check to see if task finder could be initialized. * dwflpp.cxx (emit_address): Pass NULL for kernel/modules and current for user tasks to _stp_module_relocate. * runtime/transport/symbols.c (_stp_do_relocation): Set new static_addr _stp_section field. * runtime/unwind.c (adjustStartLoc): Take new struct task_struct *tsk argument and pass to stap_find_vma_map_info_user and _stp_module_relocate to find adjusted addr. (_stp_search_unwind_hdr): Pass through struct task_struct *tsk. (unwind_frame): Likewise. * tapset/context-symbols.stp (probemod): Add NULL to _stp_mod_sec_lookup call to indicate we aren't interested in relative address. * tapsets.cxx (dwarf_derived_probe_group::emit_module_init): Pass NULL to _stp_module_relocate to indicate kernel/module address.
| | | * Tracepoint based tapset for memory subsystem.Rajasekhar Duddu2009-12-213-0/+62
| | | |
| * | | Look for stap-start-server and stap-stop-server in libexec.Dave Brolley2009-12-211-2/+2
| | | |
| * | | Typos in install and rpm spec.Dave Brolley2009-12-213-5/+5
| | | | | | | | | | | | | | | | | | | | o add / suffix to stap_pkglibexecdir o typo: %{name%} -> %{name}
| * | | Install %{libexecdir}/%{name}/stapio explicitely.Dave Brolley2009-12-211-0/+1
| | | |
| * | | Don't install the entire %{libexecdir}/%{name} directory.Dave Brolley2009-12-211-1/+0
| | | |
| * | | PR 10247, 10276, 10905: Move remaining client/server tools to libexec.Dave Brolley2009-12-2112-88/+92
| | | |
| * | | Some tools (temporarily) still in $bindir.Dave Brolley2009-12-181-2/+2
| | | |
| * | | s/pkglibexecdir/libexecdir/systemtap/Dave Brolley2009-12-181-1/+1
| | | |
| * | | PR 10247 10276 10905: Infrastructure for moving underlying client/server ↵Dave Brolley2009-12-1815-46/+76
| | | | | | | | | | | | | | | | tools to libexec.
* | | | grapher: remove _zoomFactor from horizontal scaling calculationTim Moore2009-12-233-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes zooming more consistent and less buggy. * grapher/Graph.cxx (Graph::draw): Set graph time spread using _zoomFactor. * grapher/Graph.hxx (Graph::getHorizontalScale): no _zoomFactor * grapher/GraphWidget.cxx (on_motion_notify_event): Dragging increment uses _zoomFactor. (on_scroll_event): Set extents after changing the zoom factor with the scroll wheel.
* | | | grapher: scale from right end of graphTim Moore2009-12-233-28/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The right side of the graph represents the most recent time. Since there is never anything interesting to the right of that, it makes sense to have the origin of the scaling be there. * grapher/Graph.hxx (getHorizontalScale): new function * grapher/GraphStyle.cxx (GraphStyleBar::draw, GraphStyleDot::draw, GraphStyleEvent::draw): Use cairo transform functions to set up scaling. (GraphStyleBar::dataIndexAtPoint, GraphStyleEvent::dataIndexAtPoint): Base calculations on scaling from right.
* | | | grapher: fix bug in looking up event under pointerTim Moore2009-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't why I thought this ever worked. * grapher/GraphStyle.cxx (GraphStyleEvent::dataIndexAtPoint): return distance from beginning of buffer, not beginning of search bounds.
* | | | don't assume buffer passed to pty_write is null terminatedTim Moore2009-12-231-7/+3
| | | | | | | | | | | | | | | | | | | | * testsuite/systemtap.examples/general/grapher.stp: Use kernel_char instead of kernel_string to dig characters out of buffer.
* | | | grapher: draw axes on multiples of the axis "major unit"Tim Moore2009-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | * grapher/Graph.cxx (Graph::draw): Make axis values end up on multiples of majorUnit.
* | | | grapher: scroll continuously with timeTim Moore2009-12-235-70/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't scale graph based on how much data will fit. This didn't work very well and resulted in distracting, weird scale changes. We now assume that scripts output their time (x axis) in milliseconds. * grapher/Graph.hxx (setCurrentTime): New function. * grapher/Graph.cxx (Graph::draw): Assume a fixed default scale of 1 pixel = 5 milliseconds and don't do any autoscaling. * grapher/GraphWidget.cxx (GraphWidget constructor): Set global time base on startup. (on_expose_event): Don't search graphs for earliest time. * grapher/GraphWidget.hxx (_timeBaseInitialized): delete * grapher/Time.hxx: new file; interface to timeval.
* | | | PR11015 Support shared library reloading (in different processes)Mark Wielaard2009-12-228-83/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/task_finder_vma.c (stap_remove_vma_map_info): Return negative status on failure. (stap_find_vma_map_info): Likewise. (stap_find_vma_map_info_user): New function. (stap_drop_vma_maps): New function. * runtime/sym.h (addr): Renamed to static_addr, to store addresses for sections which are always mapped at the same address. (_stp_module_relocate): Add extra struct task_struct *tsk argument. * runtime/sym.c (_stp_tf_exec_cb): New callback, calls stap_drop_vma_maps. (_stp_tf_mmap_cb): Don't store address in module.section, but call stap_add_vma_map_info() per tsk->group_leader for matched module. Don't register empty/null modules. (_stp_module_relocate): Take extra struct task_struct *tsk argument, cache last tsk used. Only use section->static_addr for none dynamic modules. Use stap_find_vma_map_info_user() to locate dynamic modules. (_stp_mod_sec_lookup): Add extra argument unsigned long *rel_addr to optionally store relative address when module/section found. (_stp_kallsyms_lookup): Use _stp_mod_sec_lookup to find relative address. (_stp_sym_init): Register _stp_tf_exec_cb in stap_task_finder_target. Add error check to see if task finder could be initialized. * dwflpp.cxx (emit_address): Pass NULL for kernel/modules and current for user tasks to _stp_module_relocate. * runtime/transport/symbols.c (_stp_do_relocation): Set new static_addr _stp_section field. * runtime/unwind.c (adjustStartLoc): Take new struct task_struct *tsk argument and pass to stap_find_vma_map_info_user and _stp_module_relocate to find adjusted addr. (_stp_search_unwind_hdr): Pass through struct task_struct *tsk. (unwind_frame): Likewise. * tapset/context-symbols.stp (probemod): Add NULL to _stp_mod_sec_lookup call to indicate we aren't interested in relative address. * tapsets.cxx (dwarf_derived_probe_group::emit_module_init): Pass NULL to _stp_module_relocate to indicate kernel/module address.
* | | | Tracepoint based tapset for memory subsystem.Rajasekhar Duddu2009-12-223-0/+62
| |/ / |/| |
* | | conditionalize pty_write count variable on kernel versionTim Moore2009-12-211-11/+12
| | | | | | | | | | | | | | | * testsuite/systemtap.examples/general/grapher.stp: Conditionalize pty_write count variable on kernel version.
* | | change namespace indentation to 0Tim Moore2009-12-2111-1364/+1364
| |/ |/| | | | | | | A silly change, but this works better with other tools, like git diff. I should have started the C++ files this way.
* | brown paper bag typo fixyFrank Ch. Eigler2009-12-201-1/+1
| |
* | runtime: more build fix for non-utrace kernelsFrank Ch. Eigler2009-12-202-1/+3
| | | | | | | | | | | | * runtime/stack-i386.c (_stp_stack_print): Make call to uprobe_get_pc() conditional on CONFIG_UTRACE. * runtime/stack-x86_64.c: Ditto.
* | PR10601: unfork deref()Frank Ch. Eigler2009-12-202-28/+16
| | | | | | | | | | * runtime/loc2c-runtime.h: Remove k_ vs u_[store_]deref; share instead. * tapsets.cxx: Remove k_ vs u_ redirection for *deref().
* | documentation: remove docs for nonexistentn perfctr probesFrank Ch. Eigler2009-12-201-31/+0
| |
* | runtime: rhel4 build fix for uretprobe-wannabe stack tracebacksFrank Ch. Eigler2009-12-201-1/+3
| | | | | | | | * runtime/stack.c (_stp_stack_print): Comment out *retprobe logic if !CONFIG_UTRACE.
* | RHBZ543529: Make implicit -BCONFIG_MODULE_SIG=nFrank Ch. Eigler2009-12-201-0/+3
| | | | | | | | * buildrun.cxx (compile_pass): Disable module signing goo.
* | dwarf probes: skip inlined instances with null (buggy) entrypcFrank Ch. Eigler2009-12-201-0/+10
| | | | | | | | * dwflpp.cxx (resolve_prologue_endings): Skip entrypc=0.
* | runtime backtracing: port commit #2e7f8442 to uprobes1Frank Ch. Eigler2009-12-203-2/+46
| | | | | | | | * runtime/uprobes/uprobes.c (uprobe_get_pc): new function
* | PR10601 cont'd, RHEL5 backward compatibility with more runtime/autoconf*Frank Ch. Eigler2009-12-204-5/+37
| |
* | PR10601 part 1: i386 and x86-64 regset for dwarf fetch/store_register()sFrank Ch. Eigler2009-12-202-90/+338
| | | | | | | | | | | | | | | | | | | | * runtime/loc2c-runtime.h (fetch_register, store_register): forked into k_ (kernel) and u_ (user) varieties. Implement i386 and x86_64 in terms of regset.h; fall back to k_* for other architectures. * tapsets.cxx: (*::visit_target_symbol): Emit macros to map loc2c's fetch/store_register to loc2c-runtime's k_ or u_ as appopriate.
* | PR10601: comment on loc2c's use of [u]intptr_t for temp valuesFrank Ch. Eigler2009-12-201-0/+7
| |
* | Recalculate sem address when tid changes.Stan Cox2009-12-191-1/+7
| | | | | | | | | | * tapsets.cxx (uprobe_derived_probe_group::emit_module_decls): Emit sdt_sem_tid. Use it to recalculate sem address when task changes.
* | Remove externalvar.exp .exe and .so after test done.Mark Wielaard2009-12-191-1/+1
|/
* Merge commit 'origin/master'Tim Moore2009-12-1826-5302/+4674
|\
| * PR 10641: Do not allow -m when --unprivileged in the server.Dave Brolley2009-12-181-1/+5
| |
| * Fix typos in NEWSWenji Huang2009-12-181-6/+6
| |
| * Remove blank line in ucontext-unwind.stp for SystemTap Tapset Reference ManualWilliam Cohen2009-12-171-1/+0
| | | | | | | | | | | | The automatic documentation extraction doesn't allow blank lines between the the comment and the actual code. Removed the problem blank line to allow the information to be extracted for the SystemTap Tapset Reference Manual.
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapWilliam Cohen2009-12-1721-5294/+4634
| |\
| | * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-12-171-0/+28
| | |\
| | * \ Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-12-1720-44/+384
| | |\ \
| | * | | Correct path to trusted signer's database.Dave Brolley2009-12-171-1/+1
| | | | |
| | * | | PR 10889: Reorganize client/server man pages. Document --unprivileged.Dave Brolley2009-12-1720-5290/+4634
| | | | |