| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
* systemtap.spec.in: Require elfutils-0.121.
|
|
|
|
|
|
|
| |
the io syscall hook differs with syscall hook since it will
provide all the available info of function parameters instead
of logging only the syscall name. Useful to trace the detail
behavour of io related syscalls
|
| |
|
| |
|
|
|
|
|
| |
* README: Add kernel.org blurb based on text from
Chuck Ebbert <76306.1226@compuserve.com>.
|
| |
|
| |
|
|
|
|
|
| |
* librelay.c (start_cmd): Rewrite using sigwait() to eliminate
a race.
|
|
|
|
|
| |
* transport.c (_stp_transport_close): Destroy workqueue when
done.
|
| |
|
| |
|
| |
|
|
|
|
| |
* syscalls2.stp: Fix sys_sync.
|
|
|
|
|
|
| |
* transport.c: Using the default workqueue was causing problems
because of the long delays on probe_exit(). Created a new
systemtap work queue and used that instead.
|
| |
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
* procfs.c (_stp_write): Always use spin_lock_irqsave() because
this function can sometimes be called with interrupts enabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
PR 2645 cont'd.
* elaborate.cxx (derive_probes): Pass down optional flag
from alias reference to expansion.
* testsuite/semok/twentytwo.stp: Test passing-down.
* stapprobes.5.in: Specify passing-down property of optional flag.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 2645 cont'd.
* elaborate.cxx (find_and_build): Support optional wildcards too.
(derive_probes): Change last argument to indicate optionalness of
parent probe point (alias reference).
(alias_expansion_builder): Shrink epilogue-mode alias body copying.
Pass along alias reference optionality.
* elaborate.h: Corresponding changes.
* testsuite/semko/thirtyfive.stp, semok/twentytwo.stp: New tests.
|
|
|
|
|
| |
* testsuite/buildok/process_test.stp: add signal_handle test
* examples/small_demos/proc_snoop.stp: log signal_handle
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 2645.
* stapprobes.5.in: Document "?" probe point suffix.
* parse.cxx (parse_probe_point): Recognize "?" optional suffix.
* elaborate.cxx (derive_probes): Observe probe_point->optional.
* staptree.h, staptree.cxx: Corresponding changes.
* tapsets.cxx (never_derived_probe, never_builder): New classes.
(register_standard_tapsets): Support "never" probe point.
* testsuite/buildok/six.stp, parseok/five.stp: Modifed tests.
* translate.cxx (emit_module_init): Format "-t" (benchmarking)
cycle-time reports similarly to "-v" (verbose) times.
|
|
|
|
| |
* .cvsignore: Added more files to ignore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* main.cxx (usage): Added exitcode parameter.
(main): Improved a few error messages. Also, when an error is
given, stap now always exits with a status of 1.
* testsuite/buildok/cmdline01.stp: New test.
* testsuite/parseko/cmdline01.stp: Ditto.
* testsuite/parseko/cmdline02.stp: Ditto.
* testsuite/parseko/cmdline03.stp: Ditto.
* testsuite/parseko/cmdline04.stp: Ditto.
* testsuite/parseko/cmdline05.stp: Ditto.
* testsuite/parseko/cmdline06.stp: Ditto.
* testsuite/parseok/cmdline01.stp: Ditto.
* testsuite/parseok/cmdline02.stp: Ditto.
|
| |
|
|
|
|
|
|
|
| |
* tapsets.cxx (hrtimer_derived_probe::emit_interval): update
API usage of hrtimers in preparation of getting exports from
the kernel.
(hrtimer_derived_probe::emit_probe_entries): ditto
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* string.c (_stp_text_str): New function.
* string.h (_stp_text_str): Declare.
|
| |
|
|
|
|
|
|
| |
and gives a warning
deleted runtime/lket/b2a/Makefile since it should be generated by configure
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (build_blacklist): build the sets of blacklisted
functions and function returns. Manually added many __kprobes
functions that should not be probed.
(dwarf_query::dwarf_query): Call build_blacklist.
(dwarf_query::blacklisted_p): Use blacklist sets.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|