| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
PR 2014
* parse.cxx (lexer::scan): Added \[0-7]* case to preserve
octal escape sequences.
|
| |
|
|
|
|
| |
* Makefile.am (install-data-local): Another try.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 2220
* translate.cxx (visit_statement): Tolerate 0 first argument.
(visit_for_loop, visit_foreach_loop): Call it thusly for condition
expression.
(visit_embededcode, visit_block, visit_null_statement): Don't
call visit_statement() at all.
2006-04-18 Frank Ch. Eigler <fche@elastic.org>
* conversions.stp (string, hex_string): Use snprintf for safety.
2006-04-18 Frank Ch. Eigler <fche@elastic.org>
* systemtap.samples/control_limits.stp: Adapt to new action counting.
|
|
|
|
| |
* 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.
|
| |
|