summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * PR10171 workaround.David Smith2009-05-181-0/+5
| | | | | | | | * runtime/itrace.c: To avoid ia64 lockups, disable itrace on ia64.
| * PR10091 fixes.David Smith2009-05-182-30/+147
| | | | | | | | | | | | | | | | * runtime/itrace.c (usr_itrace_report_signal): Add a workaround for ppc-specific problem. * testsuite/systemtap.base/itrace.exp: Improved tests. Improved test completeness. Will also no longer give fails for systems that don't support single or block step (will give xfails instead).
| * Fix typo in mq_timedreceive probe point.Przemyslaw Pawelczyk2009-05-181-1/+1
| | | | | | | | * tapset/syscalls.stp: Rename abs_timout_uaddr to abs_timeout_uaddr.
| * Merge branch 'master' of git://sources.redhat.com/git/systemtapMark Wielaard2009-05-1822-4861/+5591
| |\
| | * Make all tapsets' TOK_FOO constantJosh Stone2009-05-157-34/+34
| | |
| | * Merge branch 'tapsets-cleanup'Josh Stone2009-05-1515-4826/+5556
| | |\
| | | * Privatize many dwflpp membersJosh Stone2009-05-152-59/+59
| | | | | | | | | | | | | | | | | | | | This helps make it more obvious which methods are accessed by external classes, which should help in refactoring.
| | | * Simplify our unordered_map typedefsJosh Stone2009-05-152-18/+9
| | | |
| | | * Break the dwflpp dependence on query_cuJosh Stone2009-05-153-8/+10
| | | |
| | | * Break the dwflpp dependence on query_moduleJosh Stone2009-05-153-15/+5
| | | |
| | | * Merge the dwflpp::query_cu_..._address methodsJosh Stone2009-05-153-25/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method query_cu_containing_global_address was only called by query_cu_containing_module_address, and the latter was just doing a simple argument transform. They are now merged into a single method, query_cu_containing_address. The function module_address_to_global is also merged here at its only call site.
| | | * Don't shadow dwlfpp::dwfl in loc2c_emit_addressJosh Stone2009-05-151-2/+1
| | | |
| | | * Remove unused dwflpp methodsJosh Stone2009-05-152-43/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These three methods had no callers, and are thus obsolete: dwflpp::focus_on_module_containing_global_address(Dwarf_Addr a) dwflpp::global_address_to_module(Dwarf_Addr a) dwflpp::cu_name_matches(string pattern)
| | | * Move dfwlpp into its own fileJosh Stone2009-05-1215-4762/+5595
| | | | | | | | | | | | | | | | | | | | It's not a terribly clean split, but moving it helps reveals some of the knots that need to be untangled.
| | | * Consolidate dwflpp setupJosh Stone2009-05-111-67/+41
| | | |
| * | | Tidy/tighten DEBUG_UNWIND ptrType a bit.Mark Wielaard2009-05-151-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/unwind.c (_stp_enc_hi_name): Include prefix for hi == 0. (_stp_enc_lo_name): Don't include prefix. (_stp_eh_enc_name): Always include hi_name. (unwind): Always include newline in dbug_unwind() calls.
* | | | Fixed cut-and-paste error.David Smith2009-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | * runtime/task_finder.c (__stp_call_mmap_callbacks_for_task): Fixed cut-and-paste error.
* | | | Avoid holding semaphore while making mmap callbacks.David Smith2009-06-091-52/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/task_finder.c (__stp_call_mmap_callbacks_for_task): Grabs the 'mmap_sem' sempaphore. Caches vma information, releases the semaphore, then makes mmap callbacks. (__stp_utrace_task_finder_target_quiesce): Calls __stp_call_mmap_callbacks_for_task() to make mmap callbacks on initial attach to a task.
* | | | Avoid 1 case of holding a semaphore while mmap callbacks are being made.David Smith2009-06-091-57/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/task_finder.c (__stp_call_mmap_callbacks_with_addr): Renamed from __stp_call_mmap_callbacks_with_vma(). Also added some code from __stp_utrace_task_finder_target_syscall_exit() that locks the 'mmap_sem' semaphore. This avoids holding the semaphore while the mmap callbacks are made. (__stp_utrace_task_finder_target_syscall_exit): Just calls __stp_call_mmap_callbacks_with_addr() in the mmap case.
* | | | Make sure all DEBUG_TRANS output uses printk.David Smith2009-06-032-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/transport/control.c (_stp_ctl_write_cmd): Calls dbug_trans2 instead of _dbug (so that printk is used instead of the transport itself). (_stp_ctl_write_dbug): Ditto. * runtime/debug.h (dbug_trans2): New macro.
* | | | Fixed STP_TRANSPORT_VERSION 1 behavior.David Smith2009-06-036-23/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/transport/control.c (_stp_ctl_write_dbug): Added support for more messages. * runtime/transport/relay_v2.c (_stp_transport_data_fs_start): New function. (_stp_transport_data_fs_stop): Ditto. (_stp_transport_data_fs_close): Moved some functionality into _stp_transport_data_fs_stop() and calls _stp_transport_data_fs_stop() also. (_stp_transport_data_fs_init): Moved some functionality into _stp_transport_data_fs_start() and calls _stp_transport_data_fs_start() also. * runtime/transport/relayfs.c (_stp_transport_data_fs_start): New function. (_stp_transport_data_fs_stop): Ditto. (_stp_transport_data_fs_close): Moved some functionality into _stp_transport_data_fs_stop() and calls _stp_transport_data_fs_stop() also. (_stp_transport_data_fs_init): Moved some functionality into _stp_transport_data_fs_start() and calls _stp_transport_data_fs_start() also. * runtime/transport/ring_buffer.c (_stp_transport_data_fs_start): New empty function. (_stp_transport_data_fs_stop): Ditto. * runtime/transport/transport.h: Added _stp_transport_data_fs_start() and _stp_transport_data_fs_stop() prototypes. * runtime/transport/transport.c (_stp_cleanup_and_exit): Calls _stp_transport_data_fs_stop(). (_stp_transport_close): Calls _stp_transport_fs_close() earlier. (_stp_transport_init): Calls _stp_transport_data_fs_start().
* | | | Cleanup and better original transport support.David Smith2009-05-263-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/print.h: Moved _stp_reserve_bytes() prototype here. * runtime/vsprintf.c (_stp_vsnprintf): Includes print.h to get _stp_reserve_bytes() prototype. * runtime/transport/transport.c (_stp_remove_root_dir): Better cleanup for STP_TRANSPORT_VERSION == 1. (_stp_transport_fs_close): Ditto.
* | | | Added error checking and other updates.David Smith2009-05-227-488/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * runtime/vsprintf.c: Added transport.h inclusion for STP_BUFFER_SIZE definition. * runtime/transport/debugfs.c (_stp_register_ctl_channel_fs): Added error checking. * runtime/transport/transport.c (_stp_get_root_dir): Ditto. (_stp_transport_fs_init): Added original transport support and error checking. * runtime/transport/relay_v2.c (__stp_relay_create_buf_file_callback): Added error checking. (_stp_transport_data_fs_init): Ditto. * runtime/transport/ring_buffer.c (_stp_transport_data_fs_init): Ditto. * runtime/transport/utt.c: Removed unused file. * runtime/transport/utt.h: Ditto.
* | | | Merge commit 'origin/master' into pr7043David Smith2009-05-21377-6949/+18229
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Conflicts: runtime/print.c runtime/transport/transport.c runtime/transport/transport_msgs.h
| * | | Add stap-server buildreqs: nss-tools and pkgconfig.David Smith2009-05-151-1/+1
| |/ /
| * | Mark all testsuite/parseko/cmdline21.stp as executable.Mark Wielaard2009-05-155-0/+0
| | |
| * | flightrec3.exp uses cpus as array, so rename skipped.exp cpus var to nr_cpus.Mark Wielaard2009-05-151-3/+3
| | | | | | | | | | | | | | | | | | | | | Works around a make installcheck issue that resulted in skipped.exp failing because of "ERROR: can't set "cpus": variable is array" * testsuite/systemtap.base/skipped.exp: Renamed cpus variable to nr_cpus.
| * | Set explicit longer, 60 second, timeout for alternatives.exp.Mark Wielaard2009-05-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | In an make installcheck run this is the first script that goes through the full kernel debuginfo which might take a bit. * testsuite/systemtap.base/alternatives.exp: Set timeout to 60, verbose log EOF or TIMEOUT when they occur.
| * | Fixed comma space, space dot typos in various man pages.Mark Wielaard2009-05-153-19/+19
| | | | | | | | | | | | Reported-by: K.Prasad <prasad@linux.vnet.ibm.com>
| * | Fixed few typos in various man pages found by a spellchecker.Petr Muller2009-05-154-12/+12
| | |
| * | Fix few typos in stapprobes manpages found by a spellchecker.Petr Muller2009-05-155-23/+23
| | |
| * | [tracepoints] ternary is nicer for arg formatJosh Stone2009-05-141-5/+1
| | |
| * | [tracepoints] Print pointer arguments with %pJosh Stone2009-05-141-1/+5
| | | | | | | | | | | | | | | | | | We know the full type of every tracepoint argument, so for those that are pointers, print $$vars/$$parms using "%p". The integer-type arguments continue to use the generic "%#x".
| * | PR10139 Mark .probes section SHF_ALLOC.Mark Wielaard2009-05-142-2/+19
| | | | | | | | | | | | | | | | | | * includes/sys/sdt.h (STAP_PROBE_DATA_): Mark .probes section SHF_ALLOC. * tapsets.cxx (dwarf_builder::build): Search in either dwarf or main elf file for .probes section.
| * | Revert "Include grapher in installed file list."William Cohen2009-05-141-5/+1
| | | | | | | | | | | | This reverts commit 845a65342cda663e665847087d969ee9554a88f1.
| * | Include grapher in installed file list.William Cohen2009-05-141-1/+5
| | |
| * | Initialize variables in GraphWidget::on_motion_notify_event().William Cohen2009-05-141-2/+2
| | |
| * | Fix inconsistent indentation for including header file in aux_syscalls.stp.Sunzen Wang2009-05-141-4/+4
| | | | | | | | | | | | * tapset/aux_syscalls.stp: Don't indent #include <linux/utime.h>.
| * | PR 6930: Add additional testcases for flight recorder modeKeiichi KII2009-05-137-0/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/parseko/cmdline17.stp: command line check - bad combination with -D and -L * testsuite/parseko/cmdline18.stp: command line check - bad combination with -D and -d * testsuite/parseko/cmdline19.stp: command line check - bad combination with -D and -c * testsuite/parseko/cmdline20.stp: command line check - need output file with -D * testsuite/parseko/cmdline21.stp: command line check - need output file with -S * testsuite/systemtap.base/flightrec3.exp: New test case for file switching with bulk mode * testsuite/systemtap.base/flightrec3.stp: Test script for file switching per cpu
| * | Initialize aptr in runtime/map.c and keep gcc-4.4 happyAnanth N Mavinakayanahalli2009-05-131-1/+1
| | |
| * | Implement caller:string() in terms of symname() and caller_addr().Mark Wielaard2009-05-131-8/+5
| | | | | | | | | | | | | | | * tapset/context-unwind.stp (caller): Implement as stap function using symname(), caller_addr() and sprintf().
| * | Use actual sock in tcp_test, instead of unexisting sk variable.Mark Wielaard2009-05-121-7/+7
| |/ | | | | | | | | * testsuite/buildok/tcp_test.stp (tcp.sendmsg): Use sock for testing. (tcp.recvmsg): Likewise.
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapWilliam Cohen2009-05-1110-2991/+2526
| |\
| | * Correct typo in BUILD_SERVER test in configure.ac.Dave Brolley2009-05-1110-2991/+2526
| | |
| * | Provide more details in testsuite.examples/README on how to submit examples.William Cohen2009-05-111-49/+97
| |/
| * Get .probes section through dwarf debuginfo file if necessary.Mark Wielaard2009-05-101-1/+39
| | | | | | | | | | | | * tapsets.cxx (dwarf_builder::build): Add some comments, verbose log messages and get Elf through dwarf_getelf if it exists before searching for .probes section.
| * Allow @cast failures to get optimized awayJosh Stone2009-05-083-18/+20
| | | | | | | | | | | | We have the saved_conversion_error field, but I wasn't using it. Now @cast errors are saved in that field, so they're only seen if the optimizer doesn't remove the @cast.
| * PR10054: Unify the translate_components errorsJosh Stone2009-05-081-39/+12
| | | | | | | | | | | | | | Since translate_components is the one that knows the details of its failures, it makes more sense to let it throw its own errors, instead of relying on each caller to do it. The function now always either returns successfully or throws an error.
| * Refactor anonymous lookups in translate_componentsJosh Stone2009-05-082-114/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous code recursed the entirety of translate_components, and it seemed to be restarting the components list every time, so it would only work if the anonymous portion was the first component. Even then, examining the code output by semok/thirtythree revealed that it wasn't fully translating the locations when multiple anonymous pieces were involved. Instead, it now recurses in a separate function, find_struct_member, which does just enough to find the member die and return. It also builds a vector of the locations passed through, so translate_components can output code for the full chain of anonymity. The generated code for semok/thirtythree's $page->mapping now appears to match the offsets from my manual inspection of struct page. I also added a test for $page->first_page->mapping, which works now but would segfault the old code.
| * Don't attempt NSS if the module failed to buildJosh Stone2009-05-081-1/+2
| |