summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-095-7/+25
| | | | | | | | | PR 5281 * transport.c (_stp_detach, _stp_attach): Call utt_set_overwrite() instead of setting a flag directly. * utt.c (utt_set_overwrite): New. Set overwrite mode. * relayfs.c (utt_set_overwrite): New. Set overwrite mode. * utt.h: Remove global utt_overwrite_flag.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-092-1/+6
| | | | | * mainloop.c (stp_main_loop): Bump recvbuf to 8196 for compatibility with old transport.
* 2007-11-8 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-082-6/+14
| | | | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * rpc.stp (clones_from_clnt): Use deref to check, then use atomic_read to read an atomic_t to avoid compilation error of type matching. (tasks_from_clnt): Ditto.
* 2007-11-6 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-062-1/+11
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * rpc.stp (sunrpc.clnt.call_sync): Define procname only for kernel>=2.6.17. (sunrpc.clnt.call_async): Ditto.
* 2007-11-5 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-052-17/+25
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfs_proc.stp: Use kread in get_ip and get_prot to avoid kernel panic.
* 2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-021-0/+7
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfsd.stp: Fix the semantic error caused by the difference of kernel versions. * nfs_proc.stp: Ditto.
* 2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-022-0/+20
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfsd.stp: Fix the semantic error caused by the difference of kernel versions. * nfs_proc.stp: Ditto.
* 2007-11-01 Martin Hunt <hunt@redhat.com>hunt2007-11-015-33/+54
| | | | | | * procfs.c, control.c, transport.c: Recognize when stapio is detached and disable delayed work. Enable when attached. Cleanup code to destroy workqueue on exit.
* 2007-11-1 Will Cohen <wcohen@redhat.com>wcohen2007-11-012-0/+9
| | | | | * syscall2.stp (sys_remap_file_pages): Fix compile error with kernel version greater than 2.6.23.
* 2007-11-1 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-012-0/+8
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * rpc.stp (clones_from_clnt): Add CATCH_DEREF_FAULT(). (tasks_from_clnt): Ditto.
* 2007-10-26 Martin Hunt <hunt@redhat.com>hunt2007-10-262-1/+10
| | | | | | PR5218 * stapio.c (main): Set initialized properly when attached.
* 2007-10-25 Josh Stone <joshua.i.stone@intel.com>jistone2007-10-262-2/+9
| | | | | | PR 5219 * stap.1.in: Add a note about string literal limitations in printf and printd.
* 2007-10-25 Martin Hunt <hunt@redhat.com>hunt2007-10-264-22/+33
| | | | | | | * systemtap.printf/printd.exp: New. Runs printd.stp and printdln.stp. * systemtap.printf/printdln.stp: Removed bad tests. * systemtap.printf/printd.stp: Ditto.
* stat-common.c: Allow histogram bucket elision to be turned offmmason2007-10-252-29/+41
| | | | | with -DHIST_ELISION=<negative #>. Also cleaned up looping code to prevent unnecessary interation over non-existent buckets.
* 2007-10-25 Martin Hunt <hunt@redhat.com>hunt2007-10-2511-0/+635
| | | | | | | | | | | | * systemtap.printf/print_char.*: New test. * systemtap.printf/print.*: New test. * systemtap.printf/println.*: New test. * systemtap.maps/elision.*: New tests. * config/unix.exp: Added stap_run_exact. * lib/stap_run_exact.exp: New. Like stap_run2 but takes a seperate test name.
* 2007-10-25 Martin Hunt <hunt@redhat.com>hunt2007-10-253-0/+84
| | | | | * systemtap.printf/printd.stp: New * systemtap.printf/printdln.stp: New
* uprobes ppc64 ssol changessrikar2007-10-253-14/+124
|
* x86_64 uprobeskenistoj2007-10-223-0/+785
|
* Fixed 10/16 update to arch_validate_probed_insn() decls.kenistoj2007-10-193-2/+8
|
* 2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-194-105/+78
| | | | | | | | | | | | | * staplog.c: Cleanup code and remove end-of-line spaces. (create_output_filename): Use snprintf instead of sprintf and remove malloc(). (print_rchan_info): Merge into output_cpu_logs(). (open_output_file): Use GETBUF() instead of malloc(). (output_cpu_logs): Simplify logic and remove unused code. (do_staplog): Merge into cmd_staplog(). (help_staplog): Fix typos. * Makefile.am (STAPLOG): Add -Wall option. * Makefile.in: Regenerated.
* 2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-192-59/+170
| | | | | | | | | | | | | | From Satoru Moriya <satoru.moriya.br@hitachi.com>: * staplog.c :(create_output_dir): New function for creating output directory. (create_output_filename): New function for making output filename. (print_rchan_info): New function for displaying relay channel status. (open_output_file): New function for opening output file. (output_cpu_logs): Cleanup code and fix bugs to retrieve buffer data even when the last buffer is full and even if the systemtap uses old(non-utt) format. Add a routine for '-a' option. (cmd_staplog): Add '-a' option. (help_staplog): Ditto.
* * stapprobes.5.in: Removed C label reference.mmason2007-10-182-7/+37
| | | | | Clarified source path requirements for probe definitions. Fixed some vertical spacing issues.
* Removed stapprobes.task.5.in. Contents moved to stapfuncs.5.inmmason2007-10-181-207/+0
|
* Corrected tokenize() description. Added task_* functions.mmason2007-10-182-6/+85
|