]> sourceware.org Git - systemtap.git/log
systemtap.git
18 years ago2006-06-13 Martin Hunt <hunt@redhat.com>
hunt [Tue, 13 Jun 2006 08:45:15 +0000 (08:45 +0000)]
2006-06-13  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_transport_close): Destroy workqueue when
done.

18 years agoFix ppc64 issue - sys_mmap
hien [Mon, 12 Jun 2006 17:38:31 +0000 (17:38 +0000)]
Fix ppc64 issue - sys_mmap

18 years agoFix ppc64 for setuid16 setgid16 etc...
hien [Mon, 12 Jun 2006 17:37:15 +0000 (17:37 +0000)]
Fix ppc64 for setuid16 setgid16 etc...

18 years ago*** empty log message ***
hunt [Mon, 12 Jun 2006 07:56:46 +0000 (07:56 +0000)]
*** empty log message ***

18 years ago2006-06-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Jun 2006 20:51:52 +0000 (20:51 +0000)]
2006-06-09  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp: Fix sys_sync.

18 years ago2006-06-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Jun 2006 19:54:52 +0000 (19:54 +0000)]
2006-06-09  Martin Hunt  <hunt@redhat.com>

* transport.c: Using the default workqueue was causing problems
because of the long delays on probe_exit(). Created a new
systemtap work queue and used that instead.

18 years ago*** empty log message ***
hunt [Fri, 9 Jun 2006 19:48:47 +0000 (19:48 +0000)]
*** empty log message ***

18 years ago2006-06-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Jun 2006 19:48:32 +0000 (19:48 +0000)]
2006-06-09  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp: Fixed the uid and gid calls.

18 years agomade sys_ftruncate64 optional since it doesn't exist on 2.6.16*/ppc64
guanglei [Fri, 9 Jun 2006 10:19:53 +0000 (10:19 +0000)]
made sys_ftruncate64 optional since it doesn't exist on 2.6.16*/ppc64

18 years agoRevert my former changes to lket_trace_extra() in translator.
guanglei [Fri, 9 Jun 2006 09:20:03 +0000 (09:20 +0000)]
Revert my former changes to lket_trace_extra() in translator.

a new way of allowing user add arbitrary trace data. And also provide
a way of letting user write the trace data format.

18 years ago*** empty log message ***
tpnguyen [Thu, 8 Jun 2006 23:18:46 +0000 (23:18 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
tpnguyen [Thu, 8 Jun 2006 23:12:28 +0000 (23:12 +0000)]
*** empty log message ***

18 years ago2006-06-06 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 6 Jun 2006 21:50:08 +0000 (21:50 +0000)]
2006-06-06  Josh Stone  <joshua.i.stone@intel.com>

* process.stp (create, exec_complete): replace retval() with $return

18 years agofix _recvflags_str
hien [Tue, 6 Jun 2006 21:43:42 +0000 (21:43 +0000)]
fix _recvflags_str

18 years ago2006-06-05 Martin Hunt <hunt@redhat.com>
hunt [Mon, 5 Jun 2006 23:53:48 +0000 (23:53 +0000)]
2006-06-05  Martin Hunt  <hunt@redhat.com>

* procfs.c (_stp_write): Always use spin_lock_irqsave() because
this function can sometimes be called with interrupts enabled.

18 years ago2006-06-05 David Smith <dsmith@redhat.com>
dsmith [Mon, 5 Jun 2006 21:49:14 +0000 (21:49 +0000)]
2006-06-05  David Smith  <dsmith@redhat.com>

* tapsets.cxx (dwflpp::express_as_string): New function.
Extracted from dwflpp::literal_stmt_for_local() so that
dwflpp::literal_stmt_for_return() could also call it.
(dwflpp::literal_stmt_for_local): Portion extracted to create
dwflpp::express_as_string().
(dwflpp::literal_stmt_for_return): New function.  Adds support for
new symbolic access ("$return") to return value in .return
probes.  Fixes PR 1132.
(target_variable_flavour_calculating_visitor::visit_target_symbol):
Calls dwflpp::literal_stmt_for_return() when in a return probe and
the variable name is "$return".
(dwarf_var_expanding_copy_visitor::visit_target_symbol): Ditto.
* stapfuncs.5.in: Noted that the retval() function is deprecated.
* stapprobes.5.in: Corrected the name of the return value
variable.
* tapset/return.stp: Marked the retval() function as deprecated.
* testsuite/semko/return01.stp: Added new test.
* testsuite/semko/return02.stp: Ditto.

18 years agotruncate64 moved here
hien [Mon, 5 Jun 2006 21:20:57 +0000 (21:20 +0000)]
truncate64 moved here

18 years agoMoved truncate64 to arch specific syscalls.stp
hien [Mon, 5 Jun 2006 21:20:18 +0000 (21:20 +0000)]
Moved truncate64 to arch specific syscalls.stp

18 years ago2006-06-05 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 5 Jun 2006 19:45:56 +0000 (19:45 +0000)]
2006-06-05  Frank Ch. Eigler  <fche@elastic.org>

PR 2645 cont'd.
* elaborate.cxx (derive_probes): Pass down optional flag
from alias reference to expansion.
* testsuite/semok/twentytwo.stp: Test passing-down.
* stapprobes.5.in: Specify passing-down property of optional flag.

18 years ago2006-06-02 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 2 Jun 2006 23:13:38 +0000 (23:13 +0000)]
2006-06-02  Frank Ch. Eigler  <fche@elastic.org>

PR 2645 cont'd.
* elaborate.cxx (find_and_build): Support optional wildcards too.
(derive_probes): Change last argument to indicate optionalness of
parent probe point (alias reference).
(alias_expansion_builder): Shrink epilogue-mode alias body copying.
Pass along alias reference optionality.
* elaborate.h: Corresponding changes.
* testsuite/semko/thirtyfive.stp, semok/twentytwo.stp: New tests.

18 years ago2006-06-02 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 2 Jun 2006 19:11:43 +0000 (19:11 +0000)]
2006-06-02  Josh Stone  <joshua.i.stone@intel.com>

* testsuite/buildok/process_test.stp: add signal_handle test
* examples/small_demos/proc_snoop.stp: log signal_handle

18 years ago2006-06-02 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 2 Jun 2006 19:11:24 +0000 (19:11 +0000)]
2006-06-02  Josh Stone  <joshua.i.stone@intel.com>

* process.stp (exec, exec_complete): conditionally include
compat_do_execve for 64-bit kernels
* process.stp (handle_signal): use optional probes to alternate
between function or inline

18 years ago2006-06-02 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 2 Jun 2006 18:09:29 +0000 (18:09 +0000)]
2006-06-02  Frank Ch. Eigler  <fche@elastic.org>

PR 2645.
* stapprobes.5.in: Document "?" probe point suffix.
* parse.cxx (parse_probe_point): Recognize "?" optional suffix.
* elaborate.cxx (derive_probes): Observe probe_point->optional.
* staptree.h, staptree.cxx: Corresponding changes.
* tapsets.cxx (never_derived_probe, never_builder): New classes.
(register_standard_tapsets): Support "never" probe point.
* testsuite/buildok/six.stp, parseok/five.stp: Modifed tests.

* translate.cxx (emit_module_init): Format "-t" (benchmarking)
cycle-time reports similarly to "-v" (verbose) times.

18 years ago2006-06-02 David Smith <dsmith@redhat.com>
dsmith [Fri, 2 Jun 2006 17:21:32 +0000 (17:21 +0000)]
2006-06-02  David Smith  <dsmith@redhat.com>

* .cvsignore: Added more files to ignore.

18 years ago2006-06-02 David Smith <dsmith@redhat.com>
dsmith [Fri, 2 Jun 2006 15:54:26 +0000 (15:54 +0000)]
2006-06-02  David Smith  <dsmith@redhat.com>

* main.cxx (usage): Added exitcode parameter.
(main): Improved a few error messages.  Also, when an error is
given, stap now always exits with a status of 1.

* testsuite/buildok/cmdline01.stp: New test.
* testsuite/parseko/cmdline01.stp: Ditto.
* testsuite/parseko/cmdline02.stp: Ditto.
* testsuite/parseko/cmdline03.stp: Ditto.
* testsuite/parseko/cmdline04.stp: Ditto.
* testsuite/parseko/cmdline05.stp: Ditto.
* testsuite/parseko/cmdline06.stp: Ditto.
* testsuite/parseok/cmdline01.stp: Ditto.
* testsuite/parseok/cmdline02.stp: Ditto.

18 years agoeliminate lket-b2a compiling warnings on in 64-bit mode
guanglei [Fri, 2 Jun 2006 01:58:05 +0000 (01:58 +0000)]
eliminate lket-b2a compiling warnings on in 64-bit mode

18 years ago2006-06-01 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 1 Jun 2006 17:05:57 +0000 (17:05 +0000)]
2006-06-01  Josh Stone  <joshua.i.stone@intel.com>

* tapsets.cxx (hrtimer_derived_probe::emit_interval): update
API usage of hrtimers in preparation of getting exports from
the kernel.
(hrtimer_derived_probe::emit_probe_entries): ditto

18 years agomake lket-b2a able to read user added trace data and backtrace
guanglei [Thu, 1 Jun 2006 13:45:52 +0000 (13:45 +0000)]
make lket-b2a able to read user added trace data and backtrace

18 years agomake user able to append extra trace data. The way of logging backtrace is also changed.
guanglei [Thu, 1 Jun 2006 05:46:35 +0000 (05:46 +0000)]
make user able to append extra trace data. The way of logging backtrace is also changed.

lket_trace_extra() and lket_backtrace() are introduced for these two purpose.

I also modified lket.5.in for the backtrace changes

18 years agoFix _mlocakall flags
hien [Wed, 31 May 2006 17:33:27 +0000 (17:33 +0000)]
Fix _mlocakall flags

18 years ago*** empty log message ***
hunt [Wed, 31 May 2006 17:29:34 +0000 (17:29 +0000)]
*** empty log message ***

18 years agoFix wait4. comment out waitpid.
hien [Tue, 30 May 2006 22:19:39 +0000 (22:19 +0000)]
Fix wait4. comment out waitpid.

18 years agoadd mlock, mlockall
hien [Tue, 30 May 2006 21:24:10 +0000 (21:24 +0000)]
add mlock, mlockall

18 years ago2006-05-30 Martin Hunt <hunt@redhat.com>
hunt [Tue, 30 May 2006 20:25:07 +0000 (20:25 +0000)]
2006-05-30  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp (_mountflags_str): Rewrite.
(_umountflags_str): New.

18 years agoFix truncate and ftruncate.
hunt [Tue, 30 May 2006 18:49:19 +0000 (18:49 +0000)]
Fix truncate and ftruncate.

18 years ago2006-05-30 Martin Hunt <hunt@redhat.com>
hunt [Tue, 30 May 2006 18:01:19 +0000 (18:01 +0000)]
2006-05-30  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp (sys_write): Use text_strn().
* syscalls.stp (sys_lseek): Fix.
(sys_llseek): Fix.

18 years ago2006-05-30 Martin Hunt <hunt@redhat.com>
hunt [Tue, 30 May 2006 15:50:27 +0000 (15:50 +0000)]
2006-05-30  Martin Hunt  <hunt@redhat.com>

* string.stp (text_str): New.
(text_strn): New.

18 years ago2006-05-30 Martin Hunt <hunt@redhat.com>
hunt [Tue, 30 May 2006 15:47:58 +0000 (15:47 +0000)]
2006-05-30  Martin Hunt  <hunt@redhat.com>

* string.c (_stp_text_str): New function.
* string.h (_stp_text_str): Declare.

18 years agomodify systemtap.spec.in to include lket-b2a in rpm package
guanglei [Mon, 29 May 2006 07:36:56 +0000 (07:36 +0000)]
modify systemtap.spec.in to include lket-b2a in rpm package

18 years agoadd conditional build of lket-b2a. If glib2-devel is not found, just skips
guanglei [Sat, 27 May 2006 02:14:26 +0000 (02:14 +0000)]
add conditional build of lket-b2a. If glib2-devel is not found, just skips
and gives a warning

deleted runtime/lket/b2a/Makefile since it should be generated by configure

18 years ago2006-05-26 Josh Stone <joshua.i.stone@intel.com>
jistone [Sat, 27 May 2006 00:32:46 +0000 (00:32 +0000)]
2006-05-26  Josh Stone  <joshua.i.stone@intel.com>

* tapsets.cxx (build_blacklist): build the sets of blacklisted
functions and function returns.  Manually added many __kprobes
functions that should not be probed.
(dwarf_query::dwarf_query): Call build_blacklist.
(dwarf_query::blacklisted_p): Use blacklist sets.

18 years ago2006-05-26 Martin Hunt <hunt@redhat.com>
hunt [Fri, 26 May 2006 22:57:25 +0000 (22:57 +0000)]
2006-05-26  Martin Hunt  <hunt@redhat.com>

* errno.stp: Add octal option for returnstr.

* [i686,x86_64]/syscalls.stp (umask): Print args and return
in octal.
(add_key): Comment out. This syscall is added by a xen patch
and may not be present.
(tux): Ditto.

* syscalls.stp (accept): Fix arg name.

18 years ago2006-05-25 Martin Hunt <hunt@redhat.com>
hunt [Fri, 26 May 2006 03:23:28 +0000 (03:23 +0000)]
2006-05-25  Martin Hunt  <hunt@redhat.com>

* syscalls.stp: Add sys_fcntl and sys_listen.

* syscalls2.stp: Commented out sys_socketcall because it only calls
other system calls which are already probed.

18 years ago2006-05-25 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 25 May 2006 22:13:30 +0000 (22:13 +0000)]
2006-05-25  Josh Stone  <joshua.i.stone@intel.com>

* tapsets.cxx
(dwarf_var_expanding_copy_visitor::visit_target_symbol):
Free allocated memory when supressing target-variable errors

18 years ago2006-05-25 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 25 May 2006 21:39:37 +0000 (21:39 +0000)]
2006-05-25  Josh Stone  <joshua.i.stone@intel.com>

* parse.cxx (parser::scan_pp): Free memory for tokens that are
thrown away in the preprocessing stage.

18 years ago2006-05-25 Martin Hunt <hunt@redhat.com>
hunt [Thu, 25 May 2006 18:56:09 +0000 (18:56 +0000)]
2006-05-25  Martin Hunt  <hunt@redhat.com>

* syscall*.stp: Change "0x%p" to "%p".

18 years ago2006-05-25 Martin Hunt <hunt@redhat.com>
hunt [Thu, 25 May 2006 18:49:17 +0000 (18:49 +0000)]
2006-05-25  Martin Hunt  <hunt@redhat.com>

* vsprintf.c (_stp_vsnprintf): Change %p to work like
libc and automatically insert "0x" before the pointer.

18 years ago2006-05-25 David Smith <dsmith@redhat.com>
dsmith [Thu, 25 May 2006 18:43:25 +0000 (18:43 +0000)]
2006-05-25  David Smith  <dsmith@redhat.com>

* testsuite/semok/twentyone.stp: New file.

18 years agosrc/tapset/LKET/*.stp:
guanglei [Thu, 25 May 2006 08:05:12 +0000 (08:05 +0000)]
src/tapset/LKET/*.stp:

explicitly add type qualifier for different arch
to make _stp_vsnprintf get the argument by va_arg correctly

src/tapset/scheduler.stp:

add prev_task and next_task variable

src/stapprobes.5.in:
add lket (5) in the "SEE ALSO"

18 years ago2006-05-24 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 25 May 2006 02:03:01 +0000 (02:03 +0000)]
2006-05-24  Frank Ch. Eigler  <fche@elastic.org>

Pass 4 speedup.
* tapsets.cxx (derived_probe::emit_common_header): New
function, to emit code formerly inlined by
emit_probe_prologue/epilogue.
* translate.cxx (emit_common_header): Call it.
* elaborate.h: Corresponding changes.

18 years ago2006-05-24 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 24 May 2006 19:17:13 +0000 (19:17 +0000)]
2006-05-24  Josh Stone  <joshua.i.stone@intel.com>

PR 2677
* sym.c (_stp_symbol_sprint_basic): New function that returns
just the symbol name, and doesn't bother with String.
* context.stp (probefunc): Use _stp_symbol_sprint_basic

18 years ago2006-05-24 David Smith <dsmith@redhat.com>
dsmith [Wed, 24 May 2006 18:37:50 +0000 (18:37 +0000)]
2006-05-24  David Smith  <dsmith@redhat.com>

* elaborate.cxx (isglob): New function.
(match_key::globmatch): New function.
(match_node::find_and_build): Uses isglob() and
match_key::globmatch() to provide support for wildcards such as
"kernel.syscall.*read*" (Bugzilla #1928).
* elaborate.h (match_key::globmatch): Added function declaration.
* parse.cxx (parser::parse_probe_point): Collects one or more
tokens into a single probe-point functor string.

* testsuite/parseko/twentytwo.stp: New file.
* testsuite/parseok/sixteen.stp: New file.

18 years ago2006-05-24 David Smith <dsmith@redhat.com>
dsmith [Wed, 24 May 2006 15:09:42 +0000 (15:09 +0000)]
2006-05-24  David Smith  <dsmith@redhat.com>

* testsuite/parseko/cmdlinearg01.stp: New file.
* testsuite/parseko/cmdlinearg02.stp: New file.
* testsuite/parseko/eighteen.stp: New file.
* testsuite/parseko/foreachstmt01.stp: New file.
* testsuite/parseko/foreachstmt02.stp: New file.
* testsuite/parseko/foreachstmt03.stp: New file.
* testsuite/parseko/foreachstmt04.stp: New file.
* testsuite/parseko/foreachstmt05.stp: New file.
* testsuite/parseko/forstmt01.stp: New file.
* testsuite/parseko/forstmt02.stp: New file.
* testsuite/parseko/forstmt03.stp: New file.
* testsuite/parseko/forstmt04.stp: New file.
* testsuite/parseko/functiondecl01.stp: New file.
* testsuite/parseko/functiondecl02.stp: New file.
* testsuite/parseko/functiondecl03.stp: New file.
* testsuite/parseko/functiondecl04.stp: New file.
* testsuite/parseko/functiondecl05.stp: New file.
* testsuite/parseko/functiondecl06.stp: New file.
* testsuite/parseko/functiondecl07.stp: New file.
* testsuite/parseko/ifstmt01.stp: New file.
* testsuite/parseko/ifstmt02.stp: New file.
* testsuite/parseko/nineteen.stp: New file.
* testsuite/parseko/preprocess01.stp: New file.
* testsuite/parseko/preprocess02.stp: New file.
* testsuite/parseko/preprocess03.stp: New file.
* testsuite/parseko/preprocess04.stp: New file.
* testsuite/parseko/preprocess05.stp: New file.
* testsuite/parseko/preprocess06.stp: New file.
* testsuite/parseko/preprocess07.stp: New file.
* testsuite/parseko/preprocess08.stp: New file.
* testsuite/parseko/preprocess09.stp: New file.
* testsuite/parseko/probepoint01.stp: New file.
* testsuite/parseko/probepoint02.stp: New file.
* testsuite/parseko/probepoint03.stp: New file.
* testsuite/parseko/seventeen.stp: New file.
* testsuite/parseko/ternarystmt01.stp: New file.
* testsuite/parseko/twenty.stp: New file.
* testsuite/parseko/twentyone.stp: New file.
* testsuite/parseko/whilestmt01.stp: New file.
* testsuite/parseko/whilestmt02.stp: New file.

18 years agoadd src/runtime/lket/b2a/Makefile
guanglei [Wed, 24 May 2006 12:52:14 +0000 (12:52 +0000)]
add src/runtime/lket/b2a/Makefile

18 years agoTemporarily stop building lket_b2a since it depends on glib2
guanglei [Wed, 24 May 2006 12:40:59 +0000 (12:40 +0000)]
Temporarily stop building lket_b2a since it depends on glib2

18 years agoadd a binary to ascii converter used to convert LKET's default binary trace data
guanglei [Wed, 24 May 2006 09:54:58 +0000 (09:54 +0000)]
add a binary to ascii converter used to convert LKET's default binary trace data

add intro of lket-b2a in lket.5.in

Changes Makefile.am, configure.ac & regenerated aclocal.m4, Makefile.in, configure

18 years ago2006-05-23 David Smith <dsmith@redhat.com>
dsmith [Tue, 23 May 2006 21:13:57 +0000 (21:13 +0000)]
2006-05-23  David Smith  <dsmith@redhat.com>

* parse.cxx (parse_for_loop): Corrected error message.

18 years ago2006-05-22 David Smith <dsmith@redhat.com>
dsmith [Mon, 22 May 2006 19:40:09 +0000 (19:40 +0000)]
2006-05-22  David Smith  <dsmith@redhat.com>

        * elaborate.cxx (find_and_build): Fixed issue #2643.  Wildcard
        code was being too optimistic.

18 years agocheck in the draft man page for lket
guanglei [Mon, 22 May 2006 11:17:57 +0000 (11:17 +0000)]
check in the draft man page for lket

18 years agoPatch from Mao Bibo to change %lx to %llx in snprintf of tapset/aux_syscalls.stp
guanglei [Fri, 19 May 2006 11:00:39 +0000 (11:00 +0000)]
Patch from Mao Bibo to change %lx to %llx in snprintf of tapset/aux_syscalls.stp
to print the address in IA64

18 years agochange $q->elevator.elevator_name to $q->elevator->elevator_name in tapset/ioschedule...
guanglei [Fri, 19 May 2006 10:48:30 +0000 (10:48 +0000)]
change $q->elevator.elevator_name to $q->elevator->elevator_name in tapset/ioscheduler.stp

18 years agoSome typos during my recent checkins
guanglei [Fri, 19 May 2006 04:06:52 +0000 (04:06 +0000)]
Some typos during my recent checkins

18 years ago2006-05-18 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 18 May 2006 23:11:22 +0000 (23:11 +0000)]
2006-05-18  Frank Ch. Eigler  <fche@elastic.org>

Organize "-t" output by script/parse level probes rather than
derived-probes.
* elaborate.cxx (derived_probe ctor): Remove name field setting.
(alias_derived_probe): New class.
(alias_expandion_builder::build): Create an instance of the above
instead of parse-tree-level plain probe.
* elaborate.h: Corresponding changes.
(derived_probe::basest): Define.
* staptree.cxx (probe ctor): Set new name field.
* staptree.h (probe): Corresponding changes.
(probe::basest): New field.
* tapsets.cxx (emit_probe_prologue, emit_probe_entries):
Switch to basest() probe name for Stat instance.
(dwarf_derived_probe ctor): Stash away base probe.
* translate.cxx (unparser::emit_probe): Remove index
operand, just use probe name to generate symbols.
(emit_module_init): Reorganize -t output in unregister functions.
(translate_pass): Remove unparser::current_probenum field and all
uses.
* translate.h: Corresponding changes.

18 years ago2006-05-18 Martin Hunt <hunt@redhat.com>
hunt [Thu, 18 May 2006 17:56:42 +0000 (17:56 +0000)]
2006-05-18  Martin Hunt  <hunt@redhat.com>

* librelay.c (stp_main_loop): Set output to always be line
buffered.

18 years agoCheck into CVS the tracing specific tapsets used by LKET.
guanglei [Thu, 18 May 2006 10:07:15 +0000 (10:07 +0000)]
Check into CVS the tracing specific tapsets used by LKET.

And some minor changes to current tapsets

18 years agomerge tskschedule.stp into scheduler.stp
guanglei [Thu, 18 May 2006 05:55:34 +0000 (05:55 +0000)]
merge tskschedule.stp into scheduler.stp

18 years ago2006-05-17 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 18 May 2006 02:29:34 +0000 (02:29 +0000)]
2006-05-17  Josh Stone  <joshua.i.stone@intel.com>

* testsuite/buildok/sched_test.stp: test scheduler tapset
* examples/small_demos/sched_snoop.stp: demo scheduler tapset
* tapset/scheduler.stp: New scheduler tapset

18 years agotestcases checking in for ioscheduler.stp, memory.stp, networking.stp,
guanglei [Thu, 18 May 2006 02:24:06 +0000 (02:24 +0000)]
testcases checking in for ioscheduler.stp, memory.stp, networking.stp,
scsi.stp, tskschedule.stp

18 years ago2006-05-17 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 18 May 2006 00:47:48 +0000 (00:47 +0000)]
2006-05-17  Josh Stone  <joshua.i.stone@intel.com>

* process.stp: Rename signal.send to signal_send and process.complete
to process_complete, to allow process.* to work properly.
* process.stp (_IS_ERR): declare parameter type
* process.stp (process.create): correct new_pid assignment

18 years agoI break LKET into layered structure. The first layer is those generic tapsets.
guanglei [Thu, 18 May 2006 00:21:05 +0000 (00:21 +0000)]
I break LKET into layered structure. The first layer is those generic tapsets.
The second layer is tracing specific.

I checked into CVS those generic tapsets at the first step.

18 years agoComment out accessing regs variable in sys_rt_sigsuspend (can't resolve it in
hien [Tue, 16 May 2006 20:20:48 +0000 (20:20 +0000)]
Comment out accessing regs variable in sys_rt_sigsuspend (can't resolve it in
i386)

18 years agoFixed last entry.
dsmith [Tue, 16 May 2006 19:12:35 +0000 (19:12 +0000)]
Fixed last entry.

18 years ago2006-05-16 David Smith <dsmith@redhat.com>
dsmith [Tue, 16 May 2006 18:51:34 +0000 (18:51 +0000)]
2006-05-16  David Smith  <dsmith@redhat.com>

* parse.cxx (parser::parser): Added initializer for 'context'
member variable.
(tt2str): Added support for new tok_keyword type.
(operator <<): Ignores keyword content when outputting error
message.
(lexer::scan): Recognizes keywords, such as 'probe', 'global',
'function', etc. and classifies them as type 'tok_keyword'.  This
causes keywords to become reserved so they cannot be used for
function names, variable names, etc.
(parser::parse): Changed tok_identifier to tok_keyword when looking
for "probe", "global", or "function".  Also sets context member
variable which remembers if we're in probe, global, function, or
embedded context.
(parser::parse_probe, parser::parse_statement)
(parser::parse_global, parser::parse_functiondecl)
(parser::parse_if_statement, parser::parse_delete_statement)
(parser::parse_break_statement, parser::parse_continue_statement)
(parser::parse_for_loop, parser::parse_while_loop)
(parser::parse_foreach_loop, parser::parse_array_in): Looks for
tok_keyword instead of tok_identifier.
(parser::parse_probe_point): Allows keywords as part of a probe
name, since "return" and "function" are keywords.
(parser::parse_return_statement): Looks for tok_keyword instead of
tok_identifier.  Make sure we're in function context.
(parser::parse_next_statement): Looks for tok_keyword instead of
tok_identifier.  Make sure we're in probe context.
* parse.h: Added parse_context enum.  Added 'tok_keyword' to
token_type enum.  Added parse_context 'context' member variable to
parser class.
* stap.1.in: Because the string() function has been removed,
the 'string()' function reference has been changed to a 'sprint()'
function reference.
* stapex.5.in: Ditto.
* stapfuncs.5.in: The description of the string() and hexstring()
functions has been removed.
* testsuite/buildok/context_test.stp: Calls to the string()
function were converted to sprint() function calls.
* testsuite/buildok/fifteen.stp: Ditto.
* testsuite/buildok/nineteen.stp: Ditto.
* testsuite/buildok/process_test.stp: Ditto.
* testsuite/buildok/task_test.stp: Ditto.
* testsuite/buildok/timestamp.stp: Ditto.
* testsuite/buildok/twentyone.stp: Ditto.
* testsuite/semok/args.stp: Ditto.
* testsuite/semok/seven.stp: Ditto.
* testsuite/buildok/fourteen.stp: Calls to log()/string() were
converted to a call to printf().
* testsuite/buildok/sixteen.stp: Ditto.
* testsuite/buildok/thirteen.stp: Ditto.
* testsuite/buildok/twentythree.stp: Ditto.
* testsuite/buildok/twentytwo.stp: Ditto.
* testsuite/buildok/seven.stp: Calls to the string()
function were converted to sprint() calls.  Calls to the
hexstring() function were converted to sprintf() calls.
* testsuite/semok/eleven.stp: Ditto.
* testsuite/buildok/seventeen.stp: Calls to log()/hexstring() were
converted to a call to printf().
* testsuite/semko/nineteen.stp: Ditto.
* testsuite/parseok/three.stp: Because keywords are reserved, a
variable named 'string' was renamed to 'str'.
* testsuite/parseok/two.stp: Because keywords are reserved, a
variable named 'global' was renamed to 'gbl'.
* testsuite/transko/two.stp: Because the parser now checks for
'next' and 'return' statement context, a 'next' statement was
removed from a function and a 'return' statement was removed from
a probe.

18 years ago2006-05-16 David Smith <dsmith@redhat.com>
dsmith [Tue, 16 May 2006 16:13:09 +0000 (16:13 +0000)]
2006-05-16  David Smith  <dsmith@redhat.com>

* conversions.stp (hexstring, string): Removed functions.  Because
of parser changes, "string" is now a reserved word and cannot be a
function name.  Use 'sprintf("0x%x", num)' to replace hexstring()
and either 'sprint(num)' or 'sprintf("%d", num)' to replace
string().

* syscalls.stp (syscall.accept, syscall.alarm, syscall.close,
syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir,
syscall.fdatasync, syscall.fsync, syscall.getsid) Changed
'string()' calls to 'sprint()' calls.
* syscalls2.stp (syscall.sched_get_priority_max,
syscall.sched_get_priority_min, syscall.sched_getscheduler,
syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid,
syscall.setfsuid16, syscall.setgid, syscall.setgid16,
syscall.setuid, syscall.setuid16, syscall.ssetmask,
syscall.timer_delete, syscall.timer_getoverrun): Ditto.
* i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn,
syscall.sigreturn): Ditto.
* ppc64/syscalls.stp (syscall.ppc64_personality): Ditto.
* x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask):
Ditto.

* test/ctostp.sh: Uses 'sprint()' instead of 'string()' in
generated systemtap code.

18 years ago2006-05-15 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 16 May 2006 03:24:57 +0000 (03:24 +0000)]
2006-05-15  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx, translator.cxx (*): Designate more emitted
functions as static.
* translator.cxx (visit_print_format): Correct regression
regression from two weeks ago.
* stapfuncs.5.in: Tweak wording.  Deprecate returnval() in favour
of retval().

18 years ago2006-05-14 Martin Hunt <hunt@redhat.com>
hunt [Mon, 15 May 2006 04:37:49 +0000 (04:37 +0000)]
2006-05-14  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it
is complete and works on different archs.

18 years ago2006-05-12 Thang P Nguyen <thang.p.nguyen@intel.com>
tpnguyen [Fri, 12 May 2006 23:18:13 +0000 (23:18 +0000)]
2006-05-12  Thang P Nguyen  <thang.p.nguyen@intel.com>

* testsuite/buildok/probefunc.stp: test probefunc()

18 years ago2006-05-12 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 12 May 2006 17:50:35 +0000 (17:50 +0000)]
2006-05-12  Frank Ch. Eigler  <fche@elastic.org>

* stapfuncs.5.in: Clarify backtrace-related functions.

18 years ago2006-05-11 David Smith <dsmith@redhat.com>
dsmith [Thu, 11 May 2006 15:58:40 +0000 (15:58 +0000)]
2006-05-11  David Smith  <dsmith@redhat.com>

* tapset/ctime.stp: New file.

18 years ago2006-05-09 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 10 May 2006 00:47:59 +0000 (00:47 +0000)]
2006-05-09  Josh Stone  <joshua.i.stone@intel.com>

* examples/small_demos/proc_snoop.stp: monitor all process events.
* testsuite/buildok/task_test.stp: test compilation of all task
functions.
* testsuite/buildok/process_test.stp: test all process events and
associated variables.

18 years ago2006-05-09 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 10 May 2006 00:45:41 +0000 (00:45 +0000)]
2006-05-09  Josh Stone  <joshua.i.stone@intel.com>

* task.stp: functions to retrieve task information
* process.stp: tapset for process-related events

18 years agospelling corrections
jistone [Tue, 9 May 2006 23:37:45 +0000 (23:37 +0000)]
spelling corrections

18 years ago2006-05-09 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 9 May 2006 21:56:05 +0000 (21:56 +0000)]
2006-05-09  Josh Stone  <joshua.i.stone@intel.com>

* context.stp (probefunc): remove use of labels

18 years ago2006-05-09 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 9 May 2006 20:52:53 +0000 (20:52 +0000)]
2006-05-09  Josh Stone  <joshua.i.stone@intel.com>

* context.stp (probefunc): define our own exit label

18 years agoReorganize so that the compiler knows that ptr is initialized
jistone [Tue, 9 May 2006 18:40:46 +0000 (18:40 +0000)]
Reorganize so that the compiler knows that ptr is initialized

18 years agoPrint out information to make it easier to determine which probe
wcohen [Tue, 9 May 2006 12:55:56 +0000 (12:55 +0000)]
Print out information to make it easier to determine which probe
in script associated with timing information.

18 years ago-M option to control to do merge or not for bulk mode
guanglei [Tue, 9 May 2006 09:33:19 +0000 (09:33 +0000)]
-M option to control to do merge or not for bulk mode

18 years ago%0s support to print null-terminated string
guanglei [Tue, 9 May 2006 06:19:29 +0000 (06:19 +0000)]
%0s support to print null-terminated string

18 years ago2006-05-08 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 8 May 2006 23:04:39 +0000 (23:04 +0000)]
2006-05-08  Josh Stone  <joshua.i.stone@intel.com>

PR 2594
From Thang P Nguyen <thang.p.nguyen@intel.com>
* context.stp (probefunc): expands ability to detect the function
for different types of probes.

18 years agoadd testcases for epilogue mode probe aliases into parseok
guanglei [Mon, 8 May 2006 04:25:42 +0000 (04:25 +0000)]
add testcases for epilogue mode probe aliases into parseok

18 years agoepilogue mode probe aliases support
guanglei [Mon, 8 May 2006 04:23:14 +0000 (04:23 +0000)]
epilogue mode probe aliases support

18 years ago.
roland [Sat, 6 May 2006 02:28:37 +0000 (02:28 +0000)]
.

18 years ago2006-05-05 Roland McGrath <roland@redhat.com>
roland [Sat, 6 May 2006 02:28:30 +0000 (02:28 +0000)]
2006-05-05  Roland McGrath  <roland@redhat.com>

* configure.ac (build_elfutils): Pass CFLAGS to elfutils configure,
editting out -Wall.
* configure: Regenerated.

18 years ago2006-05-05 Frank Ch. Eigler <fche@elastic.org> release-0.5.7
fche [Sat, 6 May 2006 00:08:33 +0000 (00:08 +0000)]
2006-05-05  Frank Ch. Eigler  <fche@elastic.org>

PR 2643
* testsuite/buildok/syscalls.stp: Take "-u" away again.
* configure.ac, systemtap.spec.in: Bump version to 0.5.7.
* configure: Regenerated.

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

PR 2643
* syscalls.stp: Put back some dummy syscall.exit*.return probes.

18 years ago2006-05-05 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 5 May 2006 21:39:01 +0000 (21:39 +0000)]
2006-05-05  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac, systemtap.spec.in: Bump version to 0.5.6.
* configure: Regenerated.

18 years ago2006-05-05 Will Cohen <wcohen@redhat.com>
wcohen [Fri, 5 May 2006 20:35:30 +0000 (20:35 +0000)]
2006-05-05  Will Cohen  <wcohen@redhat.com>

* small_demos/fileopen.stp: Shows use of target() to look at pid.
* small_demos/rwtiming.stp: Shows per executable histograms of time
spent in read and write system calls.

18 years ago2006-05-05 Eugene Teo <eteo@redhat.com>
eteo [Fri, 5 May 2006 17:58:08 +0000 (17:58 +0000)]
2006-05-05  Eugene Teo  <eteo@redhat.com>

PR 2433
* tapsets.cxx (dwarf_query::blacklisted_p): Extend the list of
blacklisted .return probes to include "do_exit". Correct funcname
typo for "sys_groupexit".
* tapset/syscalls.stp: Remove .return probe aliases of never-
returning syscall.exit and syscall.exit_group calls.

18 years ago2006-05-05 David Smith <dsmith@redhat.com>
dsmith [Fri, 5 May 2006 16:21:56 +0000 (16:21 +0000)]
2006-05-05  David Smith  <dsmith@redhat.com>

* translate.cxx (mapvar::exists): Added code for string array
handling.  Otherwise, string array elements always exist.

18 years ago2006-05-03 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 4 May 2006 00:01:24 +0000 (00:01 +0000)]
2006-05-03  Josh Stone  <joshua.i.stone@intel.com>

PR 2506
* tapsets.cxx (dwarf_query::blacklisted_p): skip probes in .exit.*

18 years ago2006-05-03 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 3 May 2006 23:50:48 +0000 (23:50 +0000)]
2006-05-03  Josh Stone  <joshua.i.stone@intel.com>

* loc2c-runtime.h (deref_string): resolved gcc "warning:
assignment makes integer from pointer without a cast" when
using a pointer as the source address.

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