| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
//bin/true && exec stap -g $0 ${1+"$@"}
This keeps it as an entirely valid stap script, so manual stap
invocation still works (as in pfiles.meta).
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* testsuite/systemtap.examples/profiling/thread-times.stp: Prefer
perf.sw.cpu_clock to timer.profile. Prettify output by including
comm string.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Files changed:
tapset/ipmib.stp, tapset.tcpmib.stp, testsuite/systemtap.examples/network/tcpipstat.stp, testsuite/systemtap.examples/network/tcp_trace.stp
Signed-of-by: David Wilder <dwilder@us.ibm.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* testsuite/systemtap.examples/profiling/graphcall.stp : new file
|
| |
|
|
|
|
|
| |
* testsuite/systemtap.examples/general/grapher.stp: Use kernel_char
instead of kernel_string to dig characters out of buffer.
|
| |
|
|
|
|
|
| |
* testsuite/systemtap.examples/general/grapher.stp: Conditionalize
pty_write count variable on kernel version.
|
|
|
|
|
|
|
|
| |
* grapher/CairoWidget.cxx (CairoTextBox::draw): Use font information
to caculate legible spacing. Also change the font to something more
readable.
* testsuite/systemtap.examples/general/grapher.stp: Put carriage
returns in the right spots.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is accompanied by support for multiline output in hover text.
* grapher/StapParser.cxx (ioCallback): Read data 'til the end of line
character, not just '\n'. Be careful to use I/O functions that don't
treat '\n' specially.
* grapher/StapParser.hxx: ditto
* grapher/CairoWidget.cxx (CairoTextBox::draw): Perform line breaks
for hover text.
* testsuite/systemtap.examples/general/grapher.stp: Do multiline
output of keyboard events. Also, fix longstanding breaking in the
pty probe.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* elaborate.cxx (find_var): Take extra token parameter.
Look for cross-file global variable resolution, signal
a warning.
* testsuite/systemtap.examples/io/traceio2.stp: Fix it.
* testsuite/systemtap.syscall/sys.stp: Fix it.
* NEWS: Document it.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
testsuite/systemtap.examples/
* check.exp (extract_tag): Log extracted tags. Tolerate embedded '$'.
(run_command): Pass through commands to sh -c without eval quoting.
* README: Document "sh -c"-ness of check_* tags.
* *.meta: Fix quoting, add a few check_support predicates.
|
|
|
|
| |
state changes. This work was original inspired by Stephen Hemminger's TCP cwnd snooper (net/ipv4/tcp_probe.c). Tcp_trace is a helpful tool for troubleshooting connection performance issues.
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch adds kernel tracepoints based probes to the scheduler tapset
along with the testcase, scheduler-test-tracepoints.stp and an example
script, sched_switch.stp.
Signed-off-by: Kiran Prakash <kiran@linux.vnet.ibm.com>
Signed-off-by: Josh Stone <jistone@redhat.com>
|
| |
|
| |
|
|
|
|
|
| |
This is a toy script I wrote a while back to demonstrate how SystemTap
could be used to enforce filesystem naming rules.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Add a example that cover the network device tapset. This example
just add simple probes and display what is going one with all
the network devices.
Signed-off-by: Josh Stone <jistone@redhat.com>
|
|
|
|
|
|
|
| |
A lot of time during the installcheck was spend just sleeping. Reduce the
sleep time by at least one fifth.
* testsuite/systemtap.examples/*/*meta: Reduct -c "sleep" time.
|
|
|
|
|
| |
* testsuite/systemtap.examples/io/iostat-scsi.stp: Add pure function.
* testsuite/systemtap.examples/io/iostat-scsi.meta: Add -g option.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* testsuite/systemtap.examples/check.exp: Handle with test_support.
* testsuite/systemtap.examples/io/iostat-scsi.meta: Add meta-tag test_support.
* testsuite/systemtap.examples/memory/mmanonpage.meta: Ditto.
* testsuite/systemtap.examples/memory/mmfilepage.meta: Ditto.
* testsuite/systemtap.examples/memory/mmreclaim.meta: Ditto.
* testsuite/systemtap.examples/memory/mmwriteback.meta: Ditto.
* testsuite/systemtap.examples/network/autofs4.meta: Ditto.
* testsuite/systemtap.examples/network/dropwatch.meta: Ditto.
* testsuite/systemtap.examples/process/schedtimes.meta: Ditto.
|