| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The overlapping process.* tapsets are now separated. Those probe points
documented in stapprobes(3stap) remain the same. Those that were formerly
in stapprobes.process(3stap) have been renamed to kprocess, to reflect
their kernel perspective on processes.
|
|
|
|
|
| |
* tapset/context.stp (uaddr): New sfunction.
* testsuite/buildok/uaddr.stp: New test.
|
|
|
|
|
|
|
|
|
| |
* tapset/context-symbols.stp (syname, symdata): Pass NULL for kernel address.
* tapset/ucontext-symbols.stp: New file defining usymname and usymdata.
* testsuite/systemtap.context/usymbols.exp: Use usymname, remove
STP_NEED_VMA_TRACKER hack.
* testsuite/buildok/usymdata.stp: New test.
* testsuite/buildok/usymname.stp: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a couple of the suggested context/stack revamp functions
from PR6580. In particular it replaces the symbolname() function that
sneaked in with the pr6866 branch merge with the suggested symname().
* runtime/sym.c (_stp_mod_sec_lookup): Make section optional.
(_stp_symbol_snprint): Provide a way to get optional module info.
* tapset/context-symbols.stp: Replace symbolname() with symname(),
add modname() and symdata().
(probemod): Implement pc based fallback.
* tapset/context-unwind.stp (caller): Adjust for _stp_symbol_snprint
change.
* testsuite/systemtap.context/usymbols.exp: Use new symname.
* testsuite/buildok/modname.stp: New test.
* testsuite/buildok/symdata.stp: Likewise.
* testsuite/buildok/symname.stp: Likewise.
|
| |
|
|
|
|
|
|
|
|
| |
* runtime/map-gen.c, pmap-gen.c: Hand-expand arity 6..9 cases throughout.
* testsuite/buildok/thirty.stp: New test.
* testsuite/buildko/two.stp: New test.
An Alan Smithee patch.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
$data
* translate.cxx (dump_unwindsyms): Also emit STT_OBJECT symbols,
therefore .data etc. sections into stap-symbols.h.
* tapsets.cxx (iterate_over_modules): Omit a dwfl_getmodules()
RC-checking assertion that blocked meaningful $context var
error messages.
(dwflpp::emit_address): Bypass dwfl_module_relocate_address()
for kernel symbols as it has been unreliable; subtract sess.sym_stext
manually.
* testsuite/buildok/seventeen.stp: Extend test with module $global.
|
|
|
|
| |
Two functions pid2task and pid2execname.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-28 David Smith <dsmith@redhat.com>
PR6972
* vfs.stp (generic.fop.aio_read): Works under 2.6.18 kernels, such
as RHEL5.
(generic.fop.aio_read.return): Ditto.
(vfs.__set_page_dirty_buffers): Fixed small bug.
(_vfs.block_write_begin): Only use for kernels >= 2.6.24.
(_vfs.block_write_begin.return): Ditto.
(_vfs.block_write_end): Ditto.
(_vfs.block_write_end.return): Ditto.
2008-10-28 David Smith <dsmith@redhat.com>
* buildok/vfs_testcase.stp: Fixes for updated vfs tapset.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
some old probe points to older versions of kernel, adding new helper C functions
and probe points for the VFS subsystem. A new testcase is created for the VFS
tapset which performs a compile test (i.e. up4) on the probe points to verify
sanity. These details can also be found in the ChangeLog.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* 'master' of ssh://sources.redhat.com/git/systemtap:
Check new (sub) functions of _struct_utimbuf_* and _struct_compat_utimbuf_*.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
2008-04-18 David Smith <dsmith@redhat.com>
* buildok/utrace01.stp: Removed.
* buildok/utrace02.stp: Ditto.
* buildok/utrace03.stp: Ditto.
* systemtap.base/utrace_p4.exp: Rewrote buildok tests to check for
kernel utrace support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-17 David Smith <dsmith@redhat.com>
* buildok/utrace01.stp: New test.
* buildok/utrace02.stp: Ditto.
* buildok/utrace03.stp: Ditto.
* semko/utrace01.stp: Ditto.
* semko/utrace02.stp: Ditto.
* semko/utrace03.stp: Ditto.
* semko/utrace04.stp: Ditto.
* semko/utrace05.stp: Ditto.
* semko/utrace06.stp: Ditto.
* semko/utrace07.stp: Ditto.
* semko/utrace08.stp: Ditto.
* semko/utrace09.stp: Ditto.
* semko/utrace10.stp: Ditto.
* semko/utrace11.stp: Ditto.
* semko/utrace12.stp: Ditto.
* semko/utrace13.stp: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* stapfuncs.5.in: Document signal.stp tapset functions.
2008-01-16 Eugene Teo <eteo@redhat.com>
* signal.stp (get_sa_flags, get_sa_handler): New functions to
return addresses of sa_flags and sa_handler of struct k_sigaction.
(sigset_mask_str): New function. Returns a string containing the
set of signals to be blocked when executing the signal handler.
(is_sig_blocked): New function. Checks task_struct->blocked signal
mask for signals that are currently blocked.
(signal_str): New function. Translates a signal number.
(sa_flags_str): New function. Translates the sa_flags.
(sa_handler_str): New function. Returns the signal action or handler
associated to the signal.
2008-01-16 Eugene Teo <eteo@redhat.com>
* buildok/signal-embedded.stp: Add all new embedded C functions
in signal.
|
|
|
|
|
|
|
|
| |
* systemtap.base/*.stp: Replace log() calls with
println() (or printf() if formatting would help.)
* systemtap.maps/*.stp: Ditto.
* systemtap.samples/*.stp: Ditto.
* systemtap.stress/*.stp: Ditto.
|
|
|
|
|
| |
* buildok/aux_syscalls-embedded.stp: Add all embedded
C function in aux_syscalls.
|
|
|
|
|
|
|
|
|
|
| |
2007-10-04 Frank Ch. Eigler <fche@elastic.org>
* stapfuncs.5.in: Document inet.stp tapset functions.
* buildok/inet-embedded.stp: Test inet.stp functions.
* inet.stp: New tapset for htonl and friends.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* buildok/memory-all-probes.stp:
New test that uses wildcarding to
determine if all probes are resolvable.
* buildok/nfs-all-probes.stp: Ditto
* buildok/nfsd-all-probes.stp: Ditto
* buildok/process-all-probes.stp: Ditto
* buildok/rpc-all-probes.stp: Ditto
* buildok/scheduler-all-probes.stp: Ditto
* buildok/scsi-all-probes.stp: Ditto
* buildok/signal-all-probes.stp: Ditto
* buildok/socket-all-probes.stp: Ditto
* buildok/tcp-all-probes.stp: Ditto
* buildok/udp-all-probes.stp: Ditto
* buildok/vfs-all-probes.stp: Ditto
|
|
|
|
|
| |
* systemtap.samples/examples.exp: New file, replacing
* buildok/examples.stp: Removed.
|
|
|
|
|
|
|
| |
2007-09-24 Frank Ch. Eigler <fche@elastic.org>
* buildok/*-embedded.stp: New test case for every embedded-C
function in the tapsets.
|
|
|
|
|
| |
PR 4930
* buildok/examples.stp: New test case.
|
|
|
|
|
|
|
|
|
|
| |
PR 1154
* buildok/procfs01.stp: New test case.
* semko/procfs01.stp: Ditto.
* semko/procfs02.stp: Ditto.
* semko/procfs03.stp: Ditto.
* semko/procfs04.stp: Ditto.
* semko/procfs05.stp: Ditto.
|
|
|
|
|
|
|
|
| |
* parse.cxx (parse_symbol): Accept println(@hist*()).
2007-09-12 Frank Ch. Eigler <fche@elastic.org>
* buildok/print_histograms.stp: Test println(@hist*()).
|
|
|
|
|
|
|
|
|
|
|
| |
PR 5023
* translate.cxx (c_unparser::visit_literal_number): Support LLONG_MIN.
(visit_unary_expression): Likewise.
2007-09-12 Frank Ch. Eigler <fche@elastic.org>
PR 5023.
* buildok/ten.stp: Extend some more.
|
|
|
|
|
| |
PR 5023.
* buildok/ten.stp: Reactivate and extend.
|
|
|
|
|
|
|
| |
* systemtap.stress/current.stp: Make module probe optional.
* buildok/four.stp: Ditto.
* buildok/twentyfive.stp: Ditto.
* semok/twelve.stp: Ditto.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 4899
* tapsets.cxx (dwflpp::has_single_line_record): Extended,
abstraction violated.
(iterate_over_srcfile_lines): Remove exactly line number match
logic. Improve error message to offered better-checked alternative
line numbers.
(query_srcfile_line): Whoops, pass scope_die down for statement("...")
probes, to enable $target var processing.
2007-08-24 Frank Ch. Eigler <fche@redhat.com>
PR 4899
* buildok/fortytwo.stp: New test.
|
|
|
|
|
|
|
|
|
| |
PR 1315.
* target_set.stp: New tapset file.
* stapfuncs.5.in: Document new target_set tapset.
* buildok/fortyfive.stp: New test.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 4591
* parse.cxx (parser::parse_symbol): Tweak 'print' matching to allow
all the new variants with printd and println.
* staptree.h (struct print_format): Add fields for the new print
variants, and parse_print() to help matching.
* staptree.cxx (print_format::parse_print): New static method to
match the print variants and determine their properties.
(print_format::print): Handle the new print types.
(deep_copy_visitor::visit_print_format): Copy the new fields.
* translate.cxx (c_unparser::visit_print_format): Insert delims and
newlines where appropriate for new print functions.
* stap1.in: Document the new print functions.
testsuite/
* lib/stap_run.exp: Make sure to match the entire output, in case
there are multiple pass/fail messages.
* buildok/printf.stp: Add lines for new print variants.
* parseko/printd01.stp: Make sure that bad printd calls are handled.
* parseko/printd02.stp: Ditto.
* parseko/printd03.stp: Ditto.
* parseko/printd04.stp: Ditto.
* systemtap.base/print.stp: Try a bunch of different print calls.
* systemtap.base/print.exp: Driver for above.
|
| |
|
|
|
|
|
|
| |
PR4446
* systemtap.base/marker.exp: Added new marker test.
* buildok/marker.stp: Removed old marker test.
|
| |
|
|
|
|
| |
* testsuite/buildok/memory.stp: Test vm.pagefault.return.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1570
* NEWS: Document probe handler language change re. inline functions.
* stapprobes.5.in: Likewise.
* tapsets.cxx: Many changes to simplify caches and implement new
handling of inline functions, removed of stubs for future probes.
* elaborate.cxx (derived_probe printsig_nested): New function.
* elaborate.h: Declare it.
* main.cxx (usage): Clarify "-r" meaning.
(main): Tweak related "-p 4" message.
2007-03-30 Frank Ch. Eigler <fche@elastic.org>
PR 1570.
* memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt
to .inline -> .function change.
2007-03-30 Frank Ch. Eigler <fche@elastic.org>
PR 1570
* */*.stp: Adapt to .inline -> .function change.
* lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten
pass/fail dejagnu log lines.
* systemtap.syscall/sys.stp, test.tcl: Make slightly more
compatible and failure more verbose.
|