]> sourceware.org Git - systemtap.git/log
systemtap.git
18 years ago2006-03-03 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 3 Mar 2006 19:39:49 +0000 (19:39 +0000)]
2006-03-03  Josh Stone  <joshua.i.stone@intel.com>

PR 2390
* main.cxx (main): expand search path so that revision w.x.y.z
searches w.x.y.z, w.x.y, and w.x.

18 years ago2006-03-03 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 3 Mar 2006 18:37:33 +0000 (18:37 +0000)]
2006-03-03  Josh Stone  <joshua.i.stone@intel.com>

* main.cxx (main): search forward for dashes in the kernel release,
to work properly with release names with more than one dash.
* parse.cxx (eval_pp_conditional): ditto
* tapsets.cxx (profile_derived_probe::profile_derived_probe): ditto
* safety/safety.py (StaticSafety::__build_search_suffixes): ditto,
and add copyright & GPL tag

18 years ago2006-03-03 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 3 Mar 2006 17:44:23 +0000 (17:44 +0000)]
2006-03-03  Frank Ch. Eigler  <fche@elastic.org>

* tapset/indent.stp, indent-default.stp: New little tapset.
* stapfuncs.5.in: Document it.
* testsuite/buildok/indent.stp: Build it.

18 years agoAdded
hien [Thu, 2 Mar 2006 19:24:41 +0000 (19:24 +0000)]
Added
_struct_itimerspec_u

18 years agoDone 1st passed.
hien [Thu, 2 Mar 2006 19:20:24 +0000 (19:20 +0000)]
Done 1st passed.

18 years ago*** empty log message ***
hunt [Thu, 2 Mar 2006 05:20:11 +0000 (05:20 +0000)]
*** empty log message ***

18 years ago2006-03-01 Martin Hunt <hunt@redhat.com>
hunt [Wed, 1 Mar 2006 11:26:49 +0000 (11:26 +0000)]
2006-03-01  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp (_struct_sockaddr_u): Parse sockaddr.

* syscalls.stp (bind): Call _struct_sockaddr_u().

* errno.stp (errno_str): Complete rewrite in C for speed and
accuracy.
(returnstr): New function for syscall tapet.

18 years agoForgot to commit Changelog...
jistone [Tue, 28 Feb 2006 18:35:22 +0000 (18:35 +0000)]
Forgot to commit Changelog...

18 years ago2006-02-27 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 28 Feb 2006 02:27:27 +0000 (02:27 +0000)]
2006-02-27  Josh Stone  <joshua.i.stone@intel.com>

* safety/*: Add a static safety checker.

18 years ago2006-02-25 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 25 Feb 2006 21:05:46 +0000 (21:05 +0000)]
2006-02-25  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (var::init): Don't crush string module_params.
(emit_global_param): New function, forked out of emit_global,
to put module_param calls at the bottom of C file.
* translate.h: Corresponding changes.

18 years ago2006-02-25 Martin Hunt <hunt@redhat.com>
hunt [Sat, 25 Feb 2006 10:18:39 +0000 (10:18 +0000)]
2006-02-25  Martin Hunt  <hunt@redhat.com>

* procfs.c (_stp_proc_write_cmd): Check return code for
_stp_transport_open().

* transport.c (_stp_transport_write): This function
can now sleep because it is
(_stp_handle_start): Don't use a mutex when a simple atomic
will do.
(_stp_work_queue): Check atomic to see if probe_start()
has finished before attempting exit.
(_stp_transport_close): PR2391. Cancel work queue.
(_stp_transport_init): If _stp_register_procfs() fails,
return an error code.

* transport.txt: New file. Documents transport initialization and
shutdown sequence.

18 years ago2006-02-25 Martin Hunt <hunt@redhat.com>
hunt [Sat, 25 Feb 2006 09:41:53 +0000 (09:41 +0000)]
2006-02-25  Martin Hunt  <hunt@redhat.com>

* librelay.c (init_stp): Better error handling and cleanup.

18 years ago*** empty log message ***
hien [Fri, 24 Feb 2006 19:59:29 +0000 (19:59 +0000)]
*** empty log message ***

18 years agoAdded
hien [Fri, 24 Feb 2006 19:58:20 +0000 (19:58 +0000)]
Added
 _struct_timezone_u

18 years ago2006-02-23 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 23 Feb 2006 22:35:40 +0000 (22:35 +0000)]
2006-02-23  Frank Ch. Eigler  <fche@elastic.org>

PR 1304
* parse.cxx (lexer): Take systemtap_session argument.
(lexer::scan): Support $1..$NNNN and @1...@NNNN expansion.
* stap.1.in: Document this.
* testsuite/semok/args.stp: New test.
* translate.cxx (var::init, emit_global): Emit code to allow
named module parameters to initialize global string/number scalars.
* stap.1.in: Don't document this yet.

PR 2334
* main.cxx (main): Clarify "-v" option repeatibility.
* stap.1.in: Ditto.

18 years ago.
roland [Thu, 23 Feb 2006 22:27:55 +0000 (22:27 +0000)]
.

18 years ago2006-02-23 Roland McGrath <roland@redhat.com>
roland [Thu, 23 Feb 2006 22:27:52 +0000 (22:27 +0000)]
2006-02-23  Roland McGrath  <roland@redhat.com>

* Makefile.am (AUTOMAKE_OPTIONS): New variable, set dist-bzip2.
* Makefile.in: Regenerated.

18 years ago2006-02-23 Martin Hunt <hunt@redhat.com>
hunt [Thu, 23 Feb 2006 21:01:51 +0000 (21:01 +0000)]
2006-02-23  Martin Hunt  <hunt@redhat.com>
PR 1989. Adds support for %p in printf
* staptree.h (struct print_format): Add conv_unsigned_ptr.
* staptree.cxx (components_to_string): Output 'p'
for conv_unsigned_ptr.
* elaborate.cxx (visit_print_format): Add case for
conv_unsigned_ptr.

18 years ago2006-02-23 Martin Hunt <hunt@redhat.com>
hunt [Thu, 23 Feb 2006 20:17:00 +0000 (20:17 +0000)]
2006-02-23  Martin Hunt  <hunt@redhat.com>

* Makefile.am (install-data-local): Create tapset/i686 and tapset/x86_64
directories. This fixes a problem where they were included, but had
bad permissions.
* Makefile.in: Rebuilt.

18 years ago2006-02-22 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 22 Feb 2006 18:19:11 +0000 (18:19 +0000)]
2006-02-22  Frank Ch. Eigler  <fche@elastic.org>

* stapfuncs.5.in: Document get_cycles().
* testsuite/buildok/timestamp.stp: Build it and its friends.

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

* timestamp.stp (get_cycles): New function.

18 years ago2006-02-22 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 22 Feb 2006 15:05:50 +0000 (15:05 +0000)]
2006-02-22  Frank Ch. Eigler  <fche@elastic.org>

PR 2293.
* tapsets.cxx (emit_probe_epilogue): Emit early local_irq_save().
(emit_probe_epilogue): ... and matching _restore().

* main.cxx (main): Emit a "hello, I'm starting" message
before pass 5 in verbose mode.

18 years ago2006-02-21 Martin Hunt <hunt@redhat.com>
hunt [Tue, 21 Feb 2006 08:15:19 +0000 (08:15 +0000)]
2006-02-21  Martin Hunt  <hunt@redhat.com>

* context.stp: Fix definition of returnval(). Now the same as retval().
Cleanup needed. Only one can survive.

18 years agoThese aliases moved here from the common one, since ppc64 does not have these
hien [Mon, 20 Feb 2006 22:46:07 +0000 (22:46 +0000)]
These aliases moved here from the common one, since ppc64 does not have these
sys_fstat
sys_getegid16
sys_geteuid16
sys_getgid16
sys_getgroups16
sys_getuid16
sys_lstat
sys_mmap2
sys_setgroups16
sys_stat

More works need to be done here.

18 years agoThese aliases moved here
hien [Mon, 20 Feb 2006 22:42:52 +0000 (22:42 +0000)]
These aliases moved here
sys_fstat
sys_getegid16
sys_geteuid16
sys_getgid16
sys_getgroups16
sys_getuid16
sys_lstat
sys_mmap2
sys_setgroups16
sys_stat

More works need to be done here.

18 years agoMoved these aliases to arch specific areas
hien [Mon, 20 Feb 2006 22:41:38 +0000 (22:41 +0000)]
Moved these aliases to arch specific areas
sys_fstat
sys_getegid16
sys_geteuid16
sys_getgid16
sys_getgroups16
sys_getuid16
sys_lstat
sys_mmap2
sys_setgroups16
sys_stat

18 years agoMove these aliases to arch specific areas
hien [Mon, 20 Feb 2006 22:41:00 +0000 (22:41 +0000)]
Move these aliases to arch specific areas
sys_fstat
sys_getegid16
sys_geteuid16
sys_getgid16
sys_getgroups16
sys_getuid16
sys_lstat
sys_mmap2
sys_setgroups16
sys_stat

18 years agoFix uninitialized tv, ts, itv errors.
hien [Mon, 20 Feb 2006 22:39:20 +0000 (22:39 +0000)]
Fix uninitialized tv, ts, itv errors.

18 years ago2006-02-17 Martin Hunt <hunt@redhat.com>
hunt [Fri, 17 Feb 2006 21:17:40 +0000 (21:17 +0000)]
2006-02-17  Martin Hunt  <hunt@redhat.com>

* procfs.c (_stp_proc_read_cmd): Change spin_lock()
to spin_lock_irqsave().

* transport.c (_stp_work_queue): Ditto.

18 years ago2006-02-17 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 17 Feb 2006 17:56:08 +0000 (17:56 +0000)]
2006-02-17  Frank Ch. Eigler  <fche@elastic.org>

* stapfuncs.5.in (cpu): Document contextinfo function.

* context.stp (cpu): Clone undocumented cpuid() function.

18 years agoadd tid docs
fche [Fri, 17 Feb 2006 14:53:47 +0000 (14:53 +0000)]
add tid docs

18 years agoSome progress but still more works.
hien [Thu, 16 Feb 2006 00:39:58 +0000 (00:39 +0000)]
Some progress but still more works.

18 years agoAdded the following functions
hien [Thu, 16 Feb 2006 00:28:50 +0000 (00:28 +0000)]
Added the following functions
 _struct_rlimit_u
_fildes_u
_fd_set_u
_semctl_cmd
__sem_flags

18 years ago2006-02-15 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 15 Feb 2006 14:14:13 +0000 (14:14 +0000)]
2006-02-15  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (varlock*): Removed now unnecessary class.
(aggregation_locks): Renamed field to aggregations_active.

18 years agowording tweaks
fche [Wed, 15 Feb 2006 14:13:02 +0000 (14:13 +0000)]
wording tweaks

18 years ago2006-02-14 Martin Hunt <hunt@redhat.com>
hunt [Tue, 14 Feb 2006 22:34:48 +0000 (22:34 +0000)]
2006-02-14  Martin Hunt  <hunt@redhat.com>

* syscalls.stp: MOre updates.

18 years ago2006-02-14 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 14 Feb 2006 22:12:07 +0000 (22:12 +0000)]
2006-02-14  Frank Ch. Eigler  <fche@elastic.org>

* stapfuncs.5.in: Document new queue_stats tapset.
* elaborate.cxx (*): Put "while:" clarification messages before a
thrown semantic error.
* staptree.cxx (print_format::string_to_components): Correct
parse of "%%" formatting element.

* queue_stats.stp: New tapset.

* systemtap.samples/queue_demo.*: New test.

18 years agomore glitches from josh
fche [Tue, 14 Feb 2006 22:08:35 +0000 (22:08 +0000)]
more glitches from josh

18 years agowhitespace tweak
fche [Tue, 14 Feb 2006 21:28:24 +0000 (21:28 +0000)]
whitespace tweak

18 years ago2006-02-14 Mark McLoughlin <markmc@redhat.com>
markmc [Tue, 14 Feb 2006 13:07:04 +0000 (13:07 +0000)]
2006-02-14  Mark McLoughlin  <markmc@redhat.com>

        * aux_syscalls.stp: (_sys_open_flag_str): s/O_NDCTTY/O_NOCTTY/

18 years ago2006-02-14 Martin Hunt <hunt@redhat.com>
hunt [Tue, 14 Feb 2006 09:03:16 +0000 (09:03 +0000)]
2006-02-14  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp (_struct_timeval_u): New function.
(_struct_timeval): New function.
(_struct_timespec_u): New function.
(_struct_timespec): New function.
(_struct_itimerval_u): New function:
(_struct_itimerval): New function:
(_signal_name): New function.
(_module_flags_str): Fixed.

* syscalls2.stp (syscall.setitimer): Use new function
_struct_itimerval_u().

* syscalls.stp: Latest version. Many changes.

18 years ago2006-02-10 Martin Hunt <hunt@redhat.com>
hunt [Fri, 10 Feb 2006 21:10:40 +0000 (21:10 +0000)]
2006-02-10  Martin Hunt  <hunt@redhat.com>

* copy.c (_stp_copy_from_user): Revert previous incorrect change.

18 years ago2006-02-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 10 Feb 2006 05:30:08 +0000 (05:30 +0000)]
2006-02-09  Martin Hunt  <hunt@redhat.com>

* copy.c (_stp_copy_from_user): If access fails,
return -1.

18 years agoupdated, still need more works
hien [Thu, 9 Feb 2006 01:44:21 +0000 (01:44 +0000)]
updated, still need more works

18 years ago2006-02-08 Martin Hunt <hunt@redhat.com>
hunt [Thu, 9 Feb 2006 00:14:11 +0000 (00:14 +0000)]
2006-02-08  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp(_msync_flag_str): Fix.
(_wait_opt_str): Fix.
* syscalls.stp: Latest.

18 years ago2006-02-07 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 8 Feb 2006 00:47:51 +0000 (00:47 +0000)]
2006-02-07  Frank Ch. Eigler  <fche@elastic.org>

* src/testsuite/buildok/syscalls.stp: Build with "-u" to build-test
all auxiliary functions.
* tapsets.cxx (dwarf_query::add_probe_point): Add some "-vv" output.

18 years ago2006-02-07 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 8 Feb 2006 00:45:25 +0000 (00:45 +0000)]
2006-02-07  Josh Stone  <joshua.i.stone@intel.com>

PR 2068
* tapsets.cxx (dwarf_query::blacklisted_p): add __switch_to
to the blacklist for x86_64 architecture only.

18 years ago2006-02-07 Martin Hunt <hunt@redhat.com>
hunt [Tue, 7 Feb 2006 18:23:11 +0000 (18:23 +0000)]
2006-02-07  Martin Hunt  <hunt@redhat.com>

* syscalls.stp: Latest.
* syscalls2.stp: Commented out pciconfig calls. Those
need to go in arch-specific directories.

* aux_syscalls.stp (_access_mode_str): Fix.
(_mmap_flags): New Function.
(_mprotect_prot_str): Fix.
(__string): New.
(__get_argv): New.
(__fork_flags): New.

18 years agomore generic documentation
fche [Tue, 7 Feb 2006 16:39:43 +0000 (16:39 +0000)]
more generic documentation

18 years agoCorrect opening comment typo.
wcohen [Mon, 6 Feb 2006 14:24:37 +0000 (14:24 +0000)]
Correct opening comment typo.

18 years agoRemove closing comment typos.
wcohen [Mon, 6 Feb 2006 14:10:56 +0000 (14:10 +0000)]
Remove closing comment typos.

18 years agoupdated- still need more works
hien [Sat, 4 Feb 2006 00:07:11 +0000 (00:07 +0000)]
updated- still need more works

18 years ago2006-02-01 Frank Ch. Eigler <fche@elastic.org> release-0.5.4
fche [Wed, 1 Feb 2006 23:44:19 +0000 (23:44 +0000)]
2006-02-01  Frank Ch. Eigler  <fche@elastic.org>

* testsuite/semko/one.stp: Make sure test case stays broken.

18 years ago2006-02-01 Martin Hunt <hunt@redhat.com>
hunt [Wed, 1 Feb 2006 22:15:59 +0000 (22:15 +0000)]
2006-02-01  Martin Hunt  <hunt@redhat.com>

* stapfuncs.5.in: Document is_return(), returnval() and
probefunc().
* testsuite/buildok/syscall.stp: Basic syscall test.

18 years agoRemove inadventently checked in change.
hunt [Wed, 1 Feb 2006 22:09:36 +0000 (22:09 +0000)]
Remove inadventently checked in change.

18 years ago2006-02-01 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 1 Feb 2006 20:41:21 +0000 (20:41 +0000)]
2006-02-01  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac, systemtap.spec.in: Version 0.5.4.
* configure: Regenerated.

18 years ago2006-02-01 Martin Hunt <hunt@redhat.com>
hunt [Wed, 1 Feb 2006 20:21:27 +0000 (20:21 +0000)]
2006-02-01  Martin Hunt  <hunt@redhat.com>

* syscalls.stp: New syscall file.
* syscall2.stp: More syscalls.
* i686/syscalls.stp: x86-specific calls.
* x86_64/syscalls.stp: x86_64-specific calls.

18 years ago2006-01-31 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 31 Jan 2006 23:56:40 +0000 (23:56 +0000)]
2006-01-31  Josh Stone  <joshua.i.stone@intel.com>

PR 2252
* translate.cxx (translate_pass): Fix legacy definition of
read_trylock.

18 years ago* clarify non-reliance on system elfutils
fche [Tue, 31 Jan 2006 15:56:39 +0000 (15:56 +0000)]
* clarify non-reliance on system elfutils

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

* context.stp (probefunc): New function.
(is_return): New function.
(returnval): New function.

18 years ago2006-01-30 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 30 Jan 2006 22:28:41 +0000 (22:28 +0000)]
2006-01-30  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx (main): Also print elapsed real time for each pass.

18 years agocopyright year update
fche [Sat, 28 Jan 2006 02:50:16 +0000 (02:50 +0000)]
copyright year update

18 years ago2006-01-27 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 28 Jan 2006 02:42:08 +0000 (02:42 +0000)]
2006-01-27  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx: Make "-v" (verbose) flag a counter.
* stap.1.in: Document this.
* session.h: Corresponding changes.
* {elaborate,buildrun,tapsets,translate}.cxx: Update all uses of
verbose flag to compare it to sensible level for value of message.

18 years ago2006-01-27 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 28 Jan 2006 01:22:25 +0000 (01:22 +0000)]
2006-01-27  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx (main): In verbose mode, print user+sys times after
each pass.
* buildrun.cxx (compile_pass): Move success message back to main().

18 years ago2006-01-26 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 26 Jan 2006 22:55:20 +0000 (22:55 +0000)]
2006-01-26  Frank Ch. Eigler  <fche@elastic.org>

PR 2060: lock elevation, mop-up
* staptree.cxx (functioncall_traversing_visitor): Store a
current_function pointer during traversal.
(visit_embeddedcode): Use it to handle $target-synthesized functions.
(varuse_collecting_visitor::visit_assignment): Correct l-lr typo.
(visit_foreach_loop): Note added write on sorted foreach.
(visit_delete_statement): Note as read+write.
* staptree.h: Corresponding changes.
* elaborate.cxx (dead_assignment_remover::visit_expr_statement):
Correct stmt token after possible expression rewriting.
* tapsets.cxx (visit_target_symbol): Create naming convention
to recognize $target-synthesized functions.
* translate.cxx (emit_locks, emit_unlocks): New functions to
emit lock/unlock sequences at the outermost level of a probe.
(emit_probe): Call them.
(varlock_*): #if-0 out the lock code generation.  Later, these
classes should be removed.
(translate_pass): Emit read_trylock() kludge macro for old kernels.

18 years agotest for pr2205
fche [Wed, 25 Jan 2006 15:01:40 +0000 (15:01 +0000)]
test for pr2205

18 years ago2006-01-25 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 25 Jan 2006 14:59:47 +0000 (14:59 +0000)]
2006-01-25  Frank Ch. Eigler  <fche@elastic.org>

PR 2205, patch from <hiramatu@sdl.hitachi.co.jp>:
* parse.cxx (scan): Correct EOF detection for %{ %} case.

18 years agoCleanup
hunt [Wed, 25 Jan 2006 10:08:47 +0000 (10:08 +0000)]
Cleanup

18 years ago2006-01-25 Martin Hunt <hunt@redhat.com>
hunt [Wed, 25 Jan 2006 09:18:25 +0000 (09:18 +0000)]
2006-01-25  Martin Hunt  <hunt@redhat.com>

* agg/stats.c (main): Delete Stats when done.

18 years ago2006-01-25 Martin Hunt <hunt@redhat.com>
hunt [Wed, 25 Jan 2006 09:17:05 +0000 (09:17 +0000)]
2006-01-25  Martin Hunt  <hunt@redhat.com>

* alloc.c (_stp_alloc_percpu): New function.
(_stp_free_percpu): New function.

18 years ago2006-01-25 Martin Hunt <hunt@redhat.com>
hunt [Wed, 25 Jan 2006 09:15:15 +0000 (09:15 +0000)]
2006-01-25  Martin Hunt  <hunt@redhat.com>

* stat.c (_stp_stat_init): Use _stp_alloc_percpu().
(_stp_stat_del): New function.

* alloc.c (_stp_alloc_percpu): New function.
(_stp_free_percpu): New function.

18 years agoTook sys_execve off the blacklist for return probes, now that RHEL4 U3
kenistoj [Tue, 24 Jan 2006 20:47:50 +0000 (20:47 +0000)]
Took sys_execve off the blacklist for return probes, now that RHEL4 U3
includes the fix for PR #1345.

18 years ago2006-01-24 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 24 Jan 2006 17:58:02 +0000 (17:58 +0000)]
2006-01-24  Frank Ch. Eigler  <fche@elastic.org>

PR 2060 etc.
* tapsets.cxx (visit_target_symbol): Tolerate failed resolution by
letting target_symbol instance pass through to optimizer and
type checker.
* elaborate.cxx (semantic_pass_optimize): New family of functions and
associated visitor classes.
(visit_for_loop): Tolerate absent init/incr clauses.
(semantic_pass): Invoke unless unoptimized (-u) option given.
* main.cxx, session.h: Add support for flag.
* staptree.cxx (visit_for_loop): Tolerate absent init/incr clauses.
(traversing_visitor::visit_arrayindex): Visit the index expressions.
(functioncall_traversing_visitor): New class.
(varuse_tracking_visitor): New class.
* staptree.h: Corresponding changes.
* parse.cxx (parse_for_loop): Represent absent init/incr expressions
with null statement pointer instead of optimized-out dummy numbers.
* stap.1.in: Document optimization.
* testsuite/{semko,transko}/*.stp: Added "-u" or other code to many
tests to check bad code without optimizer elision.
* testsuite/semok/optimize.stp: New test.

* elaborate.cxx (unresolved, invalid, mismatch): Standardize error
message wording.
* stapfuncs.5.in: Tweak print/printf docs.
* tapset/logging.stp: Remove redundant "print" auxiliary function,
since it's a translator built-in.
* testsuite/transok/five.stp: Extend test.
* translate.cxx (emit_symbol_data): Put symbol table into a separate
temporary header file, to make "-p3" output easier on the eyes.
* buildrun.cxx (compile_pass): Eliminate test-mode support throughout.
* main.cxx, session.h, translate.cxx: Ditto.
* main.cxx (main): For last-pass=2 runs, print post-optimization ASTs.

18 years ago2006-01-19 Martin Hunt <hunt@redhat.com>
hunt [Thu, 19 Jan 2006 19:26:32 +0000 (19:26 +0000)]
2006-01-19  Martin Hunt  <hunt@redhat.com>

* pmap-gen.c (_stp_pmap_get): Fix bug where old data
from agg map could be returned after element was deleted.

18 years ago2006-01-18 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 18 Jan 2006 23:17:46 +0000 (23:17 +0000)]
2006-01-18  Josh Stone  <joshua.i.stone@intel.com>

* tapsets.cxx (profile_derived_probe::emit_probe_entries): Setup
c->regs properly in light of the emit_probe_prologue change.

18 years ago2006-01-18 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 18 Jan 2006 21:00:05 +0000 (21:00 +0000)]
2006-01-18  Josh Stone  <joshua.i.stone@intel.com>

* translate.cxx (c_unparser::visit_foreach_loop): improved the error
message when _stp_pmap_agg fails.

18 years ago* simplified build instructions
fche [Wed, 18 Jan 2006 16:24:58 +0000 (16:24 +0000)]
* simplified build instructions

18 years ago2006-01-18 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 18 Jan 2006 05:12:49 +0000 (05:12 +0000)]
2006-01-18  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (c_unparser_assignment::visit_arrayindex):
Eliminate dummy assignments for "<<<" code.

18 years ago2006-01-17 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 18 Jan 2006 03:33:14 +0000 (03:33 +0000)]
2006-01-17  Josh Stone  <joshua.i.stone@intel.com>

PR 2156
* testsuite/buildok/pmap_foreach.stp: Add test with sorting

18 years ago2006-01-17 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 18 Jan 2006 02:06:19 +0000 (02:06 +0000)]
2006-01-17  Josh Stone  <joshua.i.stone@intel.com>

PR 2156
* translate.cxx (c_unparser::visit_foreach_loop): Check the return
value of _stp_pmap_agg() for NULL.

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

* systemtap.spec.in: Remove explicit kernel-devel dependency,
since some old kernel rpm builds don't virtual-provide it for
e.g. smp, hugemem.

18 years ago2006-01-17 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 17 Jan 2006 23:34:09 +0000 (23:34 +0000)]
2006-01-17  Frank Ch. Eigler  <fche@elastic.org>

PR 2142
* translate.cxx (EXTRACTORS_PERMISSIVE): New experimental policy
parameter.
(c_unparser::visit_arrayindex, visit_print_format, visit_stat_op):
Tolerate absent index (= NULL runtime return) in pmap.
(*): Make semantic_error messages consistently lower case.
* testsuite/buildok/iterate_histogram_buckets.stp: Note some missing
functionality.

18 years ago2006-01-17 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 17 Jan 2006 19:51:23 +0000 (19:51 +0000)]
2006-01-17  Josh Stone  <joshua.i.stone@intel.com>

* stap.1.in: Document the 'delete' operator.

18 years ago. release-0.5.3
roland [Tue, 17 Jan 2006 07:48:43 +0000 (07:48 +0000)]
.

18 years ago2006-01-16 Roland McGrath <roland@redhat.com>
roland [Tue, 17 Jan 2006 07:48:37 +0000 (07:48 +0000)]
2006-01-16  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in (elfutils_version): Require 0.119 now.
* configure.ac, systemtap.spec.in: Version 0.5.3.
* configure: Regenerated.

18 years ago2006-01-16 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 16 Jan 2006 23:40:50 +0000 (23:40 +0000)]
2006-01-16  Josh Stone  <joshua.i.stone@intel.com>

PR 2140
* translate.cxx (mapvar::del): Add ability to delete an indexed stat
from (p)maps.
(delete_statement_operand_visitor::visit_symbol): Add ability to
delete entire pmaps and scalars.
(delete_statement_operand_tmp_visitor): Add a special tmpvar visitor
to parallel delete_statement_operand_visitor.
(c_tmpcounter::visit_delete_statement): Invoke the new visitor.
* testsuite/buildok/delete.stp: Also test scalar deletes.
* vim/syntax/stap.vim: Recognize 'delete' operator.

2006-01-16  Josh Stone  <joshua.i.stone@intel.com>

* stat.c (_stp_stat_clear): add a function that just
clears a Stat, so we can use delete in the translator.

18 years ago2006-01-16 Martin Hunt <hunt@redhat.com>
hunt [Mon, 16 Jan 2006 08:33:35 +0000 (08:33 +0000)]
2006-01-16  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_pmap_agg): Return NULL when aggregation
fails.

18 years ago2006-01-15 Frank Ch. Eigler <fche@elastic.org>
fche [Sun, 15 Jan 2006 17:26:18 +0000 (17:26 +0000)]
2006-01-15  Frank Ch. Eigler  <fche@elastic.org>

PR 2148
* translate.cxx (MAXERRORS): Actually the max should be 0, so first
error aborts session.

* Revert last stp_exit change.

18 years ago2006-01-13 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 13 Jan 2006 22:36:42 +0000 (22:36 +0000)]
2006-01-13  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx (main): Suppress "Try again with -v" message if already
verbose.

18 years ago2006-01-13 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 13 Jan 2006 22:31:30 +0000 (22:31 +0000)]
2006-01-13  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (c_unparser:getmap): Correct exception throwing typo.

18 years ago2006-01-12 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 13 Jan 2006 03:55:16 +0000 (03:55 +0000)]
2006-01-12  Josh Stone  <joshua.i.stone@intel.com>

PR 2056
* translate.cxx (c_unparser::aggregation_locks): Keeps track of
foreach's locks on pmaps to avoid extra aggregation.
(c_unparser::visit_foreach_loop): Set aggregation_locks appropriately.
(c_unparser::load_aggregate, mapvar::call_prefix, mapvar::get):
Use a new parameter to indicate that we should read from the
already-aggregated map rather than the full pmap..
(c_unparser::visit_arrayindex c_unparser::visit_print_format,
c_unparser::visit_stat_op): Use aggregation_locks to avoid taking a
lock and aggregating the pmap.
(c_unparser::emit_map_type_instantiations): To read from a pmap's
aggregated map, we need to include map-gen.c for the _stp_map_*
functions.
(c_unparser::obtained_locks, varlock::varlock, varlock::~varlock):
Add simple static checking to detect incompatible nested locks during
translation, and flag it as an error.

18 years ago2006-01-11 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 11 Jan 2006 19:21:27 +0000 (19:21 +0000)]
2006-01-11  Josh Stone  <joshua.i.stone@intel.com>

PR 2140
* testsuite/buildok/delete.stp: Test correct compilation of the
'delete' operator for all "legal" variations.

18 years ago2006-01-11 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 11 Jan 2006 19:07:54 +0000 (19:07 +0000)]
2006-01-11  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (MAXERRORS): Oops, set back to intended default of 1.

18 years ago2006-01-10 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 10 Jan 2006 22:32:15 +0000 (22:32 +0000)]
2006-01-10  Frank Ch. Eigler  <fche@redhat.com>

PR 1972.
* tapsets.cxx (var_expanding_copy_visitor::visit_target_symbol):
Produce error message for $var access within .return probes.
* testsuite/semko/thirtyfour.stp: New test.

18 years ago2006-01-10 Martin Hunt <hunt@redhat.com>
hunt [Tue, 10 Jan 2006 21:18:02 +0000 (21:18 +0000)]
2006-01-10  Martin Hunt  <hunt@redhat.com>

* logging.stp: Don't set STAP_SESSION_STOPPING.
That it done in _stp_exit().

18 years ago2006-01-10 Martin Hunt <hunt@redhat.com>
hunt [Tue, 10 Jan 2006 21:14:50 +0000 (21:14 +0000)]
2006-01-10  Martin Hunt  <hunt@redhat.com>

* io.c (_stp_exit): set STAP_SESSION_STOPPING.

18 years ago2006-01-10 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 10 Jan 2006 18:52:33 +0000 (18:52 +0000)]
2006-01-10  Frank Ch. Eigler  <fche@redhat.com>

PR 2060.
* buildrun.cxx (compile_pass): Add "V=1" to kbuild if verbose.
* translate.cxx (translator_output): For output-file constructor,
set an explicit output buffer.
(emit_module_init, emit_module_exit): Reorganize output, to spit
each individual probe registration/deregistration blurb into a
separate function.
* translate.h: Corresponding changes; set default buffer size to 8K.
* translate.cxx, tapsets.cxx: Replace "endl" by buffer-friendly "\n"
throughout code generation routines.

18 years ago2006-01-09 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 9 Jan 2006 18:14:58 +0000 (18:14 +0000)]
2006-01-09  Frank Ch. Eigler  <fche@redhat.com>

* HACKING: Extend guidelines for tapset testing.

18 years agoBetter support for code coverage with gcov and lcov.
wcohen [Fri, 6 Jan 2006 23:08:30 +0000 (23:08 +0000)]
Better support for code coverage with gcov and lcov.

18 years ago2006-01-05 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 5 Jan 2006 21:59:21 +0000 (21:59 +0000)]
2006-01-05  Josh Stone  <joshua.i.stone@intel.com>

PR 2056
* translate.cxx (var::~var, var::hist, var::buckets): make these
methods virtual, so we can use polymorphism.
(mapvar::hist, mapvar::buckets):  Override the corresponding var
methods to handle pmaps correctly.
(c_unparser::visit_arrayindex, c_unparser::visit_print_format): Make
use of the new polymorphic behavior of var & mapvar when dealing with
histogram data.
* testsuite/buildok/pmap_foreach.stp: Add tests to check histogram
accesses with for/foreach.

18 years ago2006-01-04 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 4 Jan 2006 20:19:01 +0000 (20:19 +0000)]
2006-01-04  Frank Ch. Eigler  <fche@elastic.org>

PR 2057.
* translate.cxx (c_unparser_assignment::visit_arrayindex): Don't take
write lock around pmap accumulation.

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