]> sourceware.org Git - systemtap.git/log
systemtap.git
15 years agoRevert "Remove latex2html from BuildRequires"
Eugeniy Meshcheryakov [Wed, 6 May 2009 15:57:50 +0000 (17:57 +0200)]
Revert "Remove latex2html from BuildRequires"

This reverts commit 079e3163aec9bd146428ca930f7de9f78eec233b.

15 years agoRevert "Remove latex2html detection, it is not used anymore"
Eugeniy Meshcheryakov [Wed, 6 May 2009 15:57:21 +0000 (17:57 +0200)]
Revert "Remove latex2html detection, it is not used anymore"

This reverts commit 3f6d0896b990c586667d0de08ac85b18effb0274.

15 years agorun autoreconf
Eugeniy Meshcheryakov [Wed, 6 May 2009 15:13:33 +0000 (17:13 +0200)]
run autoreconf

15 years agoPR10102: tolerate the failure related to optional probe
Wenji Huang [Tue, 5 May 2009 23:26:38 +0000 (19:26 -0400)]
PR10102: tolerate the failure related to optional probe

This patch will make stap silently accept the
failure related to optional probe. It puts try/catch
around find_and_build which can cover most probe types.
The specific treatment for dwarf_derived_probe in
commit ed82b7c902d6a2e26452ec51c9cdb9665dbf9e97 is
reverted.

15 years agoHave stap-fine-or-start-server look in the right directory.
William Cohen [Wed, 6 May 2009 02:13:27 +0000 (22:13 -0400)]
Have stap-fine-or-start-server look in the right directory.

15 years agoFix --enable-refdocs
Eugeniy Meshcheryakov [Tue, 5 May 2009 23:04:38 +0000 (01:04 +0200)]
Fix --enable-refdocs

15 years agoRun autoreconf
Eugeniy Meshcheryakov [Tue, 5 May 2009 21:26:24 +0000 (23:26 +0200)]
Run autoreconf

15 years agoOnly disable building of PDF version of refdocs if xmlto is bad
Eugeniy Meshcheryakov [Tue, 5 May 2009 21:14:54 +0000 (23:14 +0200)]
Only disable building of PDF version of refdocs if xmlto is bad

15 years agoRemove latex2html from BuildRequires
Eugeniy Meshcheryakov [Tue, 5 May 2009 20:55:58 +0000 (22:55 +0200)]
Remove latex2html from BuildRequires

15 years agoRun autoreconf
Eugeniy Meshcheryakov [Tue, 5 May 2009 20:53:49 +0000 (22:53 +0200)]
Run autoreconf

15 years agoRemove latex2html detection, it is not used anymore
Eugeniy Meshcheryakov [Tue, 5 May 2009 20:50:54 +0000 (22:50 +0200)]
Remove latex2html detection, it is not used anymore

15 years agoMake test example for xmlto more complex, to make it fail on Debian
Eugeniy Meshcheryakov [Tue, 5 May 2009 20:45:36 +0000 (22:45 +0200)]
Make test example for xmlto more complex, to make it fail on Debian

15 years agoFix arguments to mktemp with less than 6 X's
Eugeniy Meshcheryakov [Tue, 5 May 2009 19:27:10 +0000 (21:27 +0200)]
Fix arguments to mktemp with less than 6 X's

15 years agoEnsure that pw is not used if it is NULL.
Dave Brolley [Tue, 5 May 2009 18:49:06 +0000 (14:49 -0400)]
Ensure that pw is not used if it is NULL.

15 years agoInitialize euid before using it.
Dave Brolley [Tue, 5 May 2009 18:35:52 +0000 (14:35 -0400)]
Initialize euid before using it.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Tue, 5 May 2009 18:31:35 +0000 (14:31 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoUse stap_system() in mod-signing code
Josh Stone [Tue, 5 May 2009 18:30:07 +0000 (11:30 -0700)]
Use stap_system() in mod-signing code

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Tue, 5 May 2009 18:30:04 +0000 (14:30 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoMake sure pw struct is initialized.
Dave Brolley [Tue, 5 May 2009 18:29:22 +0000 (14:29 -0400)]
Make sure pw struct is initialized.

15 years agoAdd Vim modelines for new C/C++ sources
Josh Stone [Tue, 5 May 2009 18:21:51 +0000 (11:21 -0700)]
Add Vim modelines for new C/C++ sources

15 years agoDescribe new module signing capability.
Dave Brolley [Tue, 5 May 2009 16:08:49 +0000 (12:08 -0400)]
Describe new module signing capability.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Tue, 5 May 2009 15:56:37 +0000 (11:56 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoadded ioblktime.stp to guide
ddomingo [Tue, 5 May 2009 05:43:56 +0000 (15:43 +1000)]
added ioblktime.stp to guide

15 years agoRevert "Fix kprobes.exp."
Ananth N Mavinakayanahalli [Tue, 5 May 2009 05:01:07 +0000 (10:31 +0530)]
Revert "Fix kprobes.exp."

This reverts commit 97d1fa6e24d8d4e8ceefc62f0d4a7f93a18e4125.

15 years agoTweak alternatives.exp
Wenji Huang [Mon, 4 May 2009 20:51:41 +0000 (16:51 -0400)]
Tweak alternatives.exp

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Mon, 4 May 2009 20:06:14 +0000 (16:06 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoModule signing and verification using a separate file for the module signature.
Dave Brolley [Mon, 4 May 2009 20:05:22 +0000 (16:05 -0400)]
Module signing and verification using a separate file for the module signature.

15 years agoFix kprobes.exp.
Ananth N Mavinakayanahalli [Mon, 4 May 2009 10:09:23 +0000 (15:39 +0530)]
Fix kprobes.exp.
Patch from Prerna Saxena.

15 years agoAdd manual for stringat function
Wenji Huang [Sun, 3 May 2009 23:19:32 +0000 (19:19 -0400)]
Add manual for stringat function

15 years agosystemtap.syscall tests do use + and * as metachars.
Mark Wielaard [Sun, 3 May 2009 06:05:43 +0000 (08:05 +0200)]
systemtap.syscall tests do use + and * as metachars.

+ and * are metacharacters, but should always be used
as metacharacters in the expressions, don't escape them.

* testsuite/systemtap.syscall/test.tcl (run_one_test): Remove escaping
  of + and *.

15 years agoDon't recurse into DW_AT_declaration subprograms in iterate_over_labels.
Mark Wielaard [Sun, 3 May 2009 04:49:02 +0000 (06:49 +0200)]
Don't recurse into DW_AT_declaration subprograms in iterate_over_labels.

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.

15 years agoFix funtion -> function typo in alternatives.exp.
Mark Wielaard [Sat, 2 May 2009 15:52:50 +0000 (17:52 +0200)]
Fix funtion -> function typo in alternatives.exp.

* testsuite/systemtap.base/alternatives.exp (local1_script): Fix typo.

15 years agosyscalls testsuite: use different escape sequence
Frank Ch. Eigler [Thu, 30 Apr 2009 21:07:43 +0000 (17:07 -0400)]
syscalls testsuite: use different escape sequence

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.

15 years agowhitespace tweak in tcl code
Frank Ch. Eigler [Thu, 30 Apr 2009 20:54:04 +0000 (16:54 -0400)]
whitespace tweak in tcl code

15 years agoadd verboser strerrors if posix_spawn failed
Frank Ch. Eigler [Thu, 30 Apr 2009 20:43:41 +0000 (16:43 -0400)]
add verboser strerrors if posix_spawn failed

* 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.

15 years agoFixed uaddr tapset function for ppc64 by adding task_pt_regs() definition.
David Smith [Thu, 30 Apr 2009 15:20:41 +0000 (10:20 -0500)]
Fixed uaddr tapset function for ppc64 by adding task_pt_regs() definition.
PR10117 fix.
* tapset/context.stp: Added ppc64 task_pt_regs() definition if it dooesn't
  already exist.

15 years agoPR10007: Avoid probing syscall entry points in the testsuite.
Ananth N Mavinakayanahalli [Thu, 30 Apr 2009 11:30:38 +0000 (17:00 +0530)]
PR10007: Avoid probing syscall entry points in the testsuite.
While there, fix minor issues with the s390x syscall tapset.

15 years agoadded tcp_connections.stp
ddomingo [Thu, 30 Apr 2009 05:56:47 +0000 (15:56 +1000)]
added tcp_connections.stp

15 years agoUse sockaddr instead of timeval in @cast test
Josh Stone [Wed, 29 Apr 2009 21:00:21 +0000 (14:00 -0700)]
Use sockaddr instead of timeval in @cast test

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.

15 years agoPR 6930: fix flightrec2.exp to handle filesize correctly
Masami Hiramatsu [Tue, 28 Apr 2009 15:18:06 +0000 (11:18 -0400)]
PR 6930: fix flightrec2.exp to handle filesize correctly

* 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)

15 years agoPR10102: tolerate mismatched optional probe
Wenji Huang [Tue, 28 Apr 2009 02:35:05 +0000 (22:35 -0400)]
PR10102: tolerate mismatched optional probe

* elaborate.cxx: Early return for mismatched optional probe.
* testsuite/systemtap.base/optionalprobe.exp: New test case.
* testsuite/systemtap.base/optionalprobe.stp: Ditto.

15 years agonew AUTHOR; fixed my commit --author typo via .mailmap
Frank Ch. Eigler [Mon, 27 Apr 2009 23:21:06 +0000 (19:21 -0400)]
new AUTHOR; fixed my commit --author typo via .mailmap

15 years agotraceio: add human-readable byte-count output
Key Meyer [Mon, 27 Apr 2009 23:12:14 +0000 (19:12 -0400)]
traceio: add human-readable byte-count output

15 years agotraceio sample: tolerate more than a few hundred processes
Key Meyer [Mon, 27 Apr 2009 22:36:32 +0000 (18:36 -0400)]
traceio sample: tolerate more than a few hundred processes

... rather than exiting with MAXACTIONS exceeded

15 years agoMake sure user_string_n() results are always zero terminated strings.
Mark Wielaard [Mon, 27 Apr 2009 22:24:34 +0000 (00:24 +0200)]
Make sure user_string_n() results are always zero terminated strings.

* tapset/conversions.stp (user_string_n2): Explicitly null terminate
  return string.
  (user_string_n_warn): Likewise.

15 years agoHandle more types of types in declaration_resolve
Josh Stone [Mon, 27 Apr 2009 21:38:20 +0000 (14:38 -0700)]
Handle more types of types in declaration_resolve

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.

15 years agoWarn if trying to dereference an enum
Josh Stone [Mon, 27 Apr 2009 21:29:19 +0000 (14:29 -0700)]
Warn if trying to dereference an enum

In translate_components, give a cleaner warning about trying to
dereference an enum type, rather than "unexpected type tag".

15 years agoFixed itrace on RHEL5 (PR10091).
David Smith [Mon, 27 Apr 2009 20:53:21 +0000 (15:53 -0500)]
Fixed itrace on RHEL5 (PR10091).
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.

15 years agoPR10081: improve error message for verifying build-id
Wenji Huang [Mon, 27 Apr 2009 10:12:36 +0000 (06:12 -0400)]
PR10081: improve error message for verifying build-id

Output debuginfo file name and build-id if verification
failed.

* runtime/sym.c: Print more info if not matched.

15 years agoPR10099: Extend %M directive to support hexdumping large buffers
Wenji Huang [Mon, 27 Apr 2009 09:38:18 +0000 (05:38 -0400)]
PR10099: Extend %M directive to support hexdumping large buffers

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.

15 years agoAdd function of returning the char in given position of string
Wenji Huang [Mon, 27 Apr 2009 08:34:42 +0000 (04:34 -0400)]
Add function of returning the char in given position of string

* tapset/string.stp: New function stringat.
* testsuite/systemtap.printf/char1.exp: Update test case.
* testsuite/systemtap.printf/char1.stp: Ditto.

15 years agoHandle kprobe struct field symbol_name as either char * or const char *.
Mark Wielaard [Sun, 26 Apr 2009 15:17:04 +0000 (17:17 +0200)]
Handle kprobe struct field symbol_name as either char * or const char *.

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.

15 years agofix kprobe.* probes so they don't break -p4 if script also has kernel.* probes
Frank Ch. Eigler [Sun, 26 Apr 2009 01:47:54 +0000 (21:47 -0400)]
fix kprobe.* probes so they don't break -p4 if script also has kernel.* probes

* tapsets.cxx (kprobe_derived_probe): Use enter_k[ret]probe>>2<<_probe.
* testsuite/buildok/thirtyone.stp: Test this.

15 years agoAdd grapher executable and doc generated files and dirs to .gitignore files.
Mark Wielaard [Sun, 26 Apr 2009 13:08:35 +0000 (15:08 +0200)]
Add grapher executable and doc generated files and dirs to .gitignore files.

15 years agoAdd two new AUTHORS
Josh Stone [Sat, 25 Apr 2009 17:18:13 +0000 (10:18 -0700)]
Add two new AUTHORS

15 years agoCorrect fd variable name in fadvise64 probe points.
Przemyslaw Pawelczyk [Sat, 25 Apr 2009 15:18:24 +0000 (17:18 +0200)]
Correct fd variable name in fadvise64 probe points.

* tapset/syscalls.stp: Rename fs variable to fd.

15 years agoEnable kprobe.function.return.maxactive
Josh Stone [Sat, 25 Apr 2009 03:06:58 +0000 (20:06 -0700)]
Enable kprobe.function.return.maxactive

The code to emit maxactive was almost there; it just needed to enable
the maxactive probe component and pass the value down.

15 years agoSimplify dwarfless kprobe stmt vs. name logic
Josh Stone [Sat, 25 Apr 2009 02:30:59 +0000 (19:30 -0700)]
Simplify dwarfless kprobe stmt vs. name logic

15 years agoFill out the pp() for dwarfless kprobes
Josh Stone [Sat, 25 Apr 2009 01:37:35 +0000 (18:37 -0700)]
Fill out the pp() for dwarfless kprobes

15 years agoDon't terminate when a dwarfless kprobe fails
Josh Stone [Sat, 25 Apr 2009 01:07:12 +0000 (18:07 -0700)]
Don't terminate when a dwarfless kprobe fails

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.

15 years agoTweak error message in kprobe.function registration
Josh Stone [Fri, 24 Apr 2009 21:28:26 +0000 (14:28 -0700)]
Tweak error message in kprobe.function registration

15 years agoPR5273: uprobes_i386.c instruction table
Jim Keniston [Fri, 24 Apr 2009 20:46:46 +0000 (13:46 -0700)]
PR5273: uprobes_i386.c instruction table
Resynch uprobes1 2-byte-opcode table with uprobes2 x86.  Mostly changes a
bunch of mmx instructions from rejected to accepted.

15 years agoCache and retrieve syscall arguments when needed.
David Smith [Fri, 24 Apr 2009 17:48:29 +0000 (12:48 -0500)]
Cache and retrieve syscall arguments when needed.
* 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.

15 years agogit_version: fall back to git-describe w/o --long, and even git-rev-parse HEAD for...
Frank Ch. Eigler [Fri, 24 Apr 2009 15:43:11 +0000 (11:43 -0400)]
git_version: fall back to git-describe w/o --long, and even git-rev-parse HEAD for old gits

15 years agonew NEWS section
Frank Ch. Eigler [Fri, 24 Apr 2009 15:41:16 +0000 (11:41 -0400)]
new NEWS section

15 years agoPR10082: refactor duplicated code
Kent Sebastian [Fri, 24 Apr 2009 15:26:51 +0000 (11:26 -0400)]
PR10082: refactor duplicated code

15 years agoVersion bumps for 0.9.7 release release-0.9.7
Josh Stone [Thu, 23 Apr 2009 22:11:37 +0000 (15:11 -0700)]
Version bumps for 0.9.7 release

15 years agoi386 uprobes1: enable the 0x0f 0x1_ row of opcodes
Jim Keniston [Thu, 23 Apr 2009 21:19:58 +0000 (14:19 -0700)]
i386 uprobes1: enable the 0x0f 0x1_ row of opcodes
to make sdt.exp pass

15 years agoAvoid a uprobe break setting problem by avoiding 'nop 0' on x86.
Stan Cox [Thu, 23 Apr 2009 20:43:44 +0000 (16:43 -0400)]
Avoid a uprobe break setting problem by avoiding 'nop 0' on x86.

* sdt.h (STAP_NOP): New.
(STAP_PROBE): Use it.

15 years agogit_version: use --long mode to always add the git hash too
Frank Ch. Eigler [Thu, 23 Apr 2009 20:30:29 +0000 (16:30 -0400)]
git_version: use --long mode to always add the git hash too

15 years agoVersion bumps for 0.9.6 release release-0.9.6
Josh Stone [Thu, 23 Apr 2009 19:43:28 +0000 (12:43 -0700)]
Version bumps for 0.9.6 release

15 years agoMake sure values get passed to xmlto.
William Cohen [Thu, 23 Apr 2009 19:37:22 +0000 (15:37 -0400)]
Make sure values get passed to xmlto.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
William Cohen [Thu, 23 Apr 2009 19:27:31 +0000 (15:27 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoRevert "Make sure that the pool_size and hash_size are passed into xmlto."
William Cohen [Thu, 23 Apr 2009 19:26:32 +0000 (15:26 -0400)]
Revert "Make sure that the pool_size and hash_size are passed into xmlto."

This reverts commit 52bc8b53c4bf03d51edf02d088aa04af809b9005.

15 years agoMake sure that the pool_size and hash_size are passed into xmlto.
William Cohen [Thu, 23 Apr 2009 19:04:05 +0000 (15:04 -0400)]
Make sure that the pool_size and hash_size are passed into xmlto.

15 years agogit_version: emit `git-describe` rather than just sha code, for use in stap -V
Frank Ch. Eigler [Thu, 23 Apr 2009 18:43:00 +0000 (14:43 -0400)]
git_version: emit `git-describe` rather than just sha code, for use in stap -V

15 years agoAdd NEWS entry about EXPERIMENTAL support for user process unwinding.
Mark Wielaard [Thu, 23 Apr 2009 15:37:56 +0000 (17:37 +0200)]
Add NEWS entry about EXPERIMENTAL support for user process unwinding.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
William Cohen [Thu, 23 Apr 2009 15:13:59 +0000 (11:13 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoBump pool_size and hash_size to build Systemtap Tapset Refence manual.
William Cohen [Thu, 23 Apr 2009 15:12:51 +0000 (11:12 -0400)]
Bump pool_size and hash_size to build Systemtap Tapset Refence manual.

15 years agoMark uaddr tapset function as EXPERIMENTAL.
Mark Wielaard [Thu, 23 Apr 2009 14:06:21 +0000 (16:06 +0200)]
Mark uaddr tapset function as EXPERIMENTAL.

* tapset/context.stp (uaddr): Marked as experimental. Add FIXME for vdso
  tracking bug #10080.

15 years agoTweak kprobes test case
Wenji Huang [Thu, 23 Apr 2009 04:09:12 +0000 (00:09 -0400)]
Tweak kprobes test case

* testsuite/systemtap.base/kprobes.exp: Add expected message.
* testsuite/systemtap.base/kprobes.stp: Ditto.

15 years agoModify the output of kprobes test.
Wenji Huang [Thu, 23 Apr 2009 02:44:05 +0000 (22:44 -0400)]
Modify the output of kprobes test.

* testsuite/systemtap.base/kprobes.stp: Update text.

15 years agoAvoid 64 bit address value on a 32 bit machine.
Stan Cox [Wed, 22 Apr 2009 20:42:42 +0000 (16:42 -0400)]
Avoid 64 bit address value on a 32 bit machine.

* sdt.h (STAP_PROBE_ADDR): New.
(STAP_PROBE_DATA_): Use it.

15 years agoutrace/ia64: Fix syscall_get_set_args_cb() to handle syscalls via syscall()
Masami Hiramatsu [Wed, 22 Apr 2009 17:21:17 +0000 (13:21 -0400)]
utrace/ia64: Fix syscall_get_set_args_cb() to handle syscalls via syscall()

* 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.

15 years agoPR 9821: Add a testcase for strftime
Masami Hiramatsu [Wed, 22 Apr 2009 17:18:01 +0000 (13:18 -0400)]
PR 9821: Add a testcase for strftime

* testsuite/systemtap.base/strftime.exp: New test case for strftime.

15 years agoPR 9821: Use genuine strftime in staprun/stapio
Masami Hiramatsu [Wed, 22 Apr 2009 17:16:25 +0000 (13:16 -0400)]
PR 9821: Use genuine strftime in staprun/stapio

* 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.

15 years agoPR 6930: Add testcases for on-file flight recorder
Masami Hiramatsu [Wed, 22 Apr 2009 17:07:26 +0000 (13:07 -0400)]
PR 6930: Add testcases for on-file flight recorder

* 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.

15 years agoPR 9941: Add predicate function callback to check for an early abort
Rajan Arora [Wed, 22 Apr 2009 16:10:37 +0000 (12:10 -0400)]
PR 9941: Add predicate function callback to check for an early abort

* 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.

15 years agoMake sdt.h big endian aware.
Stan Cox [Wed, 22 Apr 2009 15:34:14 +0000 (11:34 -0400)]
Make sdt.h big endian aware.

* 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.

15 years agoCorrect sigmon.meta example title and name.
Sunzen Wang [Wed, 22 Apr 2009 11:52:15 +0000 (13:52 +0200)]
Correct sigmon.meta example title and name.

* 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.

15 years agoSimplify section size logic.
Mark Wielaard [Wed, 22 Apr 2009 10:53:39 +0000 (12:53 +0200)]
Simplify section size logic.

* translate.cxx (dump_unwindsyms): Just check that dwfl_module_relocations()
  return more than 1 relocation section bases before calling
  dwfl_module_address_section().

15 years ago[tracepoints] Resolve implicit trace_X use
Josh Stone [Wed, 22 Apr 2009 02:57:59 +0000 (19:57 -0700)]
[tracepoints] Resolve implicit trace_X use

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.

15 years ago[tracepoints] Don't use TRACE_HEADER_MULTI_READ
Josh Stone [Wed, 22 Apr 2009 02:55:47 +0000 (19:55 -0700)]
[tracepoints] Don't use TRACE_HEADER_MULTI_READ

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.

15 years agoUse tokenize() for splitting @cast's module list
Josh Stone [Tue, 21 Apr 2009 19:57:37 +0000 (12:57 -0700)]
Use tokenize() for splitting @cast's module list

15 years agoDocument @cast-with-headers
Josh Stone [Tue, 21 Apr 2009 19:34:33 +0000 (12:34 -0700)]
Document @cast-with-headers

15 years agoNB @cast's relative header searching
Josh Stone [Tue, 21 Apr 2009 19:12:43 +0000 (12:12 -0700)]
NB @cast's relative header searching

15 years agoRefine the @cast-with-header syntax
Josh Stone [Tue, 21 Apr 2009 19:08:42 +0000 (12:08 -0700)]
Refine the @cast-with-header syntax

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).

15 years agoSet MAXSTRINGLEN to 133 for uprobes_ustack.exp test on 64 bit.
Mark Wielaard [Tue, 21 Apr 2009 19:33:24 +0000 (21:33 +0200)]
Set MAXSTRINGLEN to 133 for uprobes_ustack.exp test on 64 bit.

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.

15 years agoMerge branch 'master' of ssh://sourceware.org/git/systemtap
Mark Wielaard [Tue, 21 Apr 2009 19:21:02 +0000 (21:21 +0200)]
Merge branch 'master' of ssh://sourceware.org/git/systemtap

15 years agoRef-count correctly when deranged handler calls do_exit().
Jim Keniston [Tue, 21 Apr 2009 18:57:36 +0000 (11:57 -0700)]
Ref-count correctly when deranged handler calls do_exit().

This page took 0.061978 seconds and 5 git commands to generate.