summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
Commit message (Collapse)AuthorAgeFilesLines
* PR9953: split up the two process.* tapsetsJosh Stone2009-04-142-12/+12
| | | | | | | The overlapping process.* tapsets are now separated. Those probe points documented in stapprobes(3stap) remain the same. Those that were formerly in stapprobes.process(3stap) have been renamed to kprocess, to reflect their kernel perspective on processes.
* Add uaddr() context tapset function.Mark Wielaard2009-04-081-0/+8
| | | | | * tapset/context.stp (uaddr): New sfunction. * testsuite/buildok/uaddr.stp: New test.
* Create usymname and usymdata variant that trigger STP_NEED_VMA_TRACKER.Mark Wielaard2009-04-072-0/+16
| | | | | | | | | * tapset/context-symbols.stp (syname, symdata): Pass NULL for kernel address. * tapset/ucontext-symbols.stp: New file defining usymname and usymdata. * testsuite/systemtap.context/usymbols.exp: Use usymname, remove STP_NEED_VMA_TRACKER hack. * testsuite/buildok/usymdata.stp: New test. * testsuite/buildok/usymname.stp: Likewise.
* PR6580: Implement symname, symdata and modname context functions.Mark Wielaard2009-04-023-0/+24
| | | | | | | | | | | | | | | | | | This adds a couple of the suggested context/stack revamp functions from PR6580. In particular it replaces the symbolname() function that sneaked in with the pr6866 branch merge with the suggested symname(). * runtime/sym.c (_stp_mod_sec_lookup): Make section optional. (_stp_symbol_snprint): Provide a way to get optional module info. * tapset/context-symbols.stp: Replace symbolname() with symname(), add modname() and symdata(). (probemod): Implement pc based fallback. * tapset/context-unwind.stp (caller): Adjust for _stp_symbol_snprint change. * testsuite/systemtap.context/usymbols.exp: Use new symname. * testsuite/buildok/modname.stp: New test. * testsuite/buildok/symdata.stp: Likewise. * testsuite/buildok/symname.stp: Likewise.
* PR4105: removing redundant buildok/twentysix.stp testFrank Ch. Eigler2009-04-011-7/+0
|
* PR4105: support up to 9 (up from 5) array index dimensionsFrank Ch. Eigler2009-04-011-0/+49
| | | | | | | | * runtime/map-gen.c, pmap-gen.c: Hand-expand arity 6..9 cases throughout. * testsuite/buildok/thirty.stp: New test. * testsuite/buildko/two.stp: New test. An Alan Smithee patch.
* PR10000: emit _stp_relocate* calculations correctly for kernel/module global ↵Frank Ch. Eigler2009-03-271-0/+9
| | | | | | | | | | | | | | | | $data * translate.cxx (dump_unwindsyms): Also emit STT_OBJECT symbols, therefore .data etc. sections into stap-symbols.h. * tapsets.cxx (iterate_over_modules): Omit a dwfl_getmodules() RC-checking assertion that blocked meaningful $context var error messages. (dwflpp::emit_address): Bypass dwfl_module_relocate_address() for kernel symbols as it has been unreliable; subtract sess.sym_stext manually. * testsuite/buildok/seventeen.stp: Extend test with module $global.
* Add pid-based data lookup function.Wenji Huang2009-03-162-1/+5
| | | | Two functions pid2task and pid2execname.
* PR6972. Fixed vfs tapset.David Smith2008-10-281-4/+3
| | | | | | | | | | | | | | | | | | 2008-10-28 David Smith <dsmith@redhat.com> PR6972 * vfs.stp (generic.fop.aio_read): Works under 2.6.18 kernels, such as RHEL5. (generic.fop.aio_read.return): Ditto. (vfs.__set_page_dirty_buffers): Fixed small bug. (_vfs.block_write_begin): Only use for kernels >= 2.6.24. (_vfs.block_write_begin.return): Ditto. (_vfs.block_write_end): Ditto. (_vfs.block_write_end.return): Ditto. 2008-10-28 David Smith <dsmith@redhat.com> * buildok/vfs_testcase.stp: Fixes for updated vfs tapset.
* Correct ioblock and scsi tapset for 2.6.28.Wenji Huang2008-10-282-6/+15
|
* Fix 2.6.27 detection.Mark Wielaard2008-09-152-2/+2
|
* Added tests for utrace-syscall probe context variables.Masami Hiramatsu2008-09-091-0/+18
|
* Fixed failure of buildok/process-all-probes.stpWenji Huang2008-08-221-1/+8
|
* Correct several tests for 2.6.27Wenji Huang2008-08-032-0/+6
|
* fix *{ok,ko} test case permissionsFrank Ch. Eigler2008-07-151-0/+0
|
* Make _vfs.generic_commit_write only for kernel<=2.6.25Wenji Huang2008-07-011-0/+2
|
* This commit makes changes to the VFS tapset. The changes include deprecation ofroot2008-06-271-0/+461
| | | | | | | some old probe points to older versions of kernel, adding new helper C functions and probe points for the VFS subsystem. A new testcase is created for the VFS tapset which performs a compile test (i.e. up4) on the probe points to verify sanity. These details can also be found in the ChangeLog.
* testsuite cleanup: kfailing some FOO-all-probes testsFrank Ch. Eigler2008-05-252-2/+2
|
* PR6538: more testsuite tweaks for read-only warningsFrank Ch. Eigler2008-05-216-8/+10
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-05-211-0/+4
|\ | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Check new (sub) functions of _struct_utimbuf_* and _struct_compat_utimbuf_*.
| * Check new (sub) functions of _struct_utimbuf_* and _struct_compat_utimbuf_*.Mark Wielaard2008-05-211-2/+4
| |
* | PR6538: testsuite changesFrank Ch. Eigler2008-05-201-6/+8
| |
* | PR5001: fix test suite collateral damageFrank Ch. Eigler2008-05-201-2/+0
|/
* Rewrote utrace buildok tests to check for kernel utrace support.David Smith2008-04-183-18/+0
| | | | | | | | | | 2008-04-18 David Smith <dsmith@redhat.com> * buildok/utrace01.stp: Removed. * buildok/utrace02.stp: Ditto. * buildok/utrace03.stp: Ditto. * systemtap.base/utrace_p4.exp: Rewrote buildok tests to check for kernel utrace support.
* Added new utrace tests.David Smith2008-04-173-0/+18
| | | | | | | | | | | | | | | | | | | | | 2008-04-17 David Smith <dsmith@redhat.com> * buildok/utrace01.stp: New test. * buildok/utrace02.stp: Ditto. * buildok/utrace03.stp: Ditto. * semko/utrace01.stp: Ditto. * semko/utrace02.stp: Ditto. * semko/utrace03.stp: Ditto. * semko/utrace04.stp: Ditto. * semko/utrace05.stp: Ditto. * semko/utrace06.stp: Ditto. * semko/utrace07.stp: Ditto. * semko/utrace08.stp: Ditto. * semko/utrace09.stp: Ditto. * semko/utrace10.stp: Ditto. * semko/utrace11.stp: Ditto. * semko/utrace12.stp: Ditto. * semko/utrace13.stp: Ditto.
* 2008-03-21 Eugene Teo <eugeneteo@kernel.sg>eteo2008-03-212-0/+26
| | | | | | | | | | | | PR 5528 * tapset/conversions.stp (user_string_n, user_string_n2, user_string_n_warn, user_string_n_quoted, user_short, user_short_warn, user_int, user_int_warn, user_long, user_long_warn, user_char, user_char_warn): New user_* functions. * stapfuncs.5.in: Documented the new functions. * testsuite/systemtap.stress/conversions.stp: Test new functions. * testsuite/buildok/conversions.stp: Test new functions. * testsuite/buildok/conversions-embedded.stp: Test new functions.
* PR5516: assignment to $pointersfche2008-03-031-0/+6
| | | | | | | | | | | | | | | | | | | | | 2008-03-03 Frank Ch. Eigler <fche@elastic.org> PR5516 * elaborate.cxx (symbol_fetcher, dead_assignment_remover): Support unresolved $target lvalues. Propagate pretty error messages. * staptree.cxx (varuse_collecting_visitor target_symbol): Ditto. * staptree.h: Corresponding decl. * loc2c.c: c_translate_pointer_store: New function. * loc2c.h: Corresponding decl. * tapsets.cxx (dwflpp::translate_final_fetch_or_store): Call it for $target pointer assignments. 2008-03-03 Frank Ch. Eigler <fche@elastic.org> PR5516 * buildok/twentynine.stp: New test.
* 2008-01-16 Eugene Teo <eteo@redhat.com>eteo2008-01-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | * stapfuncs.5.in: Document signal.stp tapset functions. 2008-01-16 Eugene Teo <eteo@redhat.com> * signal.stp (get_sa_flags, get_sa_handler): New functions to return addresses of sa_flags and sa_handler of struct k_sigaction. (sigset_mask_str): New function. Returns a string containing the set of signals to be blocked when executing the signal handler. (is_sig_blocked): New function. Checks task_struct->blocked signal mask for signals that are currently blocked. (signal_str): New function. Translates a signal number. (sa_flags_str): New function. Translates the sa_flags. (sa_handler_str): New function. Returns the signal action or handler associated to the signal. 2008-01-16 Eugene Teo <eteo@redhat.com> * buildok/signal-embedded.stp: Add all new embedded C functions in signal.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-121-10/+10
| | | | | | | | * systemtap.base/*.stp: Replace log() calls with println() (or printf() if formatting would help.) * systemtap.maps/*.stp: Ditto. * systemtap.samples/*.stp: Ditto. * systemtap.stress/*.stp: Ditto.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-051-1/+41
| | | | | * buildok/aux_syscalls-embedded.stp: Add all embedded C function in aux_syscalls.
* rhbz 319611: htonl and friends in tapsetfche2007-10-051-0/+6
| | | | | | | | | | 2007-10-04 Frank Ch. Eigler <fche@elastic.org> * stapfuncs.5.in: Document inet.stp tapset functions. * buildok/inet-embedded.stp: Test inet.stp functions. * inet.stp: New tapset for htonl and friends.
* 2007-10-04 Mike Mason <mmlnx@us.ibm.com>mmason2007-10-0412-0/+71
| | | | | | | | | | | | | | | | | * buildok/memory-all-probes.stp: New test that uses wildcarding to determine if all probes are resolvable. * buildok/nfs-all-probes.stp: Ditto * buildok/nfsd-all-probes.stp: Ditto * buildok/process-all-probes.stp: Ditto * buildok/rpc-all-probes.stp: Ditto * buildok/scheduler-all-probes.stp: Ditto * buildok/scsi-all-probes.stp: Ditto * buildok/signal-all-probes.stp: Ditto * buildok/socket-all-probes.stp: Ditto * buildok/tcp-all-probes.stp: Ditto * buildok/udp-all-probes.stp: Ditto * buildok/vfs-all-probes.stp: Ditto
* replace examples buildok testingfche2007-09-241-34/+0
| | | | | * systemtap.samples/examples.exp: New file, replacing * buildok/examples.stp: Removed.
* * buildok test cases for every embedded-C functionfche2007-09-2415-0/+171
| | | | | | | 2007-09-24 Frank Ch. Eigler <fche@elastic.org> * buildok/*-embedded.stp: New test case for every embedded-C function in the tapsets.
* 2007-09-15 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-161-0/+34
| | | | | PR 4930 * buildok/examples.stp: New test case.
* 2007-09-14 David Smith <dsmith@redhat.com>dsmith2007-09-141-0/+12
| | | | | | | | | | PR 1154 * buildok/procfs01.stp: New test case. * semko/procfs01.stp: Ditto. * semko/procfs02.stp: Ditto. * semko/procfs03.stp: Ditto. * semko/procfs04.stp: Ditto. * semko/procfs05.stp: Ditto.
* 2007-09-12 Frank Ch. Eigler <fche@elastic.org>fche2007-09-131-0/+2
| | | | | | | | * parse.cxx (parse_symbol): Accept println(@hist*()). 2007-09-12 Frank Ch. Eigler <fche@elastic.org> * buildok/print_histograms.stp: Test println(@hist*()).
* 2007-09-12 Frank Ch. Eigler <fche@elastic.org>fche2007-09-131-0/+5
| | | | | | | | | | | PR 5023 * translate.cxx (c_unparser::visit_literal_number): Support LLONG_MIN. (visit_unary_expression): Likewise. 2007-09-12 Frank Ch. Eigler <fche@elastic.org> PR 5023. * buildok/ten.stp: Extend some more.
* 2007-09-12 Frank Ch. Eigler <fche@elastic.org>fche2007-09-121-1/+3
| | | | | PR 5023. * buildok/ten.stp: Reactivate and extend.
* 2007-09-10 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-102-2/+8
| | | | | | | * systemtap.stress/current.stp: Make module probe optional. * buildok/four.stp: Ditto. * buildok/twentyfive.stp: Ditto. * semok/twelve.stp: Ditto.
* Added open_file_handles tapset function and man page for task tapsets.srikar2007-09-041-0/+2
|
* Removing LKET files.srikar2007-08-271-3/+0
|
* 2007-08-24 Frank Ch. Eigler <fche@redhat.com>fche2007-08-241-0/+24
| | | | | | | | | | | | | | | | PR 4899 * tapsets.cxx (dwflpp::has_single_line_record): Extended, abstraction violated. (iterate_over_srcfile_lines): Remove exactly line number match logic. Improve error message to offered better-checked alternative line numbers. (query_srcfile_line): Whoops, pass scope_die down for statement("...") probes, to enable $target var processing. 2007-08-24 Frank Ch. Eigler <fche@redhat.com> PR 4899 * buildok/fortytwo.stp: New test.
* 2007-08-16 Frank Ch. Eigler <fche@elastic.org>fche2007-08-171-0/+3
| | | | | | | | | PR 1315. * target_set.stp: New tapset file. * stapfuncs.5.in: Document new target_set tapset. * buildok/fortyfive.stp: New test.
* 2007-08-16 Josh Stone <joshua.i.stone@intel.com>jistone2007-08-171-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | PR 4591 * parse.cxx (parser::parse_symbol): Tweak 'print' matching to allow all the new variants with printd and println. * staptree.h (struct print_format): Add fields for the new print variants, and parse_print() to help matching. * staptree.cxx (print_format::parse_print): New static method to match the print variants and determine their properties. (print_format::print): Handle the new print types. (deep_copy_visitor::visit_print_format): Copy the new fields. * translate.cxx (c_unparser::visit_print_format): Insert delims and newlines where appropriate for new print functions. * stap1.in: Document the new print functions. testsuite/ * lib/stap_run.exp: Make sure to match the entire output, in case there are multiple pass/fail messages. * buildok/printf.stp: Add lines for new print variants. * parseko/printd01.stp: Make sure that bad printd calls are handled. * parseko/printd02.stp: Ditto. * parseko/printd03.stp: Ditto. * parseko/printd04.stp: Ditto. * systemtap.base/print.stp: Try a bunch of different print calls. * systemtap.base/print.exp: Driver for above.
* Fixes for PR4836.mmason2007-07-252-5/+5
|
* 2007-05-23 David Smith <dsmith@redhat.com>dsmith2007-05-231-24/+0
| | | | | | PR4446 * systemtap.base/marker.exp: Added new marker test. * buildok/marker.stp: Removed old marker test.
* Adapt socket tapset to changes in 2.6.19.mmason2007-04-241-5/+6
|
* * tapset/memory.stp: Add matching vm.pagefault.returnwcohen2007-04-241-0/+5
| | | | * testsuite/buildok/memory.stp: Test vm.pagefault.return.
* 2007-03-30 Frank Ch. Eigler <fche@redhat.com>fche2007-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1570 * NEWS: Document probe handler language change re. inline functions. * stapprobes.5.in: Likewise. * tapsets.cxx: Many changes to simplify caches and implement new handling of inline functions, removed of stubs for future probes. * elaborate.cxx (derived_probe printsig_nested): New function. * elaborate.h: Declare it. * main.cxx (usage): Clarify "-r" meaning. (main): Tweak related "-p 4" message. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570. * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt to .inline -> .function change. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570 * */*.stp: Adapt to .inline -> .function change. * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten pass/fail dejagnu log lines. * systemtap.syscall/sys.stp, test.tcl: Make slightly more compatible and failure more verbose.