summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2006-12-18 David Smith <dsmith@redhat.com>dsmith2006-12-182-1/+8
| | | | | | * lket/b2a/Makefile.in: Regenerated. This needed to be done since lket/b2a/README was removed but lket/b2a/Makefile.in still had a reference to it which was causing "make distdir" to fail.
* 2006-12-18 David Smith <dsmith@redhat.com>dsmith2006-12-182-4/+6
| | | | | * systemtap.samples/pfaults.stp: Since PR 1132 has been fixed, updated to use "$return".
* 2006-12-18 Frank Ch. Eigler <fche@elastic.org>fche2006-12-184-2/+52
| | | | | | | | | | | PR 3079 * loc2c-runtime.h (deref, store_deref): Fork x86 and x86-64 variants. Remove dysfunctional 64-bit ops from x86. 2006-12-18 Frank Ch. Eigler <fche@elastic.org> * vfs.stp (ppos_pos): Protect contents with deref(), though this blocks operation on i686 due to bug #3079.
* wishlist item, commented outfche2006-12-181-0/+6
|
* 2006-12-16 Frank Ch. Eigler <fche@elastic.org>fche2006-12-163-2/+9
| | | | | | * main.cxx (main): Print version strings if verbose >=2 . * tapsets.cxx (common_probe_entryfn_prologue): Decorate an emitted local with __restrict__.
* 2006-12-15 Frank Ch. Eigler <fche@elastic.org>fche2006-12-152-1/+5
| | | | * print.c (_stp_print_flush): Add a likely() marker to the hot path.
* 2006-12-14 David Smith <dsmith@redhat.com>dsmith2006-12-142-0/+30
| | | | | | | | | * tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added 'return_ts_map' member variable. (dwarf_var_expanding_copy_visitor::visit_target_symbol): Optimization. If we've already seen this target variable in this return probe, return the last replacement (instead of creating a new replacement).
* old example eradicationfche2006-12-141-2/+2
|
* Updated last entry.dsmith2006-12-131-0/+2
|
* 2006-12-13 David Smith <dsmith@redhat.com>dsmith2006-12-132-67/+127
| | | | | | | | | | | | | * tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added 'add_probe' member variable. Initialized it in ctor. (dwarf_var_expanding_copy_visitor::visit_target_symbol): Optimization. Instead of generating one entry probe per target variable accessed in a return probe, now just generates one entry probe for all target variables accessed in a particular return probe. It does this by creating a new probe in the new 'add_probe' member variable. (dwarf_derived_probe::dwarf_derived_probe): If add_probe isn't NULL, make sure it gets derived later.
* 2006-12-13 Frank Ch. Eigler <fche@elastic.org>fche2006-12-132-1/+5
| | | | * regs.h (s390x REG_IP): Parenthesize for warning-free builds.
* *** empty log message ***mmason2006-12-131-0/+5
|
* In scheduler.ctxswitch, fixed last line to reference $prev_p->state instead ↵mmason2006-12-131-1/+1
| | | | of $prev_p->pid.
* 2006-12-11 Martin Hunt <hunt@redhat.com>hunt2006-12-112-5/+27
| | | | | | * symbols.c (get_sections): Set buffer sizes to large enough sizes to hold all possible values, but also include checks in case we are wrong.
* 2006-12-11 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-112-3/+11
| | | | | * parse.cxx (parse::parse_literal): Enforce the lower bound on negative literals.
* 2006-12-11 David Smith <dsmith@redhat.com>dsmith2006-12-112-0/+7
| | | | | | * hash.cxx (find_hash): Fixed a caching bug. Bulk mode (relayfs) status should be figured into the hash since it changes the generated C code.
* patch of nfs, nfs_proc, rpc tapsets for 2.6.9 kernelguanglei2006-12-117-95/+229
|
* 2006-12-08 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-0912-62/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 3681. * staptree.h (struct vardecl): Add a literal 'init' member for the initialization value of globals. * staptree.cxx (vardecl::vardecl): Initialize 'init' to NULL. (vardecl::print): Print global init value during pass-1 output. * main.cxx (printscript): Print global init values during verbose pass-2 output. * parse.cxx (parser::parse_global): Set the initialization literal of global vardecls. * translate.cxx (var::init): Don't unconditionally override the value of numeric globals when the module_param isn't used. (c_unparser::emit_global_param): Write numeric module_params directly into the global variable, as an int64_t instead of long. (c_unparser::emit_global): Add initialization to global declarations. Don't create a temp module_param long for numeric globals anymore. runtime/ * runtime.h (param_set_int64_t, param_get_int64_t, param_check_int64_t): New functions to allow taking module parameters directly as int64_t values. testsuite/ * systemtap.base/global_init.exp, systemtap.base/global_init.stp: New test for checking the timeliness of global initialization.
* 2006-12-07 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-082-0/+12
| | | | | PR 3624. * stapprobes.5.in: Document the new begin/end syntax.
* 2006-12-07 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-0813-30/+144
| | | | | | | | | | | | | | | | | | | | | | | PR 3624. * tapsets.cxx (struct be_derived_probe): Add a new priority parameter for begin/end probes, and a comparison function for sorting. (be_builder::build): Parse the priority & pass it to be_derived_probe. (be_derived_probe_group::emit_module_init, emit_module_exit): Sort the probe list by priority before emitting any code. (register_standard_tapsets): Add new begin/end variants. * parse.cxx (parser::parse_literal): Allow negative numeric literals, by checking for a '-' unary operator right before a number. testsuite/ * systemtap.base/be_order.exp, systemtap.base/be_order.stp, semok/beginend.stp: New tests for begin/end priorities. * lib/stap_run.exp: Anchor OUTPUT_CHECK_STRING to the end of output. * systemtap.base/maxactive.exp: Fix to compare output to the end. * systemtap.base/probefunc.exp: Ditto. * systemtap.samples/ioblocktest.exp: Ditto. * systemtap.samples/ioblocktest.stp: Ditto. * systemtap.samples/tcptest.exp: Ditto.
* 2006-12-06 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-075-40/+92
| | | | | | | | | | | | | | | | | | | | | PR 3623. * tapsets.cxx (timer_derived_probe_group::emit_module_decls): Restart the timers if we are in STARTING or RUNNING state. (hrtimer_derived_probe_group::emit_module_decls): Ditto. (be_derived_probe_group::emit_module_init): indicate error to the rest of the initialization if any begin probes fail. * translate.cxx (c_unparser::emit_module_init): Set the global error state on an initialization error so timers know to shut down. runtime/ * time.c (stp_timer_reregister): Add a global to control whether the gettimeofday timer should restart itself, for clean shutdown. (__stp_time_timer_callback): Check the global. (_stp_kill_time, _stp_init_time): Set the global. (_stp_gettimeofday_ns): Switch to preempt_enable_no_resched. * time.c (__stp_time_cpufreq_callback): Use the cpu# from the notifier. (_stp_init_time): No need to disable preemption around cpufreq init.
* 2006-12-05 Frank Ch. Eigler <fche@redhat.com>fche2006-12-062-3/+12
| | | | | | PR 3648 * main.cxx (main): Tweak error message for tapset script execution. Also catch those clever rogues who use stdin.
* 2006-12-04 Martin Hunt <hunt@redhat.com>hunt2006-12-042-30/+50
| | | | | * bench2/bench.rb: Fixes for the latest runtime changes.
* Always include sym.chunt2006-12-041-0/+1
|
* * thanks to riel and viro, cleared up task_struct vs thread_info ↵fche2006-12-011-1/+1
| | | | misunderstanding
* 2006-11-30 Frank Ch. Eigler <fche@elastic.org>fche2006-11-302-3/+10
| | | | | * tapsets.cxx (common_probe_entryfn_prologue): Tweak insufficient stack detection logic.
* 2006-11-30 Martin Hunt <hunt@redhat.com>hunt2006-11-302-2/+7
| | | | | * systemtap.samples/pfaults.exp: Fix regular expression to handle buffering issues that broke on MP systems.
* 2006-11-30 David Smith <dsmith@redhat.com>dsmith2006-11-302-0/+15
| | | | | | * main.cxx (printscript): Prints global embedded code. Not printing the global embedded code was causing bad caching behavior.
* 2006-11-29 David Smith <dsmith@redhat.com>dsmith2006-11-292-28/+123
| | | | | | | | | | | | | * tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added 'add_block' member variable. Constructor sets it to NULL. (dwarf_var_expanding_copy_visitor::visit_target_symbol): Fixes the problem of accessing a cached target variable in a loop. Cached target variable is assigned to a temporary variable, which can be safely access multiple times. In addition, the cached value is deleted after being read. (dwarf_derived_probe::dwarf_derived_probe): Adds in the new block of code created in visit_target_symbol() to the beginning of the derived probe.
* scheduler.stp, vfs.stp: made idle_balance and buffer_migrate_page optinal.guanglei2006-11-293-3/+9
|
* bugfix for lket testcase.guanglei2006-11-293-7/+486
| | | | new testcase of whitelist for safe probes
* 2006-11-28 David Smith <dsmith@redhat.com>dsmith2006-11-283-0/+22
| | | | | | | * semko/thirtyfour.stp: Checks for writing to target variable in .return probe. * semok/twentyfour.stp: Tests read access to target variable in .return probe.
* 2006-11-28 David Smith <dsmith@redhat.com>dsmith2006-11-282-11/+23
| | | | | | | * tapsets.cxx (dwarf_var_expanding_copy_visitor::visit_target_symbol): Improved handling target variables in return probes by having a per-thread counter.
* 2006-11-26 Frank Ch. Eigler <fche@redhat.com>fche2006-11-266-6/+179
| | | | | | | | | | | | PRs 2685, 3596, toward 2725. * tapsets.cxx (common_probe_entryfn_prologue): Skip probe on insufficient stack. (build_blacklist): Add a slew of lock-related calls. (query_module): Check for debuginfo architecture match. * translate.cxx (translate_pass): Add default MINSTACKSPACE. * configure.ac: Link stap with -lebl too. * configure: Regenerated. * stap.1.in: Document MINSTACKSPACE parameter.
* * correct elfutils requirement messagefche2006-11-232-3/+3
|
* * remove refs to dprobes & elfutils man pagesfche2006-11-221-2/+0
|
* 2006-11-21 Frank Ch. Eigler <fche@elastic.org>fche2006-11-212-6/+25
| | | | * translate.cxx (emit_module_init): Adapt to 2.6.19 utsname().
* 2006-11-21 Frank Ch. Eigler <fche@elastic.org>fche2006-11-212-0/+31
| | | | | | PR 3556. * translate.cxx (emit_module_init): Emit code to check system_utsname against translate-time version/machine strings.
* skip warning message of skipped probes for lket testcaseguanglei2006-11-211-1/+1
|
* add LKET testcase into testsuite/systemtap.samples/guanglei2006-11-215-48/+96
| | | | | change the return codes of lket-b2a and add a new macro b2a_error() for error reporting
* 2006-11-20 David Smith <dsmith@redhat.com>dsmith2006-11-202-1/+125
| | | | | | | | * tapsets.cxx (dwarf_var_expanding_copy_visitor::visit_target_symbol): BZ 1382. Target variables can be accessed in return probes. A new function entry probe is generated that saves the target variables so that they can be accesssed in the return probe.
* 2006-11-20 Frank Ch. Eigler <fche@elastic.org>fche2006-11-202-1/+5
| | | | * context.stp (caller_addr): Declare return type.
* return value changes for lket-b2aguanglei2006-11-201-7/+17
|
* 2006-11-19 Frank Ch. Eigler <fche@elastic.org>fche2006-11-194-4/+35
| | | | | * main.cxx (main): Signal parse error if a tapset script is given as the user script.
* bugfix for #3526:guanglei2006-11-198-78/+84
| | | | | | | | | runtime/lket/b2a/lket_b2a.[ch]: bugfix for #3536 lket_trace.stp: add the logging of pid, ppid process.stp: add logging of tid, ppid for lket_internal.process.execve. Change to use for_each_process() in process_snapshot() to get the info of all running processes. register_event.stp: update the registering codes of execve event.
* 2006-11-17 Frank Ch. Eigler <fche@redhat.com>fche2006-11-176-7/+39
| | | | | | | | | | | | | * tapsets.cxx (d_v_e_c_v::visit_target_symbol): Restore lost exception-saving functionality that improves error messages for incorrect $target expressions. (translate_components): Systematize error messages somewhat. * translate.cxx (emit_function, emit_probe): Clarify "array locals" error message. 2006-11-17 Frank Ch. Eigler <fche@redhat.com> * semko/thirtysix.stp, transko/three.stp: New tests.
* add addevent.process.exit.entryguanglei2006-11-175-2/+38
|
* add a pass 4 check for LKET available trace hooksguanglei2006-11-162-0/+6
|
* *** empty log message ***hunt2006-11-151-6/+7
|
* 2006-11-15 Martin Hunt <hunt@redhat.com>hunt2006-11-152-3/+8
| | | | | * symbols.c (do_kernel_symbols): Add sizeof(long) to sym_base to preserve 64-bit alignment.