| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
IRQF_ONESHOT was only introduced in 2.6.32. It doesn't hurt defining it
if it isn't already there. It will just never show up on older kernels.
* tapset/aux_syscalls.stp: Define IRQF_ONESHOT if not already defined.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* doc/SystemTap_Tapset_Reference/tapsets.tmpl: Add chapter on ctime.stp.
* tapset/ctime.stp: Turn documentation into proper reference markup.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using relative (non-canonical) paths for user modules one would get
a confusing WARNING: missing unwind/symbol data for module 'bin/test'.
Also unless the path started with '/' the task_finder wouldn't start.
By checking that the given file can be made absolute (canonicalized)
both issues are resolved and the user module will be correctly identified
at both translation and runtime.
* main.cxx (main): case 'd' try canonicalize_file_name() the argument
first to identify user modules.
|
| | |
|
| |
| |
| |
| |
| | |
Ensure uprobes install directory has group 'stap-server'.
Rename igid_in to in_group.
|
| | |
|
| |
| |
| |
| | |
individually.
|
| | |
|
| | |
|
| |
| |
| |
| | |
stap-start-server.
|
| | |
|
| | |
|
|/
|
|
| |
stap-server group.
|
|\ |
|
| |
| |
| |
| |
| | |
* doc/SystemTap_Tapset_Reference/tapsets.tmpl: Add conversions.stp chapter.
* tapset/conversions.stp: Add documentation for all functions.
|
| |
| |
| |
| |
| | |
* tapset/ucontext-symbols.stp (usymname): Add assert_is_myproc() and mark
as unprivileged, just like usymdata().
|
|/
|
|
| |
Delete ownership & permissions tests from modsign.cxx and stap-serverd.
|
|
|
|
| |
database.
|
|
|
|
| |
* loc2c.c (translate): Reset stack state tracking after finishing each piece.
|
|
|
|
|
| |
* configure.ac (xmlto --stringparam check): Add >&/dev/null.
* doc/*/Makefile.am (xmlto runs): Ditto.
|
|
|
|
|
| |
It references the file include/linux/if_ether.h as the one that contains
the protocol numbers and types.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since 2.6.25, kretprobes can carry a data packet to be filled in an
entry_handler. This patch lets us store our implicitly-saved $target
variables in .return probes in that data area.
* tapset/kretprobe.stp: New get/set functions for kretprobe data.
* translate.cxx (c_unparser::emit_common_header): Add context->pi_longs.
* tapsets.cxx
(dwarf_var_expanding_visitor::visit_target_symbol_saved_return): Switch
between the old and new methods of saving $vars in .return probes.
(dwarf_var_expanding_visitor::gen_mapped_saved_return): The old way.
(dwarf_var_expanding_visitor::gen_kretprobe_saved_return): The new way.
(dwarf_derived_probe::join_group): Don't register paired entry-handlers.
(dwarf_derived_probe::dwarf_derived_probe): Remember saved-var details.
(dwarf_derived_probe_group::emit_module_decls): Output saved-var details.
Also split the kretprobe handler whether we're on entry or return.
(dwarf_derived_probe_group::emit_module_init): Prepare the entry handler.
* testsuite/systemtap.base/kretprobe-vars.stp: Test implicit $var saving.
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
Update comments to clearly explain the security issues involved.
|
|
|
|
|
|
|
|
| |
messages within verify_it with the use of a 'module_name'
parameter passed in.
Add a comment in insert_module explaining why it's ok to
overwrite the 'path' parameter with the canonicalized path.
|
|\ |
|
| |
| |
| |
| | |
The line spacing is significant to the way the output is rendered.
|
| |
| |
| |
| | |
(And incidentally re-enable quiet builds at the same time...)
|
| | |
|
|\| |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
dwarf_cfi_addrframe should not be called with pc adjusted to the bias
of the dwfl_module_dwarf_cfi or dwfl_module_eh_cfi. This just happened to
work in the .eh_frame case because bias was always zero.
* dwflpp.cxx (get_cfa_ops): Don't adjust pc for bias.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Normally, using a $var in a return probe create a matching entry probe
to save the value. We don't want all this machinery though when we're
just checking the accessibility of a $var for -L mode.
* tapsets.cxx (dwarf_derived_probe::saveargs): Save/restore has_return
while the $var accesses are attempted.
|
| |
| |
| |
| | |
atomic_cmpxchg
|
| |
| |
| |
| | |
* tapsets.cxx (dwarf_derived_probe::saveargs): fill fields.
|
|/
|
|
|
|
|
|
|
|
|
| |
This allows insert_module to to be used for loading the signed uprobes.ko
module.
Allow the use of $$parms and $$return in uprobes based probes for
unprivileged users.
Re-add management of module signatures in the cache. Don't know why
it was removed.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
* elaborate.h: Remove printargs and add getargs.
* tapset-mark.cxx (mark_derived_probe): Ditto.
* tapsets.cxx (dwarf_derived_probe,tracepoint_derived_probe): Ditto.
* main.cxx (printscript): Make intersection before printing.
|
| |
| |
| |
| | |
privileges.
|
|/
|
|
| |
Create home directory manually for stap-server.
|