summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * conditional probe thinko fix cont'dfche2007-11-262-3/+4
|
* * conditional-probe SEGV fixfche2007-11-262-1/+7
| | | | | | | 2007-11-26 Frank Ch. Eigler <fche@elastic.org> * elaborate.cxx (derived_probe ctor): Don't duplicate condition if it doesn't exist.
* 2007-11-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-212-2/+10
| | | | | | From Bai Weidong <baiwd@cn.fujitsu.com> * syscalls2.stp (rt_sigsuspend): Fix the semantic error caused by the difference of kernel versions on IA64.
* 2007-11-20 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-11-207-12/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | PR 4935. * parse.cxx (parser::parse_probe_point): Parse "if" condition following probe point. * staptree.h (probe_point): Add "condition" field. (probe): Add "condition" field and "add_condition" method. (deep_copy_visitor): Add "deep_copy" method for the expression. * staptree.cxx (probe_point::probe_point): Initalize it. (probe::add_condition): Implement it. (probe::print): Output "condition" field. (probe::str): Ditto. (deep_copy_visitor::deep_copy): Implement it. * elaborate.h (derived_probe): Add "insert_condition_statement" method. * elaborate.cxx (derived_probe::derived_probe): Initialize "condition" field, and insert a condition check routine on the top of body. (derived_probe::insert_condition_statement): Implement it. (alias_expansion_builder::build): Pass the condition from the alias referer to new alias. * tapsets.cxx (be_derived_probe): Remove unused constructor. (dwarf_derived_probe::dwarf_derived_probe): Insert a condition check routine on the top of body. (mark_derived_probe::mark_derived_probe): Ditto. (mark_builder::build): Pass the base location to mark_derived_probe.
* * dummy commit to fix some permissionsfche2007-11-204-0/+0
|
* PR 3887: sufficient+optional probe pointsfche2007-11-2012-34/+114
| | | | | | | | | | | | | | | | 2007-11-19 Frank Ch. Eigler <fche@elastic.org> PR 3887. * staptree.h (probe_point): Add "sufficient" field. * staptree.cxx: Initialize it, print it. * parse.cxx (parse_probe_point): Parse it. * elaborate.cxx (derive_probes): Implement it. * stapprobes.5.in: Document it. * NEWS: Gloat about it. * parseok/five.stp, semok/twentyseven.stp: Test "!" probe point flag. * iostat-scsi.stp: Adopt "!" probe point flag.
* 2007-11-15 David Smith <dsmith@redhat.com>dsmith2007-11-153-14/+22
| | | | | | | | | | | * tapsets.cxx (mark_derived_probe::initialize_probe_context_vars): Updated to work with latest LTTNG patch patch-2.6.24-rc2-lttng-0.10-pre23.tar.bz2. (mark_derived_probe_group::emit_module_decls): Ditto. (mark_derived_probe_group::emit_module_init): Ditto. (mark_derived_probe_group::emit_module_exit): Ditto. * translate.cxx (c_unparser::emit_common_header): Ditto.
* Removed "make check" from rpm build steps.mmason2007-11-152-4/+3
|
* 2007-11-15 David Smith <dsmith@redhat.com>dsmith2007-11-153-326/+80
| | | | | | | | | | | | | | * tapsets.cxx: Removed mark_query structure. (mark_derived_probe::mark_derived_probe): Just looks for "kernel" marker probes. (mark_builder::build_no_more): No longer kern_dw, instead clears the marker cache. (mark_builder::build): Now parses Module.markers file to find marker list and stores them in a cache. (register_standard_tapsets): Removed 'module("foo").mark("bar")'. All markers now go through 'kernel.mark("bar")'. * stapprobes.5.in (parts): Updated marker text.
* 2007-11-15 David Smith <dsmith@redhat.com>dsmith2007-11-152-263/+9
| | | | | * systemtap.base/marker.exp: Removed 'module("foo").mark("bar")' tests since that facility was removed.
* PR 5324kenistoj2007-11-142-0/+7
| | | | | * main.cxx: Restored initialization of need_uprobes flag, mistakenly backed out in PR 5270 fix.
* 2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-141-0/+5
| | | | | * stapfuncs.5.in (tokenize): Change NULL to blank to avoid misunderstanding.
* 2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-141-3/+3
| | | | | * stapfuncs.5.in (tokenize): Change NULL to blank to avoid misunderstanding.
* 2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-142-2/+21
| | | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * signal.stp (signal.do_action): Call __get_action_mask to get mask to fix semantic error of accessing a struct. * signal.stp (__get_action_mask): Add.
* 2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-141-0/+6
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * regs-ia64.c (ia64_fetch_register): Fix the bug of fetching register 12 on IA64.
* 2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-141-0/+3
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * regs-ia64.c (ia64_fetch_register): Fix the bug of fetching register 12 on IA64.
* PR 5270kenistoj2007-11-135-39/+109
| | | | | | | | | | | | | * main.cxx: Restored pre-10-08 version: moved uprobes build to buildrun.cxx. * buildrun.cxx: Reworked uprobes build so that the resulting Module.symvers can be used in building the stap-generated module. If user isn't root, call verify_uprobes_uptodate() rather than trying (and failing) to rebuild uprobes.ko. * buildrun.h: uprobes_enabled() and make_uprobes() are no longer extern. * runtime/uprobes/Makefile: Added uprobes.ko target for use by verify_uprobes_uptodate().
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-124-20/+17
| | | | | | | * stap.1.in: Replaced references to the log() function. * stapex.5.in: Ditto. * stapfuncs.5.in: Ditto. ALso remove print and printf. They are documented in stap.1.in.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-1230-147/+159
| | | | | | | | * systemtap.base/*.stp: Replace log() calls with println() (or printf() if formatting would help.) * systemtap.maps/*.stp: Ditto. * systemtap.samples/*.stp: Ditto. * systemtap.stress/*.stp: Ditto.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-122-7/+8
| | | | | | * logging.stp (print_char): Remove. Now implemented by stap. (log): Add a comment that it is deprecated.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-122-7/+22
| | | | | * print.c (_stp_print): Rewrite to eliminate the strlen() call and save a bit of time.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-125-11/+67
| | | | | | | | | | | | | * translate.cxx (visit_print_format): Strings without a format or formatted with "%s" or "%s\n" should be printed with calls to _stp_print(). Call _stp_print_char() if printing a char. * staptree.cxx (parse_print): Check for "print_char". * staptree.h (struct print_format): Add print_char. (parse_print): Update prototype. * parse.cxx (parse_symbol): Set print_char bool in print_format.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-122-1/+6
| | | | | * syscalls2.stp (sys_remap_file_pages: : Change kernel version check to >= 2.6.24.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-121-0/+1
| | | | * tapsets.cxx (build_blacklist): Add __raw_spin_is_locked.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-0918-16/+43
| | | | | | * README: New. * *.stp. Fix path. See PR 4718.
* 2007-11-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-11-0911-4/+145
| | | | | | | | | | | | | | | | PR3858 * print.c: Add -DRELAY_HOST=<hostname> and -DRELAY_GUEST=<hostname> options support. (_stp_print_flush): Disable irqs if -DRELAY_* option is specified. * print_old.c: Export stp_print_flush to other modules if the -DRELAY_HOST option is specified. * print_new.c: Ditto. * transport.c (_stp_transport_init): Reduce relay buffer size to 64KB*2 if -DRELAY_GUEST is specified. * systemtap.printf/sharedbuf.exp: New test for buffer sharing option. * systemtap.printf/sharedbuf.stp: Ditto. * systemtap.printf/hello.stp: Ditto. * systemtap.printf/hello2.stp: Ditto.