summaryrefslogtreecommitdiffstats
path: root/tapset/task.stp
Commit message (Collapse)AuthorAgeFilesLines
* tapset/task.stp remove redundant extra @defined in task_cpu().Mark Wielaard2010-03-101-2/+2
|
* PR 11338 (partial): Used '@defined()' in task, dentry, and scsi tapsets.David Smith2010-03-091-5/+3
| | | | | | * tapset/task.stp: Used '@defined()' to remove kernel version checks. * tapset/dentry.stp: Ditto. * tapset/scsi.stp: Ditto.
* Add documentation for task.stp tapset.Mark Wielaard2010-02-151-34/+104
|
* RHBZ519314: define task_struct cast to operate without debuginfoFrank Ch. Eigler2009-10-201-7/+7
| | | | | * tapset/task.stp: Use @cast(...,"task_struct","kernel<linux/sched.h") throughout to operate dwarf-free.
* Cleanup some deref handling in the task tapsetJosh Stone2009-08-261-11/+20
| | | | | | | | | | | | | Some of this is just cosmetic, but there is one big takeaway: there's a error-goto between kread calls and the CATCH_DEREF_FAULT. You must not allow this to bypass any resource management, like unlocking a resource that you grabbed! * tapset/task.stp (pid2task): No derefs, so remove the CATCH. (task_gid, task_egid, task_uid, task_euid): Move the CATCH within the #ifdef branch that actually needs it. (task_open_file_handles, task_max_file_handles): Ensure that we always call rcu_read_unlock if we locked it!
* PR10421: Update task.stp for 2.6.31Wenji Huang2009-07-211-3/+9
| | | | * tapset/task.stp (pid2task): Use find_get_pid for 2.6.31.
* More gcc 4.5 'jump skips variable initialization' fixlets.Mark Wielaard2009-07-081-10/+20
| | | | | | | | | * 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.
* Add pid-based data lookup function.Wenji Huang2009-03-161-0/+24
| | | | Two functions pid2task and pid2execname.
* PR9871: use @cast in tapsetWenji Huang2009-03-061-33/+21
| | | | | | | | 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>
* PR9699: tapset changes for STAPCONF_TASK_UID for *uid()/*gid() callsFrank Ch. Eigler2009-01-061-0/+35
|
* Fix PR 6732: Add runtime/autoconf-real-parent.c check for task_struct field.Mark Wielaard2008-07-091-0/+4
|
* Only include fdtable.h for kernel versions > 2.6.25.Mark Wielaard2008-05-261-0/+2
|
* Include fdtable.h in task.stp for 2.6.26 and format signal.stpwenji2008-05-261-0/+1
|
* 2007-09-13 David Smith <dsmith@redhat.com>dsmith2007-09-131-8/+38
| | | | | | * task.stp (task_open_file_handles): Fixed for kernels less than version 2.6.15. (task_max_file_handles): Ditto.
* Added open_file_handles tapset function and man page for task tapsets.srikar2007-09-041-0/+34
|
* thread_info is renamed to stack since kernel 2.6.22wenji2007-08-041-1/+1
|
* Fixes for PR4836.mmason2007-07-251-1/+11
|
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-071-63/+24
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2006-05-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-101-0/+156
* task.stp: functions to retrieve task information * process.stp: tapset for process-related events