summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-093-1/+26
| | | | | | PR5554 * systemtap.syscall/alarm.c: Fix expected output patterns on ia64. * systemtap.syscall/stat.c: Ditto.
* 2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-092-3/+13
| | | | | PR5544 * lib/stap_run.exp (stap_run): Support warning before ending probe.
* 2008-01-09 David Smith <dsmith@redhat.com>dsmith2008-01-092-2/+6
| | | | | | * systemtap.spec.in: Since "make check" was removed from the rpm build step, we no longer need to require dejagnu at build time.
* improve missing kernel-debuginfo messagefche2008-01-092-1/+11
|
* Put the ChangeLog entry in the correct place.wcohen2008-01-072-9/+9
|
* 2008-01-07 William Cohen <wcohen@redhat.com>wcohen2008-01-078-24/+45
| | | | | | | | | | * testsuite/lib/systemtap.exp (as_root): new proc. * testsuite/systemtap.context/context.exp: * testsuite/systemtap.printf/end1b.exp: * testsuite/systemtap.printf/mixed_outb.exp: * testsuite/systemtap.printf/out1b.exp: * testsuite/systemtap.printf/out2b.exp: * testsuite/systemtap.printf/out3b.exp: Use as_root proc.
* 2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-042-0/+9
| | | | | * aux_syscalls.stp (_stp_fork_list): Check kernel version for new flags.
* 2008-01-04 David Smith <dsmith@redhat.com>dsmith2008-01-042-1/+6
| | | | | * systemtap.base/marker.exp: Improved regexp that finds markers with arguments.
* 2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-042-3/+19
| | | | | | PR5152 * scheduler.stp (scheduler.ctxswitch): Change probe point __switch_to to context_switch on ia64.
* nonefche2008-01-021-0/+5
|
* Fix mkdtemp() umask issuefche2008-01-021-0/+2
| | | | | | | | | | | | | | | | | | | | | Even though the mkdtemp() man page indicates that the directory will be created with always 0700 permissions, it is actually affected by the process's umask. So, if you run stap with an unusual umask it can end up creating the temp dir with permissions that staprun can't handle e.g.: $> rpm -q systemtap systemtap-0.6-1.fc9 $> umask 0122 $> stap -e 'probe begin { println("foo") exit() }' ERROR: Error opening '/tmp/stapV4pBIb/stap_725b9bc541cef2618a5ccbc58bb64d15_287.ko': Permission denied Obvious solution is to briefly set the umask to zero in stap so as to ensure 0700 permissions. Signed-off-by: Mark McLoughlin <markmc@redhat.com>
* * runtime/uprobes/uprobes_x86_64.c: Fix handling of indirectkenistoj2007-12-272-5/+16
| | | | | jmps and calls that use rip-relative addressing. Allow probing of opcode 0x63.
* 2007-12-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-12-272-1/+6
| | | | | From Yang Zhiguo <yzgcsu@cn.fujitsu.com> * signal.stp (_signal.send.part3.return): Correct name variable.