| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Still needs a .meta file to catch any breakage in the future.
* testsuite/systemtap.examples/profiling/latencytap.stp
(task_backtrace): Cast task to unsigned long first.
|
|
|
|
|
| |
Commit 462c90c3 did this for user modules, but it's needed for kernel
modules too.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The module field in @cast can now also be "kmod<path/to/header.h>" or
"umod<path/to/header.h>" to generate a kernel or user module which
includes the specified header. The appropriate compiler flags are used
to save all possible type debuginfo from the header.
|
| |
| |
| |
| |
| |
| | |
If a @cast encounters a module that it can't load, it should just go on
to the next module instead of throwing an exception. If there is no
next module, we'll get a better "type not found" exception anyway.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
arch_predict_sp_at_ret() for x86_32 now accommodates ret $4.
Added bz10078 regression test.
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* translate.cxx (c_unparser::visit_print_format): Always use
_stp_printf if a format string contains "%%". Previously a format
string with no arguments would always be printed with _stp_print.
* testsuite/systemtap.printf/basic6.stp: New test for %% in format
strings.
* testsuite/systemtap.printf/basic6.exp: test driver
* testsuite/systemtap.examples/grapher.stp: Remove workaround for
"%%" literal problem.
|
| | | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* configure.ac (GRAPHER): Configuration prefix for variables defined by
PKG_CHECK_MODULES macro.
(BUILD_GRAPHER): New conditional variable
(enable-grapher): New option
(AC_CONFIG_FILES): Add grapher/Makefile
* Makefile.am (SUBDIRS): Add grapher
* grapher/Makefile.am: New file
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
Saves 250ms in the unlikely case there are no modules needed.
* translate.cxx (emit_symbol_data_done): New function.
(emit_symbol_data): Call emit_symbol_data_done immediately when no
module data is needed.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Kernel modules will actually build just fine with none of the module
boilerplate code. We don't care about ever actually loading the
tracequery module that we make, so don't bother emitting code we don't
need.
|
| |\ \ |
|
| | | | |
|
| | | | |
|
| |/ / |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2009-04-20 David Smith <dsmith@redhat.com>
* runtime/syscall.h (syscall_get_nr): Uses upstream version of
syscall_get_nr() for ia64.
(syscall_get_arguments): Ditto.
(in_syscall): New ia64-only function from upstream.
(syscall_get_set_args_cb): Ditto.
(ia64_syscall_get_set_arguments): Ditto.
* runtime/task_finder.c (stap_register_task_finder_target):
Removed ia64 register cache.
|
| |
| |
| |
| |
| |
| |
| |
| | |
2009-04-17 David Smith <dsmith@redhat.com>
* systemtap.base/utrace_syscall_args.c: New test file.
* systemtap.base/utrace_syscall_args.exp: New test file.
* systemtap.base/utrace_syscall_args.stp: New test file.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
* dtrace: Output probe calling sequence comment
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Define TRACE_HEADER_MULTI_READ to allow re-pulling headers that were
already included indirectly elsewhere.
- Some tracepoint headers were moved down to include/trace/events/,
so add that to our glob paths.
- Add ftrace.h as a header that we should never include.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The kernel-tip tree also has a MAX_STACK_DEPTH defined in
perf_counter.h, so we need to separate our definition. I've changed the
definition in our unwinder to STP_MAX_STACK_DEPTH.
|
| | |
| | |
| | |
| | | |
* dtrace: No argument case is DTRACE_PROBE/STAP_PROBE.
|
| | |
| | |
| | |
| | | |
* dtrace: Simplify the macro generator.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
2009-04-17 David Smith <dsmith@redhat.com>
* tapset/utrace.stp: Cast the return value of
syscall_get_return_value() to an unsigned long to avoid sign
extension.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2009-04-16 David Smith <dsmith@redhat.com>
* syscall.h (syscall_get_arguments): Fixed sign extension for
32-bit processes on ppc64.
(__ia64_syscall_get_arguments): Calls ia64_fetch_register()
to handle NULL values. Corrected register numbers.
|
| |
| |
| |
| | |
* tapsets.cxx (dwflpp::iterate_over_labels): Fix indentation.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* tapsets.cxx (dwflpp::iterate_over_labels): Renamed from
iterate_over_cu_labels, method signature simplified.
(query_srcfile_label): New.
(query_cu): Use above.
* labels.exp: New tests for above.
|
| |
| |
| |
| |
| | |
For uprobes 1 and 2, add unmap_u[ret]probe() and define UPROBES_API_VERSION=2.
Adapt tapsets.cxx accordingly.
|
|\ \ |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
* runtime/runtime.h: STP_USE_DWARF_UNWINDER don't redefine.
|
| | | |
| | | |
| | | |
| | | | |
* runtime/runtime.h: Move up and enable check for STP_USE_DWARF_UNWINDER.
|
| | | |
| | | |
| | | |
| | | | |
* runtime/unwind.c (unwind): Pass current to _stp_mod_sec_lookup().
|
| |\ \ \
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* runtime/sym.c (_stp_mod_sec_lookup): Use section size to match addr.
Only return exact matches, not just closes offset.
|
| | | |
| | | |
| | | |
| | | | |
* runtime/sym.c (_stp_mod_sec_lookup): Only set sec when not NULL.
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* runtime/sym.h (_stp_section): Add size field.
* translate.cxx (dump_unwindsyms): Get start of module address space,
turn seclist into vector of secname, size pairs, track relocation section
size, or add module address range if no sections, output size in
_stp_section list.
|
| | |
| | |
| | |
| | | |
and regenerated index files.
|