| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
stapfuncs.5.in.
|
|
|
|
|
|
|
| |
{s|u}64_arg(), etc. Added asmlinkage(), fastcall(), regparm().
Dealt with some surprises -- e.g., rax is ZERO-extended eax.
Seems to work well with -m32 and -m64 user apps, and with a (small)
dwarfless subset of syscall.stp.
|
|
|
|
|
| |
Still missing: arg64(), _stp_copy_from_user stack, .linkage clause,
tests, docs.
|
|
|
|
| |
Shows what we currently can and can't do.
|
|
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx: Major rework of dwflpp, dwarf_query, and related
code to make do with elf info if dwarf info is absent, or
(in the case of vmlinux) make do with a System.map-style
symbol table if even the elf file is absent.
* main.cxx: Use getopt_long instead of getopt. Added --kelf,
--kmap, --ignore-vmlinux, and --ignore-dwarf.
* hash.cxx, session.h, stap.1.in: Added --kelf, --kmap,
--ignore-vmlinux, and --ignore-dwarf.
|
|\
| |
| |
| |
| |
| | |
Conflicts:
runtime/ChangeLog
|
| |
| |
| |
| |
| | |
PR 5961 (partial)
* task_finder.c: New file.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR 6028
* translate.cxx (c_unparser::emit_common_header): Add unwaddr for
caching unwound address.
* tapsets.cxx (common_probe_entryfn_prologue): Clear unwaddr.
* loc2c-runtime.h (fetch_register): Call ia64_fetch_register with
the address of c->unwaddr.
* regs-ia64.c (ia64_fetch_register): Don't unwind stack if it has
already unwound stack in same probe.
|
|/
|
|
|
|
| |
PR 5528
* systemtap.stress/conversions.exp: Update a script to catch up
recently changes of conversions.stp.
|
| |
|
| |
|
|
|
|
| |
This reverts commit 98ef63414e06ac378ffe698793e3f2514dc5ce82.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 'master' of ssh://sources.redhat.com/git/systemtap:
2008-03-27 Frank Ch. Eigler <fche@elastic.org>
2008-03-27 Frank Ch. Eigler <fche@elastic.org>
2008-03-26 Frank Ch. Eigler <fche@elastic.org>
Revert "dummy commit"
dummy commit
Conflicts:
ChangeLog
testsuite/ChangeLog
|
| |
| |
| |
| | |
* tapsets.cxx (common_probe_entryfn_prologue): Clear last_stmt.
|
| |
| |
| |
| | |
* systemtap.base/cmd_parse.exp: Don't assume $SHELL=bash.
|
| |
| |
| |
| |
| | |
* translate.cxx (emit_function): Set context last_stmt, in case
an error occurs during the function.
|
| |
| |
| |
| | |
This reverts commit 143096c4025d30e15c0f100b85c0d2e7211bb84b.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
2008-03-25 Frank Ch. Eigler <fche@elastic.org>
* stap.1.in: Clarify utility of epilogue type probe aliases.
* langref.tex: Clarify utility of epilogue-type probe aliases.
|
|
|
|
|
| |
* lib/stap_run.exp (stap_run): Ignore missing debuginfo warnings.
Try harder to kill stap child in case of timeouts and errors.
|
|
|
|
|
|
| |
PR 5980.
* lib/systemtap.exp: Set default Snapshot: value from "stap -V"
output.
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 5528
* tapset/conversions.stp (user_string_n, user_string_n2,
user_string_n_warn, user_string_n_quoted, user_short, user_short_warn,
user_int, user_int_warn, user_long, user_long_warn, user_char,
user_char_warn): New user_* functions.
* stapfuncs.5.in: Documented the new functions.
* testsuite/systemtap.stress/conversions.stp: Test new functions.
* testsuite/buildok/conversions.stp: Test new functions.
* testsuite/buildok/conversions-embedded.stp: Test new functions.
|
| |
|
|
|
|
|
|
|
|
| |
PR 5956.
* null.stp: New file, defining global NULL=0.
PR 5956.
* semko/fortyfive.stp: New test.
|
| |
|
|
|
|
|
|
| |
PR 5975.
* tapsets.cxx (*): Added a few (void) expressions for asserts that
may be compiled out.
|
|
|
|
|
|
| |
PR 5947
* autoconf-tsc-khz.c: Remove "&& defined(__i386__)" to make the test
more pessimistic.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3542
* buildrun.cxx (compile_pass): Add an autoconf to check the kernel
supports batch unregistration.
* tapsets.cxx (dwarf_derived_probe_group::emit_module_decls): Add an
array of probe pointers for batch unregistration.
* tapsets.cxx (dwarf_derived_probe_group::emit_module_exit): Use
unregister_k(ret)probes if it is supported.
* runtime/autoconf-unregister-kprobes.c : New file.
|
|
|
|
|
|
| |
PR 5928.
* buildrun.cxx (compile_pass): Use EXTRA_CFLAGS for autoconf'd values
instead of CFLAGS_<module>.o.
|
|
|
|
|
|
|
| |
2008-03-12 Frank Ch. Eigler <fche@elastic.org>
* configure.ac, systemtap.spec.in: Bumped version to 0.6.2.
* configure: Regenerated.
|
|
|
|
|
|
| |
PR5897
* staptree.cxx (probe::printsig): If this probe was derived from an alias,
call the printsig method of the alias.
|
|
|
|
| |
* syscalls2.stp (syscall.wait{4|id}): Correct for 2.6.24.n kernels.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR5189
* translate.cxx (probe_or_function_needs_deref_fault_handler): New member of
c_unparser.
(c_unparser::emit_function): Initialize probe_or_function_needs_deref_fault_handler.
Check it after the body is visited and generate a deref fault handler if necessary.
(c_unparser::emit_probe): Likewise.
(c_unparser::visit_print_format): Correct the compoenent type for an overridden string
literal. Generate code to check that pointer arguments to %m can be dereferenced.
Generate casts for printf arguments as necessary.
* elaborate.cxx (typeresolution_info::visit_print_format): Desired type for conv_memory
is pe_long.
|
|
|
|
|
|
| |
PR5189
* systemtap.printf/memory1.{stp,exp}: Rewrite to reflect new %m safety checks.
* systemtap.stress/conversions.exp: Add a test for invalid argument to %m.
|
|
|
|
|
|
|
|
| |
PR5189
* vsprintf.c (_stp_vsnprintf): Arguments for dynamic width and precision
are of type 'int' again.
* loc2c-runtime.h (deref_string): Copy the data only if dst is not NULL.
(deref_buffer): New macro.
|
|
|
|
| |
* wait4time.stp: Change reference of $pid to local variable pid.
|
|
|
|
|
| |
* Makefile.am (AM_CXXFLAGS, AM_CFLAGS): Remove -Werror.
* Makefile.in, doc/Makefile.in: Regenerated.
|
| |
|
|
|
|
|
| |
PR5422
* systemtap.samples/examples.exp: Updated.
|
|
|
|
|
|
| |
PR5422
* iostat-scsi.stp: Updated to handle kernel versions > 2.6.24.
* iostat-scsi.txt: Updated.
|
|
|
|
| |
* tutorial.tex: Made minor changes to remove warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-03 Frank Ch. Eigler <fche@elastic.org>
PR5516
* elaborate.cxx (symbol_fetcher, dead_assignment_remover):
Support unresolved $target lvalues. Propagate pretty error
messages.
* staptree.cxx (varuse_collecting_visitor target_symbol): Ditto.
* staptree.h: Corresponding decl.
* loc2c.c: c_translate_pointer_store: New function.
* loc2c.h: Corresponding decl.
* tapsets.cxx (dwflpp::translate_final_fetch_or_store): Call it
for $target pointer assignments.
2008-03-03 Frank Ch. Eigler <fche@elastic.org>
PR5516
* buildok/twentynine.stp: New test.
|
|
|
|
|
|
|
|
| |
2008-03-03 Frank Ch. Eigler <fche@elastic.org>
From Masami Hiramatsu <mhiramat@redhat.com>
* Makefile.am (EXTRA_DIST): Add nomencl.sty.
* Makefile.in: Hand-regenerated.
|
|
|
|
| |
* main.cxx (handle_interrupts): Make compatible with GCC 4.3.
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-28 Frank Ch. Eigler <fche@elastic.org>
PR5045
* session.h (pending_interrupts): New global.
* main.cxx (handle_interrupts): New fn to handle SIGINT* etc.
* elaborate.cxx, translate.cxx, tapsets.cxx, main.cxx (*): Insert
pending_interrupts escape hatches inside potentially timetaking loops.
* buildrun.cxx: Don't deal with signals.
|
|
|
|
|
| |
PR433780
* errno.stp (returnstr): Handle unified i386/x86_64 reg names.
|