summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapWilliam Cohen2009-04-232-2/+17
|\
| * git_version: emit `git-describe` rather than just sha code, for use in stap -VFrank Ch. Eigler2009-04-231-2/+2
| |
| * Add NEWS entry about EXPERIMENTAL support for user process unwinding.Mark Wielaard2009-04-231-0/+15
| |
* | Revert "Make sure that the pool_size and hash_size are passed into xmlto."William Cohen2009-04-232-2/+6
| | | | | | | | This reverts commit 52bc8b53c4bf03d51edf02d088aa04af809b9005.
* | Make sure that the pool_size and hash_size are passed into xmlto.William Cohen2009-04-232-6/+2
|/
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapWilliam Cohen2009-04-2358-292/+682
|\
| * Mark uaddr tapset function as EXPERIMENTAL.Mark Wielaard2009-04-231-2/+4
| | | | | | | | | | * tapset/context.stp (uaddr): Marked as experimental. Add FIXME for vdso tracking bug #10080.
| * Tweak kprobes test caseWenji Huang2009-04-232-1/+6
| | | | | | | | | | * testsuite/systemtap.base/kprobes.exp: Add expected message. * testsuite/systemtap.base/kprobes.stp: Ditto.
| * Modify the output of kprobes test.Wenji Huang2009-04-221-3/+2
| | | | | | | | * testsuite/systemtap.base/kprobes.stp: Update text.
| * Avoid 64 bit address value on a 32 bit machine.Stan Cox2009-04-221-2/+8
| | | | | | | | | | * sdt.h (STAP_PROBE_ADDR): New. (STAP_PROBE_DATA_): Use it.
| * utrace/ia64: Fix syscall_get_set_args_cb() to handle syscalls via syscall()Masami Hiramatsu2009-04-221-3/+10
| | | | | | | | | | | | * 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.
| * PR 9821: Add a testcase for strftimeMasami Hiramatsu2009-04-221-0/+49
| | | | | | | | * testsuite/systemtap.base/strftime.exp: New test case for strftime.
| * PR 9821: Use genuine strftime in staprun/stapioMasami Hiramatsu2009-04-226-115/+14
| | | | | | | | | | | | | | | | | | | | * 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.
| * PR 6930: Add testcases for on-file flight recorderMasami Hiramatsu2009-04-223-0/+117
| | | | | | | | | | | | * 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.
| * PR 9941: Add predicate function callback to check for an early abortRajan Arora2009-04-223-2/+12
| | | | | | | | | | | | | | * 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.
| * Make sdt.h big endian aware.Stan Cox2009-04-222-15/+15
| | | | | | | | | | | | * 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.
| * 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.
| * Simplify section size logic.Mark Wielaard2009-04-221-5/+1
| | | | | | | | | | | | * translate.cxx (dump_unwindsyms): Just check that dwfl_module_relocations() return more than 1 relocation section bases before calling dwfl_module_address_section().
| * [tracepoints] Resolve implicit trace_X useJosh Stone2009-04-211-1/+2
| | | | | | | | | | | | | | 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.
| * [tracepoints] Don't use TRACE_HEADER_MULTI_READJosh Stone2009-04-211-4/+0
| | | | | | | | | | | | | | 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.
| * Use tokenize() for splitting @cast's module listJosh Stone2009-04-211-7/+6
| |
| * Document @cast-with-headersJosh Stone2009-04-212-0/+14
| |
| * NB @cast's relative header searchingJosh Stone2009-04-211-0/+14
| |
| * Refine the @cast-with-header syntaxJosh Stone2009-04-215-25/+45
| | | | | | | | | | | | | | 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).
| * Set MAXSTRINGLEN to 133 for uprobes_ustack.exp test on 64 bit.Mark Wielaard2009-04-211-1/+4
| | | | | | | | | | | | | | | | 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.
| * Merge branch 'master' of ssh://sourceware.org/git/systemtapMark Wielaard2009-04-212-8/+37
| |\
| | * Ref-count correctly when deranged handler calls do_exit().Jim Keniston2009-04-211-1/+2
| | |
| | * document user-space probes more fully, mention utrace requirementsFrank Ch. Eigler2009-04-211-7/+35
| | |
| * | Merge branch 'user_unwind'Mark Wielaard2009-04-2117-63/+311
| |\ \ | | |/ | |/|
| | * Mark ucontext tapset functions EXPERIMENTAL.Mark Wielaard2009-04-212-5/+5
| | | | | | | | | | | | | | | | | | * tapset/ucontext-symbols.stp (usymname, usymdata, print_ustack): mark EXPERIMENTAL. * tapset/ucontext-unwind.stp (print_ubacktrace, ubacktrace): Likewise.
| | * Add uprobes_ustack testcase and bug fixlet.Mark Wielaard2009-04-213-1/+133
| | | | | | | | | | | | | | | | | | * 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.
| | * Add ubacktrace(), print_ustack() and print_ubacktrace().Mark Wielaard2009-04-214-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
| | * Remove documentation weirdness FIXME in tapset print_stack().Mark Wielaard2009-04-211-2/+2
| | | | | | | | | | | | | | | | | | Weirdness was fixed in commit d4db5608. * tapset/context-symbols.stp (print_stack): Remove FIXME.
| | * Don't use stack fallback for user space unwinding when using dwarf unwinder.Mark Wielaard2009-04-212-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Remove old _stp_ustack bits.Mark Wielaard2009-04-211-17/+0
| | | | | | | | | | | | | | | | | | This code was never used, nor did it actually work. * runtime/stack.c (_stp_ustack_print): Removed.
| | * Pass task from tapset, through stack and unwind functions for lookup.Mark Wielaard2009-04-209-21/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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().
| | * Add comment to try -d kernel -d systemtap_test_module1 on backtrace.tcl test.Mark Wielaard2009-04-201-0/+1
| | |
| | * Pass task to _stp_func_print and _stp_kallsyms_lookup.Mark Wielaard2009-04-194-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| | * Handle .absolute and .dynamic (user space) addresses in adjustStartLoc.Mark Wielaard2009-04-191-6/+12
| | | | | | | | | | | | | | | * runtime/unwind.c (adjustStartLoc): .absolute sections don't need adjustment, .dynamic sections need the section addr to be added.
| * | Updated utrace tests.David Smith2009-04-2111-32/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Bump pool_size and hash_size to build Systemtap Tapset Refence manual.William Cohen2009-04-232-0/+6
|/ /
* | Correctly handle $syscall in process(PID_OR_PATH).syscall.return probes.David Smith2009-04-212-5/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Add testcases for kprobe.function familyAnanth N Mavinakayanahalli2009-04-212-0/+23
| |
* | Documentation updates for kprobe.function familyAnanth N Mavinakayanahalli2009-04-212-0/+41
| |
* | From Prerna Saxena: Add the kprobe.function probe familyAnanth N Mavinakayanahalli2009-04-213-2/+463
| |
* | 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.
* | Suppress more module-loading errors in @castsJosh Stone2009-04-201-3/+14
| | | | | | | | | | Commit 462c90c3 did this for user modules, but it's needed for kernel modules too.
* | Merge branch 'cast_header'Josh Stone2009-04-209-5/+192
|\ \
| * | Add tests for @cast-generated modulesJosh Stone2009-04-203-2/+29
| | |
| * | Cleanup typequery user modules from the cache tooJosh Stone2009-04-201-2/+16
| | |