summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * PR9866 band-aid: deactivate new CONFIG_STACKTRACE code for older kernelsFrank Ch. Eigler2009-02-184-5/+12
| |
* | short revisions to udp.stpddomingo2009-02-191-8/+8
|/
* Simplify AUTHORS.shJosh Stone2009-02-183-60/+62
| | | | | Let git-shortlog do the hard work for us, with the user mappings now listed in ".mailmap".
* Always emit .probes section; use .label method as a backup strategyStan Cox2009-02-186-18/+28
|
* Merge branch 'master' of sourceware.org:/git/systemtapJosh Stone2009-02-183-4/+16
|\
| * Handles errors better.David Smith2009-02-182-1/+6
| | | | | | | | | | | | | | 2009-02-18 David Smith <dsmith@redhat.com> * systemtap.base/static_uprobes.exp: Handles errors from running 'dtrace' python script better.
| * Better testcase cleanup.David Smith2009-02-182-3/+10
| | | | | | | | | | | | 2009-02-18 David Smith <dsmith@redhat.com> * systemtap.base/labels.exp: Better cleanup.
* | Enable typecasting with @castJosh Stone2009-02-1811-43/+631
|\ \ | |/ |/| | | | | | | | | println(@cast(myptr, "task_struct")->pid) println(@cast(myptr, "task_struct", "kernel")->pid) Merge branch 'typecast', bump ChangeLog entries to push date
| * Bump copyright years to 2009Josh Stone2009-02-187-7/+7
| |
| * Enable dwarf expansion of @castsJosh Stone2009-02-184-35/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will iterate over the module and its CUs looking for the type definition, and then work with loc2c to dereference the pointer. * loc2c.c (c_translate_argument): Create a dummy location to start the address computation from a function parameter. * translate.cxx (base_query, dwarf_query): Move some members from base_query to dwarf_query, so the former can be more generic. Also add a constructor using a module string instead of probe parameters. (dwflpp::query_modules, dwflpp::iterate_over_modules): Use a generic base_query instead of a dwarf_query. (dwarf_cast_query): New query to scan the modules and CUs for a matching type definition, and then produce a code fragment to deref each component. (dwarf_cast_expanding_visitor): Tries to replace @casts with a function call to the result of a dwarf_cast_query. (dwflpp::declaration_resolve): Search by name instead of by die. (dwflpp::translate_components): Use the incoming vardie as the first type die, so we don't assume that attr_mem has a DW_AT_type already. (dwflpp::literal_stmt_for_pointer): Construct a C fragment that starts with a pointer argument (THIS->pointer) and dereferences each member component from there. (*_derived_probe::register_patterns): Take a session parameter instead of a match_node, so we can manipulate session-wide data. (dwarf_derived_probe::register_patterns): Add a session code filter to expand @casts with a dwarf_cast_expanding_visitor.
| * Enable session-wide code filteringJosh Stone2009-02-183-0/+18
| | | | | | | | | | | | | | | | | | | | This will be used to hook to dwarf_builder to all functions and probes so it can attempt @cast expansion. * session.h (systemtap_session): Add a vector of update_visitors that will act as filters for all probes and functions. * elaborate.cxx (semantic_pass_symbols): Run probes and functions through each registered code filter.
| * Provide dwarf module names as defaults in @cast()sJosh Stone2009-02-182-0/+18
| | | | | | | | | | | | * tapsets.cxx (dwarf_var_expanding_visitor::visit_cast_op): While expanding dwarf probes, provide the current module as a default to @casts without a module name.
| * Add high-level support for @cast()ingJosh Stone2009-02-187-1/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This handles all of the parsing, traversal, and optimization. It doesn't actually resolve the cast yet though. * staptree.h (struct cast_op, visitor::visit_cast_op): New. * staptree.cxx (cast_op::print/visit, various visitor::visit_cast_op's): Incorporate cast_op into the basic tree operations. * parse.cxx (parser::parse_symbol): Parse @cast operator with an expression operand, type string, and optional module string. * translate.cxx (c_unparser::visit_cast_op): Error out if a @cast survives to translation. * elaborate.cxx (typeresolution_info::visit_cast_op): Error out if a @cast survives to type resolution. (symbol_fetcher::visit_cast_op): treat @casts as a symbol target (void_statement_reducer::visit_cast_op): unused @casts can be discarded, but the operand should still be evaluated.
* | Remove context argument from _stp_stack_print_fallback (PR 9860).William Cohen2009-02-182-4/+9
| |
* | Removed unused functions and variables.David Smith2009-02-1816-374/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-18 David Smith <dsmith@redhat.com> * io.c (_stp_log): Removed unused function. * map.c (_stp_cmp): Replace _stp_log() with dbug(). * mempool.c (_stp_mempool_resize): Removed unused function. * print.c (next_fmt): Removed unused function. * procfs.c: Removed unused variable '_stp_num_procfs_files'. * regs.c (_stp_ret_addr): Removed unused function. * string.c (_stp_text_str): Removed unused variable 'len'. * string.h: Removed unused variable '_stdout_' and function declaration for deleted function '_stp_vsprintf'. * sym.c: Removed unused variables. * unwind.c (_stp_create_unwind_hdr): Removed unused function. 2009-02-18 David Smith <dsmith@redhat.com> * control.c: Removed unused variable '_stp_current_buffers'. * procfs.c (_stp_set_buffers): Removed unused function. (_stp_register_ctl_channel_fs): Removed unused variables and label. * symbols.c (u32_swap): Removed unused function. (generic_swap): Ditto. (_stp_sort): Ditto. (_stp_section_is_interesting): Ditto. * transport.c (_stp_transport_init): Removed unused variable 'ret'.
* | 485491, revised installation instructions, now uses yum install and ↵ddomingo2009-02-181-78/+67
| | | | | | | | debuginfo-install for kernel info pkgs
* | added legal notice to override Publican default, doc source is now GPL2ddomingo2009-02-182-1/+31
| |
* | author name tweakFrank Ch. Eigler2009-02-172-1/+1
| |
* | version bump to 0.9 throughoutFrank Ch. Eigler2009-02-176-28/+28
| |
* | autogenerate AUTHORSFrank Ch. Eigler2009-02-173-12/+114
| |
* | fixing configury version driftFrank Ch. Eigler2009-02-1713-4852/+6016
| |
* | fix sdt.h test case for $srcdir != $builddirFrank Ch. Eigler2009-02-172-2/+17
| |
* | use "X" asm constraint for user-space marker parmsFrank Ch. Eigler2009-02-172-5/+10
| |
* | Move sdt.h to includes/sys and use in tests.Mark Wielaard2009-02-1713-7072/+5508
| |
* | PR 9716, replaced pkgconfig checks with AC macros in configure.ac for server ↵Elliott Baron2009-02-1710-948/+1151
| | | | | | | | deps.
* | Reduced control channel code duplication.David Smith2009-02-176-270/+132
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-17 David Smith <dsmith@redhat.com> * control.c: Contains generic control channel functions. * procfs.c: Specific procfs control channel functions. All generic control channel functions moved to control.c. * debugfs.c: New file containing debugfs specific control channel functions. * control.h: New file. * transport.c: Updated file inclusion.
* | Improved cleanup in tests.David Smith2009-02-165-22/+73
| |
* | sdt.h (STAP_PROBE): Take provider and probe as arguments.Mark Wielaard2009-02-162-1/+5
| |
* | PR 9850, use a list of arguments for call.Mark Wielaard2009-02-162-2/+7
| |
* | PR 9851, use os.path.splitext instead of string.replace.Mark Wielaard2009-02-162-2/+8
| |
* | PR 9849, use mkstemp.Mark Wielaard2009-02-162-1/+8
| |
* | Fix )( typo in sdt.h STAP_PROBE9 parm9.Mark Wielaard2009-02-162-1/+5
| |
* | Handle c++ static user probes via .probe, c via .label.Stan Cox2009-02-156-265/+157
| |
* | convert remaining translator-output code from <<endl to \nFrank Ch. Eigler2009-02-132-60/+65
| |
* | Update Documentation section and include URLs.William Cohen2009-02-132-12/+66
| |
* | Fixed stack.c compile problems on systems with older kernels (like RHEL4).David Smith2009-02-132-0/+5
| | | | | | | | | | | | | | 2009-02-13 David Smith <dsmith@redhat.com> * stack.c: Fixed compile problems on systems with older kernels (like RHEL4).
* | Fixed transport/procfs.c for systems that use the old transport (RHEL4).David Smith2009-02-134-3/+19
| | | | | | | | | | | | | | | | | | | | | | 2009-02-13 David Smith <dsmith@redhat.com> * procfs.c: Added macros to guard against multiple inclusion. 2009-02-13 David Smith <dsmith@redhat.com> * procfs.c: Added inclusion of ../procfs.c for _stp_mkdir_proc_module().
* | Correct entries for test_check and test_installcheck.William Cohen2009-02-122-2/+6
| |
* | Moved inclusion of runtime/procfs.c to a better place.David Smith2009-02-124-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-12 David Smith <dsmith@redhat.com> * tapsets.cxx (procfs_derived_probe_group::emit_module_decls): Moved inclusion of procfs.c here from runtime/transport.c 2009-02-12 David Smith <dsmith@redhat.com> * transport.c: Moved inclusion of procfs.c to procfs_derived_probe_group::emit_module_decls() in tapsets.cxx.
* | Function to determine page fault type and have pfaults.stp exercise it.William Cohen2009-02-1211-74/+136
| |
* | Cleanup. Renamed _stp_{un}lock_debugfs() to _stp_{un}lock_transport_dir().David Smith2009-02-127-16/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-12 David Smith <dsmith@redhat.com> * transport.c (_stp_lock_transport_dir): Renamed from _stp_lock_debugfs(), since on older kernels this actually uses procfs. (_stp_unlock_transport_dir): Renamed from _stp_unlock_debugfs(), since on older kernels this actually uses procfs. (_stp_lock_transport_dir): Changed _stp_lock_debugfs()/_stp_unlock_debugfs() to _stp_lock_transport_dir()/_stp_unlock_transport_dir(). * transport.h: Ditto. Also added _stp_transport_init() prototype. * utt.c (utt_remove_root): Changed _stp_lock_debugfs()/_stp_unlock_debugfs() to _stp_lock_transport_dir()/_stp_unlock_transport_dir(). * relayfs.c (_stp_remove_relay_root): Ditto. 2009-02-12 David Smith <dsmith@redhat.com> * procfs.c (_stp_rmdir_proc_module): Changed _stp_lock_debugfs()/_stp_unlock_debugfs() to _stp_lock_transport_dir()/_stp_unlock_transport_dir(). (_stp_mkdir_proc_module): Ditto.
* | Use "\n" instead of endl in inner loops.Mark Wielaard2009-02-122-2/+7
| |
* | Extend blacklist to cover bitops.h. While there, fixup paths for existing ↵Ananth N Mavinakayanahalli2009-02-121-0/+5
| | | | | | | | blacklisted files
* | added topsys.stp to examples (profiling)ddomingo2009-02-123-12/+143
|/
* Use kernel stack backtrace support when availableTim Moore2009-02-116-2/+113
| | | | | Define new functions that use the kernel support to do a backtrace of other tasks than current.
* Server response is no longer signed. Passed as a zip archive instead.Dave Brolley2009-02-114-47/+56
|
* Fixed __stp_utrace_attach by always checking for mm.David Smith2009-02-112-5/+9
| | | | | | | 2009-02-11 David Smith <dsmith@redhat.com> * task_finder.c (__stp_utrace_attach): Still checks for mm after checking task's flags for PF_KTHREAD.
* Probe only calls and not inlines in functioncallcount.stpAnanth N Mavinakayanahalli2009-02-111-1/+1
|
* Merge branch 'update_visitor'Josh Stone2009-02-105-603/+595
|\ | | | | | | | | | | | | | | | | | | | | | | This brings a new update_visitor that makes it easier to traverse the parse tree and modify parts of it as necessary. I wrote this as part of my in-progress work to allow @cast() expansion, but I was able to apply it to the dwarf/etc. target variable expanders and to the optimization stages. I think the resulting code is more predictable and easier to follow... Conflicts: ChangeLog (bumped my commit dates to push dates...)
| * Simplify void_statement_reducerJosh Stone2009-02-102-94/+68
| | | | | | | | * elaborate.cxx (void_statement_reducer): Convert to an update_visitor.