| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
| |
Align probe points in probe aliases to equal sign using spaces as it's
already done in nd_syscalls.stp.
Signed-off-by: Josh Stone <jistone@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rules:
- Specify probe points for aliases starting from the alias declaration
line and with one probe point per line.
- Use K&R indent style -- probe alias/point/function opening brace goes
to the line following the declaration, other opening braces are kept
on the same line as the control statements.
- Indent using tabs.
- Surround operators with spaces.
- Put spaces after commas.
- Avoid trailing whitespaces.
Signed-off-by: Josh Stone <jistone@redhat.com>
|
|
|
|
|
|
|
| |
Rename variables accordingly to argument names used in man pages in
syscall.(faccess|fchmod|fchown|link|mknod)at probe points.
Signed-off-by: Josh Stone <jistone@redhat.com>
|
|
|
|
| |
Fix: Enhance -x option checking to only accept valid pid
|
|
|
|
| |
Fix: Enhance -s option checking to only accept valid size number
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Replace in-scope variables references with *_arg functions. Use 'kprobe'
family of probes instead of 'kernel' family for dwarfless probing. Also
fix a few typos and unify formatting.
Signed-off-by: Josh Stone <jistone@redhat.com>
|
|
|
|
| |
* runtime/itrace.c: To avoid ia64 lockups, disable itrace on ia64.
|
|
|
|
|
|
|
|
| |
* runtime/itrace.c (usr_itrace_report_signal): Add a workaround for
ppc-specific problem.
* testsuite/systemtap.base/itrace.exp: Improved tests. Improved test
completeness. Will also no longer give fails for systems that don't
support single or block step (will give xfails instead).
|
|
|
|
| |
* tapset/syscalls.stp: Rename abs_timout_uaddr to abs_timeout_uaddr.
|
|\ |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
This helps make it more obvious which methods are accessed by external
classes, which should help in refactoring.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The method query_cu_containing_global_address was only called by
query_cu_containing_module_address, and the latter was just doing a
simple argument transform. They are now merged into a single method,
query_cu_containing_address. The function module_address_to_global is
also merged here at its only call site.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These three methods had no callers, and are thus obsolete:
dwflpp::focus_on_module_containing_global_address(Dwarf_Addr a)
dwflpp::global_address_to_module(Dwarf_Addr a)
dwflpp::cu_name_matches(string pattern)
|
| | |
| | |
| | |
| | |
| | | |
It's not a terribly clean split, but moving it helps reveals some of the
knots that need to be untangled.
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
* runtime/unwind.c (_stp_enc_hi_name): Include prefix for hi == 0.
(_stp_enc_lo_name): Don't include prefix.
(_stp_eh_enc_name): Always include hi_name.
(unwind): Always include newline in dbug_unwind() calls.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Works around a make installcheck issue that resulted in skipped.exp failing
because of "ERROR: can't set "cpus": variable is array"
* testsuite/systemtap.base/skipped.exp: Renamed cpus variable to nr_cpus.
|
| |
| |
| |
| |
| |
| |
| |
| | |
In an make installcheck run this is the first script that goes through
the full kernel debuginfo which might take a bit.
* testsuite/systemtap.base/alternatives.exp: Set timeout to 60, verbose
log EOF or TIMEOUT when they occur.
|
| |
| |
| |
| | |
Reported-by: K.Prasad <prasad@linux.vnet.ibm.com>
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
We know the full type of every tracepoint argument, so for those that
are pointers, print $$vars/$$parms using "%p". The integer-type
arguments continue to use the generic "%#x".
|
| |
| |
| |
| |
| |
| | |
* includes/sys/sdt.h (STAP_PROBE_DATA_): Mark .probes section SHF_ALLOC.
* tapsets.cxx (dwarf_builder::build): Search in either dwarf or main elf
file for .probes section.
|
| |
| |
| |
| | |
This reverts commit 845a65342cda663e665847087d969ee9554a88f1.
|
| | |
|
| | |
|
| |
| |
| |
| | |
* tapset/aux_syscalls.stp: Don't indent #include <linux/utime.h>.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* testsuite/parseko/cmdline17.stp:
command line check - bad combination with -D and -L
* testsuite/parseko/cmdline18.stp:
command line check - bad combination with -D and -d
* testsuite/parseko/cmdline19.stp:
command line check - bad combination with -D and -c
* testsuite/parseko/cmdline20.stp:
command line check - need output file with -D
* testsuite/parseko/cmdline21.stp:
command line check - need output file with -S
* testsuite/systemtap.base/flightrec3.exp:
New test case for file switching with bulk mode
* testsuite/systemtap.base/flightrec3.stp:
Test script for file switching per cpu
|
| | |
|
| |
| |
| |
| |
| | |
* tapset/context-unwind.stp (caller): Implement as stap function using
symname(), caller_addr() and sprintf().
|
|/
|
|
|
| |
* testsuite/buildok/tcp_test.stp (tcp.sendmsg): Use sock for testing.
(tcp.recvmsg): Likewise.
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
* tapsets.cxx (dwarf_builder::build): Add some comments, verbose log
messages and get Elf through dwarf_getelf if it exists before searching
for .probes section.
|
|
|
|
|
|
| |
We have the saved_conversion_error field, but I wasn't using it. Now
@cast errors are saved in that field, so they're only seen if the
optimizer doesn't remove the @cast.
|
|
|
|
|
|
|
| |
Since translate_components is the one that knows the details of its
failures, it makes more sense to let it throw its own errors, instead of
relying on each caller to do it. The function now always either returns
successfully or throws an error.
|