summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples
Commit message (Collapse)AuthorAgeFilesLines
* Make files executableEugeniy Meshcheryakov2009-08-073-0/+0
|
* Support for presenting multiple graphsTim Moore2009-07-281-3/+13
| | | | | | | | | | | | | | | | | | | | * grapher/Graph.hxx: New file; class for single graph display. * grapher/Graph.cxx: New file. * grapher/GraphData.hxx: Associate title and axis labels with graph data and not a graph display. * grapher/GraphWidget.hxx: Move graph-related members to Graph class. * grapher/GraphWidget.cxx (getExtents, setExtents): Move to Graph class (on_expose_event): Move graph rendering to Graph. (on_button_press_event): Delegate to Graph. (on_motion_notify_event, on_scroll_event): Modify "active" graph. * grapher/StapParser.cxx (findTaggedValue): New parsing helper function. (io_callback): Support new syntax where properties are attached to graph data and not the entire graph. * grapher/grapher.cxx (GrapherWindow): Don't set graph values. * grapher/Makefile.am: Add Graph.cxx. * testsuite/systemtap.examples/general/grapher.stp: New property syntax.
* Templatize GraphDataTim Moore2009-07-281-2/+3
| | | | | | | | | | | | | | | | * grapher/GraphData.hxx (GraphDataBase): new superclass for GraphData. Split time data out as a separate vector. (GraphData): Rewrite as template. * grapher/GraphWidget.cxx (on_expose_event): Reflect GraphData templatization. Handle events with string values. * grapher/GraphWidget.hxx (GraphWidget): Keep pointers to GraphDataBase objects instead of GraphData. * grapher/StapParser.cxx (parseData): new member function (ioCallback): Handle new discreet event * grapher/StapParser.hxx (StapParser): keep pointers to GraphDataBase objects instead of GraphData * testsuite/systemtap.examples/general/grapher.stp: Display actual key pressed for keyboard event
* restore newlines to grapher script headerTim Moore2009-07-281-4/+4
| | | | * testsuite/systemtap.examples/general/grapher.stp: Restore newlines.
* regenerate example indexesFrank Ch. Eigler2009-07-174-1/+51
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2009-07-178-1/+186
|\ | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Add chng_cpu.stp and migrate.stp examples. Add network/tcpipstat.stp descriptions.
| * Add chng_cpu.stp and migrate.stp examples.William Cohen2009-07-178-0/+144
| |
| * Add network/tcpipstat.stp descriptions.William Cohen2009-07-174-1/+42
| |
* | PR10410: dentry tapset, autofs4 sampleJeff Moyer2009-07-172-0/+102
|/ | | | | | | * tapset/dentry.stp: New d_path, d_name, reverse_path_walk. * .../examples/.../autofs4.*: New autofs demo. Signed-off-by: Frank Ch. Eigler <fche@elastic.org>
* This SNMP group of tapsets provides probes used to count SNMP managementDavid J. Wilder2009-07-163-0/+659
| | | | | | | | | | | | | | | | | | | events. The probes mirror many of the SNMP statistics defined in /usr/include/linux/snmp.h. Each probe represents a single SNMP statistic or MIB. Each of the probe's handler is called when system performs an operation that would alter the associated statistic. Along with each probe is defined an indexed set of counters used to record probe hits. The probe handlers call a user supplied callback functions to determine which counter to alter. The user's callback should returns a key value that will be used to index the counter. For example a callback could return a unique value for each socket. This would results in a separate counter being used for each socket. tcpipstat.stp shows how snmp tapsets could be used. Tcpipstat collects and displays network statistics related to individual TCP sockets or groups of sockets. The statistics that are collected are simmer to that of the command netstat -s, only sorted and grouped by individual sockets. Signed-off-by: David Wilder <dwilder@us.ibm.com>
* Add numa_faults.stp example.William Cohen2009-07-106-1/+99
|
* Add shebangEugeniy Meshcheryakov2009-06-301-0/+1
|
* Make the file executableEugeniy Meshcheryakov2009-06-301-0/+0
|
* Have appropriate argument for bkl.stp built and run tests.William Cohen2009-06-241-2/+2
|
* Make blk.stp and blk_stats.stp executable.William Cohen2009-06-232-0/+0
|
* Add the bkl.stp and bkl_stats.stp examples.William Cohen2009-06-238-0/+228
|
* Correct typo in forktracker.meta.William Cohen2009-06-221-1/+1
|
* Revert "Make examples-index-gen.pl executable."William Cohen2009-06-191-0/+0
| | | | This reverts commit 0c98234c86877cfea3df762dc8627b3f05c38e75.
* Make forktracker.stp example executable.William Cohen2009-06-191-0/+0
|
* Make examples-index-gen.pl executable.William Cohen2009-06-191-0/+0
|
* Add froktracker.stp example.William Cohen2009-06-196-0/+69
|
* Check in sk_stream_wait_memory.stp example.William Cohen2009-06-186-0/+98
|
* ttyspy: struct pid->number[0]->nr arrived with 2.6.24 not laterFrank Ch. Eigler2009-06-061-1/+1
|
* ttyspy.stp: new sample scriptFrank Ch. Eigler2009-06-066-1/+118
|
* Add the schedtimes.stp and associated schedtimes.meta files to the examples.William Cohen2009-05-206-0/+232
|
* Provide more details in testsuite.examples/README on how to submit examples.William Cohen2009-05-111-49/+97
|
* PR10007: Avoid probing syscall entry points in the testsuite.Ananth N Mavinakayanahalli2009-04-301-2/+2
| | | | While there, fix minor issues with the s390x syscall tapset.
* traceio: add human-readable byte-count outputKey Meyer2009-04-271-3/+18
|
* traceio sample: tolerate more than a few hundred processesKey Meyer2009-04-271-10/+8
| | | | ... rather than exiting with MAXACTIONS exceeded
* Correct sigmon.meta example title and name.Sunzen Wang2009-04-225-6/+6
| | | | | | | | * testsuite/systemtap.examples/process/sigmon.meta: Correct title and name. * testsuite/systemtap.examples/index.html: Regenerated. * testsuite/systemtap.examples/index.txt: Likewise. * testsuite/systemtap.examples/keyword-index.html: Likewise. * testsuite/systemtap.examples/keyword-index.txt: Likewise.
* Make latencytap.stp compile on i386.Mark Wielaard2009-04-211-1/+1
| | | | | | | Still needs a .meta file to catch any breakage in the future. * testsuite/systemtap.examples/profiling/latencytap.stp (task_backtrace): Cast task to unsigned long first.
* fix a bug with %% in format stringsTim Moore2009-04-201-5/+5
| | | | | | | | | | | * translate.cxx (c_unparser::visit_print_format): Always use _stp_printf if a format string contains "%%". Previously a format string with no arguments would always be printed with _stp_print. * testsuite/systemtap.printf/basic6.stp: New test for %% in format strings. * testsuite/systemtap.printf/basic6.exp: test driver * testsuite/systemtap.examples/grapher.stp: Remove workaround for "%%" literal problem.
* Merge branch 'timoore/grapher'Tim Moore2009-04-201-0/+32
|\
| * graphing widget and test harnessTim Moore2009-04-151-0/+32
| |
* | Make dropwatch.stp executable and have correct interpreter.William Cohen2009-04-171-1/+1
| |
* | Add dropwatch.stp example.William Cohen2009-04-176-1/+109
|/
* Minor formatting to avoid line wrap, added tcpdumplike.meta file,William Cohen2009-04-146-5/+50
| | | | and regenerated index files.
* PR9953: split up the two process.* tapsetsJosh Stone2009-04-141-6/+6
| | | | | | | The overlapping process.* tapsets are now separated. Those probe points documented in stapprobes(3stap) remain the same. Those that were formerly in stapprobes.process(3stap) have been renamed to kprocess, to reflect their kernel perspective on processes.
* Make tcpdumplike.stp executableJosh Stone2009-04-141-0/+2
|
* Add new TCP and IP functionsAndre Detsch2009-04-141-0/+12
| | | | | | | | | | | | | | | | | | | This patch adds some basic functions to the IP and TCP tapsets. Mainly, it's possible to get the iphdr and tcphdr from a sk_buff structure. As a consequence, a TCP probe called tcp.receive() was created and is probed every time a TCP packet is received, and a lot of useful fields is available, as the TCP flags. Also a small example that works like tcpdump for received TCP packets was created. This patch was tested on x86 and ppc machines, on 2.6.18 kernel and also on mainline one. Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com> Signed-off-by: Andre Detsch <adetsch@br.ibm.com> Signed-off-by: Josh Stone <jistone@redhat.com>
* tweak nettop.stp demo to sort by accumulated counts despite mergingFrank Ch. Eigler2009-04-081-4/+4
|
* Fix stats for processes that only transmitted data without receivingEugeniy Meshcheryakov2009-04-081-0/+8
|
* Amend process/errsnoop.stp shebangEugene Teo2009-04-051-1/+2
|
* Make examples executableEugeniy Meshcheryakov2009-04-042-0/+0
|
* Correct column heading from uid to pid.William Cohen2009-04-031-1/+1
|
* Describe the ansi_colors.stp and ansi_colors2.stp. Label tables appropriately.William Cohen2009-04-038-7/+82
|
* new process/errsnoop.stp sample scriptEugene Teo2009-04-036-11/+105
|
* Make ansi_colors2.stp script executableEugene Teo2009-04-031-0/+0
|
* Update scripts to use the new ANSI tapsetEugene Teo2009-04-033-19/+28
| | | | | | This updates the example scripts to use the new ANSI escape sequences tapset. It also adds the copyright header that was missing in ansi_colors.stp for a long time.
* New ANSI escape sequences tapsetEugene Teo2009-04-031-0/+31
| | | | | | | This adds a new tapset for ANSI escape sequences. It is based on an existing tapset that was written by Masami Hiramatsu for the stapgames project. This also adds a version of ansi_color.stp script that displays other attributes other than the bold effect.