| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
syscall.mmap2.return.
|
|
|
|
| |
* conversions.stp (*): Make errmsg usage uniform.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test suites for all of 'em too
* even documentation
* mm, donuts
2007-02-06 Frank Ch. Eigler <fche@elastic.org>
* stapfuncs.5.in: Add docs for kernel_{long,int,short,char} and
some user_string* variants.
2007-02-06 Frank Ch. Eigler <fche@elastic.org>
* conversions.stp (kernel_long/int/short/char): New functions.
2007-02-06 Frank Ch. Eigler <fche@elastic.org>
* buildok/conversions.stp: Build-test all conversions.stp functions.
* systemtap.stress/conversions.*: New test.
|
|
|
|
|
|
|
|
| |
* context.stp (print_backtrace): Modify for new
_stp_stack_print.
(backtrace): Just use _stp_stack_snprint().
(print_stack): Use new _stp_print* functions.
(probefunc): Use _stp_symbol_snprint.
|
|
|
|
| |
* vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.
|
| |
|
| |
|
|
|
|
| |
* syscalls2.stp: Add sys32_ustat probe.
|
| |
|
| |
|
| |
|
|
|
|
| |
int instead of long long int.
|
|
|
|
| |
availableon s390. This is needed to make probe syscall.* work.
|
| |
|
|
|
|
|
| |
* syscalls.stp: Add syscall.creat.
* syscalls2.stp: Add compat_sys_open.
|
| |
|
|
|
|
| |
syscall.* failures on some kernels.
|
| |
|
|
|
|
| |
and _addevent.sunrpc.svc.recv.return
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3079
* loc2c-runtime.h (deref, store_deref): Fork x86 and x86-64
variants. Remove dysfunctional 64-bit ops from x86.
2006-12-18 Frank Ch. Eigler <fche@elastic.org>
* vfs.stp (ppos_pos): Protect contents with deref(), though
this blocks operation on i686 due to bug #3079.
|
| |
|
|
|
|
| |
of $prev_p->pid.
|
| |
|
| |
|
|
|
|
| |
* context.stp (caller_addr): Declare return type.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
performance(unfinished).
visit members in scripts for better safety check
|
|
|
|
| |
pass integer values explicitly as 64-bit into _lket_trace() to avoid error when parse va-arg by _stp_printf
|
|
|
|
| |
bugfix of lket-b2a
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
make do_mmap2, copy_cow_page and signal.handle.return optional since they are obsolete
or failed to probe on 2.6.18.1/ppc64
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Install tapset/README too.
* Makefile.in: Regenerated.
2006-11-02 Frank Ch. Eigler <fche@elastic.org>
* README: Add a blurb against running these scripts directly.
|
|
|
|
| |
modify tapsets/LKET/register_events to change the event_desc strings
|
|
|
|
|
| |
* context.stp: Added proper handling of statement
* probe in probefunc() for IA64 (bz# 3423)
|
|
|
|
| |
user registered events
|
|
|
|
|
|
|
| |
check whether rq_disk is empty
tapset/scheduler.stp
revert changes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
skip __switch_to on x86_64
|
|
|
|
|
|
|
|
|
|
|
|
| |
* context.stp (print_backtrace): Pass in new
kretprobe instance arg.
(backtrace): Ditto.
(is_return): Rewrite.
(stack_size): New.
(stack_used): New.
(stack_unused): New.
(called_addr): New.
(caller): New.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
make sys_request_key optional on i386
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* context.stp (probefunc): Return empty string for
userspace (< PAGE_OFFSET) pointers.
|
|
|
|
| |
* test/run.sh: Changed 'stpd' references to 'staprun'.
|
|
|
|
| |
* tskdispatch.stp: Changed 'stpd' reference to 'staprun'.
|