| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* alloc.c (_stp_kmalloc): New function. Call kmalloc
with the coirrect flags and track usage.
(_stp_kzalloc): Ditto.
* map.c: Use new alloc calls.
* print.c: Ditto.
* stat.c: Ditto.
* time.c: Ditto.
|
|
|
|
| |
* print.c (_stp_print_flush): Add a likely() marker to the hot path.
|
|
|
|
|
|
|
|
|
|
| |
* README: Changed 'stpd' references to 'staprun'.
* README.doc: Ditto.
* TODO: Ditto.
* io.c: Ditto.
* print.c: Ditto.
* runtime.h: Ditto.
* bench2/bench.rb: Ditto.
|
|
|
|
|
| |
* print.c: Replace STP_PRINT_BUF_LEN with STP_BUFFER_SIZE.
* string.c: Ditto.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3232
* print.c (_stp_print_init): New. Alloc per-cpu buffers.
(_stp_print_cleanup): New. Free per-cpu buffers.
(_stp_print_flush): Use per_cpu_ptr().
* string.c (_stp_sprintf): Ditto.
(_stp_vsprintf): Ditto.
(_stp_string_cat_cstr): Ditto.
(_stp_string_cat_char): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* print.c (_stp_print_flush): Rewrite so one version works for
relayfs or procfs. Use proper per-cpu functions.
(_stp_reserve_bytes): New function. Reserve bytes in the output buffer.
(_stp_print_binary): New function. Write a variable number of
64-bit values directly into the output buffer.
* string.c (_stp_sprintf): Rewrite using new per-cpu buffers.
(_stp_vsprintf): Ditto.
(_stp_string_cat_cstr): Ditto.
(_stp_string_cat_char): Ditto.
* runtime.h: Set defaults for MAXTRYLOCK and TRYLOCKDELAY to make
runtime tests in bench2 happy.
|
|
|
|
|
| |
* string.c:
* print.c: Remove includes for <linux/config.h>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* ALL: Cleanup copyrights.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* print.c: Change ifdefs to STP_RELAYFS.
* runtime.h: Ditto.
* io.c (_stp_vlog): Call _stp_write instead of
_stp_ctrl_send.
* Makefile: Don't build stp-control.
* README.doc: Update.
* TODO: Update.
|
|
|
|
|
| |
* io.c (_stp_vlog): Revert previous change for now.
* print.c (_stp_print_flush): Ditto.
|
| |
|
|
|
|
|
|
|
| |
* io.c (_stp_vlog): Use _stp_pid instead os _stp_tport->pid.
* print.c (_stp_print_flush): Don't need _stp_tport.
*runtime.h (probe_start): Just call _stp_transport_init().
(probe_exit): Just call _stp_transport_close().
|
|
|
|
|
| |
* print.c (_stp_print_flush): Check return value and increment
transport failures.
|
|
|
|
|
|
| |
* print.c (_stp_print_flush): Rename "t" to "_stp_tport".
* io.c (_stp_vlog): Ditto.
|
|
|
|
|
|
|
|
|
| |
* probes.c: Convert all _stp_log() calls to either stp_warn() or
dbug().
* print.c: Comment out dbug()s.
* stat-common.c: Comment out dbug()s.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* counter.c: New file. Counter aggregations.
* stat.c: New file. Stat aggregations.
* stat.h: Header file for stats.
* map-int.c: New file. Support for int64 values.
* map-stat.c: New file. Support for stat values.
* map-str.c: New file. Support for string values.
* map-values.c: Now just includes the necessary map-*.c files.
* stat-common.c: New file. Stats stuff common to Stats and maps
containing stats.
* Doxyfile: Bumped version to 0.6.
* README: Renamed README.doc and reorganized.
|
|
|
|
|
|
|
| |
* string.c (_stp_string_cat_cstr): Be sure result is
always terminated.
* print.c (_stp_vprintf): Fix typo.
|
|
|
|
|
|
|
|
| |
* current.c (_stp_sprint_regs): Implement for i386.
* sym.c (_stp_symbol_sprint): Check name before trying to
print it.
(_stp_symbol_print): Change to macro that calls _stp_symbol_sprint().
|
|
|
|
|
|
|
|
|
| |
* print.c: All functions except _stp_print_flush() are
now macros which use _stp_stdout.
* string.c: Add _stp_stdout support. Data written to
_stp_stdout is automatically flushed when the print buffer
is full.
|
| |
|
| |
|
| |
|
|
|