summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/utrace_p4.exp
Commit message (Collapse)AuthorAgeFilesLines
* PR6978: support $$parms for process.syscallWenji Huang2009-07-281-0/+19
| | | | | | * tapset-utrace.cxx (visit_target_symbol_arg): Handle $$parms. * testsuite/systemtap.base/utrace_p4.exp: Add test case. * testsuite/systemtap.base/utrace_p5.exp: Ditto.
* introduce [utrace_p] as dejagnu check for utrace presence in kernelFrank Ch. Eigler2009-04-011-21/+13
| | | | | | * testsuite/lib/systemtap.exp: Define here. * testsuite/systemtap.*/*.exp: Use it here. Eliminate duplicated utrace_support_present logic.
* Change system-wide probes from 'process("*").begin' to 'process.begin'.David Smith2008-08-151-2/+2
| | | | | | | | | | | | | | | 2008-08-15 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_builder::build): Change system-wide probes from 'process("*").begin' to 'process.begin'. (register_standard_tapsets): Add new 'process' binding. * stapprobes.5.in: Change system-wide probes from 'process("*").begin' to 'process.begin'. 2008-08-15 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Change system-wide probes from 'process("*").begin' to 'process.begin'.
* PR 6445 (partial). Implemented system-wide utrace probes.David Smith2008-08-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2008-08-12 David Smith <dsmith@redhat.com> PR 6445 (partial) * tapsets.cxx (utrace_builder::build): Validates pid and allows probing of "*" to mean all threads. * stapprobes.5.in: Added note about a process path of "*" means to probe all threads. 2008-08-12 David Smith <dsmith@redhat.com> PR 6445 (partial) * task_finder.c (stap_register_task_finder_target): Handles probing all threads. (__stp_utrace_attach_match_filename): Ditto. (stap_start_task_finder): Ditto. 2008-08-12 David Smith <dsmith@redhat.com> PR 6445 (partial) * systemtap.base/utrace_p4.exp: Added test that probes all threads. * semko/utrace14.stp: New test.
* 'stap_compile' test procedure now ignores warningsDavid Smith2008-08-071-41/+0
| | | | | | | | | 2008-08-07 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Uses lib/stap_compile.exp instead of its own stap_compile procedure. * systemtap.base/cache.exp (stap_compile): Ignores warnings. * lib/stap_compile.exp: Ignores warnings.
* Added tests for 'process(PID)' variants.David Smith2008-06-271-6/+62
| | | | | | | 2008-06-27 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Added tests for 'process(PID)' variants.
* Changed/renamed utrace probes.David Smith2008-06-061-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-06 David Smith <dsmith@redhat.com> * tapsets.cxx (enum utrace_derived_probe_flags): Redefined in terms of probe types instead of utrace events. (utrace_var_expanding_copy_visitor::visit_target_symbol): Uses new utrace_derived_probes_flags values. (utrace_builder::build): Handles new probe types and new utrace_derived_probes_flags values. (utrace_derived_probe_group::emit_probe_decl): Updated to handle new utrace_derived_probe_flags values. (utrace_derived_probe_group::emit_module_decls): Ditto. Also correctly handles 'begin' events correctly by installing a quiesce handler (instead of running the probe directly). (register_standard_tapsets): Registers updated utrace probe types. 2008-06-06 David Smith <dsmith@redhat.com> * task_finder.c: Added some debug logic. Use '-DDEBUG_TASK_FINDER' to enable. (stap_utrace_attach): Renamed from '__stp_utrace_attach'. (__stp_utrace_attach_match_filename): Calls callback with notification that this is a process or thread event. (__stp_utrace_attach_match_tsk): Ditto. (__stp_utrace_task_finder_report_clone): Ditto. (__stp_utrace_task_finder_report_exec): Ditto. (stap_utrace_task_finder_report_death): Ditto. (stap_start_task_finder): Ditto. (stap_stop_task_finder): Added debug logic. 2008-06-06 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Updated for utrace probe changes. * systemtap.base/utrace_p5.exp: Ditto.
* Revert "testsuite: use catch{close}catch{wait} to ensure child process ↵Frank Ch. Eigler2008-05-281-1/+2
| | | | | | pipe/zombie cleanup" This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
* testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie ↵Frank Ch. Eigler2008-05-271-2/+1
| | | | cleanup
* Added utrace exec probes.David Smith2008-04-181-0/+9
| | | | | | | | | | | | | | | 2008-04-18 David Smith <dsmith@redhat.com> * tapsets.cxx (struct utrace_builder): Added exec probes. (utrace_derived_probe_group::emit_probe_decl): Ditto. (utrace_derived_probe_group::emit_module_decls): Ditto. (register_standard_tapsets): Ditto. * stapprobes.5.in: Added information about exec probes. * NEWS: Added information about utrace probes. 2008-04-18 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Added exec probe test.
* Rewrote utrace buildok tests to check for kernel utrace support.David Smith2008-04-181-0/+97
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.