summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2006-04-09 Martin Hunt <hunt@redhat.com>hunt2006-04-106-24/+47
| | | | | | | | | | | | | | | | | | 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'
* 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.
* * paranoid error checkfche2006-04-081-1/+1
|
* * comment tweaksfche2006-04-081-10/+4
|
* 2006-04-08 Frank Ch. Eigler <fche@elastic.org>fche2006-04-084-11652/+127
| | | | | | | | * 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.
* Reverting change - xtime_lock is not exported on FC5 kerneljistone2006-04-072-61/+9
|
* 2006-04-07 Josh Stone <joshua.i.stone@intel.com>jistone2006-04-072-9/+61
| | | | | | | 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
* 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.
* .roland2006-04-051-5/+16
|
* 2006-04-04 Roland McGrath <roland@redhat.com>roland2006-04-053-26/+30
| | | | | | | * configure.ac: Bump version to 0.5.5. Require elfutils-0.120. * configure: Regenerated. * systemtap.spec.in: Likewise.
* 2006-04-04 Roland McGrath <roland@redhat.com>roland2006-04-051-2/+2
| | | | * loc2c.c (array_stride): stride_size -> byte_stride
* 2006-04-04 Roland McGrath <roland@redhat.com>roland2006-04-051-7/+8
| | | | * main.cxx (version): Use dwfl_version.
* fix for bug #2511trz2006-04-044-6/+16
|
* 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().
* 2006-03-30 Martin Hunt <hunt@redhat.com>hunt2006-03-302-1/+7
| | | | | | * tapsets.cxx (dwarf_derived_probe::emit_registrations): Change maxactive so single-processor kernels using kretprobes don't get lots of dropped probes.
* 2006-03-30 Martin Hunt <hunt@redhat.com>hunt2006-03-301-0/+2
| | | | * small_demos/close.stp: Make it executable.
* 2006-03-30 Frank Ch. Eigler <fche@elastic.org>fche2006-03-305-6/+12633
| | | | | | | | | PR 953, part 1 * tapsets.cxx: (mark_derived_probe*): New classes. (register_standard_tapsets): Register kernel/module.mark() family. * stapmark.h: New header for static instrumentation markers. * gen-stapmark.h: New perl script to generate it. * elaborate.cxx (derived_probe ctor): Ignore null location*.
* 2006-03-29 Josh Stone <joshua.i.stone@intel.com>jistone2006-03-303-0/+254
| | | | | | | | | | | * tapsets.cxx (hrtimer_derived_probe::*): creates a probe point based on the hrtimer APIs. * tapsets.cxx (hrtimer_builder::*): parses the user's time-spec into a 64-bit nanosecond value, and calls the appropriate derived_probe. * tapsets.cxx (register_standard_tapsets): add hrtimer bindings * translate.cxx (translate_pass): add linux/random.h include, used for generating 64-bit random numbers for hrtimers.
* 2006-03-28 Martin Hunt <hunt@redhat.com>hunt2006-03-292-3/+8
| | | | | * testsuite/buildok/syscall.stp: Update so it works again.
* *** 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.
* 2006-03-24 Martin Hunt <hunt@redhat.com>hunt2006-03-241-10/+20
| | | | | Patch from Gui,Jian <guij@cn.ibm.com> * bench2/bench.rb: PPC64 fixes.
* More ppc64 specific calls.hien2006-03-221-95/+416
|
* 2006-03-20 Martin Hunt <hunt@redhat.com>hunt2006-03-201-2/+2
| | | | * small_demos/key.stp: Pipe output to dev/null.
* Fix 2076.hien2006-03-201-42/+48
|
* 2006-03-20 Martin Hunt <hunt@redhat.com>hunt2006-03-202-4/+6
| | | | * procfs.c (_stp_write): Combine buffers only for REALTIME_DATA.
* *** empty log message ***hunt2006-03-2012-5/+197
|
* change relayfs version checking ifdefstrz2006-03-166-14/+19
|
* updatedtrz2006-03-161-0/+6
|
* remove relayfs include pathtrz2006-03-161-1/+0
|
* revert relayfs version check changestrz2006-03-162-48/+3
|
* Fix for bug #2406 (autodetect supported relayfs versions)trz2006-03-1512-60/+275
|
* * clarify kernel version prereqfche2006-03-151-1/+1
|
* Added multiple threads and better cpuspeed handling.hunt2006-03-155-67/+143
|
* 2006-03-15 Martin Hunt <hunt@redhat.com>hunt2006-03-152-1/+5
| | | | * procfs.c (STP_DEFAULT_BUFFERS): Bump up to 256.
* A small change in _fd_set_uhien2006-03-151-1/+1
|
* ppc64 specific system calls.hien2006-03-151-0/+1497
|
* 2006-03-13 Josh Stone <joshua.i.stone@intel.com>jistone2006-03-144-2/+115
| | | | | | | * safety/safety.py: Support IA64 disassembly matching. * safety/data/opcodes-ia64: new opcode rules for IA64. * safety/data/references: Add references used by example scripts when compiled for IA64.
* *** empty log message ***hunt2006-03-135-317/+295
|
* 2006-03-13 Frank Ch. Eigler <fche@elastic.org>fche2006-03-132-4/+9
| | | | | * translate.cxx (emit_globals): Tag globals, especially the locks, as __cacheline_aligned.
* Sync up with changes for i686hien2006-03-091-125/+213
|
* These syscalls are moved here from the tapset/syscalls.stphien2006-03-091-0/+75
| | | | | | | sys_acct sys_add_key sys_quotactl sys_request_key
* Fixed _stp_sockaddr_str compile error on ppc64.hien2006-03-091-0/+6
|
* Moved the following to arch specific since ppc64 does not have themhien2006-03-091-43/+4
| | | | | sys_quotactl sys_request_key