summaryrefslogtreecommitdiffstats
path: root/tapset
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 David Smith <dsmith@redhat.com>dsmith2006-06-051-0/+2
| | | | | | | | | | | | | | | | | | | | | * 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-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
* make user able to append extra trace data. The way of logging backtrace is ↵guanglei2006-06-019-184/+110
| | | | | | | | 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-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 Martin Hunt <hunt@redhat.com>hunt2006-05-256-226/+230
| | | | * syscall*.stp: Change "0x%p" to "%p".
* src/tapset/LKET/*.stp:guanglei2006-05-2510-54/+88
| | | | | | | | | | | | 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 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-242-19/+16
| | | | | | | 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
* 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-192-4/+3
|
* Check into CVS the tracing specific tapsets used by LKET.guanglei2006-05-1815-1/+951
| | | | And some minor changes to current tapsets
* merge tskschedule.stp into scheduler.stpguanglei2006-05-183-27/+31
|
* 2006-05-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-182-0/+106
| | | | | | * testsuite/buildok/sched_test.stp: test scheduler tapset * examples/small_demos/sched_snoop.stp: demo scheduler tapset * tapset/scheduler.stp: New scheduler tapset
* testcases checking in for ioscheduler.stp, memory.stp, networking.stp,guanglei2006-05-181-0/+18
| | | | scsi.stp, tskschedule.stp
* 2006-05-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-182-11/+18
| | | | | | | * process.stp: Rename signal.send to signal_send and process.complete to process_complete, to allow process.* to work properly. * process.stp (_IS_ERR): declare parameter type * process.stp (process.create): correct new_pid assignment
* I break LKET into layered structure. The first layer is those generic tapsets.guanglei2006-05-186-0/+241
| | | | | | The second layer is tracing specific. I checked into CVS those generic tapsets at the first step.
* Comment out accessing regs variable in sys_rt_sigsuspend (can't resolve it inhien2006-05-161-1/+2
| | | | i386)
* 2006-05-16 David Smith <dsmith@redhat.com>dsmith2006-05-168-40/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | * conversions.stp (hexstring, string): Removed functions. Because of parser changes, "string" is now a reserved word and cannot be a function name. Use 'sprintf("0x%x", num)' to replace hexstring() and either 'sprint(num)' or 'sprintf("%d", num)' to replace string(). * syscalls.stp (syscall.accept, syscall.alarm, syscall.close, syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir, syscall.fdatasync, syscall.fsync, syscall.getsid) Changed 'string()' calls to 'sprint()' calls. * syscalls2.stp (syscall.sched_get_priority_max, syscall.sched_get_priority_min, syscall.sched_getscheduler, syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid, syscall.setfsuid16, syscall.setgid, syscall.setgid16, syscall.setuid, syscall.setuid16, syscall.ssetmask, syscall.timer_delete, syscall.timer_getoverrun): Ditto. * i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn, syscall.sigreturn): Ditto. * ppc64/syscalls.stp (syscall.ppc64_personality): Ditto. * x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask): Ditto. * test/ctostp.sh: Uses 'sprint()' instead of 'string()' in generated systemtap code.
* 2006-05-14 Martin Hunt <hunt@redhat.com>hunt2006-05-152-14/+75
| | | | | * aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it is complete and works on different archs.
* 2006-05-11 David Smith <dsmith@redhat.com>dsmith2006-05-111-0/+135
| | | | * tapset/ctime.stp: New file.
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-103-0/+339
| | | | | * task.stp: functions to retrieve task information * process.stp: tapset for process-related events
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-092-8/+5
| | | | * context.stp (probefunc): remove use of labels
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-092-2/+7
| | | | * context.stp (probefunc): define our own exit label
* Reorganize so that the compiler knows that ptr is initializedjistone2006-05-091-6/+3
|
* 2006-05-08 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-082-4/+39
| | | | | | | PR 2594 From Thang P Nguyen <thang.p.nguyen@intel.com> * context.stp (probefunc): expands ability to detect the function for different types of probes.
* 2006-05-05 Frank Ch. Eigler <fche@elastic.org>fche2006-05-062-0/+9
| | | | | | | | | | | | PR 2643 * testsuite/buildok/syscalls.stp: Take "-u" away again. * configure.ac, systemtap.spec.in: Bump version to 0.5.7. * configure: Regenerated. 2006-05-05 Frank Ch. Eigler <fche@elastic.org> PR 2643 * syscalls.stp: Put back some dummy syscall.exit*.return probes.
* 2006-05-05 Eugene Teo <eteo@redhat.com>eteo2006-05-051-8/+0
| | | | | | | | | PR 2433 * tapsets.cxx (dwarf_query::blacklisted_p): Extend the list of blacklisted .return probes to include "do_exit". Correct funcname typo for "sys_groupexit". * tapset/syscalls.stp: Remove .return probe aliases of never- returning syscall.exit and syscall.exit_group calls.
* 2006-05-03 Frank Ch. Eigler <fche@elastic.org>fche2006-05-033-18/+7
| | | | * context.stp, errno.stp: Note/eliminate some retval() duplication.
* *** empty log message ***hunt2006-04-271-1/+1
|
* 2006-04-27 Martin Hunt <hunt@redhat.com>hunt2006-04-271-0/+5
| | | | | * endian.stp (set_endian): Remove "pure" to prevent this from optimizing away.
* 2006-04-25 Frank Ch. Eigler <fche@elastic.org>fche2006-04-258-56/+56
| | | | | | | | | | | | | | | | | PR 2427. * staptree.cxx (varuse_collecting_visitor::visit_embeddedcode): Support /* pure */ declaration. Stop using __tvar_ naming hack. (v_c_u::visit_print_format): Mark sprint and sprintf as side-effect-free. (deep_copy_visitor::visit_print_format): Propagate raw_components. * stap.1.in: Document declaration. * elaborate.cxx (semantic_pass_opt2): Verbose message tweak. (dead_stmtexpr_remover): Extend for more aggressive optimization. * tapsets.cxx (dwarf,mark_var_expanding_copy_visotor): Add /* pure */ declaration to rvalue expansions. * tapset/*.stp: Added /* pure */ declarations to many functions. * testsuite/parseok/unparsers.stp: Propagate guru mode flag. * testsuite/buildok/twentyfour.stp: New test.
* Fixed _fd_set_u retvaluehien2006-04-251-1/+1
|
* 2006-04-21 Frank Ch. Eigler <fche@elastic.org>fche2006-04-212-1/+5
| | | | * aux_syscalls.stp (_fildes_u): Declare return value type.
* Changed to use %p.hunt2006-04-215-309/+272
|
* 2006-04-18 Frank Ch. Eigler <fche@elastic.org>fche2006-04-182-2/+6
| | | | | | | | | | | | | | | | | PR 2220 * translate.cxx (visit_statement): Tolerate 0 first argument. (visit_for_loop, visit_foreach_loop): Call it thusly for condition expression. (visit_embededcode, visit_block, visit_null_statement): Don't call visit_statement() at all. 2006-04-18 Frank Ch. Eigler <fche@elastic.org> * conversions.stp (string, hex_string): Use snprintf for safety. 2006-04-18 Frank Ch. Eigler <fche@elastic.org> * systemtap.samples/control_limits.stp: Adapt to new action counting.
* Fix accidentally commented out error message.hunt2006-04-182-4/+9
|
* Fix comment.hunt2006-04-171-2/+1
|