summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PR10099: Extend %M directive to support hexdumping large buffersWenji Huang2009-04-263-13/+34
| | | | | | | | | | 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.
* Add function of returning the char in given position of stringWenji Huang2009-04-263-1/+14
| | | | | | * tapset/string.stp: New function stringat. * testsuite/systemtap.printf/char1.exp: Update test case. * testsuite/systemtap.printf/char1.stp: Ditto.
* Handle kprobe struct field symbol_name as either char * or const char *.Mark Wielaard2009-04-261-2/+2
| | | | | | | | 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.
* fix kprobe.* probes so they don't break -p4 if script also has kernel.* probesFrank Ch. Eigler2009-04-262-6/+10
| | | | | * tapsets.cxx (kprobe_derived_probe): Use enter_k[ret]probe>>2<<_probe. * testsuite/buildok/thirtyone.stp: Test this.
* Add grapher executable and doc generated files and dirs to .gitignore files.Mark Wielaard2009-04-262-0/+4
|
* Add two new AUTHORSJosh Stone2009-04-251-0/+2
|
* Correct fd variable name in fadvise64 probe points.Przemyslaw Pawelczyk2009-04-251-4/+4
| | | | * tapset/syscalls.stp: Rename fs variable to fd.
* Enable kprobe.function.return.maxactiveJosh Stone2009-04-241-35/+57
| | | | | The code to emit maxactive was almost there; it just needed to enable the maxactive probe component and pass the value down.
* Simplify dwarfless kprobe stmt vs. name logicJosh Stone2009-04-241-29/+15
|
* Fill out the pp() for dwarfless kprobesJosh Stone2009-04-241-3/+25
|
* Don't terminate when a dwarfless kprobe failsJosh Stone2009-04-242-17/+24
| | | | | | | | | | 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.
* Tweak error message in kprobe.function registrationJosh Stone2009-04-241-1/+1
|
* PR5273: uprobes_i386.c instruction tableJim Keniston2009-04-241-11/+11
| | | | | Resynch uprobes1 2-byte-opcode table with uprobes2 x86. Mostly changes a bunch of mmx instructions from rejected to accepted.
* Cache and retrieve syscall arguments when needed.David Smith2009-04-242-35/+293
| | | | | | | | | | | | * 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.
* git_version: fall back to git-describe w/o --long, and even git-rev-parse ↵Frank Ch. Eigler2009-04-241-1/+1
| | | | HEAD for old gits
* new NEWS sectionFrank Ch. Eigler2009-04-241-0/+3
|
* PR10082: refactor duplicated codeKent Sebastian2009-04-241-50/+30
|
* Version bumps for 0.9.7 releaseJosh Stone2009-04-236-25/+25
|
* i386 uprobes1: enable the 0x0f 0x1_ row of opcodesJim Keniston2009-04-231-1/+1
| | | | to make sdt.exp pass
* Avoid a uprobe break setting problem by avoiding 'nop 0' on x86.Stan Cox2009-04-231-11/+17
| | | | | * sdt.h (STAP_NOP): New. (STAP_PROBE): Use it.
* git_version: use --long mode to always add the git hash tooFrank Ch. Eigler2009-04-231-1/+1
|
* Version bumps for 0.9.6 releaseJosh Stone2009-04-236-24/+27
|
* Make sure values get passed to xmlto.William Cohen2009-04-232-6/+2
|
* 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
| | |