]> sourceware.org Git - systemtap.git/log
systemtap.git
17 years agoChange warning message from configure for mysql
guanglei [Fri, 20 Oct 2006 09:41:15 +0000 (09:41 +0000)]
Change warning message from configure for mysql

17 years agoAdding s390x support release-0.5.10
dwilder [Thu, 19 Oct 2006 18:37:15 +0000 (18:37 +0000)]
Adding s390x support

17 years ago.
roland [Wed, 18 Oct 2006 21:24:05 +0000 (21:24 +0000)]
.

17 years ago2006-10-18 Roland McGrath <roland@redhat.com>
roland [Wed, 18 Oct 2006 21:23:53 +0000 (21:23 +0000)]
2006-10-18  Roland McGrath  <roland@redhat.com>

PR 2727
* configure.ac (elfutils build): Pass --prefix and --exec-prefix
options to elfutils configure.
(elfutils_abs_srcdir): New substituted variable.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
* configure, config.in, Makefile.in: Regenerated.

17 years ago2006-10-18 David Smith <dsmith@redhat.com>
dsmith [Wed, 18 Oct 2006 18:06:45 +0000 (18:06 +0000)]
2006-10-18  David Smith  <dsmith@redhat.com>

* systemtap.syscall/.cvsignore: Added file.

17 years agoupdate man pages
guanglei [Wed, 18 Oct 2006 07:08:01 +0000 (07:08 +0000)]
update man pages

17 years ago* configure.ac: add the checking for mysql_config, mysqlclient library and header...
guanglei [Mon, 16 Oct 2006 08:36:35 +0000 (08:36 +0000)]
* configure.ac: add the checking for mysql_config, mysqlclient library and header files

* runtime/lket/b2a/Makefile.am: set compile flags according to the existance of mysql_config

17 years agotapset/scsi.stp:
guanglei [Mon, 16 Oct 2006 03:01:05 +0000 (03:01 +0000)]
tapset/scsi.stp:
check whether rq_disk is empty

tapset/scheduler.stp
revert changes

17 years ago* tapset/scsi.stp:
guanglei [Fri, 13 Oct 2006 10:08:30 +0000 (10:08 +0000)]
* tapset/scsi.stp:
 add more variables

* tapset/LKET/register_event.stp:
  be sync with scsi trace hooks

* tapset/LKET/scsi.stp:
 avoid reference to struct members in
 embedded c. Use stap variables as more as possible.
 break scsi_info into four variables.
 delete cmd_pid from all logging functions

17 years agoscheduler.stp:
guanglei [Fri, 13 Oct 2006 07:23:21 +0000 (07:23 +0000)]
scheduler.stp:
skip __switch_to on x86_64

17 years ago2006-10-12 Martin Hunt <hunt@redhat.com>
hunt [Fri, 13 Oct 2006 02:29:41 +0000 (02:29 +0000)]
2006-10-12  Martin Hunt  <hunt@redhat.com>

* stack-ppc64.c (__stp_stack_sprint): Declare sp before _sp.

17 years ago2006-10-12 Martin Hunt <hunt@redhat.com>
hunt [Thu, 12 Oct 2006 18:46:38 +0000 (18:46 +0000)]
2006-10-12  Martin Hunt  <hunt@redhat.com>
* context.stp (print_backtrace): Pass in new
kretprobe instance arg.
(backtrace): Ditto.
(is_return): Rewrite.
(stack_size): New.
(stack_used): New.
(stack_unused): New.
(called_addr): New.
(caller): New.

17 years ago2006-10-12 Martin Hunt <hunt@redhat.com>
hunt [Thu, 12 Oct 2006 18:30:24 +0000 (18:30 +0000)]
2006-10-12  Martin Hunt  <hunt@redhat.com>

* translate.cxx (emit_common_header): Add a
kretprobe_instance pointer to struct context.
(emit_symbol_data): Include absolute symbols.

* tapsets.cxx (emit_common_header): Initialize
the kprobe instance pointer to 0;
(emit_probe_entries): Set kretprobe instance
pointer if appropriate.

17 years agoFix comment.
hunt [Thu, 12 Oct 2006 18:20:29 +0000 (18:20 +0000)]
Fix comment.

17 years ago2006-10-12 Martin Hunt <hunt@redhat.com>
hunt [Thu, 12 Oct 2006 18:19:18 +0000 (18:19 +0000)]
2006-10-12  Martin Hunt  <hunt@redhat.com>

* stack.c: Reorganize and split arch-specific functions to
separate files.
(_stp_kta): Better checking.
(_stp_stack_sprint): Better handling of return probes.

* stack-i386.c: New file. Uses 2.6.18 DWARF unwinder if available.
* stack-x86_64.c: New file. Uses 2.6.18 DWARF unwinder if available.
* stack-ppc64.c: New file.
* stack-ia64.c: New file.

* sym.c (_stp_kallsyms_lookup_name): New function. Like
kallsyms_lookup_name() except use our internal lookup table.

17 years ago* ioscheduler.stp:
guanglei [Thu, 12 Oct 2006 08:29:10 +0000 (08:29 +0000)]
* ioscheduler.stp:
  bugfix to avoid refer to NULL pointer

* hookid_defs.stp, ioscheduler.stp, register_event.stp:
  break the old addevent.ioscheduler.elv_next_request into
  addevent.ioscheduler.elv_next_request.entry and
  addevent.ioscheduler.elv_next_request.return.
  Now log_ioscheduler_tracedata_* will use the
  variables defined in generic ioscheduler tapset

17 years ago2006-10-11 David Smith <dsmith@redhat.com>
dsmith [Wed, 11 Oct 2006 14:56:09 +0000 (14:56 +0000)]
2006-10-11  David Smith  <dsmith@redhat.com>

* tapsets.cxx (in_kprobes_function): New function that looks up
the values of '__kprobes_text_start' and '__kprobes_text_end' in
the kernel to be able to automatically exclude functions marked as
'__kprobes' (BZ# 2639).
(blacklisted_p): Calls in_kprobes_function().
(query_kernel_module): Utility function that finds the kernel module.
* session.h (struct systemtap_session): Added kprobes_text
variables - kprobes_text_initialized, kprobes_text_start, and
kprobes_text_end.
* elaborate.cxx (systemtap_session::systemtap_session):
kprobes_text variables get initialized.

17 years agobugfix of LKET/tapsets for pointer conversion on 32-bit platform
guanglei [Wed, 11 Oct 2006 03:02:16 +0000 (03:02 +0000)]
bugfix of LKET/tapsets for pointer conversion on 32-bit platform

make sys_request_key optional on i386

17 years ago.
roland [Tue, 10 Oct 2006 19:28:12 +0000 (19:28 +0000)]
.

17 years ago2006-10-10 Roland McGrath <roland@redhat.com>
roland [Tue, 10 Oct 2006 19:28:05 +0000 (19:28 +0000)]
2006-10-10  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in (elfutils_version): Require 0.124 now.

17 years agofix for transport test failure in nightly testsuite
trz [Tue, 10 Oct 2006 19:24:23 +0000 (19:24 +0000)]
fix for transport test failure in nightly testsuite

17 years ago* partial rollback of mysql code in lket/b2a until configury problems are solved
fche [Tue, 10 Oct 2006 17:40:10 +0000 (17:40 +0000)]
* partial rollback of mysql code in lket/b2a until configury problems are solved

17 years ago* runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
guanglei [Tue, 10 Oct 2006 13:42:20 +0000 (13:42 +0000)]
* runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
clean up the unused database tables and destory GTree on exit.

17 years ago* runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
guanglei [Tue, 10 Oct 2006 09:53:54 +0000 (09:53 +0000)]
* runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
Adding the support of automatically database creation and
dumping lket trace into mysql database

* configure.ac:
add the checking of mysql client library

* Makefile.in, configure:
regenerated

* runtime/lket/b2a/Makefile.am:
add the checking and optional compiling for mysql client library

* runtime/lket/b2a/Makefile.in:
regenerated

17 years agostapprobes.signal.5.in:
guanglei [Tue, 10 Oct 2006 08:32:06 +0000 (08:32 +0000)]
stapprobes.signal.5.in:
    document signal syscall

hookiddefs.stp:
    some changes to the hookid:

    Now the hookid of a return type event(addevent.*.return)
    should be an even number and its value should be the
    corresponding entry event hookid +1.

    The hookid of a non-return type event should be an odd
    number.

    Add the hookid of HOOKID_REGEVTDESC

register_event.stp:

    add register_evt_desc() to register the description of an event.

    Change the register_sys_event() to add the an argument
    representing event description

    Allow to use empty format string and empty field name when
    calling register_event().

    Change all calling to register_sys_event() to add an
    argument which represents the event description.

    Change register_evt_desc() and register_event() to add an argument
    representing the event description string, which could help
    facilitate the error debugging.

iosyscall.stp:
    bugfix to add the variable GroupID and hookID

nfs.stp:
    bugfix to add some omitted probe definitions.

nfs_proc.stp:
    bugfix of the wrong calling to _lket_trace() for
    nfs_proc.remove.entry.

17 years ago2006-10-09 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 9 Oct 2006 19:34:07 +0000 (19:34 +0000)]
2006-10-09  Josh Stone  <joshua.i.stone@intel.com>

From David Wilder <dwilder@us.ibm.com>
* time.c (__stp_estimate_cpufreq): Short-circuit on s390.
(_stp_gettimeofday_ns): Use a fixed formula on s390 to
convert TOD clocks to nanoseconds.

17 years agoReenable this testsuite. Why was it disabled?
hunt [Mon, 9 Oct 2006 18:16:44 +0000 (18:16 +0000)]
Reenable this testsuite. Why was it disabled?

17 years ago* round 'em up
fche [Thu, 5 Oct 2006 16:41:21 +0000 (16:41 +0000)]
* round 'em up
* move 'em out

17 years ago2006-10-04 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 4 Oct 2006 17:22:15 +0000 (17:22 +0000)]
2006-10-04  Frank Ch. Eigler  <fche@elastic.org>

* context.stp (probefunc): Return empty string for
userspace (< PAGE_OFFSET) pointers.

17 years agocreate src/man/stapprobes.*.in for detailed stap probe points.
guanglei [Fri, 29 Sep 2006 09:12:15 +0000 (09:12 +0000)]
create src/man/stapprobes.*.in for detailed stap probe points.

17 years agoPR 3282
guanglei [Fri, 29 Sep 2006 07:25:46 +0000 (07:25 +0000)]
PR 3282
Makefile.am: add -DPKGLIBDIR='"$(pkglibexecdir)"' to AM_CPPFLAGS

17 years agoBetter output for debugging.
hunt [Thu, 28 Sep 2006 19:42:05 +0000 (19:42 +0000)]
Better output for debugging.

17 years ago2006-09-28 Martin Hunt <hunt@redhat.com>
hunt [Thu, 28 Sep 2006 19:03:39 +0000 (19:03 +0000)]
2006-09-28  Martin Hunt  <hunt@redhat.com>

* buildok/eighteen.stp: Fix for 2.6.18.
* buildok/two.stp: Ditto.

17 years ago2006-09-28 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 28 Sep 2006 17:50:09 +0000 (17:50 +0000)]
2006-09-28  Josh Stone  <joshua.i.stone@intel.com>

PR 3278
* tapsets.cxx (hrtimer_derived_probe::emit_probe_entries): Only
restart timers when the session is still active and we updated the
expire time.

17 years ago2006-09-27 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 28 Sep 2006 01:48:59 +0000 (01:48 +0000)]
2006-09-27  Josh Stone  <joshua.i.stone@intel.com>

* session.h (struct systemtap_session): Add kernel_base_release
to store the kernel version without the -NNN suffix.
* main.cxx (main): Generate and use kernel_base_release.
* parse.cxx (eval_pp_conditional): Use kernel_base_release.
* tapsets.cxx (profile_derived_probe::profile_derived_probe):
Use kernel_base_release.

* tapsets.cxx (timer_builder::build): Support a wide variety of
timer varients -- jiffies, s/sec, ms/msec, us/usec, ns/nsec, and
hz.  Use hrtimers automatically on kernels that have it.
(timer_builder::register_patterns): Bind all of the new timer
varients in one easy place.
(register_standard_tapsets): Call timer_builder::register_patterns.
(struct hrtimer_builder): Removed since timer_builder is generic.
* stapprobes.5.in: Document new timer.* functionality.

* tapsets.cxx (hrtimer_derived_probe_group::emit_probes): Add a
shared global for the actual hrtimer resolution, _stp_hrtimer_res.
(hrtimer_derived_probe_group::emit_module): Init _stp_hrtimer_res.
(hrtimer_derived_probe::emit_interval): Limit intervals at a
minimum to the hrtimer's actual resolution.
(hrtimer_derived_probe::emit_probe_entries): Forward timers
based on previous expiration instead of restarting relative.

testsuite/
* buildok/fourteen.stp: Test new timer functionality.

17 years ago2006-09-27 Martin Hunt <hunt@redhat.com>
hunt [Wed, 27 Sep 2006 18:32:03 +0000 (18:32 +0000)]
2006-09-27  Martin Hunt  <hunt@redhat.com>

* stack.c (_stp_kta): Rewrite. Use the _stap_symbols
struct instead of calling into the kernel.

* sym.c (_stp_kallsyms_lookup): Move here from runtime.h

* runtime.h: Get rid of all the symbol stuff that
did not belong here.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:41:37 +0000 (21:41 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* .cvsignore: Changed 'stpd' reference to 'staprun'.
* INTERNALS: Ditto.
* buildrun.cxx (run_pass): Ditto.
* lket.5.in: Ditto.
* stap.1.in: Ditto.
* stapruncs.5.in: Ditto.
* examples/small_demos/demo_script.txt: Ditto.
* examples/small_demos/sys.stp: Ditto.

* systemtap.spec.in: Created a new subpackage,
"systemtap-runtime", that contains staprun.

* Makefile.am: Renamed 'stpd' to 'staprun' and moved it to
$(bindir).
* Makefile.in: Regenerated from Makefile.am.

* configure.ac: Incremented version number.
* configure: Regenerated from configure.ac.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:39:52 +0000 (21:39 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* README: Changed 'stpd' references to 'staprun'.
* README.doc: Ditto.
* TODO: Ditto.
* io.c: Ditto.
* print.c: Ditto.
* runtime.h: Ditto.
* bench2/bench.rb: Ditto.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:39:16 +0000 (21:39 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* bench/run_bench: Changed 'stpd' references to 'staprun'.
* bench/trans_bench: Ditto.
* where_func/README: Ditto.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:38:35 +0000 (21:38 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* Makefile: Changed 'stpd' references to 'staprun'.
* librelay.c: Ditto.
* stpd.c: Ditto.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:38:05 +0000 (21:38 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* transport.c: Changed 'stpd' references to 'staprun'.
* transport.txt: Ditto.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:37:39 +0000 (21:37 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* io.c: Changed 'stpd' references to 'staprun'.
* print.c: Ditto.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:37:02 +0000 (21:37 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* test/run.sh: Changed 'stpd' references to 'staprun'.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:36:35 +0000 (21:36 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* tskdispatch.stp: Changed 'stpd' reference to 'staprun'.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:35:56 +0000 (21:35 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* systemtap.samples/args.exp: Looks for 'staprun' instead of
'stpd'.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:35:34 +0000 (21:35 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* test.tcl: Looks for 'staprun' instead of 'stpd'.

17 years ago2006-09-26 Martin Hunt <hunt@redhat.com>
hunt [Tue, 26 Sep 2006 17:22:39 +0000 (17:22 +0000)]
2006-09-26  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_handle_start): Don't initialize timers here.
(_stp_transport_init): Initialize timers here.
(_stp_cleanup_and_exit): Don't kill timers or free print buffers here.
(_stp_transport_close): kill timers and free print buffers here.

17 years ago2006-09-26 Martin Hunt <hunt@redhat.com>
hunt [Tue, 26 Sep 2006 17:19:14 +0000 (17:19 +0000)]
2006-09-26  Martin Hunt  <hunt@redhat.com>
* time.c (_stp_init_time): Use dynamic percpu allocations
instead of evil static allocations.
(_stp_kill_time): Free percpu allocations and set
_stp_time to NULL so the timers are only deleted once.

17 years ago2006-09-26 Martin Hunt <hunt@redhat.com>
hunt [Tue, 26 Sep 2006 13:51:37 +0000 (13:51 +0000)]
2006-09-26  Martin Hunt  <hunt@redhat.com>

* io.c (_stp_vlog): Remove ifdef for STP_RELAYFS. Relayfs now
behaves the same as procfs.

17 years agofix for bz 2816
trz [Mon, 25 Sep 2006 22:36:14 +0000 (22:36 +0000)]
fix for bz 2816

17 years agoregister_event.stp, process.stp, lket_trace.stp:
guanglei [Sat, 23 Sep 2006 14:15:48 +0000 (14:15 +0000)]
register_event.stp, process.stp, lket_trace.stp:
Change to per_cpu_ptr(Stp_pbuf, smp_processor_id()) to get the per-cpu printing buffer

17 years ago2006-09-22 Martin Hunt <hunt@redhat.com>
hunt [Fri, 22 Sep 2006 16:37:51 +0000 (16:37 +0000)]
2006-09-22  Martin Hunt  <hunt@redhat.com>

* print.c: Replace STP_PRINT_BUF_LEN with STP_BUFFER_SIZE.
* string.c: Ditto.

17 years agoclean up if stp_check fails
trz [Fri, 22 Sep 2006 14:49:17 +0000 (14:49 +0000)]
clean up if stp_check fails

17 years agohave stp_check mount debugfs
trz [Fri, 22 Sep 2006 14:48:41 +0000 (14:48 +0000)]
have stp_check mount debugfs

17 years ago2006-09-22 Martin Hunt <hunt@redhat.com>
hunt [Fri, 22 Sep 2006 13:56:45 +0000 (13:56 +0000)]
2006-09-22  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_work_queue): Reenable some cleanup
code.

17 years agoDocument RPC trace hooks in lket.5.in
guanglei [Fri, 22 Sep 2006 08:46:36 +0000 (08:46 +0000)]
Document RPC trace hooks in lket.5.in

17 years ago2006-09-21 Martin Hunt <hunt@redhat.com>
hunt [Fri, 22 Sep 2006 01:34:42 +0000 (01:34 +0000)]
2006-09-21  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_transport_init): Call _stp_print_init().
(_stp_cleanup_and_exit): Call _stp_print_cleanup().

17 years ago2006-09-21 Martin Hunt <hunt@redhat.com>
hunt [Fri, 22 Sep 2006 01:32:12 +0000 (01:32 +0000)]
2006-09-21  Martin Hunt  <hunt@redhat.com>
PR 3232
* print.c (_stp_print_init): New. Alloc per-cpu buffers.
(_stp_print_cleanup): New. Free per-cpu buffers.
(_stp_print_flush): Use per_cpu_ptr().
* string.c (_stp_sprintf): Ditto.
(_stp_vsprintf): Ditto.
(_stp_string_cat_cstr): Ditto.
(_stp_string_cat_char): Ditto.

17 years agoUse semaphore if mutex not available
trz [Thu, 21 Sep 2006 21:19:06 +0000 (21:19 +0000)]
Use semaphore if mutex not available

17 years ago2006-09-20 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 20 Sep 2006 21:11:44 +0000 (21:11 +0000)]
2006-09-20  Josh Stone  <joshua.i.stone@intel.com>

* lket/b2a/lket_b2a.c (main): Correct arguments to fseek.
(dump_data): Work around a spurious compiler warning.

17 years ago2006-09-20 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 20 Sep 2006 21:01:56 +0000 (21:01 +0000)]
2006-09-20  Josh Stone  <joshua.i.stone@intel.com>

PR 3233

./
* stapfuncs.5.in: Document new gettimeofday_ns.

runtime/
* time.c (stp_time_t): Use ns for the base time, and freq is now kHz.
(__stp_estimate_cpufreq): Compute kHz instead of MHz.
(__stp_time_timer_callback, __stp_init_time): Compute base in ns.
(__stp_time_cpufreq_callback): Record kHz instead of MHz.
(_stp_init_time): Record kHz, and disable preemption to avoid a race
in the cpufreq notifier.
(_stp_gettimeofday_ns): Converted from _stp_gettimeofday_us.

tapset/
* timestamp.stp (gettimeofday_ns): New function
(gettimeofday_us, gettimeofday_ms, gettimeofday_s):
Use gettimeofday_ns as the base unit.

testsuite/
* buildok/timestamp.stp: add gettimeofday_ns test.

17 years agoConversion from relay-on-procfs to relay-on-debugfs
trz [Tue, 19 Sep 2006 19:16:55 +0000 (19:16 +0000)]
Conversion from relay-on-procfs to relay-on-debugfs

17 years agolket_trace.stp,process.stp,register_event.stp:
guanglei [Tue, 19 Sep 2006 08:01:26 +0000 (08:01 +0000)]
lket_trace.stp,process.stp,register_event.stp:
  Be sync with the runtime printing changes made by Martin

lket/b2a/lket_b2a.c, lket/b2a/lket_b2a.h:
  Be sync with the recent runtime printing changes made by Martin.
  Some clean up work before adding the support of dumping data into MySQL
  Bug fix of segment fault when an event is not registered.

17 years agoFrom Gui Jian <guijian@cn.ibm.com>:
guanglei [Tue, 19 Sep 2006 03:19:16 +0000 (03:19 +0000)]
From Gui Jian <guijian@cn.ibm.com>:

tapset/rpc.stp:
  Some changes and more comments of RPC tapset

tapset/LKET/rpc.stp:
  New trace hooks for RPC activities on client, server and scheduler sides

tapset/LKET/register_event.stp:
  Add the register_sys_event() calls for new RPC trace hooks

tapset/LKET/hookid_defs.stp:
  Add the definitions of RPC trace hooks

17 years ago2006-09-18 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 18 Sep 2006 20:57:40 +0000 (20:57 +0000)]
2006-09-18  Josh Stone  <joshua.i.stone@intel.com>

PR 3220
From Eugeniy Meshcheryakov <eugen@debian.org>:
* lket/b2a/lket_b2a.c: Check that appNameTree exists before destroying.

17 years ago2006-09-18 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 18 Sep 2006 20:49:51 +0000 (20:49 +0000)]
2006-09-18  Josh Stone  <joshua.i.stone@intel.com>

PR 3219
From Eugeniy Meshcheryakov <eugen@debian.org>:
* stapprobes.5.in: Correct misuse of '-' -> '\-' in manpage

17 years ago*** empty log message ***
hunt [Mon, 18 Sep 2006 18:02:54 +0000 (18:02 +0000)]
*** empty log message ***

17 years ago2006-09-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 18 Sep 2006 18:01:35 +0000 (18:01 +0000)]
2006-09-18  Martin Hunt  <hunt@redhat.com>

* logging.stp (stp_print_binary): New function.
* string.stp: Fix docs.

17 years ago2006-09-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 18 Sep 2006 17:03:33 +0000 (17:03 +0000)]
2006-09-18  Martin Hunt  <hunt@redhat.com>

* bench2/bench.rb: Remove the deprecated "-m" option
to stpd. Also, don't use merge mode for relayfs.
* bench2/run_binary_print: New test. Compare various ways of
printing binary data.

17 years ago2006-09-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 18 Sep 2006 16:55:01 +0000 (16:55 +0000)]
2006-09-18  Martin Hunt  <hunt@redhat.com>

* buildrun.cxx (run_pass): Remove "-m" option to stpd.
* translate.cxx (translate_pass): #define STP_RELAYFS_MERGE
if appropriate.

17 years ago2006-09-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 18 Sep 2006 16:52:14 +0000 (16:52 +0000)]
2006-09-18  Martin Hunt  <hunt@redhat.com>

* transport_msgs.h (struct transport_info): Add merge field.
* transport.c (_stp_transport_open): Set merge field.

17 years ago2006-09-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 18 Sep 2006 16:49:03 +0000 (16:49 +0000)]
2006-09-18  Martin Hunt  <hunt@redhat.com>

* stpd.c (usage): Remove "-m" option.
(main): Print warning if "-m" is used.
* librelay.c (merge_output): Rewrite to handle
new format that support binary.
(stp_main_loop): Read merge option from the
transport info message.

17 years ago2006-09-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 18 Sep 2006 16:44:19 +0000 (16:44 +0000)]
2006-09-18  Martin Hunt  <hunt@redhat.com>

* print.c (_stp_print_flush): Rewrite so one version works for
relayfs or procfs. Use proper per-cpu functions.
(_stp_reserve_bytes): New function. Reserve bytes in the output buffer.
(_stp_print_binary): New function. Write a variable number of
64-bit values directly into the output buffer.

* string.c (_stp_sprintf): Rewrite using new per-cpu buffers.
(_stp_vsprintf): Ditto.
(_stp_string_cat_cstr): Ditto.
(_stp_string_cat_char): Ditto.

* runtime.h: Set defaults for MAXTRYLOCK and TRYLOCKDELAY to make
runtime tests in bench2 happy.

17 years agoClose when done.
hunt [Mon, 18 Sep 2006 15:54:03 +0000 (15:54 +0000)]
Close when done.

17 years ago*.stp:
guanglei [Fri, 15 Sep 2006 05:47:21 +0000 (05:47 +0000)]
*.stp:
 Make all integers passed into _lket_trace() casted into int64_t explicitly.
 Delete calling to filter_by_pid()

* nfs*.stp:
 Change addevent.*.entries to addevent.*.entry

17 years ago2006-09-13 Martin Hunt <hunt@redhat.com>
hunt [Wed, 13 Sep 2006 22:46:45 +0000 (22:46 +0000)]
2006-09-13  Martin Hunt  <hunt@redhat.com>

* buildrun.cxx (run_pass): Remove "-r" option to stpd.

17 years ago2006-09-13 Martin Hunt <hunt@redhat.com>
hunt [Wed, 13 Sep 2006 22:46:09 +0000 (22:46 +0000)]
2006-09-13  Martin Hunt  <hunt@redhat.com>

* librelay.c (init_relayfs): Exec stp_check and find
relay_filebase.

* librelay.h (stp_main_loop): Fix declaration of init_stp().

* stpd.c (usage): Remove "-r" option.
(main): Don't find stpd_filebase and don't send it to init_stp().

17 years ago Do not throw sematic error unless probes actually used.
wcohen [Wed, 13 Sep 2006 13:47:11 +0000 (13:47 +0000)]
Do not throw sematic error unless probes actually used.

17 years agoCorrect typo in ChangeLog.
wcohen [Tue, 12 Sep 2006 22:09:22 +0000 (22:09 +0000)]
Correct typo in ChangeLog.

17 years agoChangelog entry for SystemTap perfmon support.
wcohen [Tue, 12 Sep 2006 22:06:38 +0000 (22:06 +0000)]
Changelog entry for SystemTap perfmon support.

17 years agoSystemtap perfmon support to access the processors perfmon hardware.
wcohen [Tue, 12 Sep 2006 22:05:48 +0000 (22:05 +0000)]
Systemtap perfmon support to access the processors perfmon hardware.

17 years ago2006-09-12 David Smith <dsmith@redhat.com>
dsmith [Tue, 12 Sep 2006 16:07:54 +0000 (16:07 +0000)]
2006-09-12  David Smith  <dsmith@redhat.com>

* Added .cvsignore file.

17 years agosrc/lket.5.in:
guanglei [Tue, 12 Sep 2006 09:31:14 +0000 (09:31 +0000)]
src/lket.5.in:
document nfs trace hooks

tapset/nfsd.stp, tapset/nfs_proc.stp, tapset/nfs.stp:
Change NFS file identifier. Change NFS version data type
from String to INT. Add version variable to nfs_open
and nfs_release.

LKET/iosyscall.stp:
change log_iosyscall_sync() be sync with different timing methods.

LKET/utils.stp:
add reset_maxaction() since there are too many functions called inside "probe begin".

LKET/nfsd.stp, LKET/nfs_proc.stp, LKET/nfs.stp:
New trace hooks for NFS, including both NFS client and server side activities.

LKET/register_event.stp:
Add the register event calls for NFS trace hooks.

17 years agoAdded RPC tapsets
guanglei [Mon, 11 Sep 2006 02:39:36 +0000 (02:39 +0000)]
Added RPC tapsets

17 years ago* tolerate long-running jobs better in stap_run_batch ()
fche [Sun, 10 Sep 2006 01:01:22 +0000 (01:01 +0000)]
* tolerate long-running jobs better in stap_run_batch ()

17 years ago2006-09-09 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 9 Sep 2006 22:30:43 +0000 (22:30 +0000)]
2006-09-09  Frank Ch. Eigler  <fche@elastic.org>

* lib/systemtap.exp (stap_run_batch): New helper routine.
* systemtap.pass1-4/*.exp: Use it instead of catch/exec/>>& hack.

17 years ago2006-09-08 David Smith <dsmith@redhat.com>
dsmith [Fri, 8 Sep 2006 13:05:49 +0000 (13:05 +0000)]
2006-09-08  David Smith  <dsmith@redhat.com>

* elaborate.h (struct derived_probe): Replace emit_registrations()
function with emit_registrations_start() and
emit_registrations_end().
(struct derived_probe_group): Added emit_module_init().
(struct derived_probe_group_container): Added emit_module_init(),
emit_module_init_call(), and emit_module_exit().
* elaborate.cxx (struct alias_derived_probe): Updated
emit_regitrations calls.
* translate.cxx (emit_module_init): Instead of actually emitting
per-probe-point registrations/unregistrations, let the session's
derived_probe_group_container do it.
* tapsets.cxx (emit_probe_timing): New function that handles
probe timing code.
(be_derived_probe::emit_registrations_start): Renamed from
emit_registrations.
(be_derived_probe_group::emit_module_init): New function that
outputs probes create and destroy functions.
(dwarf_derived_probe::emit_registrations): Removed, but most code
moved to emit_registrations_start().
(dwarf_derived_probe::emit_registrations_start): Handles details
of multiple dwarf probe registrations.
(dwarf_derived_probe::emit_registrations_end): Handles cleanup
details of multiple dwarf probe registrations.
(dwarf_derived_probe_group::emit_module_init): New function that
outputs probes create and destroy functions.
(timer_derived_probe::emit_registrations_start): Renamed from
emit_registrations.  Added mutiple probe handling.
(timer_derived_probe::emit_registrations_end): Handles cleanup
details of multiple probe registrations.
(timer_derived_probe_group::emit_module_init): New function that
outputs probes create and destroy functions.
(profile_derived_probe::emit_registrations_start): Renamed from
emit_registrations.  Added mutiple probe handling.
(profile_derived_probe::emit_registrations_end): Handles cleanup
details of multiple probe registrations.
(profile_derived_probe_group::emit_module_init): New function that
outputs probes create and destroy functions.
(mark_derived_probe::emit_registrations_start): Renamed from
emit_registrations.  Added mutiple probe handling.
(mark_derived_probe::emit_registrations_end): Handles cleanup
details of multiple probe registrations.
(mark_derived_probe_group::emit_module_init): New function that
outputs probes create and destroy functions.
(hrtimer_derived_probe::emit_registrations_start): Renamed from
emit_registrations.  Added mutiple probe handling.
(hrtimer_derived_probe::emit_registrations_end): Dummy function.
(hrtimer_derived_probe_group::emit_module_init): New function that
outputs probes create and destroy functions.
(derived_probe_group_container::emit_module_init): Added function
to call all probe group's emit_module_int functions.
(derived_probe_group_container::emit_module_init_call): Added
function to handle probe group initialization cleanup.
(derived_probe_group_container::emit_module_exit): Added
function to handle probe group cleanup.

17 years ago2006-09-06 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 6 Sep 2006 15:01:37 +0000 (15:01 +0000)]
2006-09-06  Frank Ch. Eigler  <fche@elastic.org>

Add basic support for initialized globals.
* parse.cxx (parse_global): Parse initialization clause, implement
by rewriting to "probe begin { var = value }".
* parse.h: Corresponding changes.
* stap.1.in: Document optional initialization.

2006-09-06  Frank Ch. Eigler  <fche@elastic.org>

* parseok/eighteen.stp, semok/twentythree.stp: New files for
testing initialized globals.

17 years ago* copyright bump
fche [Tue, 5 Sep 2006 02:09:22 +0000 (02:09 +0000)]
* copyright bump

17 years ago2006-09-04 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 5 Sep 2006 02:08:52 +0000 (02:08 +0000)]
2006-09-04  Frank Ch. Eigler  <fche@elastic.org>

Improve unresolved target-symbol error messages.
* staptree.h (target_symbol): Add new field saved_conversion_error.
* elaborate.cxx (typeresolution_info::visit_target_symbol): Throw
that if found instead of generic error.
* tapsets.cxx (t_v_f_c_v::visit_target_symbol): Set it.

17 years agodocument signal tapsets into stapprobes.5.in
guanglei [Wed, 30 Aug 2006 08:58:41 +0000 (08:58 +0000)]
document signal tapsets into stapprobes.5.in

some changes to arguments and comments of signal tapset

17 years agoadd another two kinds of timing mechanisms for LKET, i.e. get_cycles() and
guanglei [Tue, 29 Aug 2006 04:57:10 +0000 (04:57 +0000)]
add another two kinds of timing mechanisms for LKET, i.e. get_cycles() and
sched_clock()

17 years ago2006-08-28 David Smith <dsmith@redhat.com>
dsmith [Mon, 28 Aug 2006 17:59:50 +0000 (17:59 +0000)]
2006-08-28  David Smith  <dsmith@redhat.com>

* translate.cxx: Added inclusion of session.h.
(translate_pass): Instead of asking each probe to emit itself, we
ask the session's probes member variable to emit all the probes.
* tapsets.cxx: Added inclusion of session.h.  Added a
register_probe member function to all derived_probe based
classes.  Added a derived_probe_group derived class for all probe
types:
(be_derived_probe_group): New class.
(never_derived_probe_group): New class.
(dwarf_derived_probe_group): New class.
(timer_derived_probe_group): New class.
(profile_derived_probe_group): New class.
(mark_derived_probe_group): New class.
(hrtimer_derived_probe_group): New class
(derived_probe_group_container): New class.
* elaborate.h: Removed inclusion of session.h since session.h now
includes elaborate.h.
(derived_probe): Added register_probe member function.
(derived_probe_group): Added class definition.  This is the base
class of all of the derived probe groups - dwarf, timer, etc.
(derived_probe_group_container): Added class definition.  An
instance of this class will be stored in the session and contain
all the other probe groups.
* elaborate.cxx (derived_probe_group::register_probe): Added
derived_probe_group::register_probe stubs.
(alias_derived_probe::register_probe): Added register_probe member
function.
(semantic_pass_symbols): After deriving a probe, the probes now
register themselves with the session.
* session.h: Includes elaborate.h to get
derived_probe_group_container definition. systemtap_session class
'probes' member variable switched from a vector of derived probes
to a derived_probe_group_container.
* buildrun.cxx: Added inclusion of session.h since it was removed
from elaborate.h.
* main.cxx: Added inclusion of session.h since it was removed
from elaborate.h.
* parse.h: Added forward struct declarations.
* staptree.h: Removed inclusion of session.h.

17 years agobug fix and more error checking for nfs tapsets
guanglei [Fri, 25 Aug 2006 10:19:20 +0000 (10:19 +0000)]
bug fix and more error checking for nfs tapsets

17 years agosyscall.stp: add "probe never" to generate reference to hookid_defs.stp
guanglei [Fri, 25 Aug 2006 03:37:34 +0000 (03:37 +0000)]
syscall.stp: add "probe never" to generate reference to hookid_defs.stp
to avoid compiling error

17 years ago2006-08-23 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 23 Aug 2006 20:54:03 +0000 (20:54 +0000)]
2006-08-23  Josh Stone  <joshua.i.stone@intel.com>

PR 3093
From Eugeniy Meshcheryakov <eugen@debian.org>:
* main.cxx (main): Use setenv instead of putenv, since gcc 4.2
doesn't like assigning string constants to char*.  Also use
const char* for result from getenv.
* tapsets.cxx (dwflpp::setup): Copy string constant into a
local array, to fix gcc 4.2 warning.

17 years agovfs.stp:
guanglei [Wed, 23 Aug 2006 09:05:29 +0000 (09:05 +0000)]
vfs.stp:
New tapset from Thomas Zanussi(trz@us.ibm.com) to probe vfs layer activities.

nfs.stp:
New tapset from Li Xuepeng(xuepengl@cn.ibm.com) to probe nfs file operations
and nfs address space operations on client side.

nfs_proc.stp:
New tapset from Li Xuepeng to probe some nfs RPC procedure stub functions
on client side.

nfsd.stp:
New tapset from Li Xuepeng to probe nfs server side activities, including
some RPC procedure stub functions, nfsd dispatch routine, and nfsd_* functions

17 years ago2006-08-22 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 22 Aug 2006 20:55:59 +0000 (20:55 +0000)]
2006-08-22  Josh Stone  <joshua.i.stone@intel.com>

PR 3094
From Eugeniy Meshcheryakov <eugen@debian.org>:
* stap.1.in: In groff, '-' produces a Unicode hyphen.  Use '\-'
where a plain-old minus sign is desired, e.g., code examples.
* lket.5.in, stapex.5.in, stapfuncs.5.in, stapprobes.5.in: ditto

17 years agoadd signal trace hooks.
guanglei [Tue, 22 Aug 2006 09:18:47 +0000 (09:18 +0000)]
add signal trace hooks.
eliminates the global stap variable to syscall tapset for faster speed

17 years agoMore variables for signal.do_action and signal.procmask and a new function
guanglei [Tue, 22 Aug 2006 03:58:53 +0000 (03:58 +0000)]
More variables for signal.do_action and signal.procmask and a new function
get_sigset()

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