summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* 2006-07-11 Martin Hunt <hunt@redhat.com>hunt2006-07-114-17/+42
| | | | | | * string.c (_stp_text_str): Add a parameter to support userspace strings too. * string.h: (_stp_text_str): Fix proto.
* changes to addevent.process to generate adequate info of process relationshipsguanglei2006-07-112-10/+25
| | | | | | | | 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
* _lket_trace() won't log ppid and tgid any more. I use some bit-OPs toguanglei2006-06-293-33/+39
| | | | | | make _lket_trace's format string shorter for better performance. I also modified lket-b2a to be sync with _lket_trace()
* .roland2006-06-271-0/+4
|
* 2006-06-27 Roland McGrath <roland@redhat.com>roland2006-06-271-1/+22
| | | | * loc2c-runtime.h: Add some comments.
* aio.stp: new event hooks for AIOguanglei2006-06-262-7/+71
| | | | | register_events.stp, hookid_defs.stp: changes for aio.stp. register_events.stp, process.stp: bugfix for ascii tracing
* 2006-06-23 Josh Stone <joshua.i.stone@intel.com>jistone2006-06-232-6/+23
| | | | * time.c: Do cpufreq notification only if CONFIG_CPU_FREQ defined.
* Part of fix for bug #2532trz2006-06-232-3/+10
|
* add PR 2525 note to ChangeLogsjistone2006-06-222-0/+2
|
* 2006-06-21 Josh Stone <joshua.i.stone@intel.com>jistone2006-06-224-1/+200
| | | | | | | | | | | | | 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().
* .roland2006-06-171-50/+54
|
* 2006-06-16 Roland McGrath <roland@redhat.com>roland2006-06-171-4/+2
| | | | * lket/b2a/Makefile.in: Regenerated with automake-1.9.6-2.
* 2006-06-13 Martin Hunt <hunt@redhat.com>hunt2006-06-132-17/+14
| | | | | * librelay.c (start_cmd): Rewrite using sigwait() to eliminate a race.
* 2006-06-13 Martin Hunt <hunt@redhat.com>hunt2006-06-132-3/+8
| | | | | * transport.c (_stp_transport_close): Destroy workqueue when done.
* 2006-06-09 Martin Hunt <hunt@redhat.com>hunt2006-06-092-2/+16
| | | | | | * 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.
* Revert my former changes to lket_trace_extra() in translator.guanglei2006-06-093-308/+205
| | | | | a new way of allowing user add arbitrary trace data. And also provide a way of letting user write the trace data format.
* 2006-06-05 Martin Hunt <hunt@redhat.com>hunt2006-06-052-8/+14
| | | | | * procfs.c (_stp_write): Always use spin_lock_irqsave() because this function can sometimes be called with interrupts enabled.
* eliminate lket-b2a compiling warnings on in 64-bit modeguanglei2006-06-022-7/+11
|
* make lket-b2a able to read user added trace data and backtraceguanglei2006-06-013-11/+37
|
* 2006-05-30 Martin Hunt <hunt@redhat.com>hunt2006-05-303-0/+106
| | | | | * string.c (_stp_text_str): New function. * string.h (_stp_text_str): Declare.
* add conditional build of lket-b2a. If glib2-devel is not found, just skipsguanglei2006-05-272-5/+2
| | | | | | and gives a warning deleted runtime/lket/b2a/Makefile since it should be generated by configure
* 2006-05-25 Martin Hunt <hunt@redhat.com>hunt2006-05-252-1/+22
| | | | | * vsprintf.c (_stp_vsnprintf): Change %p to work like libc and automatically insert "0x" before the pointer.
* src/tapset/LKET/*.stp:guanglei2006-05-251-2/+2
| | | | | | | | | | | | 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"
* 2006-05-24 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-242-0/+38
| | | | | | | 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 src/runtime/lket/b2a/Makefileguanglei2006-05-241-0/+5
|
* add a binary to ascii converter used to convert LKET's default binary trace dataguanglei2006-05-246-0/+1148
| | | | | | add intro of lket-b2a in lket.5.in Changes Makefile.am, configure.ac & regenerated aclocal.m4, Makefile.in, configure
* 2006-05-18 Martin Hunt <hunt@redhat.com>hunt2006-05-182-0/+6
| | | | | * librelay.c (stp_main_loop): Set output to always be line buffered.
* %0s support to print null-terminated stringguanglei2006-05-091-0/+5
|
* 2006-05-03 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-032-2/+8
| | | | | | * loc2c-runtime.h (deref_string): resolved gcc "warning: assignment makes integer from pointer without a cast" when using a pointer as the source address.
* 2006-04-28 Martin Hunt <hunt@redhat.com>hunt2006-04-282-1/+5
| | | | * vsprintf.c (_stp_vsnprintf): Fix argument size for %p.
* Fixing BZ#2583hien2006-04-211-3/+3
|
* Print error and exit if "stap" fails.hunt2006-04-191-6/+8
|
* 2006-04-17 Martin Hunt <hunt@redhat.com>hunt2006-04-172-27/+56
| | | | | | * vsprintf.c (_stp_vsnprintf): Fix endian before writing binary. (_stp_endian): New variable to control endianess.
* fix TIMESTAMP_SIZE conflict with Suse kernelstrz2006-04-112-4/+9
|
* 2006-04-10 Martin Hunt <hunt@redhat.com>hunt2006-04-112-4/+13
| | | | | * procfs.c (_stp_write): More fixes because buffers are no longer null-terminated.
* 2006-04-10 Martin Hunt <hunt@redhat.com>hunt2006-04-112-1/+4
| | | | | * string.c (_stp_string_cat_cstr): No need to copy terminating 0.
* 2006-04-10 Martin Hunt <hunt@redhat.com>hunt2006-04-112-0/+13
| | | | * vsprintf.c (_stp_snprintf): New function.
* 2006-04-10 Martin Hunt <hunt@redhat.com>hunt2006-04-112-2/+8
| | | | | * stat-common.c (_stp_stat_print_histogram): Write a newline at the end of the histogram.
* 2006-04-09 Martin Hunt <hunt@redhat.com>hunt2006-04-104-7/+408
| | | | | | | | | | | * 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.
* 2006-04-08 Martin Hunt <hunt@redhat.com>hunt2006-04-082-8/+12
| | | | | * librelay.c (stp_main_loop): Write with fwrite() instead of fputs() so we can write binary data.
* 2006-04-05 Martin Hunt <hunt@redhat.com>hunt2006-04-052-1/+6
| | | | | * librelay.c (merge_output): Remove ANSI codes and write warning to stderr.
* 2006-04-05 Martin Hunt <hunt@redhat.com>hunt2006-04-053-6/+12
| | | | | | * 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.
* Correct the initialization to work with gcc 4.1.wcohen2006-04-052-1/+5
|
* .roland2006-04-051-16/+20
|
* 2006-04-04 Roland McGrath <roland@redhat.com>roland2006-04-051-6/+7
| | | | * stpd.c (main): Cast f_type when comparing; type differs by machine.
* fix for bug #2511trz2006-04-042-4/+9
|
* 2006-03-30 Martin Hunt <hunt@redhat.com>hunt2006-03-302-0/+35
| | | | * emul.h (kmalloc_node): New.
* 2006-03-30 Martin Hunt <hunt@redhat.com>hunt2006-03-303-4/+8
| | | | * string.c (_stp_string_cat_cstr): Use memcpy() instead of strncpy().
* *** empty log message ***hunt2006-03-271-0/+15
|
* 2006-03-26 Martin Hunt <hunt@redhat.com>hunt2006-03-262-28/+34
| | | | | | | | | | | | | | | * 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.