]> sourceware.org Git - systemtap.git/log
systemtap.git
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.

16 years ago* conditional probe thinko fix cont'd
fche [Mon, 26 Nov 2007 15:46:36 +0000 (15:46 +0000)]
* conditional probe thinko fix cont'd

16 years ago* conditional-probe SEGV fix
fche [Mon, 26 Nov 2007 15:11:48 +0000 (15:11 +0000)]
* conditional-probe SEGV fix

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

* elaborate.cxx (derived_probe ctor): Don't duplicate condition
if it doesn't exist.

16 years ago2007-11-21 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 21 Nov 2007 08:19:38 +0000 (08:19 +0000)]
2007-11-21  Zhaolei  <zhaolei@cn.fujitsu.com>

From Bai Weidong <baiwd@cn.fujitsu.com>
* syscalls2.stp (rt_sigsuspend): Fix the semantic error caused by
the difference of kernel versions on IA64.

16 years ago2007-11-20 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Tue, 20 Nov 2007 21:03:16 +0000 (21:03 +0000)]
2007-11-20  Masami Hiramatsu  <mhiramat@redhat.com>

        PR 4935.
        * parse.cxx (parser::parse_probe_point): Parse "if" condition
        following probe point.
        * staptree.h (probe_point): Add "condition" field.
        (probe): Add "condition" field and "add_condition" method.
        (deep_copy_visitor): Add "deep_copy" method for the expression.
        * staptree.cxx (probe_point::probe_point): Initalize it.
        (probe::add_condition): Implement it.
        (probe::print): Output "condition" field.
        (probe::str): Ditto.
        (deep_copy_visitor::deep_copy): Implement it.
        * elaborate.h (derived_probe): Add "insert_condition_statement"
        method.
        * elaborate.cxx (derived_probe::derived_probe): Initialize "condition"
        field, and insert a condition check routine on the top of body.
        (derived_probe::insert_condition_statement): Implement it.
        (alias_expansion_builder::build): Pass the condition from the alias
        referer to new alias.
        * tapsets.cxx (be_derived_probe): Remove unused constructor.
        (dwarf_derived_probe::dwarf_derived_probe): Insert a condition check
        routine on the top of body.
        (mark_derived_probe::mark_derived_probe): Ditto.
        (mark_builder::build): Pass the base location to mark_derived_probe.

16 years ago* dummy commit to fix some permissions
fche [Tue, 20 Nov 2007 04:04:33 +0000 (04:04 +0000)]
* dummy commit to fix some permissions

16 years agoPR 3887: sufficient+optional probe points
fche [Tue, 20 Nov 2007 03:59:19 +0000 (03:59 +0000)]
PR 3887: sufficient+optional probe points

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

PR 3887.
* staptree.h (probe_point): Add "sufficient" field.
* staptree.cxx: Initialize it, print it.
* parse.cxx (parse_probe_point): Parse it.
* elaborate.cxx (derive_probes): Implement it.
* stapprobes.5.in: Document it.
* NEWS: Gloat about it.

* parseok/five.stp, semok/twentyseven.stp: Test "!" probe point flag.

* iostat-scsi.stp: Adopt "!" probe point flag.

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

* tapsets.cxx (mark_derived_probe::initialize_probe_context_vars):
Updated to work with latest LTTNG patch
patch-2.6.24-rc2-lttng-0.10-pre23.tar.bz2.
(mark_derived_probe_group::emit_module_decls): Ditto.
(mark_derived_probe_group::emit_module_init): Ditto.
(mark_derived_probe_group::emit_module_exit): Ditto.

* translate.cxx (c_unparser::emit_common_header): Ditto.

16 years agoRemoved "make check" from rpm build steps.
mmason [Thu, 15 Nov 2007 19:51:37 +0000 (19:51 +0000)]
Removed "make check" from rpm build steps.

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

* tapsets.cxx: Removed mark_query structure.
(mark_derived_probe::mark_derived_probe): Just looks for "kernel"
marker probes.
(mark_builder::build_no_more): No longer kern_dw, instead clears
the marker cache.
(mark_builder::build): Now parses Module.markers file to find
marker list and stores them in a cache.
(register_standard_tapsets): Removed 'module("foo").mark("bar")'.
All markers now go through 'kernel.mark("bar")'.

* stapprobes.5.in (parts): Updated marker text.

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

* systemtap.base/marker.exp: Removed 'module("foo").mark("bar")'
tests since that facility was removed.

16 years agoPR 5324
kenistoj [Wed, 14 Nov 2007 17:32:38 +0000 (17:32 +0000)]
PR 5324
* main.cxx: Restored initialization of need_uprobes flag,
mistakenly backed out in PR 5270 fix.

16 years ago2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 14 Nov 2007 06:56:21 +0000 (06:56 +0000)]
2007-11-14  Zhaolei  <zhaolei@cn.fujitsu.com>

* stapfuncs.5.in (tokenize): Change NULL to blank to avoid
misunderstanding.

16 years ago2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 14 Nov 2007 06:39:17 +0000 (06:39 +0000)]
2007-11-14  Zhaolei  <zhaolei@cn.fujitsu.com>

* stapfuncs.5.in (tokenize): Change NULL to blank to avoid
misunderstanding.

16 years ago2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 14 Nov 2007 06:19:28 +0000 (06:19 +0000)]
2007-11-14  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* signal.stp (signal.do_action): Call __get_action_mask to get mask
to fix semantic error of accessing a struct.
* signal.stp (__get_action_mask): Add.

16 years ago2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 14 Nov 2007 05:47:11 +0000 (05:47 +0000)]
2007-11-14  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* regs-ia64.c (ia64_fetch_register): Fix the bug of fetching
register 12 on IA64.

16 years ago2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 14 Nov 2007 05:45:51 +0000 (05:45 +0000)]
2007-11-14  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* regs-ia64.c (ia64_fetch_register): Fix the bug of fetching
register 12 on IA64.

16 years agoPR 5270
kenistoj [Tue, 13 Nov 2007 21:57:21 +0000 (21:57 +0000)]
PR 5270
* main.cxx: Restored pre-10-08 version: moved uprobes build to
buildrun.cxx.
* buildrun.cxx: Reworked uprobes build so that the resulting
Module.symvers can be used in building the stap-generated
module.  If user isn't root, call verify_uprobes_uptodate()
rather than trying (and failing) to rebuild uprobes.ko.
* buildrun.h: uprobes_enabled() and make_uprobes() are no
longer extern.
* runtime/uprobes/Makefile: Added uprobes.ko target for use
by verify_uprobes_uptodate().

16 years ago2007-11-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Nov 2007 22:14:20 +0000 (22:14 +0000)]
2007-11-12  Martin Hunt  <hunt@redhat.com>

* stap.1.in: Replaced references to the log() function.
* stapex.5.in: Ditto.
* stapfuncs.5.in: Ditto. ALso remove print and printf.  They are
documented in stap.1.in.

16 years ago2007-11-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Nov 2007 22:04:35 +0000 (22:04 +0000)]
2007-11-12  Martin Hunt  <hunt@redhat.com>

* systemtap.base/*.stp: Replace log() calls with
println() (or printf() if formatting would help.)
* systemtap.maps/*.stp: Ditto.
* systemtap.samples/*.stp: Ditto.
* systemtap.stress/*.stp: Ditto.

16 years ago2007-11-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Nov 2007 21:59:51 +0000 (21:59 +0000)]
2007-11-12  Martin Hunt  <hunt@redhat.com>

* logging.stp (print_char): Remove.  Now implemented by
stap.
(log): Add a comment that it is deprecated.

16 years ago2007-11-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Nov 2007 21:57:31 +0000 (21:57 +0000)]
2007-11-12  Martin Hunt  <hunt@redhat.com>

* print.c (_stp_print): Rewrite to eliminate the strlen()
call and save a bit of time.

16 years ago2007-11-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Nov 2007 21:55:53 +0000 (21:55 +0000)]
2007-11-12  Martin Hunt  <hunt@redhat.com>

* translate.cxx (visit_print_format): Strings without a format or
formatted with "%s" or "%s\n" should be printed with calls to _stp_print().
Call _stp_print_char() if printing a char.

* staptree.cxx (parse_print): Check for "print_char".

* staptree.h (struct print_format): Add print_char.
(parse_print): Update prototype.

* parse.cxx (parse_symbol): Set print_char bool in print_format.

16 years ago2007-11-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Nov 2007 21:19:51 +0000 (21:19 +0000)]
2007-11-12  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp (sys_remap_file_pages: : Change kernel
version check to >= 2.6.24.

16 years ago2007-11-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Nov 2007 15:29:52 +0000 (15:29 +0000)]
2007-11-12  Martin Hunt  <hunt@redhat.com>

* tapsets.cxx (build_blacklist): Add __raw_spin_is_locked.

16 years ago2007-11-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Nov 2007 21:06:11 +0000 (21:06 +0000)]
2007-11-09  Martin Hunt  <hunt@redhat.com>

* README: New.

* *.stp. Fix path.  See PR 4718.

16 years ago2007-11-09 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Fri, 9 Nov 2007 18:12:06 +0000 (18:12 +0000)]
2007-11-09  Masami Hiramatsu  <mhiramat@redhat.com>

        PR3858
        * print.c: Add -DRELAY_HOST=<hostname> and -DRELAY_GUEST=<hostname>
        options support.
        (_stp_print_flush): Disable irqs if -DRELAY_* option is specified.
        * print_old.c: Export stp_print_flush to other modules if the
        -DRELAY_HOST option is specified.
        * print_new.c: Ditto.
        * transport.c (_stp_transport_init): Reduce relay buffer size to
        64KB*2 if -DRELAY_GUEST is specified.
        * systemtap.printf/sharedbuf.exp: New test for buffer sharing option.
        * systemtap.printf/sharedbuf.stp: Ditto.
        * systemtap.printf/hello.stp: Ditto.
        * systemtap.printf/hello2.stp: Ditto.

16 years ago2007-11-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Nov 2007 16:38:51 +0000 (16:38 +0000)]
2007-11-09  Martin Hunt  <hunt@redhat.com>
PR 5281
* transport.c (_stp_detach, _stp_attach): Call utt_set_overwrite()
instead of setting a flag directly.
* utt.c (utt_set_overwrite): New. Set overwrite mode.
* relayfs.c (utt_set_overwrite): New. Set overwrite mode.
* utt.h: Remove global utt_overwrite_flag.

16 years ago2007-11-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Nov 2007 16:34:09 +0000 (16:34 +0000)]
2007-11-09  Martin Hunt  <hunt@redhat.com>

* mainloop.c (stp_main_loop): Bump recvbuf to 8196 for
compatibility with old transport.

16 years ago2007-11-8 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 8 Nov 2007 02:02:47 +0000 (02:02 +0000)]
2007-11-8  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* rpc.stp (clones_from_clnt): Use deref to check, then use
atomic_read to read an atomic_t to avoid compilation error of
type matching.
(tasks_from_clnt): Ditto.

16 years ago2007-11-6 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 6 Nov 2007 06:22:16 +0000 (06:22 +0000)]
2007-11-6  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp (sunrpc.clnt.call_sync): Define procname only for
kernel>=2.6.17.
(sunrpc.clnt.call_async): Ditto.

16 years ago2007-11-5 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Mon, 5 Nov 2007 01:13:56 +0000 (01:13 +0000)]
2007-11-5  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* nfs_proc.stp: Use kread in get_ip and get_prot to avoid kernel
panic.

16 years ago2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 2 Nov 2007 06:32:23 +0000 (06:32 +0000)]
2007-11-2  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* nfsd.stp: Fix the semantic error caused by the difference of
kernel versions.
* nfs_proc.stp: Ditto.

16 years ago2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 2 Nov 2007 06:29:33 +0000 (06:29 +0000)]
2007-11-2  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* nfsd.stp: Fix the semantic error caused by the difference of
kernel versions.
* nfs_proc.stp: Ditto.

16 years ago2007-11-01 Martin Hunt <hunt@redhat.com>
hunt [Thu, 1 Nov 2007 19:19:33 +0000 (19:19 +0000)]
2007-11-01  Martin Hunt  <hunt@redhat.com>

* procfs.c, control.c, transport.c: Recognize when stapio
is detached and disable delayed work. Enable when attached.
Cleanup code to destroy workqueue on exit.

16 years ago2007-11-1 Will Cohen <wcohen@redhat.com>
wcohen [Thu, 1 Nov 2007 14:18:18 +0000 (14:18 +0000)]
2007-11-1  Will Cohen  <wcohen@redhat.com>

* syscall2.stp (sys_remap_file_pages): Fix compile error with kernel
version greater than 2.6.23.

16 years ago2007-11-1 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 1 Nov 2007 07:26:47 +0000 (07:26 +0000)]
2007-11-1  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* rpc.stp (clones_from_clnt): Add CATCH_DEREF_FAULT().
(tasks_from_clnt): Ditto.

16 years ago2007-10-26 Martin Hunt <hunt@redhat.com>
hunt [Fri, 26 Oct 2007 04:39:35 +0000 (04:39 +0000)]
2007-10-26  Martin Hunt  <hunt@redhat.com>
PR5218
* stapio.c (main): Set initialized properly when
attached.

16 years ago2007-10-25 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 26 Oct 2007 01:45:21 +0000 (01:45 +0000)]
2007-10-25  Josh Stone  <joshua.i.stone@intel.com>

PR 5219
* stap.1.in: Add a note about string literal limitations in printf
and printd.

16 years ago2007-10-25 Martin Hunt <hunt@redhat.com>
hunt [Fri, 26 Oct 2007 01:06:11 +0000 (01:06 +0000)]
2007-10-25  Martin Hunt  <hunt@redhat.com>

* systemtap.printf/printd.exp: New.
Runs printd.stp and printdln.stp.
* systemtap.printf/printdln.stp: Removed bad tests.
* systemtap.printf/printd.stp: Ditto.

16 years agostat-common.c: Allow histogram bucket elision to be turned off
mmason [Thu, 25 Oct 2007 23:25:45 +0000 (23:25 +0000)]
stat-common.c: Allow histogram bucket elision to be turned off
with -DHIST_ELISION=<negative #>.  Also cleaned up looping code to
prevent unnecessary interation over non-existent buckets.

16 years ago2007-10-25 Martin Hunt <hunt@redhat.com>
hunt [Thu, 25 Oct 2007 22:22:16 +0000 (22:22 +0000)]
2007-10-25  Martin Hunt  <hunt@redhat.com>

* systemtap.printf/print_char.*: New test.
* systemtap.printf/print.*: New test.
* systemtap.printf/println.*: New test.

* systemtap.maps/elision.*: New tests.

* config/unix.exp: Added stap_run_exact.
* lib/stap_run_exact.exp: New. Like stap_run2 but
takes a seperate test name.

16 years ago2007-10-25 Martin Hunt <hunt@redhat.com>
hunt [Thu, 25 Oct 2007 18:40:37 +0000 (18:40 +0000)]
2007-10-25  Martin Hunt  <hunt@redhat.com>

* systemtap.printf/printd.stp: New
* systemtap.printf/printdln.stp: New

16 years agouprobes ppc64 ssol changes
srikar [Thu, 25 Oct 2007 13:54:41 +0000 (13:54 +0000)]
uprobes ppc64 ssol changes

16 years agox86_64 uprobes
kenistoj [Mon, 22 Oct 2007 20:12:10 +0000 (20:12 +0000)]
x86_64 uprobes

16 years agoFixed 10/16 update to arch_validate_probed_insn() decls.
kenistoj [Fri, 19 Oct 2007 20:28:16 +0000 (20:28 +0000)]
Fixed 10/16 update to arch_validate_probed_insn() decls.

16 years ago2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Fri, 19 Oct 2007 20:04:35 +0000 (20:04 +0000)]
2007-10-19  Masami Hiramatsu <mhiramat@redhat.com>

        * staplog.c: Cleanup code and remove end-of-line spaces.
        (create_output_filename): Use snprintf instead of sprintf and remove
        malloc().
        (print_rchan_info): Merge into output_cpu_logs().
        (open_output_file): Use GETBUF() instead of malloc().
        (output_cpu_logs): Simplify logic and remove unused code.
        (do_staplog): Merge into cmd_staplog().
        (help_staplog): Fix typos.
        * Makefile.am (STAPLOG): Add -Wall option.
        * Makefile.in: Regenerated.

16 years ago2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Fri, 19 Oct 2007 19:54:23 +0000 (19:54 +0000)]
2007-10-19  Masami Hiramatsu <mhiramat@redhat.com>

        From Satoru Moriya <satoru.moriya.br@hitachi.com>:
        * staplog.c :(create_output_dir): New function for creating output
        directory.
        (create_output_filename): New function for making output filename.
        (print_rchan_info): New function for displaying relay channel status.
        (open_output_file): New function for opening output file.
        (output_cpu_logs): Cleanup code and fix bugs to retrieve buffer
        data even when the last buffer is full and even if the systemtap
        uses old(non-utt) format. Add a routine for '-a' option.
        (cmd_staplog): Add '-a' option.
        (help_staplog): Ditto.

16 years ago* stapprobes.5.in: Removed C label reference.
mmason [Thu, 18 Oct 2007 22:26:12 +0000 (22:26 +0000)]
* stapprobes.5.in: Removed C label reference.
Clarified source path requirements for probe
definitions.  Fixed some vertical spacing issues.

16 years agoRemoved stapprobes.task.5.in. Contents moved to stapfuncs.5.in
mmason [Thu, 18 Oct 2007 17:10:09 +0000 (17:10 +0000)]
Removed stapprobes.task.5.in. Contents moved to stapfuncs.5.in

16 years agoCorrected tokenize() description. Added task_* functions.
mmason [Thu, 18 Oct 2007 16:37:07 +0000 (16:37 +0000)]
Corrected tokenize() description.  Added task_* functions.

16 years ago*** empty log message ***
hunt [Thu, 18 Oct 2007 16:27:40 +0000 (16:27 +0000)]
*** empty log message ***

16 years ago2007-10-17 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Wed, 17 Oct 2007 22:10:23 +0000 (22:10 +0000)]
2007-10-17  Masami Hiramatsu <mhiramat@redhat.com>

        * autoconf-tsc-khz.c: Not to be compiled if the kernel version is
        younger than 2.6.23 on i386.

16 years ago2007-10-16 Martin Hunt <hunt@redhat.com>
hunt [Wed, 17 Oct 2007 12:58:41 +0000 (12:58 +0000)]
2007-10-16  Martin Hunt  <hunt@redhat.com>

PR 5000
* systemtap.printf/bin3.stp. Removed.
* systemtap.printf/bin3a.stp. Renamed bin3.stp.
* systemtap.printf/bin4.stp. Removed.
* systemtap.printf/bin4a.stp. Renamed bin4.stp.
* systemtap.printf/bin5.stp. Removed.
* systemtap.printf/bin5a.stp. Renamed bin5.stp.
* systemtap.printf/bin3.exp: Don't run bin3a.stp.
* systemtap.printf/bin4.exp: Don't run bin4a.stp.
* systemtap.printf/bin5.exp: Don't run bin5a.stp.

Increase reliability under loads.
* systemtap.samples/pfaults.exp: Increase MAXACTION.
* systemtap.context/backtrace.tcl: Handle just
a single userspace address.

16 years ago2007-10-17 Martin Hunt <hunt@redhat.com>
hunt [Wed, 17 Oct 2007 12:53:44 +0000 (12:53 +0000)]
2007-10-17  Martin Hunt  <hunt@redhat.com>
PR5000
* endian.stp (set_endian): Remove.

16 years ago2007-10-17 Martin Hunt <hunt@redhat.com>
hunt [Wed, 17 Oct 2007 12:52:27 +0000 (12:52 +0000)]
2007-10-17  Martin Hunt  <hunt@redhat.com>
PR5000
* vsprintf.c: Remove _stp_endian.

16 years ago* runtime/uprobes/uprobes.[ch], uprobes_i386.[ch],
kenistoj [Tue, 16 Oct 2007 23:40:49 +0000 (23:40 +0000)]
* runtime/uprobes/uprobes.[ch], uprobes_i386.[ch],
uprobes_ppc64.h, uprobes_s390.h: Adjusted SLOT_IP and
arch_validate_probed_insn to accept task pointer (needed by
x86_64); added uprobe_probept_arch_info and uprobe_task_arch_info
(ditto).
* runtime/uprobes/uprobes_i386.c: Fixed a couple of glitches
discovered when porting to x86_64

16 years ago.
roland [Mon, 15 Oct 2007 23:31:53 +0000 (23:31 +0000)]
.

16 years ago2007-10-15 Roland McGrath <roland@redhat.com>
roland [Mon, 15 Oct 2007 23:31:50 +0000 (23:31 +0000)]
2007-10-15  Roland McGrath  <roland@redhat.com>

PR 5101
* loc2c.c (struct location): Replace regno union member with struct
member reg, fields regno and offset.
(translate): Update uses.
(emit_base_fetch, emit_base_store, emit_loc_register): Likewise.
Fail if reg.offset is not zero.
(location_relative): Handle DW_OP_plus_uconst relative to loc_register.
(c_translate_array): Handle array index into loc_register.

16 years ago2007-10-15 David Smith <dsmith@redhat.com>
dsmith [Mon, 15 Oct 2007 20:12:36 +0000 (20:12 +0000)]
2007-10-15  David Smith  <dsmith@redhat.com>

* tapsets.cxx (mark_query::handle_query_module): Checks for marker
to be in the proper section.
(mark_derived_probe_group::emit_module_decls): Updated emitted
marker C code for 10/2/2007 markers patch.  Fixes PR 5178.

16 years agoadded test for 32-bit value of AT_FDCWD
dwilder [Mon, 15 Oct 2007 19:11:11 +0000 (19:11 +0000)]
added test for 32-bit value of AT_FDCWD

16 years ago2007-10-15 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Mon, 15 Oct 2007 15:21:23 +0000 (15:21 +0000)]
2007-10-15  Masami Hiramatsu <mhiramat@redhat.com>

        * autoconf-tsc-khz.c: Fix a bug to be configured correctly.

16 years ago2007-10-15 David Smith <dsmith@redhat.com>
dsmith [Mon, 15 Oct 2007 14:43:19 +0000 (14:43 +0000)]
2007-10-15  David Smith  <dsmith@redhat.com>

From David Wilder <dwilder@us.ibm.com>
* tapsets.cxx (mark_query::handle_query_module): Updated to handle
64-bit platforms correctly.

16 years ago2007-10-15 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Mon, 15 Oct 2007 05:24:01 +0000 (05:24 +0000)]
2007-10-15  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* conversions.stp: Add a function kernel_string_n for copy
non-0-terminated string with fixed length from kernel space at
given address.
* stapfuncs.5.in: Add kernel_string_n.
* nfsd.stp: Using kernel_string_n to copy non-0-terminated string
with fixed length from kernel space at given address.
* nfs_proc.stp: Ditto.

16 years ago2007-10-12 David Smith <dsmith@redhat.com>
dsmith [Fri, 12 Oct 2007 20:29:21 +0000 (20:29 +0000)]
2007-10-12  David Smith  <dsmith@redhat.com>

* tapsets.cxx (dwflpp::setup): Added 'debuginfo_needed' parameter
to not error if no debuginfo present.
(hex_dump): New function.
(mark_query::handle_query_module): Updated for
10/2/2007 markers patch.  Currently only handles markers in the
kernel image itself - not in modules.

16 years ago2007-10-12 Martin Hunt <hunt@redhat.com>
hunt [Fri, 12 Oct 2007 19:46:35 +0000 (19:46 +0000)]
2007-10-12  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_ask_for_symbols): Don't ask for
transport_info yet.  Need to wait until symbols are
received.
(_stp_work_queue): Rename _stp_ready_q to _stp_ctl_ready_q.
* procfs.c: Create a ".symbols" channel and use it for
STP_MODULE and STP_SYMBOLS. Rename "cmd" channel to ".cmd".
* control.c: Ditto.

16 years ago2007-10-12 Martin Hunt <hunt@redhat.com>
hunt [Fri, 12 Oct 2007 19:42:32 +0000 (19:42 +0000)]
2007-10-12  Martin Hunt  <hunt@redhat.com>
Changes to separate the symbols from the command channel.

* cap.c (init_cap): Add CAP_DAC_OVERRIDE.
* staprun.h: Change init_ctl_channel prototype.
* ctl.c (init_ctl_channel): Modify to open either
a command or symbol channel. Use ".cmd" and ".symbols"
as the new names.
* mainloop.c (init_stapio): Call init_ctl_channel(0);
* staprun.c (cleanup): Call stop_symbol_thread().
(main): Call start_symbol_thread().
* staprun_funcs.c (handle_symbols): Make a thread.
(start_symbol_thread): New.
(stop_symbol_thread): New.

16 years ago2007-10-12 Martin Hunt <hunt@redhat.com>
hunt [Fri, 12 Oct 2007 19:33:14 +0000 (19:33 +0000)]
2007-10-12  Martin Hunt  <hunt@redhat.com>

* Makefile.am (staprun_LDADD): Add -lpthread.
* Makefile.in: Rebuilt.

16 years agotimers.c init tid to 0 to workaround s390x bug.
dwilder [Fri, 12 Oct 2007 17:24:33 +0000 (17:24 +0000)]
timers.c init tid to 0 to workaround s390x bug.

16 years ago2007-10-12 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 12 Oct 2007 06:02:41 +0000 (06:02 +0000)]
2007-10-12  Zhaolei  <zhaolei@cn.fujitsu.com>

* queue_stats.stp (qsq_start): Fix problem that compile fails when
calling qsq_utilization or other query functions next to qsq_start.

16 years ago* staprun error-check reordering for parseko/cmdline* tests
fche [Fri, 12 Oct 2007 01:51:10 +0000 (01:51 +0000)]
* staprun error-check reordering for parseko/cmdline* tests

* staprun.c (main): Move checks for init_cap and getuid
from just before command line argument parsing to just after.

16 years ago* specfile dep fix
fche [Thu, 11 Oct 2007 21:56:29 +0000 (21:56 +0000)]
* specfile dep fix

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

* systemtap.spec.in: Make -testsuite subrpm require dejagnu.

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