| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This patch will make %M directive dump the variable width
buffer in hex format instead of returning uint64_t number
as before.
* runtime/vsprintf.c: Modify %M directive.
* stap.1.in: Update description.
* testsuite/systemtap.printf/memory1.stp: Add test case.
|
|
|
|
|
|
| |
* tapset/string.stp: New function stringat.
* testsuite/systemtap.printf/char1.exp: Update test case.
* testsuite/systemtap.printf/char1.stp: Ditto.
|
|
|
|
|
|
|
|
| |
Older (2.6.18) based kernels defined struct kprobes symbol_name as char *,
but newer (2.6.27) based kernels defined the same field as const char *.
* tapsets.cxx (kprobe_derived_probe_group::emit_module_init):
Always cast to char * when assigning to kprobes.symbol_name field.
|
|
|
|
|
| |
* tapsets.cxx (kprobe_derived_probe): Use enter_k[ret]probe>>2<<_probe.
* testsuite/buildok/thirtyone.stp: Test this.
|
| |
|
| |
|
|
|
|
| |
* tapset/syscalls.stp: Rename fs variable to fd.
|
|
|
|
|
| |
The code to emit maxactive was almost there; it just needed to enable
the maxactive probe component and pass the value down.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
All of our other kprobe types will let the script continue after a
registration failure, as per PR6749. The dwarfless kprobes should be
no exception.
Also, the way they were exiting was causing an unclean shutdown, so I
added tests to badkprobe.exp to make sure that cleanup is always allowed
to run.
|
| |
|
|
|
|
|
| |
Resynch uprobes1 2-byte-opcode table with uprobes2 x86. Mostly changes a
bunch of mmx instructions from rejected to accepted.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* runtime/task_finder.c (__stp_utrace_task_finder_target_syscall_entry):
New function that caches syscall arguments for mmap(), munmap(), and
mprotect() for use in __stp_utrace_task_finder_target_syscall_exit().
(__stp_utrace_task_finder_target_syscall_exit): Uses cached syscall
argument info when making callbacks.
(stap_start_task_finder): Initializes map subsytem for storing syscall
argument data.
* runtime/task_finder_map.c: New file containing functions to save and
retrieve syscall arguments.
|
|
|
|
| |
HEAD for old gits
|
| |
|
| |
|
| |
|
|
|
|
| |
to make sdt.exp pass
|
|
|
|
|
| |
* sdt.h (STAP_NOP): New.
(STAP_PROBE): Use it.
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit 52bc8b53c4bf03d51edf02d088aa04af809b9005.
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| | |
* tapset/context.stp (uaddr): Marked as experimental. Add FIXME for vdso
tracking bug #10080.
|
| |
| |
| |
| |
| | |
* testsuite/systemtap.base/kprobes.exp: Add expected message.
* testsuite/systemtap.base/kprobes.stp: Ditto.
|
| |
| |
| |
| | |
* testsuite/systemtap.base/kprobes.stp: Update text.
|
| |
| |
| |
| |
| | |
* sdt.h (STAP_PROBE_ADDR): New.
(STAP_PROBE_DATA_): Use it.
|
| |
| |
| |
| |
| |
| | |
* runtime/syscall.h (syscall_get_set_args_cb): Fix to decode user stack
collectly in case of syscall(), and check the maximum number of syscall
arguments.
|
| |
| |
| |
| | |
* testsuite/systemtap.base/strftime.exp: New test case for strftime.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Makefile.am: Add -fno-builtin-strftime to stapio_CFLAGS.
* Makefile.in: Ditto.
* runtime/staprun/common.c (stap_strfloctime): Use strftime(3).
(parse_args): Remove strftime format limitation message.
* main.cxx (usage): Ditto.
* stap.1.in: Ditto.
* staprun.8.in: Ditto.
|
| |
| |
| |
| |
| |
| | |
* testsuite/systemtap.base/flightrec1.exp: New test case for background mode.
* testsuite/systemtap.base/flightrec2.exp: New test case for file switching.
* testsuite/systemtap.base/flightrec2.stp: Test script for file switching.
|
| |
| |
| |
| |
| |
| |
| | |
* tapsets.cxx: Add dwfl_report_offline_predicate to check pending
interrupts for an early abort.
* tapsets.h: Declare it.
* translate.cxx: Add callback to function call.
|
| |
| |
| |
| |
| |
| | |
* sdt.h: Use .quad instead of .long for .probe section addresses.
ia64 and s390 require 'nop 0' and x86 tolerates it.
* tapsets.cxx (build): Fetch probe_name in a big endian friendly fashion.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| | |
* translate.cxx (dump_unwindsyms): Just check that dwfl_module_relocations()
return more than 1 relocation section bases before calling
dwfl_module_address_section().
|
| |
| |
| |
| |
| |
| |
| | |
Some of the tracepoints are actually being called in inlines in the
common headers (e.g. trace_kmalloc), which is causing errors about
implicit function declarations. We don't care about ever running the
code in the tracequery module, so I'm just suppressing that error.
|
| |
| |
| |
| |
| |
| |
| | |
At one point that macro was needed to get all of the tracepoints on the
tip tree, but now it's causing us to get duplicate stapprobe_X
definitions. AFAICS, we're now getting all tracepoints even without
MULTI_READ, so I'm pulling that workaround out.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The special syntax to generate a module for type information is now:
- "kernel<path/to/header.h>" to use the kernel's build environment
- "<path/to/header.h>" to use no special build environment, and so use
gcc's default parameters only (for user mode).
|
| |
| |
| |
| |
| |
| |
| |
| | |
Needs extra space since on 64bit the last ubacktrace string is
7 entries * (16 hex + 2 for 0x + 1 space) = 133 chars.
Default MAXSTRINGLEN is 128 chars.
* testsuite/systemtap.base/uprobes_ustack.exp: Add -DMAXSTRINGLEN.
|
| |\ |
|
| | | |
|