| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* small_demos/ansi_colors.stp: Add an example of using octal
escape sequences to display all possible ansi colors.
|
|
|
|
|
|
| |
PR 1326
* translate.cxx (c_unparser::visit_binary_expression): Handle
negative left and right shift count.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 953
* elaborate.h (derived_probe): Add field "name". Stop passing
"probe index" to other emit_* calls.
(emit_probe_context_vars): New member function.
* elaborate.cxx (derived_probe ctor): Generate unique name.
* translate.cxx (*): Adapt to index->name.
(emit_probe): Realize that probe locals only occur at nesting=0.
* tapsets.cxx (*derived_probe::emit_*): Adapt to index->name.
(mark_var_expanding_copy_visitor): New class to process $argN.
(mark_derived_probe ctor): Call it.
(mark_derived_probe::emit_probe_context_vars): Do it.
* buildrun.cxx (compile_pass): Add more optional gcc verbosity.
Add CFLAGS += -freorder-blocks.
* testsuite/buildok/marker.stp: New test.
|
|
|
|
| |
* aux_syscalls.stp (_fildes_u): Declare return value type.
|
| |
|
|
|
|
| |
* small_demos/top.stp: Use printf.
|
|
|
|
|
|
| |
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.
|
| |
|