| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* string.c (_stp_text_str): New function.
* string.h (_stp_text_str): Declare.
|
|
|
|
|
|
| |
and gives a warning
deleted runtime/lket/b2a/Makefile since it should be generated by configure
|
|
|
|
|
| |
* vsprintf.c (_stp_vsnprintf): Change %p to work like
libc and automatically insert "0x" before the pointer.
|
|
|
|
|
|
|
|
|
|
|
|
| |
explicitly add type qualifier for different arch
to make _stp_vsnprintf get the argument by va_arg correctly
src/tapset/scheduler.stp:
add prev_task and next_task variable
src/stapprobes.5.in:
add lket (5) in the "SEE ALSO"
|
|
|
|
|
|
|
| |
PR 2677
* sym.c (_stp_symbol_sprint_basic): New function that returns
just the symbol name, and doesn't bother with String.
* context.stp (probefunc): Use _stp_symbol_sprint_basic
|
| |
|
|
|
|
|
|
| |
add intro of lket-b2a in lket.5.in
Changes Makefile.am, configure.ac & regenerated aclocal.m4, Makefile.in, configure
|
|
|
|
|
| |
* librelay.c (stp_main_loop): Set output to always be line
buffered.
|
| |
|
|
|
|
|
|
| |
* loc2c-runtime.h (deref_string): resolved gcc "warning:
assignment makes integer from pointer without a cast" when
using a pointer as the source address.
|
|
|
|
| |
* vsprintf.c (_stp_vsnprintf): Fix argument size for %p.
|
| |
|
| |
|
|
|
|
|
|
| |
* vsprintf.c (_stp_vsnprintf): Fix endian
before writing binary.
(_stp_endian): New variable to control endianess.
|
| |
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* vsprintf.c (_stp_snprintf): New function.
|
|
|
|
|
| |
* stat-common.c (_stp_stat_print_histogram): Write a
newline at the end of the histogram.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* emul.h (kmalloc_node): New.
|
|
|
|
| |
* string.c (_stp_string_cat_cstr): Use memcpy() instead of strncpy().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* procfs.c (_stp_write): Combine buffers only for REALTIME_DATA.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* procfs.c (STP_DEFAULT_BUFFERS): Bump up to 256.
|
|
|
|
| |
* bench2: New directory containing a benchmark framework.
|
|
|
|
|
|
|
|
|
|
| |
* librelay.c (start_cmd): Set proper uid/gid before execing
command.
(system_cmd): New function.
(cleanup_and_exit): Wait for any child processes to complete.
(stp_main_loop): Recognize STP_SYSTEM message.
* stpd.c (main): Add support for "-u username".
|
|
|
|
| |
* transport_msgs.h (struct cmd_info): New message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* procfs.c (_stp_proc_write_cmd): Check return code for
_stp_transport_open().
* transport.c (_stp_transport_write): This function
can now sleep because it is
(_stp_handle_start): Don't use a mutex when a simple atomic
will do.
(_stp_work_queue): Check atomic to see if probe_start()
has finished before attempting exit.
(_stp_transport_close): PR2391. Cancel work queue.
(_stp_transport_init): If _stp_register_procfs() fails,
return an error code.
* transport.txt: New file. Documents transport initialization and
shutdown sequence.
|
|
|
|
| |
* librelay.c (init_stp): Better error handling and cleanup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1304
* parse.cxx (lexer): Take systemtap_session argument.
(lexer::scan): Support $1..$NNNN and @1...@NNNN expansion.
* stap.1.in: Document this.
* testsuite/semok/args.stp: New test.
* translate.cxx (var::init, emit_global): Emit code to allow
named module parameters to initialize global string/number scalars.
* stap.1.in: Don't document this yet.
PR 2334
* main.cxx (main): Clarify "-v" option repeatibility.
* stap.1.in: Ditto.
|
|
|
|
|
|
|
| |
* procfs.c (_stp_proc_read_cmd): Change spin_lock()
to spin_lock_irqsave().
* transport.c (_stp_work_queue): Ditto.
|
|
|
|
| |
* copy.c (_stp_copy_from_user): Revert previous incorrect change.
|
|
|
|
|
| |
* copy.c (_stp_copy_from_user): If access fails,
return -1.
|
| |
|