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

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.

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