summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2007-01-22 Josh Stone <joshua.i.stone@intel.com>jistone2007-01-234-78/+119
| | | | | | | | | runtime/ * loc2c-runtime.h (kread, kwrite): Tweaks to work better with reading and writing pointer values. testsuite/ * systemtap.base/deref.stp: Rewrite test, and now also check the ability to read/write pointers.
* 2007-01-22 Frank Ch. Eigler <fche@redhat.com>fche2007-01-2256-89/+16
| | | | | | | * config/unix.exp: New file as a master load_lib repository. * */*.exp: Removed load_lib calls. * parseko/cmdline01.stp: Swallow expected stap ERROR: message. * systemtap.syscall/syscall.exp: Added installmode_p checks.
* Fix for kallsyms problemhunt2007-01-221-11/+7
|
* 2007-01-22 Martin Hunt <hunt@redhat.com>hunt2007-01-222-4/+9
| | | | | | * translate.cxx (mapvar::exists): Use new _stp_map_exists function. Testing for zero is no longer correct after changes from 2007-01-10 below.
* 2007-01-22 Martin Hunt <hunt@redhat.com>hunt2007-01-222-0/+39
| | | | * map-gen.c (_stp_map_exists): New. Check for membership only.
* 2007-01-22 Martin Hunt <hunt@redhat.com>hunt2007-01-223-0/+70
| | | | | * systemtap.maps/exists.stp: New test to see if array elements exist using the "in" keyword.
* Updated kmodule.stp test to look for other modules when ext3 isn't a module.mmason2007-01-212-1/+10
|
* 2007-01-19 Josh Stone <joshua.i.stone@intel.com>jistone2007-01-205-11/+91
| | | | | | | | | | | | | PR 3079 runtime/ * loc2c-runtime.h (kread, kwrite): New macros to safely read/write values from kernel pointers. This includes a workaround for 64-bit numbers on i386 platforms. testsuite/ * systemtap.base/deref.stp: Use the new kread macro that should work fine with 64-bit numbers on i386 platforms. Also expand the test to include writes with kwrite. * systemtap.base/deref.exp: Remove the setup_kfail.
* 2007-01-18 Frank Ch. Eigler <fche@elastic.org>fche2007-01-183-2/+23
| | | | | | * main.cxx (version): Add (C) 2007. * translate.cxx (emit_module_init): Add a KERN_DEBUG printk at module startup time to aid debugging and auditing.
* In _stp_sockaddr_str() s390x needs sockaddr_ll.sll_addr printed as a long ↵dwilder2007-01-181-1/+1
| | | | int instead of long long int.
* Added several ? to probe definitions for kernel functions that are not ↵dwilder2007-01-181-8/+8
| | | | availableon s390. This is needed to make probe syscall.* work.
* Added s390x support in function errno_str.dwilder2007-01-181-0/+2
|
* * embedded-C safety blurbfche2007-01-171-1/+4
|
* 2007-01-17 Martin Hunt <hunt@redhat.com>hunt2007-01-173-0/+23
| | | | | * syscalls.stp: Add syscall.creat. * syscalls2.stp: Add compat_sys_open.
* 2007-01-17 Martin Hunt <hunt@redhat.com>hunt2007-01-172-0/+4
| | | | * test.exp: Renamed to syscall.exp.
* buildok/eighteen.stp: changed to find __audit_getname or audit_getnamemmason2007-01-162-8/+10
| | | | without checking kernel version to support audit code backports
* * point to NEWSfche2007-01-151-4/+7
|
* Test 32-bit binaries on ppc64 in test.exp.mmason2007-01-152-2/+7
|
* Fix for ioblocktest.exp test (PR 3867)mmason2007-01-134-7/+17
|
* Added ? to request_key probes in x86_64/syscalls.stp to preventmmason2007-01-132-2/+7
| | | | syscall.* failures on some kernels.
* 2007-01-12 David Smith <dsmith@redhat.com>dsmith2007-01-122-0/+32
| | | | | | | | * tapsets.cxx (dwarf_var_expanding_copy_visitor::visit_target_symbol): Since array behavior has changed (setting to 0 no longer deletes the array element), we delete the internal counter array element when providing target variable access in return probes.
* Add iotime.stp, sleeptime.stp, and wait4time.stp examples.wcohen2007-01-114-0/+237
|
* .roland2007-01-111-10/+15
|
* 2007-01-11 Roland McGrath <roland@redhat.com>roland2007-01-111-1/+1
| | | | | * systemtap.spec.in (elfutils_version): Bump to 0.125. Older libdw's have known bugs, though the ABI has not changed.
* * moving examples/ changelog entriesfche2007-01-102-1/+4
|
* 2007-01-10 Martin Hunt <hunt@redhat.com>hunt2007-01-102-5/+19
| | | | * small_demos/top.stp: Use "limit" option in foreach.
* 2007-01-10 Martin Hunt <hunt@redhat.com>hunt2007-01-1010-22/+58
| | | | | | | | | | | | * systemtap.maps/foreach_foreach.exp: Update for new delete func. * systemtap.maps/ii.exp: Ditto. * systemtap.maps/ii.stp: Ditto. * systemtap.maps/iiiiii.exp: Ditto. * systemtap.maps/iiiiii.stp: Ditto. * systemtap.maps/is.stp: Ditto. * systemtap.maps/si.exp: Ditto. * systemtap.maps/si.stp: Ditto. * systemtap.maps/ss.stp: Ditto.
* 2007-01-10 Martin Hunt <hunt@redhat.com>hunt2007-01-102-7/+7
| | | | | * translate.cxx (mapvar::del): Call the new _stp_map_del function instead of setting to zero.
* 2007-01-10 Martin Hunt <hunt@redhat.com>hunt2007-01-104-41/+122
| | | | | | | | | | | | | | | PR 3708 * map.c (str_copy): Check for NULL pointers. (_new_map_set_int64): Don't check val for 0. (_new_map_set_str): Don't check val for NULL. * map-gen.c (VAL_IS_ZERO): Removed. (_stp_map_del): New. (__stp_map_set): Don't check for zero. * pmap-gen.c (VAL_IS_ZERO): Removed. (_stp_pmap_del): New. (__stp_pmap_set): Don't check for zero.
* 2007-01-09 Martin Hunt <hunt@redhat.com>hunt2007-01-094-41/+58
| | | | | * test.exp, test.tcl, test-debug.tcl: PR 3524. Support for separtet source and obj trees.
* 2007-01-09 Martin Hunt <hunt@redhat.com>hunt2007-01-092-4/+10
| | | | | | * symbols.c (_stp_del_module): Fix so memory allocated for module 0 (kernel) is freed. (_stp_free_modules): No need to lock module list.
* laggardfche2007-01-021-0/+3
|
* 2007-01-01 Frank Ch. Eigler <fche@redhat.com>fche2007-01-0214-15/+305
| | | | | | | * configure.ac: Bump version to 0.5.12 for release. * configure: Regenerated. * NEWS, AUTHORS: Populate & repopulate. * examples/*: Added several .stp/.txt files from the wiki.
* 2006-12-29 Frank Ch. Eigler <fche@elastic.org>fche2006-12-303-2/+15
| | | | | | | * tapsets.cxx (*group:emit_module_init): flush stdout less for timing mode. Also, Set probe_point variable ... * translate.cxx (emit_module_init): ... so on registration failure, a usable error message can be generated.
* 2006-12-29 Frank Ch. Eigler <fche@redhat.com>fche2006-12-308-82/+147
| | | | | | | | | | | | | | | PR 3523. * tapsets.cxx (common_probe_entryfn_prologue,epilogue): Restore support for -t (benchmarking) mode. * translate.cxx (emit_common_header,emit_module_init):Ditto. (emit_module_exit,emit_probe): Ditto, with most meat here. 2006-12-29 Frank Ch. Eigler <fche@redhat.com> PR 3523. * buildok/fourteen.stp, fourteen-plus.stp: Tweak & add a test. * systemtap.base/bench.stp: Work around randomized-ordered probes. * systemtap.base/bench.exp: Tighten output requirements.
* bugfix for 2.6.19 kernelguanglei2006-12-299-108/+306
|
* fix wrong HOOKID for _addevent.sunrpc.svc.recv.entryguanglei2006-12-232-2/+8
| | | | and _addevent.sunrpc.svc.recv.return
* 2006-12-22 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-2211-0/+92
| | | | | | | | | | * stap.1.in: Document how to specify the size of global arrays. testsuite/ * buildok/array_size.stp, parseko/array01.stp, parseko/array02.stp, parseko/array03.stp, parseko/array04.stp, transko/array01.stp, systemtap.base/array_size.exp, systemtap.base/array_size.stp: Tests for specifying the size of global arrays.
* 2006-12-22 David Smith <dsmith@redhat.com>dsmith2006-12-222-0/+16
| | | | | | * systemtap.base/cache.exp: Added test to ensure that using '-M' and '-t' changes the hash. The '-t' test is commented out until PR3523 is fixed.
* 2006-12-21 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-225-16/+73
| | | | | | | | | | | | | | | | | PR 3671 * parse.cxx (parser::parse_global): Allow a maxsize on global arrays. * staptree.h (struct vardecl): Add the maxsize field. * staptree.cxx (vardecl::vardecl): Init. maxsize. (vardecl::set_arity): Don't allow arity 0 when there's a maxsize. (vardecl::compatible_arity): Ditto. (vardecl::print): Include maxsize in output. (target_symbol::print): Ditto. * translate.cxx (struct mapvar, mapvar::mapvar): Add maxsize. (mapvar::init): Init maps with the given maxsize if specified, else keep using MAXMAPENTRIES. (mapvar::set): Make the error message give the maxsize. (mapvar::add): Ditto, and check for overflow on pmap add. (c_unparser::getmap): Pass the maxsize from the vardecl to mapvar.
* 2006-12-21 David Smith <dsmith@redhat.com>dsmith2006-12-212-1/+9
| | | | | | * hash.cxx (find_hash): Added two more options into the hash that change the generated C file - '-M' (merge) and '-t' (benchmark timing).
* 2006-12-21 David Smith <dsmith@redhat.com>dsmith2006-12-212-0/+9
| | | | | * systemtap.base/cache.exp: Added test to ensure that using '-b' changes the hash.
* 2006-12-20 Martin Hunt <hunt@redhat.com>hunt2006-12-202-0/+5
| | | | * runtime.h: Include mm.h.
* 2006-12-20 Martin Hunt <hunt@redhat.com>hunt2006-12-202-5/+21
| | | | * transport.c: Fixes to use the new 2.6.20 workqueue API.
* 2006-12-20 David Smith <dsmith@redhat.com>dsmith2006-12-204-5/+54
| | | | | | | | | | | | | | PR 3519. * Makefile.am: Added 'examples' directory to the 'EXTRA_DIST' variable so that the examples directory will be added to the distribution directory. Added variables 'SAMPLE_DEST_DIR' and 'SAMPLE_SRC' and target 'dist-add-samples' to copy some of the testsuite sample scripts to the examples directory when creating a distribution directory. * Makefile.in: Regenerated. * systemtap.spec.in: Added 'examples' directory to the %doc list so that the examples directory will be installed on a user's system.
* bugfix of LKET rpc event register codes.guanglei2006-12-203-12/+18
|
* runtime/lket/b2a/lket-b2a.c:guanglei2006-12-202-3/+18
| | | | bugfix for NULL appname when search appNameTree.
* 2006-12-19 Frank Ch. Eigler <fche@redhat.com>fche2006-12-1910-38/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 3522. * tapsets.cxx (dwflpp::emit_address): Call _stp_module_relocate only once per session. Error message cleanup: duplicate elimination etc. * session.h (saved_errors): Store a set of 'em. (num_errors): Return set size. Remove old numeric field. Update all callers. * elaborate.cxx (systemtap_session::print_errors): Print each encountered message just once. * staptree (semantic_error): Make msg2 writeable. Add a chain field. * tapsets.cxx (*var_expanding*:visit_target_symbol): Set saved semantic_error's chain field. * elaborate.cxx (register_library_aliases, visit_foreach_loop, visit_functioncall, derive_probes): Plop "while: ..." error message prefix/suffix right into the semantic_error message string. * parse.cxx (lexer::scan): Identify erroneous token better in error message for unresolvable $N/@M command line args. * util.h (lex_cast_hex): Use std::hex, not std::ios::hex. 2006-12-19 Frank Ch. Eigler <fche@redhat.com> PR 3522. * buildok/twentyfive.stp: New test for static $var access.
* 2006-12-18 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-193-0/+61
| | | | | | * systemtap.base/deref.exp, systemtap.base/deref.exp: Add a test for successfully dereferencing pointers of various sizes. This is known to fail on x86 for 64-bit values -- PR 3079.
* 2006-12-18 David Smith <dsmith@redhat.com>dsmith2006-12-183-0/+8
| | | | | | * Makefile.am (EXTRA_DIST): Added header files - cache.h, hash.h, mdfour.h, and util.h. * Makefile.in: Regenerated.