summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* PR10901: Add -D_FILE_OFFSET_BITS=64 to Makefile.am for stap and staprunCharley Wang2009-11-301-2/+2
|
* Fix build error when !HAVE_NSSWenji Huang2009-11-301-2/+2
| | | | | * runtime/staprun/staprun_funcs.c (assert_stap_module_permissions): Mark parameters unused.
* docs: abbreviated stap-server news blurbsFrank Ch. Eigler2009-11-281-51/+16
|
* Update NEWS and initscript/README.stap-server with details of changesDave Brolley2009-11-272-1/+142
| | | | due to recent commits.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-271-16/+15
|\
| * Fix compilation warning of passing NULL to int parameterWenji Huang2009-11-261-1/+1
| | | | | | | | * util.cxx (in_group_id): Replace NULL with 0.
| * Fix compilation error, use getgroups without fixed limits.Roland McGrath2009-11-251-16/+15
| | | | | | | | * util.cxx (in_group_id): Don't use NGROUPS_MAX.
* | PR 10984 Additional Work. TOCTOU race checking access permissions before ↵Dave Brolley2009-11-272-51/+80
|/ | | | canonicalizing /lib/modules/KVER/systemtap.
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-253-8/+21
|\
| * include modverify.h unconditionally.Dave Brolley2009-11-241-2/+0
| |
| * Fix uninitialized fields in loc2c.Roland McGrath2009-11-241-0/+6
| | | | | | | | | | * loc2c.c (alloc_location, location_from_address, c_translate_constant): Initialize ops and nops fields.
| * Add assert for detecting shared library reloading, PR11015.Mark Wielaard2009-11-241-6/+15
| | | | | | | | | | * runtime/sym.c (_stp_tf_mmap_cb): Only look for first load of whole module that is executable. Add check for detecting reloading of module.
* | Improve error messages related to module signing.Dave Brolley2009-11-251-15/+7
| |
* | - Allow root, the owner of the uprobes build directory and the members of theDave Brolley2009-11-257-69/+94
| | | | | | | | | | | | | | | | | | | | group owner of the uprobes buld directory to build uprobes.ko. - When building uprobes.ko, make all generated files writable by the group owner of the uprobes build directory. - Don't change the group owner of the uprobes build directory during 'make install'
* | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-241-61/+121
|\|
| * Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-2419-92/+426
| |\
| * | PR 10976, 10984. Loading of signed modules (script module and uprobes) ↵Dave Brolley2009-11-241-61/+121
| | | | | | | | | | | | limited to members of stapusr.
* | | Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-11-2373-399/+1316
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: configure
| * | Updated.David Smith2009-11-232-0/+2
| | |
| * | Fixed tapset reference manual generation.David Smith2009-11-233-3/+3
| | | | | | | | | | | | | | | | | | | | | * doc/SystemTap_Tapset_Reference/Makefile.am: Check for file existence before doing compare. * doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated. * tapset/ioblock.stp: Fixed comment so that docs can be built.
| * | Correct tapset/ioscheduler.stp so documentation builds.William Cohen2009-11-231-6/+6
| | |
| * | Tweak cu-decl testWenji Huang2009-11-232-4/+6
| | | | | | | | | | | | | | | * testsuite/systemtap.base/cu-decl.exp: Check utrace. * testsuite/lib/stap_compile.exp: Make catch after wait.
| * | Correct block IO and IO scheduler tapset and test caseWenji Huang2009-11-233-12/+4
| | | | | | | | | | | | | | | | | | * tapset/ioblock.stp: Update comment and variables. * testsuite/buildok/ioblock_test.stp: Add parameters. * testsuite/buildok/ioscheduler.stp: Remove redundant parameters.
| * | Added tracepoint-based probes to block IO and IO scheduler tapsets.Prerna Saxena2009-11-225-52/+385
| | | | | | | | | | | | | | | Added testcases for these probes. Also, modified comments in ioblock.stp so that tapset docmentation can be automatically generated for this tapset.
| * | cleanup: explain -5 magic value used in map-sorting codeFrank Ch. Eigler2009-11-202-2/+2
| | |
| * | build: disable make-silent mode in rpm buildsFrank Ch. Eigler2009-11-201-1/+1
| | |
| * | PR10983: Give preference to tracepoints in trace/events/Josh Stone2009-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | In 2.6.32-rc7, there are two power.h tracepoints headers, and only the one in trace/events/ is valid. In general, we can expect that trace/events/ has newer headers, so we should search those first. * tapsets.cxx (tracepoint_builder::init_dw): Search /events/ first.
| * | PR 10981. Fixed buildok/netdev.stp for RHEL5.David Smith2009-11-182-4/+4
| | | | | | | | | | | | | | | | | | | | | * tapset/networking.stp: Made 'netdev.change_rx_flag' and 'netdev.get_stats' optional, since those functions don't exist on RHEL5. * testsuite/buildok/netdev.stp: Ditto.
| * | Don't kfail buildok/sched_test.stp and buildok/process_test.stp.David Smith2009-11-181-2/+0
| | | | | | | | | | | | | | | | | | * testsuite/systemtap.pass1-4/buildok.exp: On rhel5 and rawhide, the buildok/sched_test.stp and buildok/process_test.stp tests pass sucessfully, so there is no reason to kfail them.
| * | PR 5150. Fixed nfs tapset by making probes optional.David Smith2009-11-182-23/+30
| |/ | | | | | | | | | | | | * tapset/nfs_proc.stp: Made 'nfs.proc.read', 'nfs.proc.write', and 'nfs.proc.commit' optional for newer kernels without those functions. * testsuite/systemtap.pass1-4/buildok.exp: Expect nfs-all-probes.stp to pass.
| * Check in regenerated systemtap example indexes.Mark Wielaard2009-11-184-121/+126
| |
| * Clean up examplesWenji Huang2009-11-1824-41/+29
| |
| * Test cross-CU type discoveryJosh Stone2009-11-173-0/+50
| | | | | | | | | | Check that we can dereference a type declaration that is defined in a separate CU from the function.
| * Make interrupts-by-dev.stp executableWenji Huang2009-11-181-0/+0
| |
| * PR4037: 32-bit staprun vs. 64-bit kernels just works (tm)Frank Ch. Eigler2009-11-177-41/+15
| | | | | | | | | | * configure.ac (PROCFLAGS): Don't define it. * Makefile.am: Don't use it.
| * Document is_return(), module_name() and stp_pid() context tapset functions.Mark Wielaard2009-11-171-15/+18
| |
| * With tapset/aux_syscalls.stp fixes, test twentyseven.stp is not kfail.David Smith2009-11-171-1/+0
| | | | | | | | | | * testsuite/systemtap.pass1-4/buildok.exp: Test twentyseven.stp should pass now.
| * Search other CUs of the module when resolving declarations.Mark Wielaard2009-11-172-12/+43
| | | | | | | | | | | | | | | | | | | | | | * dwflpp.h (declaration_resolve_other_cus): New method. (iterate_over_globals): Mark as static and takes a CU to iterate over. (global_alias_caching_callback_cus): New method. * dwflpp.cxx (global_alias_caching_callback_cus): New method. (declaration_resolve_other_cus): New method. (declaration_resolve): Call iterate_over_globals() with current cu. Call declaration_resolve_other_cus() when name not found. (iterate_over_globals): Takes cu_die to iterate over as argument.
| * Fixed aux_syscalls.stp for RHEL4.David Smith2009-11-171-0/+12
| | | | | | | | | | * tapset/aux_syscalls.stp: Only define entries for IRQF_* flags if they exist.
| * PR 10974 fix. Fixed aux_syscalls.stp for RHEL5.David Smith2009-11-171-0/+4
| | | | | | | | | | * tapset/aux_syscalls.stp: Only define entries for IRQF_NOBALANCING/IRQF_IRQPOLL if they exist.
| * Use DW_AT_MIPS_linkage_name when available in vardie_from_symtable.Mark Wielaard2009-11-171-1/+8
| | | | | | | | | | | | | | | | If there is a DW_AT_MIPS_linkage_name it encodes the actual name of the variable as used in the symbol table. * dwflpp.cpp (vardie_from_symtable): Check whether there is a DW_AT_MIPS_linkage_name attribute and use its value if so.
| * Remove caching of emit_address for kernel modules and shared libraries.Mark Wielaard2009-11-171-4/+7
| | | | | | | | | | | | | | | | | | | | Caching of the address is only safe for kernel addresses that can never change. For kernel module or dynamic shared library addresses it isn't safe to cache the address since they can be unloaded, reloaded or mapped differently in separate executables. * dwflpp.cxx (emit_address): Remove static from addr definition for kernel and dynamic modules.
| * Explain "cheat" comment in sym.c (_stp_tf_mmap_cb).Mark Wielaard2009-11-171-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | We are abusing the "first" section address here to indicate where the module (actually first segment) is loaded (which is why we are ignoring the offset). It would be good to redesign the stp_module/stp_section data structures to better align with the actual memory mappings we are interested in (especially the "section" naming is slightly confusing since what we really seem to mean are elf segments (which can contain multiple elf sections). * runtime/sym.c (_stp_tf_mmap_cb): Add cheat comment.
| * PR 5150 partial fixes. Added support for nfs_file_fsync.David Smith2009-11-161-37/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tapset/nfs.stp(nfs.fop.fsync): Added support for nfs_file_fsync. (nfs.fop.fsync.return): Ditto. (nfs.aop.readpages.return): Fixed 'size' bug. (nfs.aop.write_begin): Renamed to make 'nfs.*.*' probes work correctly. (nfs.aop.write_end): Ditto. (__nfs.aop.write_begin): Ditto. (__nfs.aop.write_end): Ditto. (__nfs.aop.prepare_write): Ditto. (__nfs.aop.commit_write): Ditto. (nfs.fop.aio_read.return): Always sets 'units'. (nfs.fop.aio_write.return): Ditto. (nfs.fop.sendfile.return): Ditto.
| * Add testcase for retrieving $global vars from execs and shared libs.Mark Wielaard2009-11-164-0/+204
| | | | | | | | | | | | | | | | | | Explicit testcase for PR10010 and PR10622. * testsuite/systemtap.base/externalvar.c: New file. * testsuite/systemtap.base/externalvar.exp: New file. * testsuite/systemtap.base/externalvar.stp: New file. * testsuite/systemtap.base/externalvar_lib.c: New file.
| * PR10010 Support $globals in shared libraries.Mark Wielaard2009-11-162-8/+10
| | | | | | | | | | | | | | | | * dwflpp.cxx (dwflpp::emit_address): Enable task finder and emit a _stp_module_relocate for the ".dynamic" section when seeing a user-space dso address. * runtime/sym.c (_stp_mod_sec_lookup): Remove .dynamic section addr cheat. (_stp_tf_mmap_cb): Add cheat here.
| * Allow modules to trigger task_finder vma_tracker.Mark Wielaard2009-11-162-0/+11
| | | | | | | | | | | | | | * runtime/sym.h: Define _stp_need_vma_tracker. * translate.cxx (emit_symbol_data_done): Output _stp_need_vma_tracker value. (c_unparser::emit_module_init): If STP_NEED_VMA_TRACKER isn't defined check _stp_need_vma_tracker to call _stp_sym_init().
| * PR 5150 partial fix. Support nfs_write_begin()/nfs_write_end().David Smith2009-11-161-4/+76
| | | | | | | | | | * tapset/nfs.stp: Added support for nfs_write_begin()/nfs_write_end(), which replaced nfs_prepare_write()/nfs_commit_write().
| * Add documentation for ansi.stp tapset.Mark Wielaard2009-11-162-15/+88
| | | | | | | | | | * tapset/ansi.stp: Add documentation for every function. * doc/SystemTap_Tapset_Reference/tapsets.tmpl: Add chapter on ansi.
| * PR10622 Search for extern $variables in symbol table.Mark Wielaard2009-11-163-14/+62
| | | | | | | | | | | | | | | | * dwflpp.h (vardie_from_symtable): New method. * dwflpp.cxx (vardie_from_symtable): New method. (literal_stmt_for_local): Use vardie_from_symtable when no location attribute and DW_AT_external. * testsuite/buildok/xtime.stp: New testcase from PR10622.