summaryrefslogtreecommitdiffstats
path: root/tapset
Commit message (Collapse)AuthorAgeFilesLines
* 2006-11-02 Frank Ch. Eigler <fche@elastic.org>fche2006-11-022-0/+12
| | | | | | | | | * Makefile.am: Install tapset/README too. * Makefile.in: Regenerated. 2006-11-02 Frank Ch. Eigler <fche@elastic.org> * README: Add a blurb against running these scripts directly.
* update lket.5.in to add more details and re-arrange the sections.guanglei2006-10-312-223/+228
| | | | modify tapsets/LKET/register_events to change the event_desc strings
* 2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-10-292-1/+9
| | | | | * context.stp: Added proper handling of statement * probe in probefunc() for IA64 (bz# 3423)
* tapset/LKET/register_event.stp: changes of variable name and checking forguanglei2006-10-232-18/+26
| | | | user registered events
* tapset/scsi.stp:guanglei2006-10-163-7/+13
| | | | | | | check whether rq_disk is empty tapset/scheduler.stp revert changes
* * tapset/scsi.stp:guanglei2006-10-135-115/+57
| | | | | | | | | | | | | add more variables * tapset/LKET/register_event.stp: be sync with scsi trace hooks * tapset/LKET/scsi.stp: avoid reference to struct members in embedded c. Use stap variables as more as possible. break scsi_info into four variables. delete cmd_pid from all logging functions
* scheduler.stp:guanglei2006-10-132-13/+19
| | | | skip __switch_to on x86_64
* 2006-10-12 Martin Hunt <hunt@redhat.com>hunt2006-10-122-7/+53
| | | | | | | | | | | | * context.stp (print_backtrace): Pass in new kretprobe instance arg. (backtrace): Ditto. (is_return): Rewrite. (stack_size): New. (stack_used): New. (stack_unused): New. (called_addr): New. (caller): New.
* * ioscheduler.stp:guanglei2006-10-126-112/+119
| | | | | | | | | | | bugfix to avoid refer to NULL pointer * hookid_defs.stp, ioscheduler.stp, register_event.stp: break the old addevent.ioscheduler.elv_next_request into addevent.ioscheduler.elv_next_request.entry and addevent.ioscheduler.elv_next_request.return. Now log_ioscheduler_tracedata_* will use the variables defined in generic ioscheduler tapset
* bugfix of LKET/tapsets for pointer conversion on 32-bit platformguanglei2006-10-1110-83/+98
| | | | make sys_request_key optional on i386
* stapprobes.signal.5.in:guanglei2006-10-107-628/+883
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | document signal syscall hookiddefs.stp: some changes to the hookid: Now the hookid of a return type event(addevent.*.return) should be an even number and its value should be the corresponding entry event hookid +1. The hookid of a non-return type event should be an odd number. Add the hookid of HOOKID_REGEVTDESC register_event.stp: add register_evt_desc() to register the description of an event. Change the register_sys_event() to add the an argument representing event description Allow to use empty format string and empty field name when calling register_event(). Change all calling to register_sys_event() to add an argument which represents the event description. Change register_evt_desc() and register_event() to add an argument representing the event description string, which could help facilitate the error debugging. iosyscall.stp: bugfix to add the variable GroupID and hookID nfs.stp: bugfix to add some omitted probe definitions. nfs_proc.stp: bugfix of the wrong calling to _lket_trace() for nfs_proc.remove.entry.
* 2006-10-04 Frank Ch. Eigler <fche@elastic.org>fche2006-10-042-3/+10
| | | | | * context.stp (probefunc): Return empty string for userspace (< PAGE_OFFSET) pointers.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-262-3/+7
| | | | * test/run.sh: Changed 'stpd' references to 'staprun'.
* 2006-09-26 David Smith <dsmith@redhat.com>dsmith2006-09-262-1/+5
| | | | * tskdispatch.stp: Changed 'stpd' reference to 'staprun'.
* register_event.stp, process.stp, lket_trace.stp:guanglei2006-09-234-6/+13
| | | | Change to per_cpu_ptr(Stp_pbuf, smp_processor_id()) to get the per-cpu printing buffer
* 2006-09-20 Josh Stone <joshua.i.stone@intel.com>jistone2006-09-202-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | PR 3233 ./ * stapfuncs.5.in: Document new gettimeofday_ns. runtime/ * time.c (stp_time_t): Use ns for the base time, and freq is now kHz. (__stp_estimate_cpufreq): Compute kHz instead of MHz. (__stp_time_timer_callback, __stp_init_time): Compute base in ns. (__stp_time_cpufreq_callback): Record kHz instead of MHz. (_stp_init_time): Record kHz, and disable preemption to avoid a race in the cpufreq notifier. (_stp_gettimeofday_ns): Converted from _stp_gettimeofday_us. tapset/ * timestamp.stp (gettimeofday_ns): New function (gettimeofday_us, gettimeofday_ms, gettimeofday_s): Use gettimeofday_ns as the base unit. testsuite/ * buildok/timestamp.stp: add gettimeofday_ns test.
* lket_trace.stp,process.stp,register_event.stp:guanglei2006-09-194-7/+19
| | | | | | | | | Be sync with the runtime printing changes made by Martin lket/b2a/lket_b2a.c, lket/b2a/lket_b2a.h: Be sync with the recent runtime printing changes made by Martin. Some clean up work before adding the support of dumping data into MySQL Bug fix of segment fault when an event is not registered.
* From Gui Jian <guijian@cn.ibm.com>:guanglei2006-09-196-179/+1426
| | | | | | | | | | | | | | tapset/rpc.stp: Some changes and more comments of RPC tapset tapset/LKET/rpc.stp: New trace hooks for RPC activities on client, server and scheduler sides tapset/LKET/register_event.stp: Add the register_sys_event() calls for new RPC trace hooks tapset/LKET/hookid_defs.stp: Add the definitions of RPC trace hooks
* 2006-09-18 Martin Hunt <hunt@redhat.com>hunt2006-09-183-1/+11
| | | | | * logging.stp (stp_print_binary): New function. * string.stp: Fix docs.
* *.stp:guanglei2006-09-159-235/+223
| | | | | | | | Make all integers passed into _lket_trace() casted into int64_t explicitly. Delete calling to filter_by_pid() * nfs*.stp: Change addevent.*.entries to addevent.*.entry
* Systemtap perfmon support to access the processors perfmon hardware.wcohen2006-09-121-0/+13
|
* src/lket.5.in:guanglei2006-09-1212-166/+3150
| | | | | | | | | | | | | | | | | | | | | document nfs trace hooks tapset/nfsd.stp, tapset/nfs_proc.stp, tapset/nfs.stp: Change NFS file identifier. Change NFS version data type from String to INT. Add version variable to nfs_open and nfs_release. LKET/iosyscall.stp: change log_iosyscall_sync() be sync with different timing methods. LKET/utils.stp: add reset_maxaction() since there are too many functions called inside "probe begin". LKET/nfsd.stp, LKET/nfs_proc.stp, LKET/nfs.stp: New trace hooks for NFS, including both NFS client and server side activities. LKET/register_event.stp: Add the register event calls for NFS trace hooks.
* Added RPC tapsetsguanglei2006-09-112-0/+707
|
* document signal tapsets into stapprobes.5.inguanglei2006-08-303-41/+54
| | | | some changes to arguments and comments of signal tapset
* add another two kinds of timing mechanisms for LKET, i.e. get_cycles() andguanglei2006-08-295-14/+183
| | | | sched_clock()
* bug fix and more error checking for nfs tapsetsguanglei2006-08-254-23/+140
|
* syscall.stp: add "probe never" to generate reference to hookid_defs.stpguanglei2006-08-252-0/+10
| | | | to avoid compiling error
* vfs.stp:guanglei2006-08-235-0/+4105
| | | | | | | | | | | | | | | | New tapset from Thomas Zanussi(trz@us.ibm.com) to probe vfs layer activities. nfs.stp: New tapset from Li Xuepeng(xuepengl@cn.ibm.com) to probe nfs file operations and nfs address space operations on client side. nfs_proc.stp: New tapset from Li Xuepeng to probe some nfs RPC procedure stub functions on client side. nfsd.stp: New tapset from Li Xuepeng to probe nfs server side activities, including some RPC procedure stub functions, nfsd dispatch routine, and nfsd_* functions
* add signal trace hooks.guanglei2006-08-227-6/+463
| | | | eliminates the global stap variable to syscall tapset for faster speed
* More variables for signal.do_action and signal.procmask and a new functionguanglei2006-08-222-4/+31
| | | | get_sigset()
* 2006-08-21 Martin Hunt <hunt@redhat.com>hunt2006-08-212-16/+16
| | | | | * string.stp (substr): Rewrite. Make the 3rd parameter be the length.
* Add the description of signal.stp changesguanglei2006-08-181-1/+6
|
* 2006-08-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-08-172-17/+19
| | | | | | | | * signal.stp: Changes on behalf of Manoj S Pattabhiraman: 1. As per the suggestions, i have removed the argstr from the probe points. 2. Added some checks to find whether the signals generated are USER or Kernel Mode in signal_handle probe.
* update signal.stp based on the discussion on mailinglistguanglei2006-08-172-25/+129
|
* 2006-08-15 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-08-162-15/+60
| | | | | * ioblock.stp: Added safety checks for __bio_ino() and __bio_start_sect().
* document process.*, tcp.*, udp.* into stapprobes(5)guanglei2006-08-101-0/+3
|
* 2006-08-09 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-08-102-49/+162
| | | | | * ioblock.stp: Merged io.stp from Tom Zanussi (IBM) into existing ioblock.stp. Removed/Renamed duplicate variables and probes.
* 2006-08-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-08-104-6/+127
| | | | | | | | | | | | * stapprobes.5.in, testsuite/buildok/memory.stp: move pagefault to vm.* namespace tapset/ * memory.stp: move pagefault to vm.* namespace, and add many other virtual-memory themed probes. tapset/LKET/ * pagefault.stp: move pagefault to vm.* namespace
* 2006-08-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-08-103-64/+372
| | | | | | | | | * tapset/signal.stp: Create a new tapset that addresses process signals. Much of this was contributed by Manoj Pattabhiraman (IBM). * tapset/process.stp: Remove aliases that now belong in signal tapset * examples/small_demos/proc_snoop.stp, testsuite/buildok/process_test.stp: Rename process.signal_* to new signal.* tapset.
* 2006-08-09 David Smith <dsmith@redhat.com>dsmith2006-08-092-1/+6
| | | | | * syscalls.stp: Fixed typo in syscall.kexec_load argument handling.
* 2006-08-08 Eugene Teo <eteo@redhat.com>eteo2006-08-082-0/+21
| | | | | | * tapset/context.stp (probemod): New function. * stapfuncs.5.in: Document it. * testsuite/buildok/probemod.stp: Test it.
* *** empty log message ***hunt2006-07-216-272/+76
|
* *** empty log message ***hunt2006-07-212-142/+270
|
* Some minor changeshien2006-07-181-16/+17
|
* Modified probefunc() to print consistent name on ppc64tpnguyen2006-07-182-1/+7
|
* Use user_string_quotedhien2006-07-171-83/+85
|
* 2006-07-17 David Smith <dsmith@redhat.com>dsmith2006-07-173-23/+6
| | | | | | * context.stp: Removed returnval() function. Use $return instead. * return.stp: Removed. Use $return instead.
* Fix for bug #2934trz2006-07-172-2/+7
|
* main.cxx: add LKET's tapsets into stap's default tapsets search pathguanglei2006-07-173-57/+17
| | | | | | | | update lket man page to refect the new tapset search path syscalls.stp: make sys_acct, sys_add_key, sys_keyctl and sys_modify_ldt optional on ppc64 since they are weak symbol. ppc64/syscalls.stp: remove syscall.acct, syscall.add_key and syscall.umask since they are already defined in syscalls.stp
* bug fix for aio event hooks to make each sub event hooks runnable separatelyguanglei2006-07-142-18/+25
|