summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2007-03-22 Frank Ch. Eigler <fche@elastic.org>fche2007-03-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | PR 4224. * staptree.h (probe): Add privileged field. * elaborate.cxx, parse.cxx: Pass privileged flag to probes. * tapsets.cxx (dwarf_query): Add has_absolute field. (dwarf_derived_probe ctor): Tolerate it. (register_patterns): Expose it. (dwarf_builder::build): Implement it with no dwfl whatsoever. * NEWS: Document kernel.statement().absolute. * stapprobes.5.in: Ditto. 2007-03-22 Frank Ch. Eigler <fche@elastic.org> PR 4224. * systemtap.base/probefunc.exp: Use kernel.statement().absolute instead with grep-found schedule_tick address. * semko/thirtyseven.stp, thirtyeight.stp: New tests. * buildok/twentyeight.stp: New test. 2007-03-22 Frank Ch. Eigler <fche@elastic.org> * sym.c (_stp_module_relocate): Tolerate empty section string.
* 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net>fche2007-03-201-0/+4
| | | | * buildok/twenty.stp, semok/seventeen.stp: Adapt to kernel 2.6.20.
* 2007-03-13 Frank Ch. Eigler <fche@redhat.com>fche2007-03-145-5/+5
| | | | | | | | | | | | | | | | | | | | PR 4171. * Makefile.am (check, installcheck): Pass build-tree pointers in environment variables. * configure.ac: Run separate configury for testsuite/. * configure, Makefile.in: Regenerated. 2007-03-14 Frank Ch. Eigler <fche@redhat.com> PR 4171. * configure.ac, configure, aclocal.m4: New files to permit testsuite-only build tree. * Makefile.am (RUNTEST): Arrange a crazy concoction of environment/make variable for runtest. * Makefile.in: Regenerated. * */*.stp: Switch test cases from "./stap" to "stap" throughout. * lib/systemtap.exp: Assume/trace environment variables. (stap_run_batch): Add "#! stap"-handling hack.
* 2007-03-07 Frank Ch. Eigler <fche@elastic.org>fche2007-03-071-0/+6
| | | | | | PR 4116. * buildok/twentyseven.stp: New test. * systemtap.pass1-4/buildok.exp: kfail it.
* 2007-02-27 Frank Ch. Eigler <fche@redhat.com>fche2007-02-271-0/+7
| | | | | | PR 4105 * buildok/twentysix.stp: New test. * systemtap.pass1-4/buildok.exp: kfail it.
* add a #!jistone2007-02-071-1/+3
|
* * kernel_{string,long,...,char} protected accessor functionsfche2007-02-061-0/+13
| | | | | | | | | | | | | | | | | | | | * test suites for all of 'em too * even documentation * mm, donuts 2007-02-06 Frank Ch. Eigler <fche@elastic.org> * stapfuncs.5.in: Add docs for kernel_{long,int,short,char} and some user_string* variants. 2007-02-06 Frank Ch. Eigler <fche@elastic.org> * conversions.stp (kernel_long/int/short/char): New functions. 2007-02-06 Frank Ch. Eigler <fche@elastic.org> * buildok/conversions.stp: Build-test all conversions.stp functions. * systemtap.stress/conversions.*: New test.
* Added build test for sockets tapset.mmason2007-01-231-0/+107
|
* buildok/eighteen.stp: changed to find __audit_getname or audit_getnamemmason2007-01-161-8/+4
| | | | without checking kernel version to support audit code backports
* 2006-12-29 Frank Ch. Eigler <fche@redhat.com>fche2006-12-302-0/+30
| | | | | | | | | | | | | | | 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.
* 2006-12-22 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-221-0/+11
| | | | | | | | | | * 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-19 Frank Ch. Eigler <fche@redhat.com>fche2006-12-191-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* add a pass 4 check for LKET available trace hooksguanglei2006-11-161-0/+3
|
* 2006-11-09 David Smith <dsmith@redhat.com>dsmith2006-11-091-0/+6
| | | | | | | | | | | | | * buildok/maxactive01.stp: Added test for "maxactive(N)" return probe processing. * parseko/maxactive01.stp: Ditto. * parseko/maxactive02.stp: Ditto. * parseko/maxactive03.stp: Ditto. * parseko/maxactive04.stp: Ditto. * semko/maxactive01.stp: Ditto. * semko/maxactive02.stp: Ditto. * semko/maxactive03.stp: Ditto. * systemtap.base/maxactive.exp: Ditto.
* 2006-09-28 Martin Hunt <hunt@redhat.com>hunt2006-09-282-0/+11
| | | | | * buildok/eighteen.stp: Fix for 2.6.18. * buildok/two.stp: Ditto.
* 2006-09-27 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-281-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * session.h (struct systemtap_session): Add kernel_base_release to store the kernel version without the -NNN suffix. * main.cxx (main): Generate and use kernel_base_release. * parse.cxx (eval_pp_conditional): Use kernel_base_release. * tapsets.cxx (profile_derived_probe::profile_derived_probe): Use kernel_base_release. * tapsets.cxx (timer_builder::build): Support a wide variety of timer varients -- jiffies, s/sec, ms/msec, us/usec, ns/nsec, and hz. Use hrtimers automatically on kernels that have it. (timer_builder::register_patterns): Bind all of the new timer varients in one easy place. (register_standard_tapsets): Call timer_builder::register_patterns. (struct hrtimer_builder): Removed since timer_builder is generic. * stapprobes.5.in: Document new timer.* functionality. * tapsets.cxx (hrtimer_derived_probe_group::emit_probes): Add a shared global for the actual hrtimer resolution, _stp_hrtimer_res. (hrtimer_derived_probe_group::emit_module): Init _stp_hrtimer_res. (hrtimer_derived_probe::emit_interval): Limit intervals at a minimum to the hrtimer's actual resolution. (hrtimer_derived_probe::emit_probe_entries): Forward timers based on previous expiration instead of restarting relative. testsuite/ * buildok/fourteen.stp: Test new timer functionality.
* 2006-09-20 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PR 3233 ./ * stapfuncs.5.in: Document new gettimeofday_ns. runtime/ * time.c (stp_time_t): Use ns for the base time, and freq is now kHz. (__stp_estimate_cpufreq): Compute kHz instead of MHz. (__stp_time_timer_callback, __stp_init_time): Compute base in ns. (__stp_time_cpufreq_callback): Record kHz instead of MHz. (_stp_init_time): Record kHz, and disable preemption to avoid a race in the cpufreq notifier. (_stp_gettimeofday_ns): Converted from _stp_gettimeofday_us. tapset/ * timestamp.stp (gettimeofday_ns): New function (gettimeofday_us, gettimeofday_ms, gettimeofday_s): Use gettimeofday_ns as the base unit. testsuite/ * buildok/timestamp.stp: add gettimeofday_ns test.
* Systemtap perfmon support to access the processors perfmon hardware.wcohen2006-09-121-0/+26
|
* 2006-08-09 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-08-101-3/+10
| | | | * testsuite/buildok/iolock_test.stp: Updated for ioblock.stp
* 2006-08-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-08-101-1/+1
| | | | | | | | | | | | * stapprobes.5.in, testsuite/buildok/memory.stp: move pagefault to vm.* namespace tapset/ * memory.stp: move pagefault to vm.* namespace, and add many other virtual-memory themed probes. tapset/LKET/ * pagefault.stp: move pagefault to vm.* namespace
* 2006-08-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-08-101-6/+6
| | | | | | | | | * tapset/signal.stp: Create a new tapset that addresses process signals. Much of this was contributed by Manoj Pattabhiraman (IBM). * tapset/process.stp: Remove aliases that now belong in signal tapset * examples/small_demos/proc_snoop.stp, testsuite/buildok/process_test.stp: Rename process.signal_* to new signal.* tapset.
* 2006-08-08 Eugene Teo <eteo@redhat.com>eteo2006-08-081-0/+8
| | | | | | * tapset/context.stp (probemod): New function. * stapfuncs.5.in: Document it. * testsuite/buildok/probemod.stp: Test it.
* add conditional preprocessing for find_pid since it was changed from 2.6.17guanglei2006-07-241-3/+4
|
* 2006-07-19 David Smith <dsmith@redhat.com>dsmith2006-07-191-1/+16
| | | | | * testsuite/buildok/scsi.stp: Only run the scsi test if the scsi kernel subsystem is running.
* Added udp test and updated tcp testtpnguyen2006-06-242-2/+34
|
* New tcp testtpnguyen2006-06-221-0/+41
|
* *** empty log message ***tpnguyen2006-06-081-0/+11
|
* 2006-06-02 Josh Stone <joshua.i.stone@intel.com>jistone2006-06-021-0/+6
| | | | | * testsuite/buildok/process_test.stp: add signal_handle test * examples/small_demos/proc_snoop.stp: log signal_handle
* 2006-06-02 Frank Ch. Eigler <fche@elastic.org>fche2006-06-021-1/+5
| | | | | | | | | | | | | | 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.
* 2006-06-02 David Smith <dsmith@redhat.com>dsmith2006-06-021-0/+28
| | | | | | | | | | | | | | | | * 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.
* merge tskschedule.stp into scheduler.stpguanglei2006-05-182-6/+4
|
* 2006-05-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-181-0/+34
| | | | | | * testsuite/buildok/sched_test.stp: test scheduler tapset * examples/small_demos/sched_snoop.stp: demo scheduler tapset * tapset/scheduler.stp: New scheduler tapset