]> sourceware.org Git - systemtap.git/log
systemtap.git
15 years agoMerge branch 'master' of git://sources.redhat.com/git/systemtap
Dave Brolley [Mon, 11 May 2009 18:23:59 +0000 (14:23 -0400)]
Merge branch 'master' of git://sources.redhat.com/git/systemtap

Conflicts:

tapsets.cxx

15 years agoGet .probes section through dwarf debuginfo file if necessary.
Mark Wielaard [Sun, 10 May 2009 18:24:40 +0000 (20:24 +0200)]
Get .probes section through dwarf debuginfo file if necessary.

* tapsets.cxx (dwarf_builder::build): Add some comments, verbose log
  messages and get Elf through dwarf_getelf if it exists before searching
  for .probes section.

15 years agoAllow @cast failures to get optimized away
Josh Stone [Sat, 9 May 2009 02:30:42 +0000 (19:30 -0700)]
Allow @cast failures to get optimized away

We have the saved_conversion_error field, but I wasn't using it.  Now
@cast errors are saved in that field, so they're only seen if the
optimizer doesn't remove the @cast.

15 years agoPR10054: Unify the translate_components errors
Josh Stone [Sat, 9 May 2009 01:32:17 +0000 (18:32 -0700)]
PR10054: Unify the translate_components errors

Since translate_components is the one that knows the details of its
failures, it makes more sense to let it throw its own errors, instead of
relying on each caller to do it.  The function now always either returns
successfully or throws an error.

15 years agoRefactor anonymous lookups in translate_components
Josh Stone [Sat, 9 May 2009 00:50:28 +0000 (17:50 -0700)]
Refactor anonymous lookups in translate_components

The previous code recursed the entirety of translate_components, and
it seemed to be restarting the components list every time, so it would
only work if the anonymous portion was the first component.  Even then,
examining the code output by semok/thirtythree revealed that it wasn't
fully translating the locations when multiple anonymous pieces were
involved.

Instead, it now recurses in a separate function, find_struct_member,
which does just enough to find the member die and return.  It also
builds a vector of the locations passed through, so translate_components
can output code for the full chain of anonymity.

The generated code for semok/thirtythree's $page->mapping now appears to
match the offsets from my manual inspection of struct page.  I also
added a test for $page->first_page->mapping, which works now but would
segfault the old code.

15 years agoDon't attempt NSS if the module failed to build
Josh Stone [Fri, 8 May 2009 20:14:49 +0000 (13:14 -0700)]
Don't attempt NSS if the module failed to build

15 years agoSimplify buildok/context_test.stp
Josh Stone [Fri, 8 May 2009 19:40:43 +0000 (12:40 -0700)]
Simplify buildok/context_test.stp

The test was using optional probes on uptime_read_proc, which doesn't
exist anymore on 2.6.30.  The problem is that when those optional probes
are skipped, the test doesn't really do anything.

For a buildok test of the context functions, the actual probe point
doesn't matter, so I've changed it to just a begin probe that calls all
of the functions.

15 years agoAUTHORS bump for Malte Nuhn
Josh Stone [Fri, 8 May 2009 19:07:13 +0000 (12:07 -0700)]
AUTHORS bump for Malte Nuhn

15 years agocontext tapset: sid() function to return task session leader pid
Malte Nuhn [Fri, 8 May 2009 16:20:33 +0000 (12:20 -0400)]
context tapset: sid() function to return task session leader pid

15 years agoCheck whether certutil as provided by nss-tools is installed.
Mark Wielaard [Fri, 8 May 2009 09:42:24 +0000 (11:42 +0200)]
Check whether certutil as provided by nss-tools is installed.

* configure.ac: Add check for certuril, don't build nss stap server when
  not found.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
* doc/SystemTap_Tapset_Reference/Makefile.in: Likewise.
* grapher/Makefile.in: Likewise.

15 years agoSearch for only under $(SRCDIR)/tapsets for tapsets.xml and cleanup.
Mark Wielaard [Fri, 8 May 2009 08:30:41 +0000 (10:30 +0200)]
Search for only under $(SRCDIR)/tapsets for tapsets.xml and cleanup.

* doc/SystemTap_Tapset_Reference/Makefile.am (tapsets.xml): Only search
  under $(SRCDIR)/tapsets for .stp files. Cleanup tapsets.xml.new.
* doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated.

15 years agoremoved unnecessary perl statements
ddomingo [Fri, 8 May 2009 03:25:42 +0000 (13:25 +1000)]
removed unnecessary perl statements

15 years agomoves starthere tag higher to remove more content preventing publican build
ddomingo [Fri, 8 May 2009 03:25:36 +0000 (13:25 +1000)]
moves starthere tag higher to remove more content preventing publican build

15 years agoMerge branch 'tapsets-cleanup'
Josh Stone [Fri, 8 May 2009 02:06:52 +0000 (19:06 -0700)]
Merge branch 'tapsets-cleanup'

This merge splits some of the built-in tapsets into their own files, so
we can better maintain clean interfaces.  Still TODO are the dwarf-
dependent tapsets though, because that's a much bigger mess to untangle.

15 years agoDon't print out the commands.
William Cohen [Fri, 8 May 2009 01:52:28 +0000 (21:52 -0400)]
Don't print out the commands.

15 years agoCorrect TMPFILE and TMPFILE2 file names.
William Cohen [Fri, 8 May 2009 01:50:39 +0000 (21:50 -0400)]
Correct TMPFILE and TMPFILE2 file names.

15 years agoSeparate the utrace tapset
Josh Stone [Thu, 7 May 2009 23:41:16 +0000 (16:41 -0700)]
Separate the utrace tapset

15 years agoSeparate task_finder and the itrace tapset
Josh Stone [Thu, 7 May 2009 23:17:11 +0000 (16:17 -0700)]
Separate task_finder and the itrace tapset

15 years agoSeparate the kernel.mark tapset
Josh Stone [Thu, 7 May 2009 22:15:29 +0000 (15:15 -0700)]
Separate the kernel.mark tapset

15 years agoSeparate the permon tapset
Josh Stone [Thu, 7 May 2009 21:49:08 +0000 (14:49 -0700)]
Separate the permon tapset

15 years agoGroup all kprobe_derived_FOO together
Josh Stone [Thu, 7 May 2009 18:44:13 +0000 (11:44 -0700)]
Group all kprobe_derived_FOO together

15 years agoRestrict unprivileged users to begin,end,error and never probes (for now).
Dave Brolley [Thu, 7 May 2009 16:16:57 +0000 (12:16 -0400)]
Restrict unprivileged users to begin,end,error and never probes (for now).

15 years agofix permissions of some testsuite files
Frank Ch. Eigler [Thu, 7 May 2009 15:24:04 +0000 (11:24 -0400)]
fix permissions of some testsuite files

Reported-By: Petr Muller <pmuller@redhat.com>
15 years agoMerge branch 'master' of git://sources.redhat.com/git/systemtap
Dave Brolley [Thu, 7 May 2009 15:13:18 +0000 (11:13 -0400)]
Merge branch 'master' of git://sources.redhat.com/git/systemtap

15 years agoadded tcpdumplike.stp to Network for Fedora build only
ddomingo [Thu, 7 May 2009 06:02:51 +0000 (16:02 +1000)]
added tcpdumplike.stp to Network for Fedora build only

15 years agoSeparate the procfs tapset
Josh Stone [Thu, 7 May 2009 01:52:46 +0000 (18:52 -0700)]
Separate the procfs tapset

15 years agoUse a single entry function for begin/end/error
Josh Stone [Thu, 7 May 2009 01:26:45 +0000 (18:26 -0700)]
Use a single entry function for begin/end/error

15 years agoSeparate the begin/end/error/never tapsets
Josh Stone [Thu, 7 May 2009 00:40:36 +0000 (17:40 -0700)]
Separate the begin/end/error/never tapsets

15 years agoMerge profile_builder into timer_builder
Josh Stone [Wed, 6 May 2009 23:53:10 +0000 (16:53 -0700)]
Merge profile_builder into timer_builder

15 years agoSeparate built-in timer tapsets
Josh Stone [Wed, 6 May 2009 23:43:51 +0000 (16:43 -0700)]
Separate built-in timer tapsets

All of the timer.* tapsets are now built and handled in their own
tapset-timers.cxx, as the first step of many to pare down the current
monolithic tapsets.cxx.

15 years agoMerge branch 'master' of git://sources.redhat.com/git/systemtap
Dave Brolley [Wed, 6 May 2009 19:14:52 +0000 (15:14 -0400)]
Merge branch 'master' of git://sources.redhat.com/git/systemtap

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Wed, 6 May 2009 17:53:44 +0000 (13:53 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoProblems using server scripts when not on PATH.
Dave Brolley [Wed, 6 May 2009 17:52:52 +0000 (13:52 -0400)]
Problems using server scripts when not on PATH.
HAVE_NSS related compile time warning.

15 years agoRun autoreconf
Eugeniy Meshcheryakov [Wed, 6 May 2009 15:58:44 +0000 (17:58 +0200)]
Run autoreconf

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 agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Wed, 6 May 2009 15:19:32 +0000 (11:19 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoReplace entire default path for stap_exec_prefix.
Dave Brolley [Wed, 6 May 2009 15:19:04 +0000 (11:19 -0400)]
Replace entire default path for stap_exec_prefix.

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 agoTypo in invocation of stap-start-server
Dave Brolley [Tue, 5 May 2009 22:22:40 +0000 (18:22 -0400)]
Typo in invocation of stap-start-server

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 agoMerge branch 'master' of git://sources.redhat.com/git/systemtap
Dave Brolley [Tue, 5 May 2009 19:16:02 +0000 (15:16 -0400)]
Merge branch 'master' of git://sources.redhat.com/git/systemtap

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 agoAdd stap-authorize-cert to stap-client
Dave Brolley [Tue, 5 May 2009 18:05:50 +0000 (14:05 -0400)]
Add stap-authorize-cert to stap-client

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

Conflicts:

modsign.cxx
runtime/staprun/modverify.c
runtime/staprun/staprun_funcs.c
stap-authorize-server-cert
stap-authorize-signing-cert
stap-serverd
systemtap.spec

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 agoMerge branch 'master' of git://sources.redhat.com/git/systemtap
Dave Brolley [Thu, 30 Apr 2009 15:45:09 +0000 (11:45 -0400)]
Merge branch 'master' of git://sources.redhat.com/git/systemtap

15 years ago2009-04-30 Dave Brolley <brolley@redhat.com>
Dave Brolley [Thu, 30 Apr 2009 15:44:13 +0000 (11:44 -0400)]
2009-04-30  Dave Brolley  <brolley@redhat.com>

        * modsign.cxx (unistd.h,sts/stat.h,systypes.h,pwd.h): #include them.
        (check_cert_file_permissions, check_db_file_permissions)
        (check_cert_db_permissions): New functions.
        (check_cert_db_path): Don't check for keyFiles.
        * main.cxx (usage): Remove --signing-cert option.
        (main): Likewise.
        * cache.cxx (cassert): #include it.
        (add_to_cache): Assume the module is signed.
        * buildrun.cxx (compile_pass): Always sign the module.
        * stap-server.8.in: Update documentation.

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 agoUpdate certificate file name.
Dave Brolley [Tue, 28 Apr 2009 15:46:12 +0000 (11:46 -0400)]
Update certificate file name.

15 years agoKeep the user's stap certificate in stap.cert (was stap-server.cert). Rename
Dave Brolley [Tue, 28 Apr 2009 15:43:05 +0000 (11:43 -0400)]
Keep the user's stap certificate in stap.cert (was stap-server.cert). Rename
the old cert file to the new name when it is encountered.

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 agoMerge branch 'master' of git://sources.redhat.com/git/systemtap
Dave Brolley [Mon, 27 Apr 2009 15:56:15 +0000 (11:56 -0400)]
Merge branch 'master' of git://sources.redhat.com/git/systemtap

Conflicts:

configure
testsuite/configure

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

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