summaryrefslogtreecommitdiffstats
path: root/tapset/ioblock.stp
Commit message (Collapse)AuthorAgeFilesLines
* PR 9871 (partial) fix. Removed embedded-C in ioblock.stp and ipmib.stp.David Smith2010-04-071-13/+6
| | | | | | | | | | | | | | | | | | | | * tapset/ioblock.stp(__bio_start_sect): Converted from embedded-C to script language. * tapset/ipmib.stp: Replaced all _tcphdr_get_dport()/_tcphdr_get_sport() calls with _tcp_skb_dport()/_tcp_skb_sport() calls. Removed embedded-C functions _tcphdr_get_dport()/_tcphdr_get_sport(). (ipmib.OutRequests): Fixed for RHEL4. (_trn_unspec): New function. (_input_route_type): Originally called __input_route_type_old()/__input_route_type_new(), which were embedded-C functions. Now just does everything in script language. (__input_route_type_old): Deleted. (__input_route_type_new): Ditto. (_output_route_type): Originally called __output_route_type_old()/__output_route_type_new(), which were embedded-C functions. Now just does everything in script language. (__output_route_type_old): Deleted. (__output_route_type_new): Ditto.
* PR 9871 (partial) fix. Removed some embedded-C in ioblock.stp/vfs.stp.David Smith2010-03-301-12/+3
| | | | | | | | | * tapset/dev.stp: Added a bdevname() script function. * tapset/ioblock.stp: Rewrote the embedded-C devname function to just use bdevname() script function. * tapset/vfs.stp: Removed embedded-C __bdevname() C function. Calls bdevname() script function instead. * tapset/string.stp: Added isdigit() function.
* Fixed tapset reference manual generation.David Smith2009-11-231-1/+1
| | | | | | | * doc/SystemTap_Tapset_Reference/Makefile.am: Check for file existence before doing compare. * doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated. * tapset/ioblock.stp: Fixed comment so that docs can be built.
* Correct block IO and IO scheduler tapset and test caseWenji Huang2009-11-231-8/+1
| | | | | | * tapset/ioblock.stp: Update comment and variables. * testsuite/buildok/ioblock_test.stp: Add parameters. * testsuite/buildok/ioscheduler.stp: Remove redundant parameters.
* Added tracepoint-based probes to block IO and IO scheduler tapsets.Prerna Saxena2009-11-221-47/+174
| | | | | Added testcases for these probes. Also, modified comments in ioblock.stp so that tapset docmentation can be automatically generated for this tapset.
* More gcc 4.5 'jump skips variable initialization' fixlets.Mark Wielaard2009-07-081-3/+6
| | | | | | | | | * 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.
* Correct ioblock and scsi tapset for 2.6.28.Wenji Huang2008-10-281-0/+4
|
* In ioblock.stp ioblock.end set bytes_done depending on kernel version.Mark Wielaard2008-05-081-1/+1
|
* Add /* pure */ to embedded-C functions.fche2007-09-241-10/+6
|
* 2007-08-20 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-08-201-6/+11
| | | | | | | * ioblock.stp: Fix __bio_ino() not to access i_ino if the page is not assigned to any inode. * stack-x86_64.c: Fix backtrace to use the value of stack register instead of its address.
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-071-76/+30
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fix for ioblocktest.exp test (PR 3867)mmason2007-01-131-2/+2
|
* 2006-08-15 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-08-161-15/+55
| | | | | * ioblock.stp: Added safety checks for __bio_ino() and __bio_start_sect().
* 2006-08-09 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-08-101-49/+157
| | | | | * ioblock.stp: Merged io.stp from Tom Zanussi (IBM) into existing ioblock.stp. Removed/Renamed duplicate variables and probes.
* Fix for bug #2934trz2006-07-171-2/+3
|
* *** empty log message ***tpnguyen2006-06-081-0/+77