| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
| |
* syscalls2.stp: Fix sys_sync.
|
| |
|
|
|
|
| |
* syscalls2.stp: Fixed the uid and gid calls.
|
| |
|
|
|
|
|
| |
a new way of allowing user add arbitrary trace data. And also provide
a way of letting user write the trace data format.
|
| |
|
|
|
|
| |
* process.stp (create, exec_complete): replace retval() with $return
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (dwflpp::express_as_string): New function.
Extracted from dwflpp::literal_stmt_for_local() so that
dwflpp::literal_stmt_for_return() could also call it.
(dwflpp::literal_stmt_for_local): Portion extracted to create
dwflpp::express_as_string().
(dwflpp::literal_stmt_for_return): New function. Adds support for
new symbolic access ("$return") to return value in .return
probes. Fixes PR 1132.
(target_variable_flavour_calculating_visitor::visit_target_symbol):
Calls dwflpp::literal_stmt_for_return() when in a return probe and
the variable name is "$return".
(dwarf_var_expanding_copy_visitor::visit_target_symbol): Ditto.
* stapfuncs.5.in: Noted that the retval() function is deprecated.
* stapprobes.5.in: Corrected the name of the return value
variable.
* tapset/return.stp: Marked the retval() function as deprecated.
* testsuite/semko/return01.stp: Added new test.
* testsuite/semko/return02.stp: Ditto.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* process.stp (exec, exec_complete): conditionally include
compat_do_execve for 64-bit kernels
* process.stp (handle_signal): use optional probes to alternate
between function or inline
|
|
|
|
|
|
|
|
| |
also changed.
lket_trace_extra() and lket_backtrace() are introduced for these two purpose.
I also modified lket.5.in for the backtrace changes
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* aux_syscalls.stp (_mountflags_str): Rewrite.
(_umountflags_str): New.
|
| |
|
|
|
|
|
|
| |
* syscalls2.stp (sys_write): Use text_strn().
* syscalls.stp (sys_lseek): Fix.
(sys_llseek): Fix.
|
|
|
|
|
| |
* string.stp (text_str): New.
(text_strn): New.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* errno.stp: Add octal option for returnstr.
* [i686,x86_64]/syscalls.stp (umask): Print args and return
in octal.
(add_key): Comment out. This syscall is added by a xen patch
and may not be present.
(tux): Ditto.
* syscalls.stp (accept): Fix arg name.
|
|
|
|
|
|
|
| |
* syscalls.stp: Add sys_fcntl and sys_listen.
* syscalls2.stp: Commented out sys_socketcall because it only calls
other system calls which are already probed.
|
|
|
|
| |
* syscall*.stp: Change "0x%p" to "%p".
|
|
|
|
|
|
|
|
|
|
|
|
| |
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"
|
|
|
|
|
|
|
| |
PR 2677
* sym.c (_stp_symbol_sprint_basic): New function that returns
just the symbol name, and doesn't bother with String.
* context.stp (probefunc): Use _stp_symbol_sprint_basic
|
|
|
|
| |
to print the address in IA64
|
|
|
|
| |
tapset/ioscheduler.stp
|
| |
|
|
|
|
| |
And some minor changes to current tapsets
|
| |
|
|
|
|
|
|
| |
* testsuite/buildok/sched_test.stp: test scheduler tapset
* examples/small_demos/sched_snoop.stp: demo scheduler tapset
* tapset/scheduler.stp: New scheduler tapset
|
|
|
|
| |
scsi.stp, tskschedule.stp
|
|
|
|
|
|
|
| |
* process.stp: Rename signal.send to signal_send and process.complete
to process_complete, to allow process.* to work properly.
* process.stp (_IS_ERR): declare parameter type
* process.stp (process.create): correct new_pid assignment
|
|
|
|
|
|
| |
The second layer is tracing specific.
I checked into CVS those generic tapsets at the first step.
|
|
|
|
| |
i386)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* conversions.stp (hexstring, string): Removed functions. Because
of parser changes, "string" is now a reserved word and cannot be a
function name. Use 'sprintf("0x%x", num)' to replace hexstring()
and either 'sprint(num)' or 'sprintf("%d", num)' to replace
string().
* syscalls.stp (syscall.accept, syscall.alarm, syscall.close,
syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir,
syscall.fdatasync, syscall.fsync, syscall.getsid) Changed
'string()' calls to 'sprint()' calls.
* syscalls2.stp (syscall.sched_get_priority_max,
syscall.sched_get_priority_min, syscall.sched_getscheduler,
syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid,
syscall.setfsuid16, syscall.setgid, syscall.setgid16,
syscall.setuid, syscall.setuid16, syscall.ssetmask,
syscall.timer_delete, syscall.timer_getoverrun): Ditto.
* i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn,
syscall.sigreturn): Ditto.
* ppc64/syscalls.stp (syscall.ppc64_personality): Ditto.
* x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask):
Ditto.
* test/ctostp.sh: Uses 'sprint()' instead of 'string()' in
generated systemtap code.
|
|
|
|
|
| |
* aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it
is complete and works on different archs.
|
|
|
|
| |
* tapset/ctime.stp: New file.
|
|
|
|
|
| |
* task.stp: functions to retrieve task information
* process.stp: tapset for process-related events
|
|
|
|
| |
* context.stp (probefunc): remove use of labels
|
|
|
|
| |
* context.stp (probefunc): define our own exit label
|
| |
|
|
|
|
|
|
|
| |
PR 2594
From Thang P Nguyen <thang.p.nguyen@intel.com>
* context.stp (probefunc): expands ability to detect the function
for different types of probes.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 2643
* testsuite/buildok/syscalls.stp: Take "-u" away again.
* configure.ac, systemtap.spec.in: Bump version to 0.5.7.
* configure: Regenerated.
2006-05-05 Frank Ch. Eigler <fche@elastic.org>
PR 2643
* syscalls.stp: Put back some dummy syscall.exit*.return probes.
|
|
|
|
|
|
|
|
|
| |
PR 2433
* tapsets.cxx (dwarf_query::blacklisted_p): Extend the list of
blacklisted .return probes to include "do_exit". Correct funcname
typo for "sys_groupexit".
* tapset/syscalls.stp: Remove .return probe aliases of never-
returning syscall.exit and syscall.exit_group calls.
|
|
|
|
| |
* context.stp, errno.stp: Note/eliminate some retval() duplication.
|
| |
|