summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Simplify buildok/context_test.stpJosh Stone2009-05-081-20/+1
| | | | | | | | | | The test was using optional probes on uptime_read_proc, which doesn't exist anymore on 2.6.30. The problem is that when those optional probes are skipped, the test doesn't really do anything. For a buildok test of the context functions, the actual probe point doesn't matter, so I've changed it to just a begin probe that calls all of the functions.
* AUTHORS bump for Malte NuhnJosh Stone2009-05-081-0/+1
|
* context tapset: sid() function to return task session leader pidMalte Nuhn2009-05-082-0/+13
|
* Check whether certutil as provided by nss-tools is installed.Mark Wielaard2009-05-087-44/+82
| | | | | | | | | | | * configure.ac: Add check for certuril, don't build nss stap server when not found. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise. * doc/SystemTap_Tapset_Reference/Makefile.in: Likewise. * grapher/Makefile.in: Likewise.
* Search for only under $(SRCDIR)/tapsets for tapsets.xml and cleanup.Mark Wielaard2009-05-082-2/+4
| | | | | | * doc/SystemTap_Tapset_Reference/Makefile.am (tapsets.xml): Only search under $(SRCDIR)/tapsets for .stp files. Cleanup tapsets.xml.new. * doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated.
* removed unnecessary perl statementsddomingo2009-05-081-7/+7
|
* moves starthere tag higher to remove more content preventing publican buildddomingo2009-05-081-2/+1
|
* Merge branch 'tapsets-cleanup'Josh Stone2009-05-0713-3952/+4291
|\ | | | | | | | | | | This merge splits some of the built-in tapsets into their own files, so we can better maintain clean interfaces. Still TODO are the dwarf- dependent tapsets though, because that's a much bigger mess to untangle.
| * Separate the utrace tapsetJosh Stone2009-05-075-1052/+1082
| |
| * Separate task_finder and the itrace tapsetJosh Stone2009-05-077-388/+501
| |
| * Separate the kernel.mark tapsetJosh Stone2009-05-075-711/+733
| |
| * Separate the permon tapsetJosh Stone2009-05-075-439/+484
| |
| * Group all kprobe_derived_FOO togetherJosh Stone2009-05-071-57/+35
| |
| * Separate the procfs tapsetJosh Stone2009-05-065-502/+557
| |
| * Use a single entry function for begin/end/errorJosh Stone2009-05-061-35/+27
| |
| * Separate the begin/end/error/never tapsetsJosh Stone2009-05-065-206/+259
| |
| * Merge profile_builder into timer_builderJosh Stone2009-05-061-16/+9
| |
| * Separate built-in timer tapsetsJosh Stone2009-05-065-620/+678
| | | | | | | | | | | | All of the timer.* tapsets are now built and handled in their own tapset-timers.cxx, as the first step of many to pare down the current monolithic tapsets.cxx.
* | Don't print out the commands.William Cohen2009-05-071-1/+1
| |
* | Correct TMPFILE and TMPFILE2 file names.William Cohen2009-05-071-3/+3
| |
* | fix permissions of some testsuite filesFrank Ch. Eigler2009-05-073-0/+0
| | | | | | | | Reported-By: Petr Muller <pmuller@redhat.com>
* | added tcpdumplike.stp to Network for Fedora build onlyddomingo2009-05-072-1/+117
|/
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapDave Brolley2009-05-067-5/+49
|\
| * Run autoreconfEugeniy Meshcheryakov2009-05-065-2/+45
| |
| * Revert "Remove latex2html from BuildRequires"Eugeniy Meshcheryakov2009-05-061-1/+1
| | | | | | | | This reverts commit 079e3163aec9bd146428ca930f7de9f78eec233b.
| * Revert "Remove latex2html detection, it is not used anymore"Eugeniy Meshcheryakov2009-05-061-2/+3
| | | | | | | | This reverts commit 3f6d0896b990c586667d0de08ac85b18effb0274.