| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
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.
|
| |\ |
|
| | | |
|
| | | |
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tapset/ucontext-symbols.stp (usymname, usymdata, print_ustack):
mark EXPERIMENTAL.
* tapset/ucontext-unwind.stp (print_ubacktrace, ubacktrace): Likewise.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* runtime/stack.c (_stp_stack_print): Use _stp_usymbol_print when tsk given.
* testsuite/systemtap.base/uprobes_ustack.exp: New test file.
* testsuite/systemtap.base/uprobes_ustack.stp: Likewise.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* runtime/sym.c (_stp_usymbol_print): New function.
* tapset/ucontext-unwind.stp (print_ubacktrace): New tapset function.
(ubacktrace): Likewise.
* tapset/ucontext-symbols.stp (print_ustack): Likewise.
* testsuite/buildok/ustack.stp: New test for above three functions.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Weirdness was fixed in commit d4db5608.
* tapset/context-symbols.stp (print_stack): Remove FIXME.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It never seems to be anywhere near correct.
* runtime/stack-i386.c (__stp_stack_print): Stop unwinding when dwarf
unwinder fails and we are unwinding user space task.
* runtime/stack-x86_64.c (__stp_stack_print): Likewise.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This code was never used, nor did it actually work.
* runtime/stack.c (_stp_ustack_print): Removed.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* runtime/stack-arm.c (__stp_stack_print): Take struct task_struct *.
* runtime/stack-ia64.c (__stp_stack_print): Likewise.
* runtime/stack-ppc64.c (__stp_stack_print): Likewise.
* runtime/stack-s390.c (__stp_stack_print): Likewise.
* runtime/stack-i386.c (__stp_stack_print): Likewise.
And add check and pass to unwind() and _stp_func_print().
* runtime/stack-x86_64.c: Likewise.
* runtime/stack.c *_stp_stack_print): Take and pass on task_struct.
(_stp_stack_snprint): Likewise.
* runtime/unwind.c (unwind): Take and use task_struct for
_stp_mod_sec_lookup().
* tapset/context-unwind.stp (print_backtrace): Pass NULL to
_stp_stack_print().
(backtrace): Pass NULL to _stp_stack_snprint().
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* runtime/sym.c (_stp_func_print): Take task, pass to _stp_kallsyms_lookup.
* runtime/stack.c (print_stack_address): Pass NULL.
* runtime/stack-i386.c (_stp_stack_print_fallback): Pass NULL.
(__stp_stack_print): Pass NULL or current.
* runtime/stack-x86_64.c (_stp_stack_print_fallback): Pass NULL.
(__stp_stack_print): Pass current.
|
| | |
| | |
| | |
| | |
| | | |
* runtime/unwind.c (adjustStartLoc): .absolute sections don't need
adjustment, .dynamic sections need the section addr to be added.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2009-04-21 David Smith <dsmith@redhat.com>
* testsuite/semok/utrace01.stp: New test.
* testsuite/parseko/utrace01.stp: Updated test.
* testsuite/semko/utrace03.stp: Ditto.
* testsuite/semko/utrace04.stp: Ditto.
* testsuite/semko/utrace01.stp: Deleted unneeded test.
* testsuite/semko/utrace08.stp: Ditto.
* testsuite/semko/utrace09.stp: Ditto.
* testsuite/semko/utrace10.stp: Ditto.
* testsuite/semko/utrace11.stp: Ditto.
* testsuite/semko/utrace12.stp: Ditto.
* testsuite/semko/utrace13.stp: Ditto.
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2009-04-21 David Smith <dsmith@redhat.com>
* tapsets.cxx (utrace_derived_probe::utrace_derived_probe): If
during target-variable-expanding the probe, we added a new block
or probe, add them.
(utrace_var_expanding_visitor::visit_target_symbol_cached): New
function to cache target variables in a generated syscall probe to
use in syscall.return probes.
(utrace_var_expanding_visitor::visit_target_symbol_context): In a
syscall.return probe, you can't access $syscall. So use
visit_target_symbol_cached() to cache the value for use here.
* testsuite/systemtap.base/utrace_syscall_args.stp: Test use of
$syscall in syscall.return probes.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Commit 462c90c3 did this for user modules, but it's needed for kernel
modules too.
|
|\ \ |
|
| | | |
|
| | | |
|