summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 0.4.1 cooked.roland2005-09-142-0/+10
|
* missed old log commitroland2005-09-141-5/+9
|
* 2005-09-14 Martin Hunt <hunt@redhat.com>hunt2005-09-142-9/+27
| | | | | | | * copy.c (__stp_strncpy_from_user): Add ppc64 support. (_stp_strncpy_from_user): Call access_ok(). (_stp_string_from_user): Ditto. (_stp_copy_from_user): Ditto.
* 2005-09-14 Frank Ch. Eigler <fche@elastic.org>fche2005-09-144-5/+12
| | | | | | | PR 1257 * Makefile.am (AM_CFLAGS): Add -fexceptions. * loc2c.c (c_translate_location): Invoke *fail properly. * Makefile.in: Regenerated.
* 2005-09-13 Graydon Hoare <graydon@redhat.com>graydon2005-09-142-23/+64
| | | | | | | | | PR 1260 * tapsets.cxx (func_info::func_info): Initialize fields. (inline_instance_info::inline_instance_info): Likewise. (query_inline_instance_info): Add try-catch block. (query_func_info): Likewise, and fault when missing prologue-end. (query_dwarf_func): Fault when missing entrypc.
* 2005-09-12 Graydon Hoare <graydon@redhat.com>graydon2005-09-132-2/+8
| | | | | | PR 1306 * tapsets.cxx (dwflpp::iterate_over_srcfile_lines): Fix two off-by-one errors in previous change.
* * removed information about former automagic string conversionfche2005-09-131-3/+4
|
* 2005-09-12 Frank Ch. Eigler <fche@elastic.org>fche2005-09-133-3/+29
| | | | | | | PR 1335 * translate.cxx (c_tmpcounter::visit_functioncall): Correct recursion sequence. * testsuite/buildok/nineteen.stp: New test case.
* 2005-09-12 Graydon Hoare <graydon@redhat.com>graydon2005-09-132-16/+83
| | | | | | | | | PR 1306 * tapsets.cxx (dwflpp::has_single_line_record): New function. (dwflpp::iterate_over_srcfile_lines): Throw when user requests single statement line with multiple records (and provide advice). (query_cu): Adjust call to match. (query_srcfile_line): Fix indentation.
* 2005-09-12 Martin Hunt <hunt@redhat.com>hunt2005-09-122-2/+7
| | | | | * io.c (ERR_STRING): Remove ansi codes. (WARN_STRING): Ditto.
* 2005-09-12 Martin Hunt <hunt@redhat.com>hunt2005-09-122-205/+195
| | | | | | | * arith.c (_stp_div64): Check for division by 0 or -1 first. This simplifies things and removes the possibility of x86_64 trying LLONG_MIN/-1 and faulting. (_stp_mod64): Ditto.
* 2005-09-12 Martin Hunt <hunt@redhat.com>hunt2005-09-122-12/+19
| | | | | | | | | | | | * math/div64.c (main): Set the expected result for LLONG_MIN/-1 to be LLONG_MIN (overflow) instead of 0. 2005-09-09 Martin Hunt <hunt@redhat.com> * math/div64.c (main): Fixes for running on 64-bit hardware. * README: Update. * math/div64.c: New file. 64-bit division tests.
* 2005-09-10 Frank Ch. Eigler <fche@elastic.org>fche2005-09-102-159/+175
| | | | * arith.c: Add some comments explaining why the last change works.
* 2005-09-10 Frank Ch. Eigler <fche@elastic.org>fche2005-09-105-52/+13
| | | | | | | * Makefile.am, runtest.sh: Use a "testresuilt/" directory in build tree rather than overloading "testsuite/". * TODO: Removed obsoleted file. * Makefile.in: Regenerated.
* 2005-09-09 Roland McGrath <roland@redhat.com>roland2005-09-091-0/+1
| | | | * loc2c-runtime.h [__powerpc__] (store_register): Add #undef.
* 2005-09-09 Martin Hunt <hunt@redhat.com>hunt2005-09-092-1/+14
| | | | * math/div64.c (main): Fixes for running on 64-bit hardware.
* Fix for jiffies.hunt2005-09-093-4/+4
|
* 2005-09-09 Martin Hunt <hunt@redhat.com>hunt2005-09-093-18/+22
| | | | | | | | * stat-common.c (_stp_stat_print_valtype): Use _stp_div64(). * arith.c (_stp_div64): Check error before writing to it. Remove check against 32-bit LONG_MIN and -1. That only applies to 64-bit. (_stp_mod64): Ditto.
* 2005-09-09 Martin Hunt <hunt@redhat.com>hunt2005-09-096-1/+208
| | | | | * README: Update. * math/div64.c: New file. 64-bit division tests.
* 2005-09-09 Martin Hunt <hunt@redhat.com>hunt2005-09-094-0/+11
| | | | | | * runtime.h: Add arith.c * recreate_links: Add arith.c * emul.h: Define jiffies so arith.c will compile.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-4/+9
| | | | | * arith.c (_stp_div64): Check for overflow. (_stp_mod64): Ditto.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-63/+281
| | | | | | | | * arith.c (_stp_div64): For 64-bit cpus, just use native division. Otherwise call _div64(). (_stp_mod64): Call _mod64() isf necessary. (_div64): 64-bit division for 32-bit cpus. (_mod64): 64-bit modulo for 32-bit cpus.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-3/+13
| | | | | | * procfs.c (_stp_register_procfs): Change ifdefs to eliminate unused variable warnings. (_stp_unregister_procfs): Ditto.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-1/+4
| | | | * map-values.c (_stp_map_entry_exists): Remove unused var.
* 2005-09-08 Martin Hunt <hunt@redhat.com>hunt2005-09-082-2/+6
| | | | | * scf/scf.c (inst_smp_call_function): Add new verbose arg to _stp_stack_sprint() call.
* nonefche2005-09-071-0/+3
|
* bumping version numberfche2005-09-072-11/+11
|
* bumping version numberfche2005-09-072-11/+11
|
* nonefche2005-09-071-1/+1
|
* 2005-09-07 Martin Hunt <hunt@redhat.com>hunt2005-09-072-0/+11
| | | | * stap.1.in: Document current "-c" and "-x" options.
* 2005-09-07 Frank Ch. Eigler <fche@elastic.org>fche2005-09-072-1/+5
| | | | * systemtap.spec.in: Remove kernel-debuginfo dependency.
* 2005-09-07 Frank Ch. Eigler <fche@redhat.com>fche2005-09-073-5/+12
| | | | | * main.cxx (main): Choose getpid()-based module names. * tapsets.cxx: Make timer.jiffies' use of task_pt_regs __i386__-only.
* 2005-09-07 Frank Ch. Eigler <fche@redhat.com>fche2005-09-072-3/+6
| | | | * stap.1.in: Oops, && and || do short-circuit.
* 2005-09-06 Frank Ch. Eigler <fche@elastic.org>fche2005-09-075-3/+25
| | | | | | | | * stap.1.in: Clarify absence of short-circuiting in && and ||. * translate.cxx (emit_function): Improve "array locals" message. * tapset/timestamp.stp: Add gettimeofday_us function. Correct arithmetic typing in other functions. * stapfuncs.5.in: Document new function.
* 2005-09-06 Martin Hunt <hunt@redhat.com>hunt2005-09-062-1/+5
| | | | * systemtap.spec.in: Bump elfutils_version to .115.
* .roland2005-09-061-5/+9
|
* 2005-09-05 Roland McGrath <roland@redhat.com>roland2005-09-061-2/+1
| | | | * loc2c.h: Comment fix.
* 2005-09-06 Frank Ch. Eigler <fche@elastic.org>fche2005-09-065-45/+66
| | | | | | | * configure.ac: Require elfutils 0.115+. * tapsets.cxx: Restore graydon's PR 1244 code. * testsuite/buildok/eighteen.stp: Correct typing. * configure: Regenerated.
* nonefche2005-09-061-1/+1
|
* 2005-09-06 Martin Hunt <hunt@redhat.com>hunt2005-09-066-3/+54
| | | | | | | | | | | | * tapset/context.stp: Add function target(). * stapfuncs.5.in (target): Document it. * elaborate.h (struct systemtap_session): Add cmd and target_pid to the struct. * main.cxx (usage): Add secriptions of "-c" and "-x" options. (main): Set s.cmd and s.target_pid. * buildrun.cxx (stringify): Copy this utility func here too. (run_pass): Add new options to set cmd and pid to the stpd command line.
* 2005-09-06 Martin Hunt <hunt@redhat.com>hunt2005-09-063-21/+79
| | | | | | | | | | | | * librelay.c: Remove all USE_PROCFS ifdefs. (sig_usr): Signal handler for SIGUSR1. (start_cmd): New function to handle "-c" option, forks() off a new process then waits for SIGUSR1 to exec it. (init_stp): Call start_cmd(). (stp_main_loop): Set a signal handler for SIGCHLD. * stpd.c (main): Add "-t" and "-c" options. (usage): Update with new options.
* 2005-09-06 Martin Hunt <hunt@redhat.com>hunt2005-09-062-6/+8
| | | | | * transport.c (_stp_handle_start): Always reply to a start message with STP_START.
* 2005-09-06 Frank Ch. Eigler <fche@redhat.com>fche2005-09-062-2/+8
| | | | * tapsets.cxx (emit_probe_entries): Disable fault_handler for now.
* 2005-09-05 Frank Ch. Eigler <fche@elastic.org>fche2005-09-063-8/+43
| | | | | | | | | PR 1289 * translate.cxx (lex_cast_qstring): Correct "cast" of object to string containing more than one word. * tapset.cxx (lex_cast_qstring): Ditto. (dwarf_derived_module::emit_probe_entries): Emit and use a generic fault_handler.
* 2005-09-05 Frank Ch. Eigler <fche@elastic.org>fche2005-09-058-175/+242
| | | | | | | | | | | | | | | | | PR 1172. * staptree.h, staptree.cxx: Make all ::print*(), operator<< functions take const staptree objects. (literal_string::print): \-prefix double-quotes. * translate.cxx (emit_common_header): Add context probe_point field. Switch to atomic_t busy flags. (emit_module_exit): Use atomic operations for busy flag. (visit_*): Use lex_cast_qstring for last_stmt strings. * tapsets.cxx (lex_cast_quoted): \-prefix double-quotes too. (*::emit_probe_entries): Populate probe_point. Use atomic operations for busy flag. * tapset/context.stp (pp): New function. * stapfuncs.5.in: Document it. * testsuite/buildok/context_test.stp: Test it.
* 2005-09-04 Frank Ch. Eigler <fche@elastic.org>fche2005-09-052-1/+12
| | | | * translate.cxx (visit_literal_string): \-prefix double-quotes.
* 2005-09-04 Martin Hunt <hunt@redhat.com>hunt2005-09-045-8/+113
| | | | | | | * testsuite/buildok/context_test.stp: New test. * tapset/logging.stp (log): Call _stp_printf(). * stapfuncs.5.in: Add contextinfo funcs. * tapset/context.stp: Minor cleanup.
* nonefche2005-09-031-2/+2
|
* 2005-09-03 Frank Ch. Eigler <fche@elastic.org>fche2005-09-035-30/+64
| | | | | | | | PR 1187 prime * tapset.cxx (literal_stmt_for_local): Don't automgaically copy target char*'s to systemtap strings. * tapset/conversions.stp (user_string, kernel_string): New functions. * stapfuncs.5.in: Document new functions.
* 2005-09-03 Frank Ch. Eigler <fche@elastic.org>fche2005-09-0311-70/+85
| | | | | | | | | | PR 1292, by popular request. * parse.cxx (parse_functiondecl): Allow optional value/param type declarations. * stap.1.in: Document this. * tapset/*.stp: Convert most functions accordingly. * testsuite/parseok/twelve.stp, semok/seven.stp, semko/twenty.stp: Test this.