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

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

* context.stp, errno.stp: Note/eliminate some retval() duplication.

18 years agoMove closing '}' inside #ifdef.
wcohen [Tue, 2 May 2006 19:59:11 +0000 (19:59 +0000)]
Move closing '}' inside #ifdef.

18 years ago"-t" option to collect information the number of times a probe runs and
wcohen [Tue, 2 May 2006 19:26:34 +0000 (19:26 +0000)]
"-t" option to collect information the number of times a probe runs and
the average amount of time spent in the probe.

18 years agoupdate for new files in the source tree
jistone [Tue, 2 May 2006 18:21:25 +0000 (18:21 +0000)]
update for new files in the source tree

18 years ago2006-05-01 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 1 May 2006 17:41:10 +0000 (17:41 +0000)]
2006-05-01  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (visit_print_format): Fix regression in
"printf" pseudo-result initialization.

18 years ago2006-04-30 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 1 May 2006 13:50:23 +0000 (13:50 +0000)]
2006-04-30  Frank Ch. Eigler  <fche@elastic.org>

PR 2610.
* translate.cxx (c_unparser::visit_arrayindex, visit_stat_op):
Detect empty aggregates consistently.
(visit_print_format): Ditto.  Also detect errors due to
argument evaluation.
(translator_output::*): Add a flush before a failing assert,
to produce more context when debugging.

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

* systemtap.maps/absentstats.*: Rewrite.
* systemtap.maps/ix_clear*.exp: Update error message.

18 years ago2006-04-28 Martin Hunt <hunt@redhat.com>
hunt [Fri, 28 Apr 2006 20:36:28 +0000 (20:36 +0000)]
2006-04-28  Martin Hunt  <hunt@redhat.com>

* vsprintf.c (_stp_vsnprintf): Fix argument size for %p.

18 years ago*** empty log message ***
hunt [Thu, 27 Apr 2006 16:48:46 +0000 (16:48 +0000)]
*** empty log message ***

18 years ago2006-04-27 Martin Hunt <hunt@redhat.com>
hunt [Thu, 27 Apr 2006 16:47:12 +0000 (16:47 +0000)]
2006-04-27  Martin Hunt  <hunt@redhat.com>

* endian.stp (set_endian): Remove "pure" to prevent
this from optimizing away.

18 years ago2006-04-25 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 25 Apr 2006 18:21:45 +0000 (18:21 +0000)]
2006-04-25  Frank Ch. Eigler  <fche@elastic.org>

* Makefile.am: Removed "rpm" target.
* Makefile.in, aclocal.m4: Regenerated.

18 years ago2006-04-25 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 25 Apr 2006 17:58:28 +0000 (17:58 +0000)]
2006-04-25  Frank Ch. Eigler  <fche@elastic.org>

* elaborate.cxx (typeresolution_info::unresolved,invalid,
mismatch): Print current function/probe name in error message.
(semantic_pass_types): Pass sufficient information.
* elaborate.h: Corresponding changes.

18 years ago2006-04-25 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 25 Apr 2006 17:40:53 +0000 (17:40 +0000)]
2006-04-25  Frank Ch. Eigler  <fche@elastic.org>

PR 2427.
* staptree.cxx (varuse_collecting_visitor::visit_embeddedcode):
Support /* pure */ declaration.  Stop using __tvar_ naming hack.
(v_c_u::visit_print_format): Mark sprint and sprintf as
side-effect-free.
(deep_copy_visitor::visit_print_format): Propagate raw_components.
* stap.1.in: Document declaration.
* elaborate.cxx (semantic_pass_opt2): Verbose message tweak.
(dead_stmtexpr_remover): Extend for more aggressive optimization.
* tapsets.cxx (dwarf,mark_var_expanding_copy_visotor): Add
/* pure */ declaration to rvalue expansions.
* tapset/*.stp: Added /* pure */ declarations to many functions.
* testsuite/parseok/unparsers.stp: Propagate guru mode flag.
* testsuite/buildok/twentyfour.stp: New test.

18 years agoFixed _fd_set_u retvalue
hien [Tue, 25 Apr 2006 00:36:38 +0000 (00:36 +0000)]
Fixed _fd_set_u retvalue

18 years ago2006-04-24 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 24 Apr 2006 13:17:19 +0000 (13:17 +0000)]
2006-04-24  Frank Ch. Eigler  <fche@elastic.org>

PR 2599.
* elaborate.cxx (visit_assignment): Tolerate null current_expr.
* testsuite/semok/optimize.stp: Add relevant tests.

18 years ago2006-04-23 Eugene Teo <eteo@redhat.com>
eteo [Sun, 23 Apr 2006 11:05:00 +0000 (11:05 +0000)]
2006-04-23  Eugene Teo  <eteo@redhat.com>

PR 2149
* translate.cxx (mapvar::set): Test _stp_map_set_xx() for
array overflows.

18 years ago2006-04-23 Eugene Teo <eteo@redhat.com>
eteo [Sun, 23 Apr 2006 03:28:45 +0000 (03:28 +0000)]
2006-04-23  Eugene Teo  <eteo@redhat.com>

* small_demos/ansi_colors.stp: Add an example of using octal
escape sequences to display all possible ansi colors.

18 years ago2006-04-21 Eugene Teo <eteo@redhat.com>
eteo [Sat, 22 Apr 2006 06:45:59 +0000 (06:45 +0000)]
2006-04-21  Eugene Teo  <eteo@redhat.com>

PR 1326
* translate.cxx (c_unparser::visit_binary_expression): Handle
negative left and right shift count.

18 years ago* add marker probes section
fche [Fri, 21 Apr 2006 21:04:58 +0000 (21:04 +0000)]
* add marker probes section

18 years agoFixing BZ#2583
hien [Fri, 21 Apr 2006 20:26:48 +0000 (20:26 +0000)]
Fixing BZ#2583

18 years ago2006-04-21 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 21 Apr 2006 19:51:43 +0000 (19:51 +0000)]
2006-04-21  Frank Ch. Eigler  <fche@elastic.org>

PR 953
* elaborate.h (derived_probe): Add field "name".  Stop passing
"probe index" to other emit_* calls.
(emit_probe_context_vars): New member function.
* elaborate.cxx (derived_probe ctor): Generate unique name.
* translate.cxx (*): Adapt to index->name.
(emit_probe): Realize that probe locals only occur at nesting=0.
* tapsets.cxx (*derived_probe::emit_*): Adapt to index->name.
(mark_var_expanding_copy_visitor): New class to process $argN.
(mark_derived_probe ctor): Call it.
(mark_derived_probe::emit_probe_context_vars): Do it.
* buildrun.cxx (compile_pass): Add more optional gcc verbosity.
Add CFLAGS += -freorder-blocks.
* testsuite/buildok/marker.stp: New test.

18 years ago2006-04-21 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 21 Apr 2006 19:35:19 +0000 (19:35 +0000)]
2006-04-21  Frank Ch. Eigler  <fche@elastic.org>

* aux_syscalls.stp (_fildes_u): Declare return value type.

18 years agoChanged to use %p.
hunt [Fri, 21 Apr 2006 04:40:13 +0000 (04:40 +0000)]
Changed to use %p.

18 years ago2006-04-20 Martin Hunt <hunt@redhat.com>
hunt [Thu, 20 Apr 2006 17:39:14 +0000 (17:39 +0000)]
2006-04-20  Martin Hunt  <hunt@redhat.com>

* small_demos/top.stp: Use printf.

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