summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PR 10905 Ground Work: Save server status as PID files with the server config ↵Dave Brolley2009-12-081-149/+210
| | | | as contents.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-12-0268-4118/+5769
|\
| * Fix PR 11034 by directly allocating per-cpu context data.David Smith2009-12-022-9/+29
| | | | | | | | | | | | | | | | | | | | | | * translate.cxx (emit_common_header): Change type of 'contexts' to an array of struct context pointers. (emit_module_init): Allocate a context structure for each possible cpu. Free each if an error occurs. (emit_module_exit): Update contexts reference. Free each possible cpu's context structure. * tapsets.cxx (common_probe_entryfn_prologue): Use array instead of percpu data for context structure.
| * Make the hover text conform to data displayed.Tim Moore2009-12-027-26/+73
| | | | | | | | | | | | | | | | | | Start of code to be more selective about the association between the hover text and the underling graph. Also, show the data set name in hover text. * grapher/GraphStyle.hxx (dataIndexAtPoint): New virtual function. * grapher/GraphStyle.cxx (dataIndexAtPoint): Implementation for bar graphs * grapher/GraphWidget.cxx (onHoverTimeout): Use dataIndexAtPoint.
| * Refactor drawing of different styles of graph into classesTim Moore2009-12-027-78/+204
| | | | | | | | | | | | * grapher/GraphStyle.cxx: New file * grapher/GraphStyle.hxx: New file * grapher/Graph(draw): Move much drawing code to GraphStyle::draw
| * Account for zoom factor when choosing hover textTim Moore2009-12-021-5/+5
| | | | | | | | * grapher/Graph.cxx (getTimeAtPoint): Divide by _zoomFactor too.
| * Make tapset and tests compatible with old kernelWenji Huang2009-12-0210-39/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | * tapset/ioscheduler.stp : Make probe optional. * tapset/irq.stp : Ditto. * tapset/scheduler.stp : Ditto. * tapset/tcpmib.stp : Ditto. * tapset/linuxmib.stp : Switch variable by version. * tapset/tty.stp : Ditto. * testsuite/buildok/irq.stp : Make probe test optional. * testsuite/buildok/tty.stp : Ditto. * testsuite/systemtap.examples/network/netdev.stp : Ditto. * testsuite/buildok/tcpmib-all-probes.stp : Add embedded functions.
| * minor correctionDon Domingo2009-12-021-2/+2
| |
| * correcting license, forgot to change back yesterday while testing default ↵Don Domingo2009-12-021-3/+3
| | | | | | | | Publican 1 license
| * Regenerate autotools files using autoreconf to pick up latest Makefile.am ↵Dave Brolley2009-12-0111-3756/+4958
| | | | | | | | changes.
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-12-0120-31/+74
| |\
| | * uprobes ppc64: UPROBES_DEBUG build fixFrank Ch. Eigler2009-12-011-2/+2
| | | | | | | | | | | | * runtime/uprobes/uprobes_ppc.c (calc_offset): Fix printk types.
| | * Use proper types for do_divAnton Vorontsov2009-12-013-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do_div accepts unsigned 64-bit integer type for dividend, signed types would cause do_div's typecheck fail: stat-common.c: In function 'needed_space': stat-common.c:50: error: comparison of distinct pointer types lacks a cast ...same errors in time.c and tapset-timers.cxx's generated code... A fix for time.c is special, on ppc32 cycles_t is 32-bit, so technically we don't need do_div, but since the whole _stp_gettimeofday_ns() operates on 64-bit types we'd better be safe and use uint64_t for the math. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| | * Change KERNEL_RELOC_SYMBOL to "_stext" on ppc32Anton Vorontsov2009-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Currently staprun fails at send_relocation_kernel(), this is because ppc32 doesn't have ".__start" symbol. I think we should use _stext, just as other arches. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| | * Implement _div64 and _mod64 for ppc32Anton Vorontsov2009-12-011-3/+39
| | | | | | | | | | | | | | | | | | | | | _div64 and _mod64 arch-specific details were taken from gcc/longlong.h, just as it was done for i386. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| | * Share ppc64 and ppc32 code where possibleAnton Vorontsov2009-12-015-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/copy.c: Can use ppc64's code. * runtime/regs.h: Ditto. * runtime/string.h: Ditto. * tapset/context.stp: Ditto. * tapset/errno.stp: Ditto. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| | * Implement ppc32 variant of __is_user_regsAnton Vorontsov2009-12-012-0/+6
| | | | | | | | | | | | | | | | | | | | | * tapset/nd_syscalls.stp: Implement ppc32 variant of __is_user_regs. * tapset/syscalls.stp: Ditto. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| | * stack-ppc: Adjust for ppc32Anton Vorontsov2009-12-012-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Get rid of magic numbers, use appropriate defines from ptrace.h. From now on stack-ppc.c should be suitable for ppc32. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| | * Rename stack-ppc64.c to stack-ppc.cAnton Vorontsov2009-12-012-1/+1
| | | | | | | | | | | | | | | | | | There should be no functional changes in this patch. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| | * Rename uprobes_ppc64.c to uprobes_ppc.c, use it for ppc32Anton Vorontsov2009-12-016-8/+8
| | | | | | | | | | | | | | | | | | | | | The code *looks* generic enough, so I think it can be used for ppc32 without modifications. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
| * | Make sure system types are defined.Dave Brolley2009-12-012-5/+7
| |/
| * Convert string.stp documentation to standard markup.Mark Wielaard2009-12-012-53/+85
| | | | | | | | | | | | * doc/SystemTap_Tapset_Reference/tapsets.tmpl: Add string.stp chapter. * tapset/string.stp: Convert documentation to standard markup and add documentation that was missing.
| * some aesthetic tweaks to the grapherTim Moore2009-12-012-2/+2
| | | | | | | | | | | | * grapher/Graph.cxx (draw): Draw tick labels (times) below the graph. * grapher/grapher.cxx (main): Open main window with a size big enough to display an entire graph.
| * Add hover text to the graph.Tim Moore2009-12-015-42/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When the graph display is paused, leaving the mouse stationary over the graph will display the data point under the pointer. * grapher/CairoWidget.hxx (CairoTextBox): new class (CairoWidget, CairoPlayButton): refector some play button-specific things from CairoWidget to CairoPlayButton. * grapher/CairoWidget.cxx (CairoTextBox::draw): new function. * grapher/GraphWidget.hxx (GraphWidget): new members for supporting hover text. * grapher/GraphWidget.cxx (on_motion_notify_event): Set up hover text box. (establishHoverTimeout, onHoverTimeout, getGraphUnderPoint): new functions.
| * change time type from double to int64_tTim Moore2009-12-015-25/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * grapher/Graph.hxx (Graph): Change variables holding the time limits of the displayed graph from double to int64_t. * grapher/Graph.cxx (Graph::draw): Do calculations of time differences using int64_t. (Graph::getExtents, Graph::setExtents): Change left and right arguments to int64_t. * grapher/GraphData.hxx (GraphDataBase): Change time type to int64_t. (GraphDataBase::elementAsString): New function. (GraphData::elementAsString): Implementation of that function. * grapher/StapParser.cxx (parseData): Parse time values from the stap script as 64 bit values.
| * Fix typo in scheduler tapsetWenji Huang2009-12-011-1/+1
| | | | | | | | | | * tapset/scheduler.stp (__scheduler.kthread_stop.kp): Change priority to prio.
| * minor modifications to allow book to build in latest Publican (1.x). to ↵Don Domingo2009-12-011-8/+21
| | | | | | | | build in older versions of Publican, use old-syncandbuild.sh
| * minor modifications to allow book to build in latest Publican (1.x). to ↵Don Domingo2009-12-011-1/+1
| | | | | | | | build in older versions of Publican, use old-syncandbuild.sh
| * minor modifications to allow book to build in latest Publican (1.x). to ↵Don Domingo2009-12-011-1/+2
| | | | | | | | build in older versions of Publican, use old-syncandbuild.sh
| * minor modifications to allow book to build in latest Publican (1.x). to ↵Don Domingo2009-12-011-3/+4
| | | | | | | | build in older versions of Publican, use old-syncandbuild.sh
| * minor modifications to allow book to build in latest Publican (1.x). to ↵Don Domingo2009-12-012-0/+33
| | | | | | | | build in older versions of Publican, use old-syncandbuild.sh
| * PR10653: don't corrupt signal structs in itrace on rawhide utraceRoland McGrath2009-11-301-3/+10
| | | | | | | | | | * runtime/itrace.c (usr_itrace_report_signal): On modern utrace, must check/propagate utrace_signal_action().
| * Don't let _stp_alloc_percpu allocate too much memory.David Smith2009-11-301-2/+15
| | | | | | | | | | * runtime/alloc.c (_stp_alloc_percpu): Refuses to allocate too much percpu memory.
| * PR10901: Add -D_FILE_OFFSET_BITS=64 to Makefile.am for stap and staprunCharley Wang2009-11-301-2/+2
| |
| * Fix build error when !HAVE_NSSWenji Huang2009-11-301-2/+2
| | | | | | | | | | * runtime/staprun/staprun_funcs.c (assert_stap_module_permissions): Mark parameters unused.
| * docs: abbreviated stap-server news blurbsFrank Ch. Eigler2009-11-281-51/+16
| |
* | No need to pass -c option to the server.Dave Brolley2009-12-021-2/+1
|/
* Update NEWS and initscript/README.stap-server with details of changesDave Brolley2009-11-272-1/+142
| | | | due to recent commits.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-271-16/+15
|\
| * Fix compilation warning of passing NULL to int parameterWenji Huang2009-11-261-1/+1
| | | | | | | | * util.cxx (in_group_id): Replace NULL with 0.
| * Fix compilation error, use getgroups without fixed limits.Roland McGrath2009-11-251-16/+15
| | | | | | | | * util.cxx (in_group_id): Don't use NGROUPS_MAX.
* | PR 10984 Additional Work. TOCTOU race checking access permissions before ↵Dave Brolley2009-11-272-51/+80
|/ | | | canonicalizing /lib/modules/KVER/systemtap.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-253-8/+21
|\
| * include modverify.h unconditionally.Dave Brolley2009-11-241-2/+0
| |
| * Fix uninitialized fields in loc2c.Roland McGrath2009-11-241-0/+6
| | | | | | | | | | * loc2c.c (alloc_location, location_from_address, c_translate_constant): Initialize ops and nops fields.
| * Add assert for detecting shared library reloading, PR11015.Mark Wielaard2009-11-241-6/+15
| | | | | | | | | | * runtime/sym.c (_stp_tf_mmap_cb): Only look for first load of whole module that is executable. Add check for detecting reloading of module.
* | Improve error messages related to module signing.Dave Brolley2009-11-251-15/+7
| |
* | - Allow root, the owner of the uprobes build directory and the members of theDave Brolley2009-11-257-69/+94
| | | | | | | | | | | | | | | | | | | | group owner of the uprobes buld directory to build uprobes.ko. - When building uprobes.ko, make all generated files writable by the group owner of the uprobes build directory. - Don't change the group owner of the uprobes build directory during 'make install'
* | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-241-61/+121
|\|
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-2419-92/+426
| |\