]> sourceware.org Git - systemtap.git/log
systemtap.git
15 years agoPR7045: on 64-bit kernels, allow 32-bit userspace to be pass elf validation release-0.9.5
Frank Ch. Eigler [Fri, 27 Mar 2009 17:01:54 +0000 (13:01 -0400)]
PR7045: on 64-bit kernels, allow 32-bit userspace to be pass elf validation

* tapsets.cxx (validate_elf): Reorganize glob matching for x86 and ppc.

15 years agoDon't do beginning of statement check for .mark probes
Stan Cox [Fri, 27 Mar 2009 16:51:22 +0000 (12:51 -0400)]
Don't do beginning of statement check for .mark probes

* tapsets.cxx (dwarf_query): Add has_mark.
(query_cu): Use for beginning of statement check.
(dwarf_builder::build): Set has_mark.

15 years agoVersion bumps for 0.9.5 release
Josh Stone [Fri, 27 Mar 2009 16:38:50 +0000 (09:38 -0700)]
Version bumps for 0.9.5 release

15 years agoPR6819: clarify syntactic vs. semantic probe point validity
Frank Ch. Eigler [Fri, 27 Mar 2009 16:15:19 +0000 (12:15 -0400)]
PR6819: clarify syntactic vs. semantic probe point validity

15 years agoinitialize skip_badvars=0. rererenag developers in session.h to do so in the future
Frank Ch. Eigler [Fri, 27 Mar 2009 16:07:49 +0000 (12:07 -0400)]
initialize skip_badvars=0.  rererenag developers in session.h to do so in the future

15 years agoPR10000: emit _stp_relocate* calculations correctly for kernel/module global $data
Frank Ch. Eigler [Fri, 27 Mar 2009 15:54:42 +0000 (11:54 -0400)]
PR10000: emit _stp_relocate* calculations correctly for kernel/module global $data

* translate.cxx (dump_unwindsyms): Also emit STT_OBJECT symbols,
  therefore .data etc. sections into stap-symbols.h.

* tapsets.cxx (iterate_over_modules): Omit a dwfl_getmodules()
  RC-checking assertion that blocked meaningful $context var
  error messages.
  (dwflpp::emit_address): Bypass dwfl_module_relocate_address()
  for kernel symbols as it has been unreliable; subtract sess.sym_stext
  manually.

* testsuite/buildok/seventeen.stp: Extend test with module $global.

15 years ago.gitignore: Add testsuite exe and so files and initscript systemtap.
Mark Wielaard [Fri, 27 Mar 2009 11:45:51 +0000 (12:45 +0100)]
.gitignore: Add testsuite exe and so files and initscript systemtap.

15 years agoAdd manual for pid-based lookup functions
Wenji Huang [Fri, 27 Mar 2009 00:24:06 +0000 (20:24 -0400)]
Add manual for pid-based lookup functions

* stapfuncs.3stap.in: Add description for pid2task
  and pid2execname.

15 years agoSkip the git-rev in the hash for now (from a5e8d632)
Josh Stone [Thu, 26 Mar 2009 21:09:43 +0000 (14:09 -0700)]
Skip the git-rev in the hash for now (from a5e8d632)

It may be potentially expensive to fork-exec a git call to get the HEAD
revision, and it's not clear whether it's even needed.  We can always
throw this back on if we find a meaningful usage scenario.

15 years agoPR10001: Use the kernel's strlcpy & strlcat
Josh Stone [Thu, 26 Mar 2009 16:20:16 +0000 (09:20 -0700)]
PR10001: Use the kernel's strlcpy & strlcat

We had our own implementations of these which were triggering gcc
bug38480 in some particular cases.  It's easier for us to use the
kernel's strlcpy and strlcat anyway, which avoids the bug.

15 years ago.gitignore: Replace .5 with .3stap.
Mark Wielaard [Thu, 26 Mar 2009 16:53:57 +0000 (17:53 +0100)]
.gitignore: Replace .5 with .3stap.

15 years agoAdd the kernel tree's git revision to the hash
Josh Stone [Thu, 26 Mar 2009 00:25:06 +0000 (17:25 -0700)]
Add the kernel tree's git revision to the hash

To better support kernel developers who work out of a single source
tree, this adds the git HEAD revision to our caching hash.

15 years agoAdd more file stats to the hash
Josh Stone [Wed, 25 Mar 2009 22:47:21 +0000 (15:47 -0700)]
Add more file stats to the hash

For kernel developers, it may be common practice to reuse the same
kernel build tree for several kernel variants.  Our previous hashing
only considered the release version, architecture, and build path, which
may all remain constant for such a developer.

This change adds the file size and mtime of several kernel version files
to the hash, so it should be a bit more robust against collisions.

15 years agoMake aux_tapset.stp "long long" size agnostic so ia64 works.
William Cohen [Wed, 25 Mar 2009 22:26:01 +0000 (18:26 -0400)]
Make aux_tapset.stp "long long" size agnostic so ia64 works.

15 years agoNEWS: Mention disable-pie, sdt.h compat, syscall wrappers and CVE-2009-0784.
Mark Wielaard [Wed, 25 Mar 2009 16:17:07 +0000 (17:17 +0100)]
NEWS: Mention disable-pie, sdt.h compat, syscall wrappers and CVE-2009-0784.

15 years agoFix for CVE-2009-0784: stapusr module-path checking race
Frank Ch. Eigler [Wed, 25 Mar 2009 14:44:55 +0000 (10:44 -0400)]
Fix for CVE-2009-0784: stapusr module-path checking race

* runtime/staprun/staprun_funcs.c (check_path): Save fully
  canonicalized and checked module path for later loading.

15 years agoUpdate configure --help message now that default is changed
Rajan Arora [Wed, 25 Mar 2009 14:33:45 +0000 (10:33 -0400)]
Update configure --help message now that default is changed
*configure.ac: Update help message for building with pie support.
*configure: Regenerate.

15 years agoNEWS: Document mark/trace list mode, interrupt reentrancy, reentrancy debug.
Mark Wielaard [Wed, 25 Mar 2009 13:09:02 +0000 (14:09 +0100)]
NEWS: Document mark/trace list mode, interrupt reentrancy, reentrancy debug.

15 years agoNEWS: Fix man 3stap description to original.
Mark Wielaard [Wed, 25 Mar 2009 12:49:24 +0000 (13:49 +0100)]
NEWS: Fix man 3stap description to original.

15 years agoNEWS: Add description of probe process().insn and process().insn.block.
Mark Wielaard [Wed, 25 Mar 2009 12:34:04 +0000 (13:34 +0100)]
NEWS: Add description of probe process().insn and process().insn.block.

15 years agoNEWS: Document how to see man pages for probes and functions in 3stap section.
Mark Wielaard [Wed, 25 Mar 2009 10:33:56 +0000 (11:33 +0100)]
NEWS: Document how to see man pages for probes and functions in 3stap section.

15 years agoPR 9922 fix, make --disable-pie the configure default
Rajan Arora [Wed, 25 Mar 2009 02:30:37 +0000 (22:30 -0400)]
PR 9922 fix, make --disable-pie the configure default

*configure.ac: Change the default to compiling without fPIE.
*systemtap.spec: Add --enable-pie as the default option (set
pie_supported to 1).
*configure: Regenerated with autoconf 2.61.

15 years agobrown paper bag fix for commit 5d6b0142
Frank Ch. Eigler [Tue, 24 Mar 2009 23:14:57 +0000 (19:14 -0400)]
brown paper bag fix for commit 5d6b0142

return != break

15 years agoTypo and whitespace.
Roland McGrath [Tue, 24 Mar 2009 22:43:25 +0000 (15:43 -0700)]
Typo and whitespace.

15 years agofurther accelerate pass-3 symbol/unwind process, skip one more iteration
Frank Ch. Eigler [Tue, 24 Mar 2009 20:41:31 +0000 (16:41 -0400)]
further accelerate pass-3 symbol/unwind process, skip one more iteration

15 years agoAdd testcase for uprobe on shared library (PR9940).
Mark Wielaard [Tue, 24 Mar 2009 20:37:30 +0000 (21:37 +0100)]
Add testcase for uprobe on shared library (PR9940).

* testsuite/systemtap.base/uprobes_exe.c: New file.
* testsuite/systemtap.base/uprobes_lib.c: New file.
* testsuite/systemtap.base/uprobes_lib.exp: New file.
* testsuite/systemtap.base/uprobes_lib.stp: New file.

15 years agoRemove debugging line.
Stan Cox [Tue, 24 Mar 2009 20:13:18 +0000 (16:13 -0400)]
Remove debugging line.

* dtrace: Remove debugging line.

15 years agoRemove debugging line.
Stan Cox [Tue, 24 Mar 2009 20:11:55 +0000 (16:11 -0400)]
Remove debugging line.

* dtrace:  Remove debugging line.

15 years agoRevert "PR9940: avoid duplicated calling of uprobes in shared libraries"
Frank Ch. Eigler [Tue, 24 Mar 2009 19:55:26 +0000 (15:55 -0400)]
Revert "PR9940: avoid duplicated calling of uprobes in shared libraries"

This fix caused a regression on fedora.

stap -ve 'probe process("/bin/ls").function("main") { log(pp()); }
          probe process("/lib64/libc.so.6").function("*") { log(pp()); }' \
     -c /bin/ls

hung (with stapio & ls processes spinning) upon startup.

15 years agoitrace: zap "usr_itrace_init: completed for tid = NNNN" debug message
Frank Ch. Eigler [Tue, 24 Mar 2009 19:48:56 +0000 (15:48 -0400)]
itrace: zap "usr_itrace_init: completed for tid = NNNN" debug message

15 years agoPR 9989 fix.
David Smith [Tue, 24 Mar 2009 19:43:08 +0000 (14:43 -0500)]
PR 9989 fix.
2009-03-24  David Smith  <dsmith@redhat.com>

PR 9989.
* runtime/task_finder.c (stap_utrace_detach): Ignores
-EINPROGRESS.
(stap_utrace_detach_ops): Ignores errors from
stap_utrace_detach(), so that other tasks will get detached from
this utrace engine.
(__stp_utrace_attach): Better error handling from
utrace_barrier().
(__stp_utrace_task_finder_target_quiesce): Ditto.

15 years agoaccelerate pass-3 symbol/unwind generation
Frank Ch. Eigler [Tue, 24 Mar 2009 19:15:10 +0000 (15:15 -0400)]
accelerate pass-3 symbol/unwind generation

* translate.cxx (emit_symbol_data): Abort dwfl_getmodules loop
  as soon as we run out of modules we're looking for.

15 years agobuild fix for RHEL4-era gcc 3.4.6
Frank Ch. Eigler [Tue, 24 Mar 2009 19:11:33 +0000 (15:11 -0400)]
build fix for RHEL4-era gcc 3.4.6

* tapsets.cxx (stringhash): Go to __gnu_cxx.
  (dwarf_cast_expanding_visitor::visit_cast_op): Use ~0 for all-ones.

15 years agoUse read operand "g" constraints.
Stan Cox [Tue, 24 Mar 2009 18:06:36 +0000 (14:06 -0400)]
Use read operand "g" constraints.

* includes/sdt.h (STAP_PROBEN): Use R "g" instead of RW "+rm" which
can result in "read-only variable arg1 used as asm output"

15 years agoAdd NEWS entry for the manpages.
William Cohen [Tue, 24 Mar 2009 17:14:12 +0000 (13:14 -0400)]
Add NEWS entry for the manpages.

15 years agoStrip off "probe" for the probe documentation generation.
William Cohen [Tue, 24 Mar 2009 17:03:54 +0000 (13:03 -0400)]
Strip off "probe" for the probe documentation generation.

15 years agoPR9993: tracepoint toleration for undeclared types in trace/*.h headers
Frank Ch. Eigler [Tue, 24 Mar 2009 16:53:17 +0000 (12:53 -0400)]
PR9993: tracepoint toleration for undeclared types in trace/*.h headers

* tapsets.cxx (tracepoint_extra_headers): New function to return
  needed header file names.
  (emit_module_decls): Emit them.
* buildrun.cxx (make_tracequery): Emit them.
* testsuite/systemtap.base/tracepoints.exp: Rewrite to exercise
  building each tracepoint.

15 years agoKeep static probe parameters visible while inlining.
Stan Cox [Tue, 24 Mar 2009 16:40:05 +0000 (12:40 -0400)]
Keep static probe parameters visible while inlining.

* includes/sys/sdt.h (STAP_PROBEN):  Revive the STAP_LABEL macro to
prevent inlining to keep probe parameters visible.  Use +rm
constraints.
* tapsets.cxx (build): Use .probes section for all uses of static
probes.

15 years agoMove man pages from man5 to man3 (3stap).
Will Cohen [Tue, 24 Mar 2009 16:01:52 +0000 (12:01 -0400)]
Move man pages from man5 to man3 (3stap).

15 years agoMove tapset documentation manpages from man3stap to man3.
William Cohen [Tue, 24 Mar 2009 15:16:38 +0000 (11:16 -0400)]
Move tapset documentation manpages from man3stap to man3.

15 years agoAdd missing escape in kernel-doc create_sparameterlist() matching.
William Cohen [Mon, 23 Mar 2009 15:16:13 +0000 (11:16 -0400)]
Add missing escape in kernel-doc create_sparameterlist() matching.

15 years agoMake .probes 32 bit aware and simplify label handling.
Stan Cox [Mon, 23 Mar 2009 14:10:03 +0000 (10:10 -0400)]
Make .probes 32 bit aware and simplify label handling.

* includes/sys/sdt.h (STAP_PROBE_DATA_): Use gas local labels which
avoids a mysql problem when a function containing a probe is inlined.
Make the data placement 32 bit aware.

15 years agoPR9974: adapt to utrace_connected_engine -> utrace_engine
Frank Ch. Eigler [Sun, 22 Mar 2009 15:20:23 +0000 (11:20 -0400)]
PR9974: adapt to utrace_connected_engine -> utrace_engine

Adjusted all headers that #include <linux/utrace.h> to follow with:

/* PR9974: Adapt to struct renaming. */

15 years agosdt.exp: save intermediate sdt.h-client executables for analysis
Frank Ch. Eigler [Sat, 21 Mar 2009 12:39:57 +0000 (08:39 -0400)]
sdt.exp: save intermediate sdt.h-client executables for analysis

* testsuite/lib/stap_run2.exp (stap_run3): Put supplied stap
  extra arguments after the .stp script name, not before, so
  that @1/such arguments can be substituted within.

15 years agoUpdate a few new AUTHORS
Josh Stone [Sat, 21 Mar 2009 00:51:47 +0000 (17:51 -0700)]
Update a few new AUTHORS

15 years agoAdd a tracepoint NEWS blurb
Josh Stone [Sat, 21 Mar 2009 00:49:32 +0000 (17:49 -0700)]
Add a tracepoint NEWS blurb

15 years agoDocument @cast module search paths
Josh Stone [Sat, 21 Mar 2009 00:12:15 +0000 (17:12 -0700)]
Document @cast module search paths

15 years agoCache the tracepoint query results
Josh Stone [Fri, 20 Mar 2009 23:35:06 +0000 (16:35 -0700)]
Cache the tracepoint query results

To use tracepoints, we build a "tracequery" module that compiles
debuginfo for all available tracepoints in the user's kernel.  That's a
bit of a cumbersome step to do during pass-2 though.  This change adds
tracequery caching so we only need to compile it once.

15 years agosupport tracepoint extraction for kernel build trees built with O=/path
Frank Ch. Eigler [Fri, 20 Mar 2009 23:26:58 +0000 (19:26 -0400)]
support tracepoint extraction for kernel build trees built with O=/path

* buildrun.cxx (make_tracequery): Also search source/include/trace/*.h.

15 years agofix build regression w/o -t
Frank Ch. Eigler [Fri, 20 Mar 2009 23:13:45 +0000 (19:13 -0400)]
fix build regression w/o -t

* translate.cxx (emit_common_header): Always emit atomic_t skipped_* counters.

15 years agoDefine static user probe point using asm instead of c.
Stan Cox [Fri, 20 Mar 2009 20:36:25 +0000 (16:36 -0400)]
Define static user probe point using asm instead of c.

15 years agoDefine static user probe point using asm instead of c.
Stan Cox [Fri, 20 Mar 2009 20:30:19 +0000 (16:30 -0400)]
Define static user probe point using asm instead of c.

* includes/sys/sdt.h (STAP_PROBE_DATA): New.  Define the probe point
using asm instead of c.
(STAP_PROBEN): Use it.
* testsuite/systemtap.base/sdt.exp: Continue if a compile fails.
* testsuite/systemtap.base/static_uprobes.exp: Don't test setting
probe without .probes section.

15 years agoPR9967: don't count -DINTERRUPTIBLE=1 reentrancy against MAXSKIPPED
Frank Ch. Eigler [Fri, 20 Mar 2009 20:30:02 +0000 (16:30 -0400)]
PR9967: don't count -DINTERRUPTIBLE=1 reentrancy against MAXSKIPPED

* tapsets.cxx (common_probe_entryfn_prologue): Become conditional on
  !INTERRUPTIBLE.
* translate.cxx (emit_module_exit): Still print skipped_count_reentrant
  with -t, even if skipped_count was zero.

15 years agotweak NEWS blurb wording on --skip-badvars
Frank Ch. Eigler [Fri, 20 Mar 2009 19:50:00 +0000 (15:50 -0400)]
tweak NEWS blurb wording on --skip-badvars

15 years agoMerge branch 'master' of ssh://hiramatu@sources.redhat.com/git/systemtap
Masami Hiramatsu [Fri, 20 Mar 2009 17:43:45 +0000 (13:43 -0400)]
Merge branch 'master' of ssh://hiramatu@sources.redhat.com/git/systemtap

15 years agoPR9821: staprun supports subset of strftime.
Masami Hiramatsu [Fri, 20 Mar 2009 17:38:29 +0000 (13:38 -0400)]
PR9821: staprun supports subset of strftime.

Add strftime subset format support for output file name to systemtap.
This format will be evaluated when opening a new output file.

15 years agoPR6930: initscript: support on-file flight recorder
Masami Hiramatsu [Fri, 20 Mar 2009 17:33:34 +0000 (13:33 -0400)]
PR6930: initscript: support on-file flight recorder

Modify systemtap initscript to support on-file flight recoder
options.

15 years agoPR6930: stap: supports on-file flight recorder options
Masami Hiramatsu [Fri, 20 Mar 2009 17:31:18 +0000 (13:31 -0400)]
PR6930: stap: supports on-file flight recorder options

Add on-file flight recorder options (the combination of -F and -o,
and -S option) to stap command, and change manpages and NEWS.
 - Both of -F and -o is specified, stap passes -D option to staprun.
 - stap just passes -S option to staprun.

15 years agoPR6930: stapio: support file switching
Masami Hiramatsu [Fri, 20 Mar 2009 16:11:30 +0000 (12:11 -0400)]
PR6930: stapio: support file switching

Add file-switching option(-S size[,N]) to stapio. This option has two
arguments, 'size' and 'N', and requires -o option.

- When the size of output file exceeds specified 'size'MB, staprun switches
 output file to the next file. For this purpose, all output file has a serial
 number as a suffix only when user specifies this option.

- Using this option in bulk mode, the output file name will be
 'FILE_cpuX.SERIAL'.

- When the number of files exceeds specified N, staprun removes the oldest
 file. This argument can be omitted.

15 years agoremoved authorblock from tapset reference guide; added ip.stp to template
Frank Ch. Eigler [Fri, 20 Mar 2009 15:41:02 +0000 (11:41 -0400)]
removed authorblock from tapset reference guide; added ip.stp to template

15 years agoAdded functions to grab IP source and destination from a socket, and
Breno Leitao [Fri, 20 Mar 2009 15:40:04 +0000 (11:40 -0400)]
Added functions to grab IP source and destination from a socket, and
functions to grab TCP source and destination port from a socket.

Also, used this function inside some TCP probe functions, as recvmsg,
to provide a richer set of fields.

15 years agoPR6930: stapio: run in background as a daemon
Masami Hiramatsu [Fri, 20 Mar 2009 15:59:06 +0000 (11:59 -0400)]
PR6930: stapio: run in background as a daemon

Add '-D'(daemon mode) option to staprun/stapio for daemon mode.
In this mode, stapio shows just its pid and detachs from console.
Since it has no stdio, this mode requires -o option. stapio will
exit when it receives SIGTERM or detects some error.

15 years agoPR6930: staprun: supports error message to syslog
Masami Hiramatsu [Fri, 20 Mar 2009 15:54:15 +0000 (11:54 -0400)]
PR6930: staprun: supports error message to syslog

Add an interface (eprintf) to output error messages to syslogd,
because staprun has no stderr after detaching from console.

15 years agoRemoved #if defined. Format '%llx' works fine for all Arch
Mahesh J Salgaonkar [Fri, 20 Mar 2009 05:34:47 +0000 (11:04 +0530)]
Removed #if defined. Format '%llx' works fine for all Arch

15 years agoPR9940: avoid duplicated calling of uprobes in shared libraries
Wenji Huang [Wed, 18 Mar 2009 15:17:25 +0000 (11:17 -0400)]
PR9940: avoid duplicated calling of uprobes in shared libraries

Add map_p argument to __stp_call_vm_callbacks_with_vma to well
tune the vma callback.

Signed-off-by: Wenji Huang <wenji.huang@oracle.com>
15 years agoPR9960: support tracepoint struct/union value arg
Josh Stone [Thu, 19 Mar 2009 23:23:02 +0000 (16:23 -0700)]
PR9960: support tracepoint struct/union value arg

If a tracepoint arg is a structure or union that is passed by value,
then this takes the address of the parameter so it can be used like a
pointer in the rest of our code.

15 years agoAllow @cast on "struct " and "union " (by ignoring them).
Mark Wielaard [Thu, 19 Mar 2009 21:59:57 +0000 (22:59 +0100)]
Allow @cast on "struct " and "union " (by ignoring them).

* parse.cxx (parser::parse_symbol): Strip off "struct " or "union "
  from cop->type.

15 years agoThrow type into semantic_error message of @cast when not found.
Mark Wielaard [Thu, 19 Mar 2009 21:22:25 +0000 (22:22 +0100)]
Throw type into semantic_error message of @cast when not found.

* tapsets.cxx (dwarf_cast_expanding_visitor::visit_cast_op):
  Add type to msg added to semantic_error when thrown.

15 years agoDisable kprobe blacklist in guru mode.
Lubomir Rintel [Thu, 19 Mar 2009 17:02:19 +0000 (13:02 -0400)]
Disable kprobe blacklist in guru mode.

15 years agoBZ490802, remove bumpspec-unfriendly %{release} macro logic
Frank Ch. Eigler [Thu, 19 Mar 2009 16:31:54 +0000 (12:31 -0400)]
BZ490802, remove bumpspec-unfriendly %{release} macro logic

15 years agorename process().itrace -> process().insn introduce process().insn.block
Frank Ch. Eigler [Thu, 19 Mar 2009 15:32:48 +0000 (11:32 -0400)]
rename process().itrace -> process().insn introduce process().insn.block

15 years agostart of rhel5 compatibility for itrace
Frank Ch. Eigler [Thu, 19 Mar 2009 15:28:04 +0000 (11:28 -0400)]
start of rhel5 compatibility for itrace

15 years agoadd runtime/autoconf magic for itrace on pre-find_task_by_vpid kernels
Frank Ch. Eigler [Thu, 19 Mar 2009 15:27:19 +0000 (11:27 -0400)]
add runtime/autoconf magic for itrace on pre-find_task_by_vpid kernels

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
William Cohen [Thu, 19 Mar 2009 14:42:02 +0000 (10:42 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoOnly include man3stap pages if documentation built.
William Cohen [Thu, 19 Mar 2009 14:38:33 +0000 (10:38 -0400)]
Only include man3stap pages if documentation built.

15 years agoPR9959: hide tracepoint arguments of unknown type
Josh Stone [Thu, 19 Mar 2009 03:05:56 +0000 (20:05 -0700)]
PR9959: hide tracepoint arguments of unknown type

We always have to know the type name of tracepoint arguments, so we can
declare the right function callback, but we can suppress access to those
types which we don't (yet) know how to read.

15 years agoPR9959: improve tracepoint arg type-naming
Josh Stone [Thu, 19 Mar 2009 02:04:54 +0000 (19:04 -0700)]
PR9959: improve tracepoint arg type-naming

dwarf_type_name now works with more argument types.  There were
three cases that I needed to improve:

- For "const struct foo*", the debuginfo has a const-DIE named "foo"
  chained to a struct-DIE named "foo", so we can't assume that seeing a
  name means we're down to the base type.  The recursion now decends
  until it explicitly sees a base_type, typedef, struct, or union.

- For "void*", the debuginfo has a pointer-DIE without any DW_AT_type
  after.  Now I'm just catching that failed lookup and writing in
  "void".

- For "va_list", the debuginfo actually resolves to an internal type
  "struct __va_list_tag*", but that struct has no declaration at the
  source level.  I'm just hacking that exact case to say "va_list"
  instead, but it would be nice to find something cleaner...

We'll probably still have problems if any tracepoint uses a function-
pointer argument, but so far I've only seen that as a "void*", which we
now handle ok.

15 years agoSupport tracepoints with no arguments
Josh Stone [Thu, 19 Mar 2009 01:51:17 +0000 (18:51 -0700)]
Support tracepoints with no arguments

LTTng has a few tracepoints without any arguments, which caused our
compile to fail, claiming that our entry function was not a declaration.
This just adds an explicit (void) argument list for that case.

15 years agoAdjust systemtap.spec to include the relocated man pages (PR980).
William Cohen [Wed, 18 Mar 2009 20:56:07 +0000 (16:56 -0400)]
Adjust systemtap.spec to include the relocated man pages (PR980).

15 years agoPut man pages from tapset in 3stap (PR9870).
William Cohen [Wed, 18 Mar 2009 20:19:33 +0000 (16:19 -0400)]
Put man pages from tapset in 3stap (PR9870).

15 years agoMake manpager.sh executable.
William Cohen [Wed, 18 Mar 2009 18:47:36 +0000 (14:47 -0400)]
Make manpager.sh executable.

15 years agoFix for spinlock bad magic error with itrace probe point
Maynard Johnson [Wed, 18 Mar 2009 17:59:33 +0000 (12:59 -0500)]
Fix for spinlock bad magic error with itrace probe point

15 years agoDon't mutex_unlock in __stp_tf_get_vma_map_entry_internal.
Mark Wielaard [Wed, 18 Mar 2009 10:42:53 +0000 (11:42 +0100)]
Don't mutex_unlock in __stp_tf_get_vma_map_entry_internal.

All callers of __stp_tf_get_vma_map_entry_internal lock and unlock
the mutex correctly themselves in all cases. This unlock would trigger
a double unlock.

* runtime/task_finder_vma.c (__stp_tf_get_vma_map_entry_internal):
  Don't mutex_unlock(&__stp_tf_vma_mutex).

15 years agominor edit
ddomingo [Wed, 18 Mar 2009 05:45:23 +0000 (15:45 +1000)]
minor edit

15 years agominor edits
ddomingo [Wed, 18 Mar 2009 05:29:19 +0000 (15:29 +1000)]
minor edits

15 years agofinal copy, for review
ddomingo [Wed, 18 Mar 2009 05:29:03 +0000 (15:29 +1000)]
final copy, for review

15 years agoReplace systemtap.samples/ioblocktest.stp with ioblktime.stp.
William Cohen [Tue, 17 Mar 2009 20:45:30 +0000 (16:45 -0400)]
Replace systemtap.samples/ioblocktest.stp with ioblktime.stp.

15 years agoImprove static_uprobes.exp
Stan Cox [Tue, 17 Mar 2009 15:38:08 +0000 (11:38 -0400)]
Improve static_uprobes.exp

* systemtap.base/static_uprobes.exp: Compile with -x c++.  Test .probes absence.

15 years agoGet the canonical path of the main file for comparison at runtime.
Mark Wielaard [Tue, 17 Mar 2009 12:50:33 +0000 (13:50 +0100)]
Get the canonical path of the main file for comparison at runtime.

When given directly by the user through -d or in case of the kernel
name and path might differ. path should be used for matching.

* runtime/sym.h (_stp_module): Add path field.
* runtime/task_finder.c (__stp_tf_vm_cb): Use module path to compare vm_path.
* translate.cxx (dump_unwindsyms): Output canonical path.

15 years agoRemove trailing 'g' from scsi.stp file.
Mark Wielaard [Tue, 17 Mar 2009 11:50:43 +0000 (12:50 +0100)]
Remove trailing 'g' from scsi.stp file.

* tapset/scsi.stp: Remove 'g' at end of file.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
ddomingo [Tue, 17 Mar 2009 05:31:54 +0000 (15:31 +1000)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agominor edits
ddomingo [Tue, 17 Mar 2009 05:28:43 +0000 (15:28 +1000)]
minor edits

15 years agoworking copy, still existing issues with Description headers, will work on it tom
ddomingo [Tue, 17 Mar 2009 05:28:38 +0000 (15:28 +1000)]
working copy, still existing issues with Description headers, will work on it tom

15 years agominor edits
ddomingo [Tue, 17 Mar 2009 05:14:30 +0000 (15:14 +1000)]
minor edits

15 years agominor edits
ddomingo [Tue, 17 Mar 2009 05:13:23 +0000 (15:13 +1000)]
minor edits

15 years agoworking copy
ddomingo [Tue, 17 Mar 2009 04:43:19 +0000 (14:43 +1000)]
working copy

15 years agofurther cleanup for formatting
ddomingo [Tue, 17 Mar 2009 03:56:21 +0000 (13:56 +1000)]
further cleanup for formatting

15 years agofurther cleanup for formatting
ddomingo [Tue, 17 Mar 2009 03:48:08 +0000 (13:48 +1000)]
further cleanup for formatting

15 years agominor edits
ddomingo [Tue, 17 Mar 2009 03:42:34 +0000 (13:42 +1000)]
minor edits

15 years agominor edits
ddomingo [Tue, 17 Mar 2009 03:42:14 +0000 (13:42 +1000)]
minor edits

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