summaryrefslogtreecommitdiffstats
path: root/tapset/LKET/process.stp
Commit message (Collapse)AuthorAgeFilesLines
* Removing LKET tapset files. (PR 4817: retiring LKET services)srikar2007-08-271-126/+0
|
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-071-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 #3526:guanglei2006-11-191-4/+4
| | | | | | | | | 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-171-0/+23
|
* use c global variables instead of stap global variables to avoid better ↵guanglei2006-11-151-6/+6
| | | | | | performance(unfinished). visit members in scripts for better safety check
* add options for lket-b2a to control the output data fields of lket.out.guanglei2006-11-091-9/+16
| | | | | | | | 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.
* bugfix of LKET/tapsets for pointer conversion on 32-bit platformguanglei2006-10-111-1/+1
| | | | make sys_request_key optional on i386
* register_event.stp, process.stp, lket_trace.stp:guanglei2006-09-231-2/+2
| | | | 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-191-2/+4
| | | | | | | | | 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.
* *.stp:guanglei2006-09-151-7/+3
| | | | | | | | 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
* changes to addevent.process to generate adequate info of process relationshipsguanglei2006-07-111-5/+11
| | | | | | | | 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
* aio.stp: new event hooks for AIOguanglei2006-06-261-1/+2
| | | | | register_events.stp, hookid_defs.stp: changes for aio.stp. register_events.stp, process.stp: bugfix for ascii tracing
* Revert my former changes to lket_trace_extra() in translator.guanglei2006-06-091-4/+20
| | | | | 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-011-1/+2
| | | | | | | | 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-251-2/+2
| | | | | | | | | | | | 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"
* Check into CVS the tracing specific tapsets used by LKET.guanglei2006-05-181-0/+68
And some minor changes to current tapsets