summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Don't recurse into DW_AT_declaration subprograms in iterate_over_labels.Mark Wielaard2009-05-031-1/+4
| | | | | | | | | | | | | | | | | | Newer gcc (4.4) places more DW_TAG_subprograms with DW_AT_declaration at call sites. iterate_over_labels should only be concerned about complete declarations. * tapsets.cxx (dwflpp::iterate_over_labels): Skip DW_TAG_subprogram that has attribute DW_AT_declaration.
| * Fix funtion -> function typo in alternatives.exp.Mark Wielaard2009-05-021-1/+1
| | | | | | | | * testsuite/systemtap.base/alternatives.exp (local1_script): Fix typo.
| * syscalls testsuite: use different escape sequenceFrank Ch. Eigler2009-04-3031-256/+261
| | | | | | | | | | | | | | | | | | | | | | | | The syscall testsuite uses embedded "// TEXT" markers in the .c files to designate expected output, kind of like the "dg-" bunch in the gcc test suite. Unfortunately, "//" is not a unique prefix to systemtap tests, and in particular it can occur in the system headers that will be picked up with the "gcc -E -C ..." invocation in test.tcl. So let's switch to "//staptest//". test.tcl is also modified to escape a few more mischevious regexp metacharacters that might sneak past.
| * whitespace tweak in tcl codeFrank Ch. Eigler2009-04-301-9/+3
| |
| * add verboser strerrors if posix_spawn failedFrank Ch. Eigler2009-04-301-2/+12
| | | | | | | | | | | | * buildrun.cxx (run_make_cmd, kernel_built_uprobes, copy_uprobes_symbols, run_pass, make_typequery_umod): Print strerror after a failed stap_system() if verbose.
* | Module signing and verification using a separate file for the module signature.Dave Brolley2009-05-0441-3201/+4144
|/
* Fixed uaddr tapset function for ppc64 by adding task_pt_regs() definition.David Smith2009-04-301-0/+6
| | | | | | PR10117 fix. * tapset/context.stp: Added ppc64 task_pt_regs() definition if it dooesn't already exist.
* PR10007: Avoid probing syscall entry points in the testsuite.Ananth N Mavinakayanahalli2009-04-3020-45/+49
| | | | While there, fix minor issues with the s390x syscall tapset.
* added tcp_connections.stpddomingo2009-04-302-0/+88
|
* Use sockaddr instead of timeval in @cast testJosh Stone2009-04-292-11/+15
| | | | | | | | Using timeval had problems on big-endian multi-arch platforms (ppc64), because the user tv_sec used in the @cast didn't match the kernel tv_sec used to provide a pointer. Hopefully reading from a sockaddr should be more robust, as that type doesn't appear to need any compat wrappers for multi-archs.
* PR 6930: fix flightrec2.exp to handle filesize correctlyMasami Hiramatsu2009-04-282-11/+10
| | | | | | | * testsuite/systemtap.base/flightrec2.exp: Use stat instead of ls for checking file size. * testsuite/systemtap.base/flightrec2.stp: Increase timer interval for some architecture on which the minimum interval is more than 1 ms (e.g. xen)
* PR10102: tolerate mismatched optional probeWenji Huang2009-04-273-0/+18
| | | | | | * elaborate.cxx: Early return for mismatched optional probe. * testsuite/systemtap.base/optionalprobe.exp: New test case. * testsuite/systemtap.base/optionalprobe.stp: Ditto.
* new AUTHOR; fixed my commit --author typo via .mailmapFrank Ch. Eigler2009-04-272-0/+2
|
* traceio: add human-readable byte-count outputKey Meyer2009-04-271-3/+18
|
* traceio sample: tolerate more than a few hundred processesKey Meyer2009-04-271-10/+8
| | | | ... rather than exiting with MAXACTIONS exceeded
* Make sure user_string_n() results are always zero terminated strings.Mark Wielaard2009-04-281-1/+4
| | | | | | * tapset/conversions.stp (user_string_n2): Explicitly null terminate return string. (user_string_n_warn): Likewise.
* Handle more types of types in declaration_resolveJosh Stone2009-04-271-12/+14
| | | | | | | Instead of just structs and unions, we now also process typedefs, enums, and base types in iterate_over_globals, so declaration_resolve can find more variations. This especially useful to let @casts reference typedef names.
* Warn if trying to dereference an enumJosh Stone2009-04-271-0/+7
| | | | | In translate_components, give a cleaner warning about trying to dereference an enum type, rather than "unexpected type tag".
* Fixed itrace on RHEL5 (PR10091).David Smith2009-04-272-1/+52
| | | | | | | | | | PR10091 fix. * runtime/itrace.c: Includes ptrace_compatibility.h. (usr_itrace_report_quiesce): Corrected return value for original version of utrace. * runtime/ptrace_compatibility.h: Defines arch_has_single_step() and arch_has_block_step() in terms of ARCH_HAS_SINGLE_STEP and ARCH_HAS_BLOCK_STEP.
* PR10081: improve error message for verifying build-idWenji Huang2009-04-261-28/+23
| | | | | | | Output debuginfo file name and build-id if verification failed. * runtime/sym.c: Print more info if not matched.
* 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.