summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2007-12-25 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-12-252-1/+6
| | | | | | From Yang Zhiguo <yzgcsu@cn.fujitsu.com> * aux_syscalls.stp (_struct_sigaction_u): Delete overlaped SA_SIGINFO from _stp_sa_flags_list[].
* 2007-12-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-12-212-0/+16
| | | | | | From Yang Zhiguo <yzgcsu@cn.fujitsu.com> * aux_syscalls.stp (_futex_op_str): Add new futex options. (_stp_fork_list[]): Add new clone flags.
* 2007-12-17 Martin Hunt <hunt@redhat.com>hunt2007-12-172-17/+54
| | | | | | | * syscalls.stp (get_mempolicy): Fix syntax. Add prototype. (kexec_load): Ditto. (mbind): Ditto. (move_pages): Ditto.
* 2007-12-17 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-12-172-1/+8
| | | | | From Yang Zhiguo <yzgcsu@cn.fujitsu.com> * Add new address family to _fam_num2str: IUCV and RXRPC.
* 2007-12-17 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-12-172-8/+29
| | | | | From Bai Weidong <baiwd@cn.fujitsu.com> * syscalls.stp: Add missed compat* probes in syscalls.stp.
* 2007-12-13 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-12-133-0/+41
| | | | | * stap.1.in: Document about relay buffer sharing. * NEWS: Document about relay buffer sharing and staplog crash extension.
* 2007-12-12 Martin Hunt <hunt@redhat.com>hunt2007-12-122-13/+10
| | | | | * syscalls2.stp (compat_sys_ptrace): Remove for now. Utrace-patched kernels have a different compat_sys_ptrace().
* 2007-12-12 Martin Hunt <hunt@redhat.com>hunt2007-12-126-12/+44
| | | | | | | | | | | Detect crashing stap and report as a test failure. * lib/systemtap.exp (stap_run_batch): Return -1 if stap crashed. * systemtap.pass1-4/buildko.exp: If stap_run_batch returned -1 then mark test as failed. * systemtap.pass1-4/parseko.exp: Ditto. * systemtap.pass1-4/semko.exp: Ditto. * systemtap.pass1-4/transko.exp: Ditto.
* 2007-12-12 Wenji Huang <wenji.huang@oracle.com>wenji2007-12-122-2/+7
| | | | | PR 5470 * parse.cxx (parser::parse_probe_point): Add checking pointer t.
* 2007-12-11 Martin Hunt <hunt@redhat.com>hunt2007-12-113-17/+27
| | | | | | | PR5368 * relay_old.c (init_oldrelayfs): Don't start threads if load_only. * relay.c (init_relayfs): Ditto.
* PR5017: gcc4.3 build fixesfche2007-12-113-2/+8
| | | | | | | 2007-12-11 Frank Ch. Eigler <fche@elastic.org> * staptree.cxx, staptree.h: More GCC 4.3 build fixes from Eugeniy Meshcheryakov <eugen@debian.org>.
* 2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-12-071-0/+5
| | | | | From Yang Zhiguo <yzgcsu@cn.fujitsu.com> * syscalls2.stp: Add missed compat* probes in syscalls2.stp.
* 2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-12-071-6/+24
| | | | | From Yang Zhiguo <yzgcsu@cn.fujitsu.com> * syscalls2.stp: Add missed compat* probes in syscalls2.stp.
* 2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-12-072-1/+13
| | | | | | From Bai Weidong <baiwd@cn.fujitsu.com> * aux_syscalls.stp (__sem_flags): Add the missed mode display, Fix calculation error when string is empty.
* 2007-12-05 William Cohen <wcohen@redhat.com>wcohen2007-12-052-2/+9
| | | | * systemtap.spec.in: Correct Source to point to location contain code.
* 2007-12-05 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-12-0516-4/+184
| | | | | | | | | | | | | | | | | | PR 4935 * tapsets.cxx (dwarf_derived_probe::dwarf_derived_probe): Allow user to access kernel variables in the condition of probe points. * stapprobes.5.in : Document the conditional probe point. * NEWS : Ditto. * parseok/five.stp: Add an example of conditional probe point. * parseko/probepoint04.stp: New test for conditional probe point. * parseko/probepoint05.stp: Ditto. * parseko/probepoint06.stp: Ditto. * parseko/probepoint07.stp: Ditto. * parseko/probepoint08.stp: Ditto. * parseko/probepoint09.stp: Ditto. * semok/twentynine.stp: Ditto. * semko/thirtynine.stp: Ditto. * systemtap.base/onoffprobe.*: Ditto.
* 2007-12-03 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-12-035-43/+41
| | | | | | | | | | | | | PR 5376 * parse.cxx (lexer::scan): Treat '*' as an alphabet if the wildcard flag is true. (parser::parse_probe_point): Call parser::next() with wildcard = true. (parser::scan_pp): Add wildcard flag and pass it to lexer::scan. (parser::next): Ditto. (parser::peek): Ditto. * parse.h : Ditto. * testsuites/perseko/twentytwo.stp: Change testcase to the wildcarded probe points with spaces.
* 2007-12-01 Frank Ch. Eigler <fche@elastic.org>fche2007-12-014-813/+4
| | | | * gen-stapmark.h, stapmark.h: Retire.
* PR5438: document libcap-devel build-time dependencyfche2007-12-011-4/+4
| | | | | From Julio M. Merino Vidal <jmmv@NetBSD.org>: Include libcap-devel in named build dependencies (for <capability.h>).
* 2007-11-29 David Smith <dsmith@redhat.com>dsmith2007-11-292-17/+27
| | | | | | * systemtap.base/marker.exp: Gets marker list from Module.markers. K_MARKER03 is always run since it is designed to fail.
* 2007-11-29 David Smith <dsmith@redhat.com>dsmith2007-11-292-3/+12
| | | | | | * tapsets.cxx (mark_derived_probe::initialize_probe_context_vars): Handles the case where one marker has more than one string argument.
* 2007-11-27 David Smith <dsmith@redhat.com>dsmith2007-11-272-0/+8
| | | | * semok/twentyeight.stp: Tests wildcarded probe points.
* 2007-11-27 David Smith <dsmith@redhat.com>dsmith2007-11-272-2/+27
| | | | | | PR 5377. * elaborate.cxx (match_node::find_and_build): Handle wildcards in probe points correctly.