summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2008-01-28 Martin Hunt <hunt@redhat.com>hunt2008-01-286-10/+19
| | | | | | | | * alloc.c: Use DEFINE_SPINLOCK. * counter.c: Ditto. * pmap-gen.c: Ditto. * print_new.c: Ditto. * stat.c: Ditto.
* 2008-01-28 Martin Hunt <hunt@redhat.com>hunt2008-01-284-8/+12
| | | | * control.c, procfs.c, symbols.c: Use DEFINE_SPINLOCK
* 2008-01-28 David Smith <dsmith@redhat.com>dsmith2008-01-282-6/+9
| | | | | * tapsets.cxx (dwarf_derived_probe_group::emit_module_decls): Added 'const' to several members of stap_dwarf_probes.
* perms2fche2008-01-289-0/+0
|
* permission-fixfche2008-01-280-0/+0
|
* nonefche2008-01-280-0/+0
|
* 2008-01-28 David Smith <dsmith@redhat.com>dsmith2008-01-283-1/+13
| | | | | | | PR 5685. From Eugeniy Meshcheryakov <eugen@debian.org> * configure.ac: If "--enable-sqlite" is specified, define HAVE_LIBSQLITE3. * configure: Regenerated.
* 2008-01-27 Frank Ch. Eigler <fche@elastic.org>fche2008-01-272-1/+5
| | | | * stack-i386.c (__stp_stack_print): Correct #elif->#else typo.
* PR5673: reduce total size of generated .ko's from wildly wildcarded scriptsfche2008-01-265-26/+121
| | | | | | | | | | | | | | | 2008-01-26 Frank Ch. Eigler <fche@elastic.org> PR 5673. * tapsets.cxx (dwarf_derived_probe_group): Split stap_dwarf_probes[] into bss-carried kprobes structs. Tune embedded strings for minimizing relocation-vs-fixed-buffer wastage. * tapsets.cxx (dwarf_derived_probe): Impose .maxactive() limits. 2008-01-26 Frank Ch. Eigler <fche@elastic.org> PR 5673. * testsuite/parseko/maxactive{04,05}.stp: New tests.
* * runtime/uprobes/uprobes.c: Within a probed process, serializekenistoj2008-01-253-1/+26
| | | | | | | calls to access_process_vm() when populating instructions slots. Fixes an SMP bug on multithreaded apps with many active probepoints. * runtime/uprobes/uprobes.h: Ditto
* PR 5672: fix generated dwarf probe point names from wildcardsfche2008-01-254-1/+18
| | | | | | | | | | 2008-01-25 Frank Ch. Eigler <fche@elastic.org> PR 5672. * staptree.cxx (probe_point copy ctor): New function. * staptree.h: Declare it. * tapsets.cxx (dwarf_derived_probe ctor): Call it to shallow-copy incoming base probe location before recomputing/overwriting it.
* 2008-01-25 David Smith <dsmith@redhat.com>dsmith2008-01-251-24/+3
| | | | * configure: Correctly regenerated.
* 2008-01-25 David Smith <dsmith@redhat.com>dsmith2008-01-253-146/+137
| | | | | | * configure.ac: Compressed the two perfmon options into one. Made other small fixes and whitespace changes. * configure: Regenerated.
* 2008-01-25 Will Cohen <wcohen@redhat.com>wcohen2008-01-252-1/+6
| | | | | PR5554 * syscalls.stp (__is_user_regs): Modify to work with older kernels.
* typo fixfche2008-01-251-1/+1
|
* staplog crash(8) module testsfche2008-01-2510-5/+85
| | | | | | | | | | | | | | | | 2008-01-24 Frank Ch. Eigler <fche@elastic.org> * Makefile.am: Make another $(MKDIR) call visible. * Makefile.in: Regenerated. 2008-01-24 Frank Ch. Eigler <fche@elastic.org> crash(8) tests, based on Masami Hiramatsu <mhiramat@redhat.com>: * Makefile.am (CRASH_LIBDIR): Pass in $(RUNTEST). * lib/systemtap.exp (as_root): Trace command string, output, and result. * sysetmtap.samples/crash.*, testlog.stp: New test case. * Makefile.in: Regenerated.
* 2008-01-24 David Smith <dsmith@redhat.com>dsmith2008-01-245-288/+10
| | | | | | | | | PR 5661 (reverted). * configure.ac: Removed elfutils version number check. * configure: Regenerated. * acsite.m4: Removed. * systemtap.spec.in: Minimum elfutils version number is no longer filled in by configure.
* 2008-01-24 David Smith <dsmith@redhat.com>dsmith2008-01-244-18/+65
| | | | | | | | | | PR 5650 (partial). * configure.ac: Handles sqlite optional functionality correctly. If enabled/disabled by the user, do the right thing. If not specified by the user, use it if present. * configure: Regenerated. * systemtap.spec.in: Always specify to configure whether to use sqlite or not.
* 2008-01-23 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-242-1/+39
| | | | | | | PR5554 * syscalls.stp (__is_user_regs): Add new function to check whether pt_regs is user mode registers. (syscall.fork): Use __is_user_regs() to decide syscall name.
* 2008-01-24 Dave Brolley <brolley@redhat.com>brolley2008-01-243-26/+40
| | | | | | | | PR 5017. * staptree.cxx (<cstring>): #include it. (required <indexable *>): Remove 'static' from instantiation and move instantiation to here from... * staptree.h: ...here.
* Autoconf file for nameidata changes by srinivasa@in.ibm.comsrinivasa2008-01-241-0/+4
|
* Autoconf file for x86/x86_64 for register rename patch by srinivasa@in.ibm.comsrinivasa2008-01-241-0/+6
|
* PR2521: configurable debuginfo search pathfche2008-01-235-2/+41
| | | | | | | | | | | 2008-01-23 Frank Ch. Eigler <fche@elastic.org> PR 2151 * tapsets.cxx (dwflpp::setup): Parametrize debuginfo_path. * stap.1.in: Document this. PR 2521. * systemtap.base/debugpath.exp: New test.
* 2008-01-23 David Smith <dsmith@redhat.com>dsmith2008-01-235-3/+294
| | | | | | | | | | PR 5661. * configure.ac: Checks elfutils version number. * acsite.m4: New file containing macro to return elfutils version number. * configure: Regenerated. * systemtap.spec.in: Minimum elfutils version number is now filled in by configure.
* 2008-01-23 Dave Brolley <brolley@redhat.com>brolley2008-01-232-0/+25
| | | | | | | * translate.cxx (var::fini): New method. (c_unparser::emit_module_init): Call var::fini when deregistering variables without indices. (c_unparser::emit_module_exit): Likewise.
* * runtime/uprobes/uprobes.c: Fix from Srinivasa: Recastkenistoj2008-01-222-5/+11
| | | | rcu_dereferences of engine->data to resync with kernel.org builds.
* Fix last checkin.hunt2008-01-211-77/+4
|
* 2008-01-21 Martin Hunt <hunt@redhat.com>hunt2008-01-213-14/+87
| | | | | * symbols.c (send_module): Simplify and use new send_data() function to keep longword alignment.
* * runtime/uprobes/uprobes.c: Added static copy ofkenistoj2008-01-192-0/+67
| | | | access_process_vm(), for kernels that don't export it.
* bump to version 0.6.1 in prep for snapshot releasefche2008-01-188-26/+32
| | | | | | | 2008-01-18 Frank Ch. Eigler <fche@elastic.org> * configure.ac, systemtap.spec.in: Update version to 0.6.1 * configure: Regenerated.
* 2008-01-18 Frank Ch. Eigler <fche@elastic.org>fche2008-01-182-1/+12
| | | | * systemtap.spec.in: Update version to 0.6-3.
* PR 4936: probe pont conditions part 2; reorg in prep for full rewritingfche2008-01-1812-173/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-17 Frank Ch. Eigler <fche@elastic.org> PR 4935. Reorganize probe condition implementation. * elaborate.cxx (add_condition): New function. (derived_probe): Remove condition member. (derived_probe ctors): Assert non-null incoming probe/location ptrs. (insert_condition_statement): Remove; turn into ... (semantic_pass_conditions): New pass-2 subpass. (semantic_pass_symbols, visit_symbol, visit_functioncall, find_var): Detect some condition-related error cases. (match_key): Change type to exp_type from tok_type. Update callers. (alias_expansion_builder): Propagate probe conditions. * staptree.cxx (probe): Remove condition field and related functions. * tapsets.cxx (dwarf_derived_probe ctor): Compute replacement wildcard-expanded probe_point preserving more of the original location. (mark_derived_probe ctor): Make similar to others - take location rather than condition parameters. * translate.cxx (emit_common_header): Tweak ordering of tmpcounter traversal and hashkey expression generation. * elaborate.h: Corresponding changes. 2008-01-17 Frank Ch. Eigler <fche@elastic.org> PR 4935. * semko/forty.stp, fortyone.stp, fortytwo.stp: New tests. * semok/twentynine.stp: Weaken test since condition expressions have become more tightly constrained.
* From srinivasa@in.ibm.com, To make systemtap to work with register rename ↵srinivasa2008-01-186-4/+125
| | | | patch for x86/x86_64
* 2008-01-17 David Smith <dsmith@redhat.com>dsmith2008-01-172-0/+22
| | | | | | | * tapsets.cxx (perfmon_var_expanding_copy_visitor::visit_target_symbol): Print an error when trying to use the perfmon target variable '$counter as an array or structure.
* 2008-01-17 David Smith <dsmith@redhat.com>dsmith2008-01-173-0/+14
| | | | | | * semko/procfs11.stp: Added test for invalid use of procfs probe '$value' target variable. * semko/procfs12.stp: Ditto.
* 2008-01-17 David Smith <dsmith@redhat.com>dsmith2008-01-172-2/+30
| | | | | | | * tapsets.cxx (procfs_var_expanding_copy_visitor::visit_target_symbol): Print an error when trying to use the procfs target variable '$value' as an array or structure.
* To make systemtap compatible with elfutils-0.131srinivasa2008-01-171-42/+42
|
* 2008-01-16 David Smith <dsmith@redhat.com>dsmith2008-01-162-2/+44
| | | | | | PR 5608. * systemtap.base/marker.exp: Added 2 tests for treating marker arguments incorrectly.
* 2008-01-16 David Smith <dsmith@redhat.com>dsmith2008-01-162-1/+25
| | | | | | PR 5608. * tapsets.cxx (visit_target_symbol): Print an error when trying to use a marker argument as an array or structure.
* 2008-01-16 Eugene Teo <eteo@redhat.com>eteo2008-01-166-0/+213
| | | | | | | | | | | | | | | | | | | | | | * 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.
* PR4037 and fixes to better synchronize staprun and stapio.hunt2008-01-1512-207/+369
|
* 2008-01-14 Martin Hunt <hunt@redhat.com>hunt2008-01-152-16/+11
| | | | | * translate.cxx (emit_module_init): Call _stp_print_kernel_info() to print out version information and internal memory usage stats.
* Turn DEBUG_MEM off by default.hunt2008-01-151-1/+1
|
* Add support for memory allocation tracking.hunt2008-01-1517-94/+436
|
* PR 4935. * systemtap.base/onoffprobe.*: Toughen test.fche2008-01-153-48/+47
|
* 2008-01-14 Martin Hunt <hunt@redhat.com>hunt2008-01-142-0/+6
| | | | | * translate.cxx (emit_module_exit): When using timing, delete timing stats when finished.
* add git commit id as testsuite Snapshot fieldfche2008-01-135-1/+27
| | | | | | | | | | | | 2008-01-12 Frank Ch. Eigler <fche@elastic.org> * configure.ac: Generate a build tree SNAPSHOT file from git-rev-list, if we suspect the source tree came from git. * configure: Regenerated. 2008-01-12 Frank Ch. Eigler <fche@elastic.org> * lib/systemtap.exp (get_system_info): Look for $builddir/SNAPSHOT too.
* PR5603 hack for stack smashfche2008-01-122-2/+7
| | | | | | | 2008-01-12 Frank Ch. Eigler <fche@elastic.org> PR 5603 horrible hack. * symbols.c (do_kernel_symbols): Make buf[256] instead of [128].
* add --enable-ssp configure option so developers can build like fedora doesfche2008-01-123-0/+34
| | | | | | | | | 2008-01-12 Frank Ch. Eigler <fche@elastic.org> PR 5603. * configure.ac: Add "--enable-ssp" to select -fstack-protector-all and similar runtime checking directives. * configure: Regenerated.
* correct displayed time unitsfche2008-01-121-1/+1
| | | | From: Chris Snook