| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
* Makefile.am (install-data-local): Tweak previous fix.
|
|
|
|
|
|
|
| |
* Makefile.am (install-data-local): Rewrite. Set
ownership and permissions for all files and directories
under runtime and tapset. Restrict files to source code.
* Makefile.in: Rebuilt.
|
| |
|
|
|
|
|
| |
PR 1341
* main.cxx (main): Use TMPDIR instead of hard-coded /tmp.
|
|
|
|
|
| |
* tapsets.cxx (mark_derived_probe::emit_{de}registrations):
Use cmpxchg to synchronize.
|
| |
|
| |
|
|
|
|
| |
* endian.stp (set_endian): New function.
|
|
|
|
|
|
| |
* vsprintf.c (_stp_vsnprintf): Fix endian
before writing binary.
(_stp_endian): New variable to control endianess.
|
| |
|
|
|
|
|
|
|
| |
PR 2497
* translate.cxx (translate_pass): Don't
reset STP_STRING_SIZE if it was already defined.
Set it to 1024 by default.
|
| |
|
| |
|
|
|
|
|
| |
* procfs.c (_stp_write): More fixes because buffers
are no longer null-terminated.
|
|
|
|
|
| |
* string.c (_stp_string_cat_cstr): No need to copy
terminating 0.
|
|
|
|
|
| |
* translate.cxx (visit_print_format): Call
_stp_snprintf() instead of snprintf().
|
|
|
|
| |
* vsprintf.c (_stp_snprintf): New function.
|
|
|
|
|
| |
* stat-common.c (_stp_stat_print_histogram): Write a
newline at the end of the histogram.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add binary printf support.
* elaborate.cxx (visit_print_format): Don't include
conv_literal or conv_size in components vector.
Add conv_binary to switch statement.
* translate.cxx (visit_print_format): Eliminate
special cast to (long long) for pe_long because new
vsnprintf uses int64_t.
* staptree.h (struct print_format): Add conv_binary and conv_size.
* staptree.cxx (components_to_string): Add conv_binary case.
Add conv_size case.
(string_to_components): Add cases for 'b' and 'n'
|
|
|
|
|
|
|
|
|
|
|
| |
* print.c (_stp_print_flush): Send 'len" bytes
instead of 'len+1', which included terminating 0.
* string.c (_stp_sprintf): Call _stp_vsnprintf()
instead of vsnprintf().
(_stp_vsprintf): Ditto.
* vsprintf.c: New file.
|
|
|
|
|
| |
* librelay.c (stp_main_loop): Write with fwrite() instead
of fputs() so we can write binary data.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (resolve_prologue_endings): Rewrote.
(resolve_prologue_endings2): Removed.
* gen-stapmark.h: Emit a 0-arity marker.
* stapmark.h: Regenerated for arities 0..6.
|
| |
|
|
|
|
|
|
|
| |
PR2525
* timestamp.stp (__check_xtime_lock): check if xtime is available
(gettimeofday_s, gettimeofday_ms, gettimeofday_us): error out if
called when xtime is not available, to avoid deadlock
|
|
|
|
|
| |
* librelay.c (merge_output): Remove ANSI codes and write
warning to stderr.
|
|
|
|
|
|
| |
* librelay.c (merge_output): Set the output filename if necessary.
* stpd.c (main): Don't reset output_filename just because
relayfs is possible. Move that code to librelay.c.
|
| |
|
| |
|
|
|
|
| |
* stpd.c (main): Cast f_type when comparing; type differs by machine.
|
| |
|
|
|
|
|
|
|
| |
* configure.ac: Bump version to 0.5.5.
Require elfutils-0.120.
* configure: Regenerated.
* systemtap.spec.in: Likewise.
|
|
|
|
| |
* loc2c.c (array_stride): stride_size -> byte_stride
|
|
|
|
| |
* main.cxx (version): Use dwfl_version.
|
| |
|
|
|
|
| |
* emul.h (kmalloc_node): New.
|
|
|
|
| |
* string.c (_stp_string_cat_cstr): Use memcpy() instead of strncpy().
|
|
|
|
|
|
| |
* tapsets.cxx (dwarf_derived_probe::emit_registrations):
Change maxactive so single-processor kernels using
kretprobes don't get lots of dropped probes.
|
|
|
|
| |
* small_demos/close.stp: Make it executable.
|
|
|
|
|
|
|
|
|
| |
PR 953, part 1
* tapsets.cxx: (mark_derived_probe*): New classes.
(register_standard_tapsets): Register kernel/module.mark() family.
* stapmark.h: New header for static instrumentation markers.
* gen-stapmark.h: New perl script to generate it.
* elaborate.cxx (derived_probe ctor): Ignore null location*.
|
|
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (hrtimer_derived_probe::*): creates a probe point
based on the hrtimer APIs.
* tapsets.cxx (hrtimer_builder::*): parses the user's time-spec
into a 64-bit nanosecond value, and calls the appropriate
derived_probe.
* tapsets.cxx (register_standard_tapsets): add hrtimer bindings
* translate.cxx (translate_pass): add linux/random.h include,
used for generating 64-bit random numbers for hrtimers.
|
|
|
|
|
| |
* testsuite/buildok/syscall.stp: Update so
it works again.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bench2/bench.rb (Bench::run): Instead of loading the module
once and running against different numbers of threads, load
and unload the module each time. Then keep track of failures
per thread. Also use the new itest to keep the tests the same
size regardless of the number of threads.
(Bench::initialize): Make itest if needed.
(Bench::load, Stapbench::load): Increase buffer size to 8MB.
* bench2/itest.c: Change arg to be the number of threads
instead of the number of millions of calls to make.
This makes it easy to divide the work among multiple threads
without making the test run many times longer.
|
|
|
|
|
| |
Patch from Gui,Jian <guij@cn.ibm.com>
* bench2/bench.rb: PPC64 fixes.
|
| |
|
|
|
|
| |
* small_demos/key.stp: Pipe output to dev/null.
|