summaryrefslogtreecommitdiffstats
path: root/tapset/scsi.stp
Commit message (Collapse)AuthorAgeFilesLines
* PR 9871 (partial) fix. Removed some embedded-C in scsi.stp.David Smith2010-04-061-14/+15
| | | | | * tapset/scsi.stp: Added script function timer_pending(). Rewrote embedded-C function scsi_timer_pending() in script language.
* PR 11338 (partial): Used '@defined()' in task, dentry, and scsi tapsets.David Smith2010-03-091-7/+4
| | | | | | * tapset/task.stp: Used '@defined()' to remove kernel version checks. * tapset/dentry.stp: Ditto. * tapset/scsi.stp: Ditto.
* Guard SDEV_BLOCK and SDEV_CREATED_BLOCK in tapset/scsi.stp with #ifdef.Mark Wielaard2009-12-291-0/+4
| | | | | Older kernels didn't define these constants, which are only used in the tapset/scsi.stp describe_device_state() function.
* Updates to SCSI tapset scsi.stp and corresponding testcasesAndre Detsch2009-12-221-18/+115
|
* Tweak kernel or module resident probeWenji Huang2009-07-191-4/+4
| | | | | | * tapset/nfs_proc.stp: Change '?' notation to "!". * tapset/nfsd.stp: Ditto. * tapset/scsi.stp: Ditto.
* More gcc 4.5 'jump skips variable initialization' fixlets.Mark Wielaard2009-07-081-2/+4
| | | | | | | | | * tapset/ioblock.stp (__bio_start_sect): Declare, then initialize variables that could (through kread) take an early jump. * tapset/nfs_proc.stp (get_prot_from_client): Likewise. * tapset/scsi.stp (scsi_timer_pending): Likewise. * tapset/task.stp (task_cpu): Likewise. (task_open_file_handles): Likewise.
* Remove trailing 'g' from scsi.stp file.Mark Wielaard2009-03-171-1/+0
| | | | * tapset/scsi.stp: Remove 'g' at end of file.
* minor editsddomingo2009-03-171-2/+3
|
* further cleanup for formattingddomingo2009-03-171-4/+4
|
* fixed format of non-grabbable comments (for Tapset Reference Guide), added ↵ddomingo2009-03-161-3/+5
| | | | tapsetdescription for man page generator (in development)
* PR9932: use @cast module search pathJosh Stone2009-03-101-2/+2
| | | | | | | | | The nfs, rpc, and scsi tapsets use @cast on types that may be compiled into a kernel module or into the main kernel binary. The @cast search path separated with colons lets us search both the kernel and the module. For a couple of cases, I also merged sequential @casts that work just fine as a single cast with a multiple-level dereference.
* PR9871: use @cast in tapsetWenji Huang2009-03-061-6/+4
| | | | | | | | Rewrite some functions using type casting to get rid of embedded C code in nfs, scsi, signal, socket, rpc, task and vfs tapset. Signed-off-by: Wenji Huang <wenji.huang@oracle.com>
* Add scsi trace-doc material.William Cohen2008-11-261-3/+41
|
* Correct ioblock and scsi tapset for 2.6.28.Wenji Huang2008-10-281-0/+7
|
* update scsiwenji2008-04-161-0/+5
|
* Add /* pure */ to embedded-C functions.fche2007-09-241-2/+2
|
* 2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>fche2007-04-111-4/+9
| | | | * scsi.stp: Fix for when the scsi driver is built into the kernel.
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-071-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* tapset/scsi.stp:guanglei2006-10-161-2/+7
| | | | | | | check whether rq_disk is empty tapset/scheduler.stp revert changes
* * tapset/scsi.stp:guanglei2006-10-131-1/+5
| | | | | | | | | | | | | 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
* I break LKET into layered structure. The first layer is those generic tapsets.guanglei2006-05-181-0/+79
The second layer is tracing specific. I checked into CVS those generic tapsets at the first step.