]> sourceware.org Git - systemtap.git/log
systemtap.git
16 years ago2008-02-01 Martin Hunt <hunt@redhat.com>
hunt [Fri, 1 Feb 2008 19:06:02 +0000 (19:06 +0000)]
2008-02-01  Martin Hunt  <hunt@redhat.com>
PR4736
* systemtap.printf/stap_merge.tcl: Copied here so
it will always be available.

16 years ago2008-01-31 Will Cohen <wcohen@redhat.com>
wcohen [Thu, 31 Jan 2008 20:58:30 +0000 (20:58 +0000)]
2008-01-31  Will Cohen <wcohen@redhat.com>

* systemtap.pass1-4/buildok.exp: Add some kfails.

16 years agoPR5483 add changelog entry
fche [Thu, 31 Jan 2008 02:41:50 +0000 (02:41 +0000)]
PR5483 add changelog entry

16 years ago2008-01-30 David Smith <dsmith@redhat.com>
dsmith [Wed, 30 Jan 2008 22:55:53 +0000 (22:55 +0000)]
2008-01-30  David Smith  <dsmith@redhat.com>

        PR 5650
        * systemtap.spec.in: Simplified and explicitly specifies configure
        options.

16 years agoupdate copyright year in -v message too
fche [Wed, 30 Jan 2008 17:23:24 +0000 (17:23 +0000)]
update copyright year in -v message too

16 years ago2008-01-30 Dave Brolley <brolley@redhat.com>
brolley [Wed, 30 Jan 2008 16:17:00 +0000 (16:17 +0000)]
2008-01-30  Dave Brolley  <brolley@redhat.com>

        * coveragedb.cxx (print_coverage_info): Fix typo: s.probes -> s.unused_probes
        where appropriate.
        (sql_update_unused_probes): Likewise.

16 years ago2008-01-29 Martin Hunt <hunt@redhat.com>
hunt [Wed, 30 Jan 2008 00:45:45 +0000 (00:45 +0000)]
2008-01-29  Martin Hunt  <hunt@redhat.com>

* io.c (_stp_vlog): Use get_cpu() instead
of smp_processor_id() because this function can get
called with interrupts enabled.

16 years ago2008-01-29 Martin Hunt <hunt@redhat.com>
hunt [Wed, 30 Jan 2008 00:43:22 +0000 (00:43 +0000)]
2008-01-29  Martin Hunt  <hunt@redhat.com>

* alloc.c (struct _stp_malloc_type): Remove
redundant field.

16 years agoimprove nettop.stp sample to minimize contention / skipped probes
fche [Tue, 29 Jan 2008 19:49:10 +0000 (19:49 +0000)]
improve nettop.stp sample to minimize contention / skipped probes

2008-01-29  Frank Ch. Eigler  <fche@elastic.org>

* nettop.stp: Reorganize array usage to minimize contention.

16 years agodummy
fche [Tue, 29 Jan 2008 16:50:31 +0000 (16:50 +0000)]
dummy

16 years agoAllow "make clean" to succeed even if root-owned .systemtap/cache/* files exist.
fche [Tue, 29 Jan 2008 15:41:11 +0000 (15:41 +0000)]
Allow "make clean" to succeed even if root-owned .systemtap/cache/* files exist.

2008-01-29  Frank Ch. Eigler  <fche@elastic.org>

* Makefile.am (clean-local): Allow "rm -rf" to fail due to
root-owned .ko files in the local cache.
* Makefile.in: Regenerated.

16 years agoPR5647: build with -fstack-protector-all by default
fche [Tue, 29 Jan 2008 15:36:16 +0000 (15:36 +0000)]
PR5647: build with -fstack-protector-all by default

2008-01-29  Frank Ch. Eigler  <fche@elastic.org>

PR 5647
* configure.ac (--enable-ssp): Make default on compilers that
support it.
* configure: Regenerated.

16 years ago2008-01-28 David Smith <dsmith@redhat.com>
dsmith [Mon, 28 Jan 2008 21:15:28 +0000 (21:15 +0000)]
2008-01-28  David Smith  <dsmith@redhat.com>

* configure.ac: Fixed a bug when "--disable-permon" was used.
Added "--enable-crash" option.
* configure: Regenerated.
* Makefile.am: Improved staplog.so compile command.
* Makefile.in: Regenerated.

16 years agoupdate copyright years for recent checkins
fche [Mon, 28 Jan 2008 20:59:25 +0000 (20:59 +0000)]
update copyright years for recent checkins

16 years ago2008-01-28 Martin Hunt <hunt@redhat.com>
hunt [Mon, 28 Jan 2008 19:22:51 +0000 (19:22 +0000)]
2008-01-28  Martin Hunt  <hunt@redhat.com>

* alloc.c: Use DEFINE_SPINLOCK.
* counter.c: Ditto.
* pmap-gen.c: Ditto.
* print_new.c: Ditto.
* stat.c: Ditto.

16 years ago2008-01-28 Martin Hunt <hunt@redhat.com>
hunt [Mon, 28 Jan 2008 19:20:48 +0000 (19:20 +0000)]
2008-01-28  Martin Hunt  <hunt@redhat.com>

* control.c, procfs.c, symbols.c: Use DEFINE_SPINLOCK

16 years ago2008-01-28 David Smith <dsmith@redhat.com>
dsmith [Mon, 28 Jan 2008 15:51:16 +0000 (15:51 +0000)]
2008-01-28  David Smith  <dsmith@redhat.com>

* tapsets.cxx (dwarf_derived_probe_group::emit_module_decls):
Added 'const' to several members of stap_dwarf_probes.

16 years agoperms2
fche [Mon, 28 Jan 2008 15:16:34 +0000 (15:16 +0000)]
perms2

16 years agopermission-fix
fche [Mon, 28 Jan 2008 15:14:10 +0000 (15:14 +0000)]
permission-fix

16 years agonone
fche [Mon, 28 Jan 2008 15:11:36 +0000 (15:11 +0000)]
none

16 years ago2008-01-28 David Smith <dsmith@redhat.com>
dsmith [Mon, 28 Jan 2008 15:08:58 +0000 (15:08 +0000)]
2008-01-28  David Smith  <dsmith@redhat.com>

PR 5685.  From Eugeniy Meshcheryakov <eugen@debian.org>
* configure.ac: If "--enable-sqlite" is specified, define
HAVE_LIBSQLITE3.
* configure: Regenerated.

16 years ago2008-01-27 Frank Ch. Eigler <fche@elastic.org>
fche [Sun, 27 Jan 2008 18:27:40 +0000 (18:27 +0000)]
2008-01-27  Frank Ch. Eigler  <fche@elastic.org>

* stack-i386.c (__stp_stack_print): Correct #elif->#else typo.

16 years agoPR5673: reduce total size of generated .ko's from wildly wildcarded scripts
fche [Sat, 26 Jan 2008 20:22:09 +0000 (20:22 +0000)]
PR5673: reduce total size of generated .ko's from wildly wildcarded scripts

2008-01-26  Frank Ch. Eigler  <fche@elastic.org>

PR 5673.
* tapsets.cxx (dwarf_derived_probe_group): Split stap_dwarf_probes[]
into bss-carried kprobes structs.  Tune embedded strings for
minimizing relocation-vs-fixed-buffer wastage.
* tapsets.cxx (dwarf_derived_probe): Impose .maxactive() limits.

2008-01-26  Frank Ch. Eigler  <fche@elastic.org>

PR 5673.
* testsuite/parseko/maxactive{04,05}.stp: New tests.

16 years ago* runtime/uprobes/uprobes.c: Within a probed process, serialize
kenistoj [Fri, 25 Jan 2008 23:55:04 +0000 (23:55 +0000)]
* runtime/uprobes/uprobes.c: Within a probed process, serialize
calls to access_process_vm() when populating instructions
slots. Fixes an SMP bug on multithreaded apps with many
active probepoints.
* runtime/uprobes/uprobes.h: Ditto

16 years agoPR 5672: fix generated dwarf probe point names from wildcards
fche [Fri, 25 Jan 2008 19:05:46 +0000 (19:05 +0000)]
PR 5672: fix generated dwarf probe point names from wildcards

2008-01-25  Frank Ch. Eigler  <fche@elastic.org>

PR 5672.
* staptree.cxx (probe_point copy ctor): New function.
* staptree.h: Declare it.
* tapsets.cxx (dwarf_derived_probe ctor): Call it to shallow-copy
incoming base probe location before recomputing/overwriting it.

16 years ago2008-01-25 David Smith <dsmith@redhat.com>
dsmith [Fri, 25 Jan 2008 18:02:51 +0000 (18:02 +0000)]
2008-01-25  David Smith  <dsmith@redhat.com>

* configure: Correctly regenerated.

16 years ago2008-01-25 David Smith <dsmith@redhat.com>
dsmith [Fri, 25 Jan 2008 18:00:37 +0000 (18:00 +0000)]
2008-01-25  David Smith  <dsmith@redhat.com>

* configure.ac: Compressed the two perfmon options into one.
Made other small fixes and whitespace changes.
* configure: Regenerated.

16 years ago2008-01-25 Will Cohen <wcohen@redhat.com>
wcohen [Fri, 25 Jan 2008 17:00:13 +0000 (17:00 +0000)]
2008-01-25  Will Cohen  <wcohen@redhat.com>

       PR5554
       * syscalls.stp (__is_user_regs): Modify to work with older kernels.

16 years agotypo fix
fche [Fri, 25 Jan 2008 14:25:24 +0000 (14:25 +0000)]
typo fix

16 years agostaplog crash(8) module tests
fche [Fri, 25 Jan 2008 04:47:11 +0000 (04:47 +0000)]
staplog crash(8) module tests

2008-01-24  Frank Ch. Eigler  <fche@elastic.org>

* Makefile.am: Make another $(MKDIR) call visible.
* Makefile.in: Regenerated.

2008-01-24  Frank Ch. Eigler  <fche@elastic.org>

crash(8) tests, based on Masami Hiramatsu <mhiramat@redhat.com>:
* Makefile.am (CRASH_LIBDIR): Pass in $(RUNTEST).
* lib/systemtap.exp (as_root): Trace command string, output, and
result.
* sysetmtap.samples/crash.*, testlog.stp: New test case.
* Makefile.in: Regenerated.

16 years ago2008-01-24 David Smith <dsmith@redhat.com>
dsmith [Thu, 24 Jan 2008 20:24:03 +0000 (20:24 +0000)]
2008-01-24  David Smith  <dsmith@redhat.com>

        PR 5661 (reverted).
        * configure.ac: Removed elfutils version number check.
        * configure: Regenerated.
        * acsite.m4: Removed.
        * systemtap.spec.in: Minimum elfutils version number is no longer
        filled in by configure.

16 years ago2008-01-24 David Smith <dsmith@redhat.com>
dsmith [Thu, 24 Jan 2008 18:11:34 +0000 (18:11 +0000)]
2008-01-24  David Smith  <dsmith@redhat.com>

        PR 5650 (partial).
        * configure.ac: Handles sqlite optional functionality correctly.
        If enabled/disabled by the user, do the right thing.  If not
        specified by the user, use it if present.
        * configure: Regenerated.
        * systemtap.spec.in: Always specify to configure whether to use
        sqlite or not.

16 years ago2008-01-23 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Thu, 24 Jan 2008 16:55:36 +0000 (16:55 +0000)]
2008-01-23  Masami Hiramatsu <mhiramat@redhat.com>

PR5554
* syscalls.stp (__is_user_regs): Add new function to check whether
pt_regs is user mode registers.
(syscall.fork): Use __is_user_regs() to decide syscall name.

16 years ago2008-01-24 Dave Brolley <brolley@redhat.com>
brolley [Thu, 24 Jan 2008 16:43:13 +0000 (16:43 +0000)]
2008-01-24  Dave Brolley  <brolley@redhat.com>

        PR 5017.
        * staptree.cxx (<cstring>): #include it.
        (required <indexable *>): Remove 'static' from instantiation and
        move instantiation to here from...
        * staptree.h: ...here.

16 years agoAutoconf file for nameidata changes by srinivasa@in.ibm.com
srinivasa [Thu, 24 Jan 2008 15:24:31 +0000 (15:24 +0000)]
Autoconf file for nameidata changes by srinivasa@in.ibm.com

16 years agoAutoconf file for x86/x86_64 for register rename patch by srinivasa@in.ibm.com
srinivasa [Thu, 24 Jan 2008 15:23:19 +0000 (15:23 +0000)]
Autoconf file for x86/x86_64 for register rename patch by srinivasa@in.ibm.com

16 years agoPR2521: configurable debuginfo search path
fche [Wed, 23 Jan 2008 23:42:06 +0000 (23:42 +0000)]
PR2521: configurable debuginfo search path

2008-01-23  Frank Ch. Eigler  <fche@elastic.org>

PR 2151
* tapsets.cxx (dwflpp::setup): Parametrize debuginfo_path.
* stap.1.in: Document this.

PR 2521.
* systemtap.base/debugpath.exp: New test.

16 years ago2008-01-23 David Smith <dsmith@redhat.com>
dsmith [Wed, 23 Jan 2008 19:58:41 +0000 (19:58 +0000)]
2008-01-23  David Smith  <dsmith@redhat.com>

        PR 5661.
        * configure.ac: Checks elfutils version number.
        * acsite.m4: New file containing macro to return elfutils version
        number.
        * configure: Regenerated.
        * systemtap.spec.in: Minimum elfutils version number is now filled
        in by configure.

16 years ago2008-01-23 Dave Brolley <brolley@redhat.com>
brolley [Wed, 23 Jan 2008 19:15:19 +0000 (19:15 +0000)]
2008-01-23  Dave Brolley  <brolley@redhat.com>

        * translate.cxx (var::fini): New method.
        (c_unparser::emit_module_init): Call var::fini when deregistering
        variables without indices.
        (c_unparser::emit_module_exit): Likewise.

16 years ago* runtime/uprobes/uprobes.c: Fix from Srinivasa: Recast
kenistoj [Tue, 22 Jan 2008 17:35:24 +0000 (17:35 +0000)]
* runtime/uprobes/uprobes.c: Fix from Srinivasa: Recast
rcu_dereferences of engine->data to resync with kernel.org builds.

16 years agoFix last checkin.
hunt [Mon, 21 Jan 2008 18:54:05 +0000 (18:54 +0000)]
Fix last checkin.

16 years ago2008-01-21 Martin Hunt <hunt@redhat.com>
hunt [Mon, 21 Jan 2008 17:07:10 +0000 (17:07 +0000)]
2008-01-21  Martin Hunt  <hunt@redhat.com>

* symbols.c (send_module): Simplify and use new send_data() function to keep
longword alignment.

16 years ago* runtime/uprobes/uprobes.c: Added static copy of
kenistoj [Sat, 19 Jan 2008 00:24:07 +0000 (00:24 +0000)]
* runtime/uprobes/uprobes.c: Added static copy of
access_process_vm(), for kernels that don't export it.

16 years agobump to version 0.6.1 in prep for snapshot release
fche [Fri, 18 Jan 2008 15:29:25 +0000 (15:29 +0000)]
bump to version 0.6.1 in prep for snapshot release

2008-01-18  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac, systemtap.spec.in: Update version to 0.6.1
* configure: Regenerated.

16 years ago2008-01-18 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 18 Jan 2008 15:24:07 +0000 (15:24 +0000)]
2008-01-18  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.spec.in: Update version to 0.6-3.

16 years agoPR 4936: probe pont conditions part 2; reorg in prep for full rewriting
fche [Fri, 18 Jan 2008 13:07:13 +0000 (13:07 +0000)]
PR 4936: probe pont conditions part 2; reorg in prep for full rewriting

2008-01-17  Frank Ch. Eigler  <fche@elastic.org>

PR 4935.
Reorganize probe condition implementation.
* elaborate.cxx (add_condition): New function.
(derived_probe): Remove condition member.
(derived_probe ctors): Assert non-null incoming probe/location ptrs.
(insert_condition_statement): Remove; turn into ...
(semantic_pass_conditions): New pass-2 subpass.
(semantic_pass_symbols, visit_symbol, visit_functioncall, find_var):
Detect some condition-related error cases.
(match_key): Change type to exp_type from tok_type.  Update callers.
(alias_expansion_builder): Propagate probe conditions.
* staptree.cxx (probe): Remove condition field and related functions.
* tapsets.cxx (dwarf_derived_probe ctor): Compute replacement
wildcard-expanded probe_point preserving more of the original
location.
(mark_derived_probe ctor): Make similar to others - take location
rather than condition parameters.
* translate.cxx (emit_common_header): Tweak ordering of tmpcounter
traversal and hashkey expression generation.
* elaborate.h: Corresponding changes.

2008-01-17  Frank Ch. Eigler  <fche@elastic.org>

PR 4935.
* semko/forty.stp, fortyone.stp, fortytwo.stp: New tests.
* semok/twentynine.stp: Weaken test since condition expressions have
become more tightly constrained.

16 years agoFrom srinivasa@in.ibm.com, To make systemtap to work with register rename patch for...
srinivasa [Fri, 18 Jan 2008 08:47:31 +0000 (08:47 +0000)]
From srinivasa@in.ibm.com, To make systemtap to work with register rename patch for x86/x86_64

16 years ago2008-01-17 David Smith <dsmith@redhat.com>
dsmith [Thu, 17 Jan 2008 20:44:34 +0000 (20:44 +0000)]
2008-01-17  David Smith  <dsmith@redhat.com>

* tapsets.cxx
(perfmon_var_expanding_copy_visitor::visit_target_symbol): Print an
error when trying to use the perfmon target variable '$counter as
an array or structure.

16 years ago2008-01-17 David Smith <dsmith@redhat.com>
dsmith [Thu, 17 Jan 2008 20:29:56 +0000 (20:29 +0000)]
2008-01-17  David Smith  <dsmith@redhat.com>

* semko/procfs11.stp: Added test for invalid use of procfs probe
'$value' target variable.
* semko/procfs12.stp: Ditto.

16 years ago2008-01-17 David Smith <dsmith@redhat.com>
dsmith [Thu, 17 Jan 2008 20:27:41 +0000 (20:27 +0000)]
2008-01-17  David Smith  <dsmith@redhat.com>

* tapsets.cxx
(procfs_var_expanding_copy_visitor::visit_target_symbol): Print an
error when trying to use the procfs target variable '$value' as an
array or structure.

16 years agoTo make systemtap compatible with elfutils-0.131
srinivasa [Thu, 17 Jan 2008 06:16:07 +0000 (06:16 +0000)]
To make systemtap compatible with elfutils-0.131

16 years ago2008-01-16 David Smith <dsmith@redhat.com>
dsmith [Wed, 16 Jan 2008 17:08:51 +0000 (17:08 +0000)]
2008-01-16  David Smith  <dsmith@redhat.com>

        PR 5608.
        * systemtap.base/marker.exp:  Added 2 tests for treating marker
        arguments incorrectly.

16 years ago2008-01-16 David Smith <dsmith@redhat.com>
dsmith [Wed, 16 Jan 2008 17:05:50 +0000 (17:05 +0000)]
2008-01-16  David Smith  <dsmith@redhat.com>

        PR 5608.
        * tapsets.cxx (visit_target_symbol): Print an error when trying to
        use a marker argument as an array or structure.

16 years ago2008-01-16 Eugene Teo <eteo@redhat.com>
eteo [Wed, 16 Jan 2008 15:41:28 +0000 (15:41 +0000)]
2008-01-16  Eugene Teo  <eteo@redhat.com>

* stapfuncs.5.in: Document signal.stp tapset functions.

2008-01-16  Eugene Teo  <eteo@redhat.com>

* signal.stp (get_sa_flags, get_sa_handler): New functions to
return addresses of sa_flags and sa_handler of struct k_sigaction.
(sigset_mask_str): New function. Returns a string containing the
set of signals to be blocked when executing the signal handler.
(is_sig_blocked): New function. Checks task_struct->blocked signal
mask for signals that are currently blocked.
(signal_str): New function. Translates a signal number.
(sa_flags_str): New function. Translates the sa_flags.
(sa_handler_str): New function. Returns the signal action or handler
associated to the signal.

2008-01-16  Eugene Teo  <eteo@redhat.com>

* buildok/signal-embedded.stp: Add all new embedded C functions
in signal.

16 years agoPR4037 and fixes to better synchronize staprun and stapio.
hunt [Tue, 15 Jan 2008 19:54:25 +0000 (19:54 +0000)]
PR4037 and fixes to better synchronize staprun and stapio.

16 years ago2008-01-14 Martin Hunt <hunt@redhat.com>
hunt [Tue, 15 Jan 2008 17:11:17 +0000 (17:11 +0000)]
2008-01-14  Martin Hunt  <hunt@redhat.com>
* translate.cxx (emit_module_init): Call _stp_print_kernel_info()
to print out version information and internal memory usage stats.

16 years agoTurn DEBUG_MEM off by default.
hunt [Tue, 15 Jan 2008 16:58:29 +0000 (16:58 +0000)]
Turn DEBUG_MEM off by default.

16 years agoAdd support for memory allocation tracking.
hunt [Tue, 15 Jan 2008 16:57:20 +0000 (16:57 +0000)]
Add support for memory allocation tracking.

16 years agoPR 4935. * systemtap.base/onoffprobe.*: Toughen test.
fche [Tue, 15 Jan 2008 03:34:56 +0000 (03:34 +0000)]
PR 4935. * systemtap.base/onoffprobe.*: Toughen test.

16 years ago2008-01-14 Martin Hunt <hunt@redhat.com>
hunt [Mon, 14 Jan 2008 17:47:47 +0000 (17:47 +0000)]
2008-01-14  Martin Hunt  <hunt@redhat.com>

* translate.cxx (emit_module_exit): When using timing, delete timing
stats when finished.

16 years agoadd git commit id as testsuite Snapshot field
fche [Sun, 13 Jan 2008 03:06:33 +0000 (03:06 +0000)]
add git commit id as testsuite Snapshot field

2008-01-12  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac: Generate a build tree SNAPSHOT file from git-rev-list,
if we suspect the source tree came from git.
* configure: Regenerated.

2008-01-12  Frank Ch. Eigler  <fche@elastic.org>

* lib/systemtap.exp (get_system_info): Look for $builddir/SNAPSHOT too.

16 years agoPR5603 hack for stack smash
fche [Sat, 12 Jan 2008 23:02:47 +0000 (23:02 +0000)]
PR5603 hack for stack smash

2008-01-12  Frank Ch. Eigler  <fche@elastic.org>

PR 5603 horrible hack.
* symbols.c (do_kernel_symbols): Make buf[256] instead of [128].

16 years agoadd --enable-ssp configure option so developers can build like fedora does
fche [Sat, 12 Jan 2008 18:31:00 +0000 (18:31 +0000)]
add --enable-ssp configure option so developers can build like fedora does

2008-01-12  Frank Ch. Eigler  <fche@elastic.org>

PR 5603.
* configure.ac: Add "--enable-ssp" to select -fstack-protector-all
and similar runtime checking directives.
* configure: Regenerated.

16 years agocorrect displayed time units
fche [Sat, 12 Jan 2008 03:40:08 +0000 (03:40 +0000)]
correct displayed time units

From: Chris Snook

16 years ago2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Wed, 9 Jan 2008 23:01:12 +0000 (23:01 +0000)]
2008-01-09  Masami Hiramatsu  <mhiramat@redhat.com>

PR5554
* systemtap.syscall/alarm.c: Fix expected output patterns on ia64.
* systemtap.syscall/stat.c: Ditto.

16 years ago2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Wed, 9 Jan 2008 22:56:17 +0000 (22:56 +0000)]
2008-01-09  Masami Hiramatsu  <mhiramat@redhat.com>

PR5544
* lib/stap_run.exp (stap_run): Support warning before ending probe.

16 years ago2008-01-09 David Smith <dsmith@redhat.com>
dsmith [Wed, 9 Jan 2008 21:14:54 +0000 (21:14 +0000)]
2008-01-09  David Smith  <dsmith@redhat.com>

        * systemtap.spec.in: Since "make check" was removed
        from the rpm build step, we no longer need to require dejagnu at
        build time.

16 years agoimprove missing kernel-debuginfo message
fche [Wed, 9 Jan 2008 20:26:31 +0000 (20:26 +0000)]
improve missing kernel-debuginfo message

16 years agoPut the ChangeLog entry in the correct place.
wcohen [Mon, 7 Jan 2008 22:31:02 +0000 (22:31 +0000)]
Put the ChangeLog entry in the correct place.

16 years ago2008-01-07 William Cohen <wcohen@redhat.com>
wcohen [Mon, 7 Jan 2008 21:12:53 +0000 (21:12 +0000)]
2008-01-07  William Cohen  <wcohen@redhat.com>
* testsuite/lib/systemtap.exp (as_root): new proc.
* testsuite/systemtap.context/context.exp:
* testsuite/systemtap.printf/end1b.exp:
* testsuite/systemtap.printf/mixed_outb.exp:
* testsuite/systemtap.printf/out1b.exp:
* testsuite/systemtap.printf/out2b.exp:
* testsuite/systemtap.printf/out3b.exp: Use as_root proc.

16 years ago2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Fri, 4 Jan 2008 19:39:54 +0000 (19:39 +0000)]
2008-1-4  Masami Hiramatsu <mhiramat@redhat.com>

* aux_syscalls.stp (_stp_fork_list): Check kernel version for new
flags.

16 years ago2008-01-04 David Smith <dsmith@redhat.com>
dsmith [Fri, 4 Jan 2008 18:16:04 +0000 (18:16 +0000)]
2008-01-04  David Smith  <dsmith@redhat.com>

* systemtap.base/marker.exp: Improved regexp that finds markers
with arguments.

16 years ago2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Fri, 4 Jan 2008 17:29:04 +0000 (17:29 +0000)]
2008-1-4  Masami Hiramatsu <mhiramat@redhat.com>

PR5152
* scheduler.stp (scheduler.ctxswitch): Change probe point __switch_to
to context_switch on ia64.

16 years agonone
fche [Wed, 2 Jan 2008 19:25:25 +0000 (19:25 +0000)]
none

16 years agoFix mkdtemp() umask issue
fche [Wed, 2 Jan 2008 18:22:28 +0000 (18:22 +0000)]
Fix mkdtemp() umask issue

Even though the mkdtemp() man page indicates that the
directory will be created with always 0700 permissions,
it is actually affected by the process's umask.

So, if you run stap with an unusual umask it can end
up creating the temp dir with permissions that
staprun can't handle e.g.:

  $> rpm -q systemtap
  systemtap-0.6-1.fc9
  $> umask 0122
  $> stap -e 'probe begin { println("foo") exit() }'
  ERROR: Error opening '/tmp/stapV4pBIb/stap_725b9bc541cef2618a5ccbc58bb64d15_287.ko': Permission denied

Obvious solution is to briefly set the umask to zero
in stap so as to ensure 0700 permissions.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
16 years ago* runtime/uprobes/uprobes_x86_64.c: Fix handling of indirect
kenistoj [Thu, 27 Dec 2007 21:30:51 +0000 (21:30 +0000)]
* runtime/uprobes/uprobes_x86_64.c: Fix handling of indirect
jmps and calls that use rip-relative addressing.  Allow probing
of opcode 0x63.

16 years ago2007-12-27 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 27 Dec 2007 06:58:23 +0000 (06:58 +0000)]
2007-12-27  Zhaolei  <zhaolei@cn.fujitsu.com>

From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
* signal.stp (_signal.send.part3.return): Correct name variable.

16 years ago2007-12-25 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 25 Dec 2007 01:34:44 +0000 (01:34 +0000)]
2007-12-25  Zhaolei  <zhaolei@cn.fujitsu.com>

From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
* aux_syscalls.stp (_struct_sigaction_u): Delete overlaped
SA_SIGINFO from _stp_sa_flags_list[].

16 years ago2007-12-21 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 21 Dec 2007 06:58:08 +0000 (06:58 +0000)]
2007-12-21  Zhaolei  <zhaolei@cn.fujitsu.com>

From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
* aux_syscalls.stp (_futex_op_str): Add new futex options.
(_stp_fork_list[]): Add new clone flags.

16 years ago2007-12-17 Martin Hunt <hunt@redhat.com>
hunt [Mon, 17 Dec 2007 16:33:49 +0000 (16:33 +0000)]
2007-12-17  Martin Hunt  <hunt@redhat.com>

* syscalls.stp (get_mempolicy): Fix syntax. Add prototype.
(kexec_load): Ditto.
(mbind): Ditto.
(move_pages): Ditto.

16 years ago2007-12-17 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Mon, 17 Dec 2007 07:49:49 +0000 (07:49 +0000)]
2007-12-17  Zhaolei  <zhaolei@cn.fujitsu.com>

From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
* Add new address family to _fam_num2str: IUCV and RXRPC.

16 years ago2007-12-17 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Mon, 17 Dec 2007 06:23:07 +0000 (06:23 +0000)]
2007-12-17  Zhaolei  <zhaolei@cn.fujitsu.com>

From Bai Weidong <baiwd@cn.fujitsu.com>
* syscalls.stp: Add missed compat* probes in syscalls.stp.

16 years ago2007-12-13 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Thu, 13 Dec 2007 20:58:18 +0000 (20:58 +0000)]
2007-12-13  Masami Hiramatsu  <mhiramat@redhat.com>

* stap.1.in: Document about relay buffer sharing.
* NEWS: Document about relay buffer sharing and staplog crash extension.

16 years ago2007-12-12 Martin Hunt <hunt@redhat.com>
hunt [Wed, 12 Dec 2007 17:40:49 +0000 (17:40 +0000)]
2007-12-12  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp (compat_sys_ptrace): Remove for now.
Utrace-patched kernels have a different compat_sys_ptrace().

16 years ago2007-12-12 Martin Hunt <hunt@redhat.com>
hunt [Wed, 12 Dec 2007 16:16:50 +0000 (16:16 +0000)]
2007-12-12  Martin Hunt  <hunt@redhat.com>
Detect crashing stap and report as a test failure.
* lib/systemtap.exp (stap_run_batch): Return -1 if stap
crashed.
* systemtap.pass1-4/buildko.exp: If stap_run_batch returned
-1 then mark test as failed.
* systemtap.pass1-4/parseko.exp: Ditto.
* systemtap.pass1-4/semko.exp: Ditto.
* systemtap.pass1-4/transko.exp: Ditto.

16 years ago2007-12-12 Wenji Huang <wenji.huang@oracle.com>
wenji [Wed, 12 Dec 2007 06:53:08 +0000 (06:53 +0000)]
2007-12-12  Wenji Huang <wenji.huang@oracle.com>

        PR 5470
        * parse.cxx (parser::parse_probe_point): Add checking pointer t.

16 years ago2007-12-11 Martin Hunt <hunt@redhat.com>
hunt [Tue, 11 Dec 2007 18:15:44 +0000 (18:15 +0000)]
2007-12-11  Martin Hunt  <hunt@redhat.com>
PR5368
* relay_old.c (init_oldrelayfs): Don't start threads
if load_only.
* relay.c (init_relayfs): Ditto.

16 years agoPR5017: gcc4.3 build fixes
fche [Tue, 11 Dec 2007 13:45:28 +0000 (13:45 +0000)]
PR5017: gcc4.3 build fixes

2007-12-11  Frank Ch. Eigler  <fche@elastic.org>

* staptree.cxx, staptree.h: More GCC 4.3 build fixes from
Eugeniy Meshcheryakov <eugen@debian.org>.

16 years ago2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 7 Dec 2007 09:32:03 +0000 (09:32 +0000)]
2007-12-7  Zhaolei  <zhaolei@cn.fujitsu.com>

From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
* syscalls2.stp: Add missed compat* probes in syscalls2.stp.

16 years ago2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 7 Dec 2007 09:30:48 +0000 (09:30 +0000)]
2007-12-7  Zhaolei  <zhaolei@cn.fujitsu.com>

From Yang Zhiguo <yzgcsu@cn.fujitsu.com>
* syscalls2.stp: Add missed compat* probes in syscalls2.stp.

16 years ago2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 7 Dec 2007 09:18:32 +0000 (09:18 +0000)]
2007-12-7  Zhaolei  <zhaolei@cn.fujitsu.com>

From Bai Weidong <baiwd@cn.fujitsu.com>
* aux_syscalls.stp (__sem_flags): Add the missed mode display,
Fix calculation error when string is empty.

16 years ago2007-12-05 William Cohen <wcohen@redhat.com>
wcohen [Wed, 5 Dec 2007 22:23:50 +0000 (22:23 +0000)]
2007-12-05  William Cohen  <wcohen@redhat.com>

        * systemtap.spec.in: Correct Source to point to location contain code.

16 years ago2007-12-05 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Wed, 5 Dec 2007 20:02:01 +0000 (20:02 +0000)]
2007-12-05  Masami Hiramatsu  <mhiramat@redhat.com>

PR 4935
* tapsets.cxx (dwarf_derived_probe::dwarf_derived_probe): Allow user
to access kernel variables in the condition of probe points.
* stapprobes.5.in : Document the conditional probe point.
* NEWS : Ditto.
* parseok/five.stp: Add an example of conditional probe point.
* parseko/probepoint04.stp: New test for conditional probe point.
* parseko/probepoint05.stp: Ditto.
* parseko/probepoint06.stp: Ditto.
* parseko/probepoint07.stp: Ditto.
* parseko/probepoint08.stp: Ditto.
* parseko/probepoint09.stp: Ditto.
* semok/twentynine.stp: Ditto.
* semko/thirtynine.stp: Ditto.
* systemtap.base/onoffprobe.*: Ditto.

16 years ago2007-12-03 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Mon, 3 Dec 2007 21:30:31 +0000 (21:30 +0000)]
2007-12-03  Masami Hiramatsu  <mhiramat@redhat.com>

PR 5376
* parse.cxx (lexer::scan): Treat '*' as an alphabet if the wildcard
flag is true.
(parser::parse_probe_point): Call parser::next() with wildcard = true.
(parser::scan_pp): Add wildcard flag and pass it to lexer::scan.
(parser::next): Ditto.
(parser::peek): Ditto.
* parse.h : Ditto.
* testsuites/perseko/twentytwo.stp: Change testcase to the wildcarded
probe points with spaces.

16 years ago2007-12-01 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 1 Dec 2007 14:56:25 +0000 (14:56 +0000)]
2007-12-01  Frank Ch. Eigler  <fche@elastic.org>

* gen-stapmark.h, stapmark.h: Retire.

16 years agoPR5438: document libcap-devel build-time dependency release-0.6
fche [Sat, 1 Dec 2007 00:00:16 +0000 (00:00 +0000)]
PR5438: document libcap-devel build-time dependency

From Julio M. Merino Vidal <jmmv@NetBSD.org>:
Include libcap-devel in named build dependencies (for <capability.h>).

16 years ago2007-11-29 David Smith <dsmith@redhat.com>
dsmith [Thu, 29 Nov 2007 15:46:30 +0000 (15:46 +0000)]
2007-11-29  David Smith  <dsmith@redhat.com>

* systemtap.base/marker.exp: Gets marker list from
Module.markers.  K_MARKER03 is always run since it is designed to
fail.

16 years ago2007-11-29 David Smith <dsmith@redhat.com>
dsmith [Thu, 29 Nov 2007 15:44:13 +0000 (15:44 +0000)]
2007-11-29  David Smith  <dsmith@redhat.com>

* tapsets.cxx (mark_derived_probe::initialize_probe_context_vars):
Handles the case where one marker has more than one string
argument.

16 years ago2007-11-27 David Smith <dsmith@redhat.com>
dsmith [Tue, 27 Nov 2007 21:30:27 +0000 (21:30 +0000)]
2007-11-27  David Smith  <dsmith@redhat.com>

* semok/twentyeight.stp: Tests wildcarded probe points.

16 years ago2007-11-27 David Smith <dsmith@redhat.com>
dsmith [Tue, 27 Nov 2007 21:07:46 +0000 (21:07 +0000)]
2007-11-27  David Smith  <dsmith@redhat.com>

PR 5377.
* elaborate.cxx (match_node::find_and_build): Handle wildcards in
probe points correctly.

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