summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2006-06-06 Josh Stone <joshua.i.stone@intel.com>jistone2006-06-062-2/+6
| | | | * process.stp (create, exec_complete): replace retval() with $return
* fix _recvflags_strhien2006-06-061-2/+2
|
* 2006-06-05 Martin Hunt <hunt@redhat.com>hunt2006-06-052-8/+14
| | | | | * procfs.c (_stp_write): Always use spin_lock_irqsave() because this function can sometimes be called with interrupts enabled.
* 2006-06-05 David Smith <dsmith@redhat.com>dsmith2006-06-057-40/+169
| | | | | | | | | | | | | | | | | | | | | * tapsets.cxx (dwflpp::express_as_string): New function. Extracted from dwflpp::literal_stmt_for_local() so that dwflpp::literal_stmt_for_return() could also call it. (dwflpp::literal_stmt_for_local): Portion extracted to create dwflpp::express_as_string(). (dwflpp::literal_stmt_for_return): New function. Adds support for new symbolic access ("$return") to return value in .return probes. Fixes PR 1132. (target_variable_flavour_calculating_visitor::visit_target_symbol): Calls dwflpp::literal_stmt_for_return() when in a return probe and the variable name is "$return". (dwarf_var_expanding_copy_visitor::visit_target_symbol): Ditto. * stapfuncs.5.in: Noted that the retval() function is deprecated. * stapprobes.5.in: Corrected the name of the return value variable. * tapset/return.stp: Marked the retval() function as deprecated. * testsuite/semko/return01.stp: Added new test. * testsuite/semko/return02.stp: Ditto.
* truncate64 moved herehien2006-06-052-0/+34
|
* Moved truncate64 to arch specific syscalls.stphien2006-06-051-17/+0
|
* 2006-06-05 Frank Ch. Eigler <fche@elastic.org>fche2006-06-055-14/+33
| | | | | | | | PR 2645 cont'd. * elaborate.cxx (derive_probes): Pass down optional flag from alias reference to expansion. * testsuite/semok/twentytwo.stp: Test passing-down. * stapprobes.5.in: Specify passing-down property of optional flag.
* 2006-06-02 Frank Ch. Eigler <fche@elastic.org>fche2006-06-025-32/+54
| | | | | | | | | | | PR 2645 cont'd. * elaborate.cxx (find_and_build): Support optional wildcards too. (derive_probes): Change last argument to indicate optionalness of parent probe point (alias reference). (alias_expansion_builder): Shrink epilogue-mode alias body copying. Pass along alias reference optionality. * elaborate.h: Corresponding changes. * testsuite/semko/thirtyfive.stp, semok/twentytwo.stp: New tests.
* 2006-06-02 Josh Stone <joshua.i.stone@intel.com>jistone2006-06-023-2/+11
| | | | | * testsuite/buildok/process_test.stp: add signal_handle test * examples/small_demos/proc_snoop.stp: log signal_handle
* 2006-06-02 Josh Stone <joshua.i.stone@intel.com>jistone2006-06-022-20/+15
| | | | | | | * process.stp (exec, exec_complete): conditionally include compat_do_execve for 64-bit kernels * process.stp (handle_signal): use optional probes to alternate between function or inline
* 2006-06-02 Frank Ch. Eigler <fche@elastic.org>fche2006-06-0210-26/+116
| | | | | | | | | | | | | | PR 2645. * stapprobes.5.in: Document "?" probe point suffix. * parse.cxx (parse_probe_point): Recognize "?" optional suffix. * elaborate.cxx (derive_probes): Observe probe_point->optional. * staptree.h, staptree.cxx: Corresponding changes. * tapsets.cxx (never_derived_probe, never_builder): New classes. (register_standard_tapsets): Support "never" probe point. * testsuite/buildok/six.stp, parseok/five.stp: Modifed tests. * translate.cxx (emit_module_init): Format "-t" (benchmarking) cycle-time reports similarly to "-v" (verbose) times.
* 2006-06-02 David Smith <dsmith@redhat.com>dsmith2006-06-022-1/+4
| | | | * .cvsignore: Added more files to ignore.
* 2006-06-02 David Smith <dsmith@redhat.com>dsmith2006-06-0211-11/+117
| | | | | | | | | | | | | | | | * main.cxx (usage): Added exitcode parameter. (main): Improved a few error messages. Also, when an error is given, stap now always exits with a status of 1. * testsuite/buildok/cmdline01.stp: New test. * testsuite/parseko/cmdline01.stp: Ditto. * testsuite/parseko/cmdline02.stp: Ditto. * testsuite/parseko/cmdline03.stp: Ditto. * testsuite/parseko/cmdline04.stp: Ditto. * testsuite/parseko/cmdline05.stp: Ditto. * testsuite/parseko/cmdline06.stp: Ditto. * testsuite/parseok/cmdline01.stp: Ditto. * testsuite/parseok/cmdline02.stp: Ditto.
* eliminate lket-b2a compiling warnings on in 64-bit modeguanglei2006-06-022-7/+11
|
* 2006-06-01 Josh Stone <joshua.i.stone@intel.com>jistone2006-06-012-4/+12
| | | | | | | * tapsets.cxx (hrtimer_derived_probe::emit_interval): update API usage of hrtimers in preparation of getting exports from the kernel. (hrtimer_derived_probe::emit_probe_entries): ditto
* make lket-b2a able to read user added trace data and backtraceguanglei2006-06-013-11/+37
|
* make user able to append extra trace data. The way of logging backtrace is ↵guanglei2006-06-0115-207/+143
| | | | | | | | also changed. lket_trace_extra() and lket_backtrace() are introduced for these two purpose. I also modified lket.5.in for the backtrace changes
* Fix _mlocakall flagshien2006-05-311-2/+2
|
* *** empty log message ***hunt2006-05-313-55/+31
|
* Fix wait4. comment out waitpid.hien2006-05-301-1/+3
|
* add mlock, mlockallhien2006-05-301-29/+29
|
* 2006-05-30 Martin Hunt <hunt@redhat.com>hunt2006-05-304-63/+89
| | | | | * aux_syscalls.stp (_mountflags_str): Rewrite. (_umountflags_str): New.
* Fix truncate and ftruncate.hunt2006-05-302-5/+5
|
* 2006-05-30 Martin Hunt <hunt@redhat.com>hunt2006-05-303-50/+45
| | | | | | * syscalls2.stp (sys_write): Use text_strn(). * syscalls.stp (sys_lseek): Fix. (sys_llseek): Fix.
* 2006-05-30 Martin Hunt <hunt@redhat.com>hunt2006-05-302-0/+24
| | | | | * string.stp (text_str): New. (text_strn): New.
* 2006-05-30 Martin Hunt <hunt@redhat.com>hunt2006-05-303-0/+106
| | | | | * string.c (_stp_text_str): New function. * string.h (_stp_text_str): Declare.
* modify systemtap.spec.in to include lket-b2a in rpm packageguanglei2006-05-293-1/+10
|
* add conditional build of lket-b2a. If glib2-devel is not found, just skipsguanglei2006-05-277-47/+187
| | | | | | and gives a warning deleted runtime/lket/b2a/Makefile since it should be generated by configure
* 2006-05-26 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-272-7/+64
| | | | | | | | * tapsets.cxx (build_blacklist): build the sets of blacklisted functions and function returns. Manually added many __kprobes functions that should not be probed. (dwarf_query::dwarf_query): Call build_blacklist. (dwarf_query::blacklisted_p): Use blacklist sets.
* 2006-05-26 Martin Hunt <hunt@redhat.com>hunt2006-05-265-48/+63
| | | | | | | | | | | | * errno.stp: Add octal option for returnstr. * [i686,x86_64]/syscalls.stp (umask): Print args and return in octal. (add_key): Comment out. This syscall is added by a xen patch and may not be present. (tux): Ditto. * syscalls.stp (accept): Fix arg name.
* 2006-05-25 Martin Hunt <hunt@redhat.com>hunt2006-05-263-43/+45
| | | | | | | * syscalls.stp: Add sys_fcntl and sys_listen. * syscalls2.stp: Commented out sys_socketcall because it only calls other system calls which are already probed.
* 2006-05-25 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-252-0/+5
| | | | | | * tapsets.cxx (dwarf_var_expanding_copy_visitor::visit_target_symbol): Free allocated memory when supressing target-variable errors
* 2006-05-25 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-252-14/+32
| | | | | * parse.cxx (parser::scan_pp): Free memory for tokens that are thrown away in the preprocessing stage.
* 2006-05-25 Martin Hunt <hunt@redhat.com>hunt2006-05-256-226/+230
| | | | * syscall*.stp: Change "0x%p" to "%p".
* 2006-05-25 Martin Hunt <hunt@redhat.com>hunt2006-05-252-1/+22
| | | | | * vsprintf.c (_stp_vsnprintf): Change %p to work like libc and automatically insert "0x" before the pointer.
* 2006-05-25 David Smith <dsmith@redhat.com>dsmith2006-05-252-0/+39
| | | | * testsuite/semok/twentyone.stp: New file.
* src/tapset/LKET/*.stp:guanglei2006-05-2512-57/+91
| | | | | | | | | | | | explicitly add type qualifier for different arch to make _stp_vsnprintf get the argument by va_arg correctly src/tapset/scheduler.stp: add prev_task and next_task variable src/stapprobes.5.in: add lket (5) in the "SEE ALSO"
* 2006-05-24 Frank Ch. Eigler <fche@elastic.org>fche2006-05-254-25/+64
| | | | | | | | | Pass 4 speedup. * tapsets.cxx (derived_probe::emit_common_header): New function, to emit code formerly inlined by emit_probe_prologue/epilogue. * translate.cxx (emit_common_header): Call it. * elaborate.h: Corresponding changes.
* 2006-05-24 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-244-19/+54
| | | | | | | PR 2677 * sym.c (_stp_symbol_sprint_basic): New function that returns just the symbol name, and doesn't bother with String. * context.stp (probefunc): Use _stp_symbol_sprint_basic
* 2006-05-24 David Smith <dsmith@redhat.com>dsmith2006-05-246-12/+84
| | | | | | | | | | | | | | * elaborate.cxx (isglob): New function. (match_key::globmatch): New function. (match_node::find_and_build): Uses isglob() and match_key::globmatch() to provide support for wildcards such as "kernel.syscall.*read*" (Bugzilla #1928). * elaborate.h (match_key::globmatch): Added function declaration. * parse.cxx (parser::parse_probe_point): Collects one or more tokens into a single probe-point functor string. * testsuite/parseko/twentytwo.stp: New file. * testsuite/parseok/sixteen.stp: New file.
* 2006-05-24 David Smith <dsmith@redhat.com>dsmith2006-05-2441-0/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/parseko/cmdlinearg01.stp: New file. * testsuite/parseko/cmdlinearg02.stp: New file. * testsuite/parseko/eighteen.stp: New file. * testsuite/parseko/foreachstmt01.stp: New file. * testsuite/parseko/foreachstmt02.stp: New file. * testsuite/parseko/foreachstmt03.stp: New file. * testsuite/parseko/foreachstmt04.stp: New file. * testsuite/parseko/foreachstmt05.stp: New file. * testsuite/parseko/forstmt01.stp: New file. * testsuite/parseko/forstmt02.stp: New file. * testsuite/parseko/forstmt03.stp: New file. * testsuite/parseko/forstmt04.stp: New file. * testsuite/parseko/functiondecl01.stp: New file. * testsuite/parseko/functiondecl02.stp: New file. * testsuite/parseko/functiondecl03.stp: New file. * testsuite/parseko/functiondecl04.stp: New file. * testsuite/parseko/functiondecl05.stp: New file. * testsuite/parseko/functiondecl06.stp: New file. * testsuite/parseko/functiondecl07.stp: New file. * testsuite/parseko/ifstmt01.stp: New file. * testsuite/parseko/ifstmt02.stp: New file. * testsuite/parseko/nineteen.stp: New file. * testsuite/parseko/preprocess01.stp: New file. * testsuite/parseko/preprocess02.stp: New file. * testsuite/parseko/preprocess03.stp: New file. * testsuite/parseko/preprocess04.stp: New file. * testsuite/parseko/preprocess05.stp: New file. * testsuite/parseko/preprocess06.stp: New file. * testsuite/parseko/preprocess07.stp: New file. * testsuite/parseko/preprocess08.stp: New file. * testsuite/parseko/preprocess09.stp: New file. * testsuite/parseko/probepoint01.stp: New file. * testsuite/parseko/probepoint02.stp: New file. * testsuite/parseko/probepoint03.stp: New file. * testsuite/parseko/seventeen.stp: New file. * testsuite/parseko/ternarystmt01.stp: New file. * testsuite/parseko/twenty.stp: New file. * testsuite/parseko/twentyone.stp: New file. * testsuite/parseko/whilestmt01.stp: New file. * testsuite/parseko/whilestmt02.stp: New file.
* add src/runtime/lket/b2a/Makefileguanglei2006-05-241-0/+5
|
* Temporarily stop building lket_b2a since it depends on glib2guanglei2006-05-244-138/+41
|
* add a binary to ascii converter used to convert LKET's default binary trace dataguanglei2006-05-2413-183/+1657
| | | | | | add intro of lket-b2a in lket.5.in Changes Makefile.am, configure.ac & regenerated aclocal.m4, Makefile.in, configure
* 2006-05-23 David Smith <dsmith@redhat.com>dsmith2006-05-232-1/+5
| | | | * parse.cxx (parse_for_loop): Corrected error message.
* 2006-05-22 David Smith <dsmith@redhat.com>dsmith2006-05-222-25/+32
| | | | | * elaborate.cxx (find_and_build): Fixed issue #2643. Wildcard code was being too optimistic.
* check in the draft man page for lketguanglei2006-05-225-3/+296
|
* Patch from Mao Bibo to change %lx to %llx in snprintf of tapset/aux_syscalls.stpguanglei2006-05-192-2/+8
| | | | to print the address in IA64
* change $q->elevator.elevator_name to $q->elevator->elevator_name in ↵guanglei2006-05-192-3/+8
| | | | tapset/ioscheduler.stp
* Some typos during my recent checkinsguanglei2006-05-193-6/+5
|