| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR 3220
From Eugeniy Meshcheryakov <eugen@debian.org>:
* lket/b2a/lket_b2a.c: Check that appNameTree exists before destroying.
|
| |
|
|
|
|
|
|
|
| |
* bench2/bench.rb: Remove the deprecated "-m" option
to stpd. Also, don't use merge mode for relayfs.
* bench2/run_binary_print: New test. Compare various ways of
printing binary data.
|
|
|
|
|
| |
* transport_msgs.h (struct transport_info): Add merge field.
* transport.c (_stp_transport_open): Set merge field.
|
|
|
|
|
|
|
|
|
| |
* stpd.c (usage): Remove "-m" option.
(main): Print warning if "-m" is used.
* librelay.c (merge_output): Rewrite to handle
new format that support binary.
(stp_main_loop): Read merge option from the
transport info message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* librelay.c (init_relayfs): Exec stp_check and find
relay_filebase.
* librelay.h (stp_main_loop): Fix declaration of init_stp().
* stpd.c (usage): Remove "-r" option.
(main): Don't find stpd_filebase and don't send it to init_stp().
|
| |
|
|
|
|
| |
sched_clock()
|
|
|
|
|
| |
* string.c:
* print.c: Remove includes for <linux/config.h>.
|
|
|
|
|
| |
* lket/b2a/.cvsignore: Added file to let cvs ignore generated
files.
|
| |
|
| |
|
|
|
|
| |
* runtime.h: Include compat.h.
|
|
|
|
| |
* vsprintf.c (_stp_vsnprintf): %p format fixes.
|
|
|
|
|
| |
* librelay.c (stp_main_loop): If module doesn't start, kill any
target command.
|
|
|
|
|
|
| |
change the timestamp printing format of lket-b2a: usec --> sec.usec
fix an error in "CUSTOMIZED TRACE DATA" : addevent.netdev --> addevent.netdev.transmit
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 2922
* time.c (_stp_init_time): call cpufreq_get for each cpu from
a non-atomic context (module init time).
* time.c (__stp_init_time): remove call to cpufreq_get from IPI.
* time.c (__stp_time_timer_callback): disable IRQ's to avoid
perturbations in measurements.
* time.c (_stp_gettimeofday_us): disable preemption to avoid CPU
swaps while we're computing the time.
|
|
|
|
|
| |
* runtime.h (for_each_cpu): Define for new kernels
which no longer define it.
|
| |
|
|
|
|
| |
* string.c (_stp_text_str): Use __get_user().
|
|
|
|
|
|
| |
* string.c (_stp_text_str): Add a parameter to support
userspace strings too.
* string.h: (_stp_text_str): Fix proto.
|
|
|
|
|
|
|
|
| |
use current->parent->tgid as the parent process id for ascii tracing
modified lket-b2a to be sync with the new addevent.process event hooks
updated lket man pages to be sync with newly changes to addevent.process event hooks
|
|
|
|
|
|
| |
make _lket_trace's format string shorter for better performance.
I also modified lket-b2a to be sync with _lket_trace()
|
| |
|
|
|
|
| |
* loc2c-runtime.h: Add some comments.
|
|
|
|
|
| |
register_events.stp, hookid_defs.stp: changes for aio.stp.
register_events.stp, process.stp: bugfix for ascii tracing
|
|
|
|
| |
* time.c: Do cpufreq notification only if CONFIG_CPU_FREQ defined.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
runtime/
* time.c: Time-estimation with minimal dependency on xtime.
runtime/transport/
* transport/transport.c (_stp_handle_start): Initialize timer functions.
* transport.c (_stp_cleanup_and_exit): Teardown timer functions.
tapset/
* timestamp.stp (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
Convert to using the runtime-provided _stp_gettimeofday_us().
|
| |
|
|
|
|
| |
* lket/b2a/Makefile.in: Regenerated with automake-1.9.6-2.
|
|
|
|
|
| |
* librelay.c (start_cmd): Rewrite using sigwait() to eliminate
a race.
|
|
|
|
|
| |
* transport.c (_stp_transport_close): Destroy workqueue when
done.
|
|
|
|
|
|
| |
* transport.c: Using the default workqueue was causing problems
because of the long delays on probe_exit(). Created a new
systemtap work queue and used that instead.
|
|
|
|
|
| |
a new way of allowing user add arbitrary trace data. And also provide
a way of letting user write the trace data format.
|
|
|
|
|
| |
* procfs.c (_stp_write): Always use spin_lock_irqsave() because
this function can sometimes be called with interrupts enabled.
|
| |
|
| |
|
|
|
|
|
| |
* 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.
|