summaryrefslogtreecommitdiffstats
path: root/tapset/LKET
Commit message (Collapse)AuthorAgeFilesLines
* Removing tapset/LKET directory.srikar2007-08-271-308/+0
|
* Removing LKET tapset files. (PR 4817: retiring LKET services)srikar2007-08-2719-7209/+0
|
* 2007-03-30 Frank Ch. Eigler <fche@redhat.com>fche2007-03-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1570 * NEWS: Document probe handler language change re. inline functions. * stapprobes.5.in: Likewise. * tapsets.cxx: Many changes to simplify caches and implement new handling of inline functions, removed of stubs for future probes. * elaborate.cxx (derived_probe printsig_nested): New function. * elaborate.h: Declare it. * main.cxx (usage): Clarify "-r" meaning. (main): Tweak related "-p 4" message. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570. * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt to .inline -> .function change. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570 * */*.stp: Adapt to .inline -> .function change. * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten pass/fail dejagnu log lines. * systemtap.syscall/sys.stp, test.tcl: Make slightly more compatible and failure more verbose.
* * applying kernel drift patchesfche2007-03-203-2/+14
| | | | | | | | | | | | | | | | | | | | 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net> * nfsd.stp (nfsd.dispatch): Change initialization of variable client_ip with a call to addr_from_rqst. * rpc.stp (addr_from_rqst): - update with changes in struct svc_rqst - __rpc_execute returns void now. struct rpc_xprt modified since kernel 2.6.19. * nfs.stp, vfs.stp: Local variables f_dentry renamed, because conflicting with a new #define in kernel header linux/fs.h in 2.6.20. 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net> * nfs.stp: Local variables f_dentry renamed, because conflicting with a new #define in kernel header linux/fs.h in 2.6.20. * rpc.stp (_addevent.sunrpc.sched.execute.return): update with __rpc_execute which returns void since kernel 2.6.21.
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-079-93/+173
| | | | | | | | | | | | | | | | | | | | | | | | | * aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp, nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp, socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences with kread wherever possible. Some places still have hazards, as marked with FIXMEs. * errno.stp (returnstr): Don't use return in tapset C functions. * aux_syscalls.stp (__uget_timex_m): Ditto. * nfsd.stp (__get_fh): Ditto. * nfs.stp, vfs.stp (<many functions>): Ditto. * string.stp (substr): Ditto. Also make sure start index is valid. * syscalls.stp (syscall.execve): Change __string to kernel_string. LKET/ * nfs.stp, nfs_proc.stp, nfsd.stp, process.stp, tskdispatch.stp: Protect pointer dereferences with kread wherever possible. Some places still have hazards, as marked with FIXMEs. * aio.stp (log_io_getevents): Don't use return in tapset C functions. * timestamp.stp (set_timing_method): Ditto. * utils.stp (filter_by_pid): Ditto.
* bugfix for 2.6.19 kernelguanglei2006-12-292-2/+19
|
* fix wrong HOOKID for _addevent.sunrpc.svc.recv.entryguanglei2006-12-232-2/+8
| | | | and _addevent.sunrpc.svc.recv.return
* bugfix of LKET rpc event register codes.guanglei2006-12-203-12/+18
|
* patch of nfs, nfs_proc, rpc tapsets for 2.6.9 kernelguanglei2006-12-113-7/+36
|
* bugfix for #3526:guanglei2006-11-194-11/+24
| | | | | | | | | runtime/lket/b2a/lket_b2a.[ch]: bugfix for #3536 lket_trace.stp: add the logging of pid, ppid process.stp: add logging of tid, ppid for lket_internal.process.execve. Change to use for_each_process() in process_snapshot() to get the info of all running processes. register_event.stp: update the registering codes of execve event.
* add addevent.process.exit.entryguanglei2006-11-175-2/+38
|
* use c global variables instead of stap global variables to avoid better ↵guanglei2006-11-158-82/+118
| | | | | | performance(unfinished). visit members in scripts for better safety check
* register_event.stp:guanglei2006-11-112-4/+10
| | | | pass integer values explicitly as 64-bit into _lket_trace() to avoid error when parse va-arg by _stp_printf
* bugfix of NFS event register codes for LKETguanglei2006-11-102-11/+4
| | | | bugfix of lket-b2a
* tapset/LKET/iosyscall.stp:guanglei2006-11-103-819/+870
| | | | | | | | | add some trace aliases tapset/LKET/register_event.stp: register sys events in embedded c codes for stap to better optimize the generated codes Update LKET man page accordingly
* add options for lket-b2a to control the output data fields of lket.out.guanglei2006-11-093-9/+24
| | | | | | | | make fork/execce trace hooks lket internally and turned on by default. add stoptrace_fork and stoptrace_execve flags for lket to control stopping fork/execve in user scripts. update lket-b2a and lket man page.
* 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
* tapset/LKET/register_event.stp: changes of variable name and checking forguanglei2006-10-232-18/+26
| | | | user registered events
* * tapset/scsi.stp:guanglei2006-10-133-114/+51
| | | | | | | | | | | | | 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
* * ioscheduler.stp:guanglei2006-10-124-104/+63
| | | | | | | | | | | 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-116-56/+63
| | | | 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-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
* 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-194-5/+1072
| | | | | | | | | | | | | | 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
* *.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
* src/lket.5.in:guanglei2006-09-128-9/+2886
| | | | | | | | | | | | | | | | | | | | | 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.
* document signal tapsets into stapprobes.5.inguanglei2006-08-301-1/+2
| | | | 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()
* syscall.stp: add "probe never" to generate reference to hookid_defs.stpguanglei2006-08-252-0/+10
| | | | to avoid compiling error
* add signal trace hooks.guanglei2006-08-225-3/+457
| | | | eliminates the global stap variable to syscall tapset for faster speed
* 2006-08-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-08-102-1/+5
| | | | | | | | | | | | * 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
* bug fix for aio event hooks to make each sub event hooks runnable separatelyguanglei2006-07-142-18/+25
|
* changes to addevent.process to generate adequate info of process relationshipsguanglei2006-07-114-9/+23
| | | | | | | | use current->parent->tgid as the parent process id for ascii tracing modified lket-b2a to be sync with the new addevent.process event hooks updated lket man pages to be sync with newly changes to addevent.process event hooks
* _lket_trace() won't log ppid and tgid any more. I use some bit-OPs toguanglei2006-06-292-5/+11
| | | | | | make _lket_trace's format string shorter for better performance. I also modified lket-b2a to be sync with _lket_trace()
* add AIO event hooks into lket.5.inguanglei2006-06-261-8/+15
|
* aio.stp: new event hooks for AIOguanglei2006-06-265-4/+362
| | | | | register_events.stp, hookid_defs.stp: changes for aio.stp. register_events.stp, process.stp: bugfix for ascii tracing
* change the return type from string to int64_t for better performance.guanglei2006-06-246-172/+435
| | | | | sub-hooks for each iosyscall. make update_record() work for ascii tracing
* More data items for scsi and ioscheduler event hooksguanglei2006-06-216-72/+74
| | | | delete filter_by_pid filter for io scheduler event hooks
* added io syscall event hooks.guanglei2006-06-154-20/+651
| | | | | | | the io syscall hook differs with syscall hook since it will provide all the available info of function parameters instead of logging only the syscall name. Useful to trace the detail behavour of io related syscalls
* Revert my former changes to lket_trace_extra() in translator.guanglei2006-06-0911-64/+339
| | | | | a new way of allowing user add arbitrary trace data. And also provide a way of letting user write the trace data format.
* make user able to append extra trace data. The way of logging backtrace is ↵guanglei2006-06-018-174/+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
* src/tapset/LKET/*.stp:guanglei2006-05-258-54/+78
| | | | | | | | | | | | 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"
* Some typos during my recent checkinsguanglei2006-05-191-1/+0
|
* Check into CVS the tracing specific tapsets used by LKET.guanglei2006-05-1811-0/+932
And some minor changes to current tapsets