jistone [Thu, 17 Aug 2006 16:09:21 +0000 (16:09 +0000)]
2006-08-17 Josh Stone <joshua.i.stone@intel.com>
* signal.stp: Changes on behalf of Manoj S Pattabhiraman:
1. As per the suggestions, i have removed the argstr from the
probe points.
2. Added some checks to find whether the signals generated are
USER or Kernel Mode in signal_handle probe.
dsmith [Mon, 14 Aug 2006 21:09:21 +0000 (21:09 +0000)]
2006-08-14 David Smith <dsmith@redhat.com>
* elaborate.cxx (semantic_pass): Calls semantic_pass_optimize1()
and semantic_pass_optimize2().
(visit_functioncall): Removed setting relaxed_p since
semantic_pass_opt5 does it.
(semantic_pass_opt5): Goes ahead and removes duplicate functions
since semantic_pass_opt1() won't be run again.
(semantic_pass_optimize1): Renamed from semantic_pass_optimize().
Moved semantic_pass_opt5() to semantic_pass_optimize2().
(semantic_pass_optimize2): New function that contains optimization
passes that need to be done after type inference.
fche [Sat, 12 Aug 2006 05:13:09 +0000 (05:13 +0000)]
2006-08-12 Frank Ch. Eigler <fche@elastic.org>
* configure.ac, Makefile.am: Descend into testsuite/
directory. Remove local test logic.
* configure, Makefile.in: Regenerated.
* runtest.sh: Not yet removed.
* HACKING: Update for new testsuite layout.
2006-08-12 Frank Ch. Eigler <fche@elastic.org>
* all: Reorganized old pass-1..4 tests one dejagnu bucket.
Moved over old pass-5 tests, except for disabled syscalls tests.
* Makefile (installcheck): New target for running pass-1..5
tests against installed systemtap.
dsmith [Thu, 10 Aug 2006 19:19:05 +0000 (19:19 +0000)]
2006-08-10 David Smith <dsmith@redhat.com>
* elaborate.cxx (duplicate_function_remover): Added class.
(get_functionsig): Added function.
(semantic_pass_opt5): New function merges duplicate identical
functions into one function.
(semantic_pass_optimize): Calls semantic_pass_opt5.
* translate.cxx (c_unparser::emit_probe): Changed to merge
duplicate probes bodies by making the duplicate probe just call
the original probe (BZ# 2421).
jistone [Thu, 10 Aug 2006 00:40:08 +0000 (00:40 +0000)]
2006-08-09 Josh Stone <joshua.i.stone@intel.com>
* 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.
PR 2922
* time.c (_stp_init_time): call cpufreq_get for each cpu from
a non-atomic context (module init time).
* time.c (__stp_init_time): remove call to cpufreq_get from IPI.
* time.c (__stp_time_timer_callback): disable IRQ's to avoid
perturbations in measurements.
* time.c (_stp_gettimeofday_us): disable preemption to avoid CPU
swaps while we're computing the time.
* parse.cxx (parser::expect_unknown2): New function that looks for
2 possible token types.
* parse.cxx (parser::expect_ident_or_keyword): New function that
calls parser::expect_unknown2.
* parse.cxx (parser::parse_symbol): Calls
parser::expect_ident_or_keyword to allow keywords to appear when
expanding target symbols (Bugzilla #2913).
* parse.h: Added prototypes for parser::expect_unknown2 and
parser::expect_ident_or_keyword.
* testsuite/parseok/seventeen.stp: New test to check for allowing
keywords when expanding target symbols.
hunt [Fri, 30 Jun 2006 19:31:38 +0000 (19:31 +0000)]
2006-06-30 Martin Hunt <hunt@redhat.com>
* conversions.stp (user_string): Don't generate errors
on faults, just return <unknown>.
(user_string2): New function.
(user_string_warn): New function.
dsmith [Fri, 30 Jun 2006 18:24:43 +0000 (18:24 +0000)]
2006-06-30 David Smith <dsmith@redhat.com>
* tapsets.cxx (dwflpp::dwfl_assert): Added optional extra_msg
parameter to be able to print out extra error message.
(dwflpp::setup): Uses new 'extra_msg' parameter to dwfl_assert()
to ask user to install kernel-debuginfo when
dwfl_linux_kernel_report_kernel() or
dwfl_linux_kernel_report_modules() fails (Bugzilla #2669).
* buildrun.cxx (compile_pass): Checks to make sure module build
directory exists before trying to run make there (Bugzilla #2669).
roland [Tue, 27 Jun 2006 21:20:47 +0000 (21:20 +0000)]
2006-06-27 Roland McGrath <roland@redhat.com>
* tapsets.cxx (dwflpp::emit_address): New instance method. Get
relocation details from Dwfl to emit in comment after address constant.
(dwflpp::loc2c_emit_address): Just call that.