summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* make all examples executableEugeniy Meshcheryakov2009-02-217-0/+0
|
* Remove STAPCONF_CFLAGS from the generated MakefileJosh Stone2009-02-201-3/+0
| | | | | This was leftover from my initial draft of autoconf caching. It's not used at all anymore...
* Adjust ET_DYN symbol addresses against module base.Mark Wielaard2009-02-211-1/+10
| | | | | * translate.cxx (dump_unwindsyms): Adjust sym_addr for ET_DYN always against module base as workaround for buggy elfutils < 0.138.
* Merge branch 'master' of git://sources.redhat.com/git/systemtapDave Brolley2009-02-202-1/+2
|\
| * Better <linux/debugfs.h> header file inclusion.David Smith2009-02-202-1/+2
| | | | | | | | | | | | | | 2009-02-20 David Smith <dsmith@redhat.com> * debugfs.c: Added inclusion of linux/debugfs.h. * relayfs.h: Removed inclusion of linux/debugfs.h.
* | Check for required resources and tools before attempting tests using the ↵Dave Brolley2009-02-203-11/+42
|/ | | | | | client/server. Ensure that tests run with/without the server have unique names.
* Merge branch 'master' of git://sources.redhat.com/git/systemtapDave Brolley2009-02-2024-18909/+266
|\ | | | | | | | | | | | | Conflicts: ChangeLog testsuite/ChangeLog
| * Better testcase cleanup.David Smith2009-02-202-3/+3
| | | | | | | | | | | | | | 2009-02-20 David Smith <dsmith@redhat.com> * systemtap.base/cache.exp (stap_compile): Better cleanup. * static_uprobes.exp: Ditto.
| * Ignore kernel functions with "absolute" addresses.Mark Wielaard2009-02-201-7/+6
| | | | | | | | | | | | | | translate.cxx (dump_unwindsyms): Augment the test for creating the stap-symbols to be STT_FUNC && !(SHN_UNDEF || SHN_ABS). The combination STT_FUNC && SHN_ABS only seems to occur on older i386 kernels and covers the vDSO "functions" we were seeing.
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapddomingo2009-02-2019-18882/+107
| |\
| | * Update guidelines for the ChangeLog-less worldJosh Stone2009-02-192-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Getting rid of ChangeLogs doesn't mean that we get a free ticket -- we now need to be more diligent about providing meaningful commit messages. I've updated the HACKING file with a first draft of new guidelines, but we may still revise what we feel is appropriate detail in the logs. I removed the ChangeLog section from the tapset/DEVGIDE entirely, and also fixed the path where examples are stored.
| | * Kill all ChangeLogsJosh Stone2009-02-1915-18856/+76
| | | | | | | | | | | | | | | | | | Mark Wielaard, a dear friend of the departed, will be performing a song and dance at the funeral services to commemorate the joyous times that they had together.
| | * Clean up extraneous build warningsJosh Stone2009-02-192-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The testsuite Makefile doesn't have any useful targets except check and installcheck, and those two are invoked directly by the top-level Makefile. So, I'm removing testsuite from automake's SUBDIRS, but keeping it in DIST_SUBDIRS for cleanup. I also renamed our top-level check target to check-local, so it cooperates with automake's check instead of overriding it.
| | * Alias AUTHOR Prerna -> Prerna SaxenaJosh Stone2009-02-192-1/+2
| | |
| * | added Tracking System Call Volume Per Process sectionddomingo2009-02-202-0/+133
| |/
| * static_uprobes test case cleanupFrank Ch. Eigler2009-02-192-12/+23
| |
* | New basic tests for client/server.Dave Brolley2009-02-205-46/+109
|/
* Ignore symbols before module base address.Mark Wielaard2009-02-192-0/+11
|
* PR9719: uninitialized variable fixFrank Ch. Eigler2009-02-182-2/+8
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapddomingo2009-02-1910-11/+134
|\
| * Add NEWS and manpage info about @cast()Josh Stone2009-02-182-0/+48
| |
| * Adding test case for PR9719 fixRajan Arora2009-02-182-0/+12
| |
| * BZ 9719: Improve type mismatch messagesRajan Arora2009-02-183-6/+62
| |
| * 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
| |