summaryrefslogtreecommitdiffstats
path: root/main.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the autoconf cachingJosh Stone2009-02-071-0/+1
| | | | | | | | | | | | | | | | | This makes the stapconf caching process quite a bit more transparent. The options are now cached in a header file as #defines, and this header file is a normal build dependency instead of calling so many make $(shell ...) commands. * buildrun.cxx (compile_pass): Pull in autoconf options in a header of #defines rather than -DXXX, and make that header a build dependency. * buildrun.cxx (output_autoconf): New function to consolidate the computation of each autoconf test. * cache.cxx (add_to_cache, get_from_cache, clean_cache): Start treating the stapconf header as a first-class cached item. * cache.h: Move definitions of things only needed in cache.cxx * hash.cxx (find_stapconf_hash): Generate stapconf_name as a .h now. * main.cxx (main): Default the stapconf_name based on getpid().
* copyright year bumpFrank Ch. Eigler2009-02-051-2/+2
|
* Add Vim modelines for GNU style in stapJosh Stone2009-01-281-0/+2
|
* PR5892: rename new -B /PATH to -r /PATH; merge functionalityFrank Ch. Eigler2008-12-031-48/+45
|
* BZ 5892: Add stap -B to sic systemtap at an alternate kernel build treeRajan Arora2008-12-011-9/+39
|
* buildrun/caching warning cleanupFrank Ch. Eigler2008-11-291-7/+14
|
* PR7035: don't suppress all error messages during listings modeWenji Huang2008-11-271-2/+2
|
* fix valgrind warning with setting s.verbose too late during initializationFrank Ch. Eigler2008-11-261-1/+4
|
* PR6925: improve upon "Try again with another -v option" messageFrank Ch. Eigler2008-11-261-5/+5
|
* fix --vp NNN logic for #chars < 5Frank Ch. Eigler2008-11-201-1/+1
|
* PR6925: --vp (per-pass verbosity) optionFrank Ch. Eigler2008-11-181-10/+39
|
* Functions implementing cache limiting.Kent Sebastian2008-10-101-1/+1
|
* add new stap -F (flight recorder) option that just passes through to staprun -LNobuhiro Tachino2008-09-161-1/+7
|
* Ensure that "stap -l ..." only prints probe names, not variables.Josh Stone2008-09-101-8/+9
|
* PR6876: translator speedup for many $varsFrank Ch. Eigler2008-09-101-2/+8
|
* add comments explaining why '-L' works; add NEWS blurb tooFrank Ch. Eigler2008-09-051-2/+3
|
* PR6731: Updated listing mode through adding -L option.Wenji Huang2008-09-051-15/+14
|
* PR6864: simplify usage() reportFrank Ch. Eigler2008-09-041-5/+4
|
* Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-09-011-0/+13
|\ | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': Fix memory access error in nfs.proc.read_setup, nfs.proc.write_setup and nfs.proc.commit_setup Update NEWS regarding the systemtap client/server. New man page for the systemtap client/server and related utilities. Repopulate symbol/type info. Pushed quiesce logic down into the task_finder layer. Added bug 6841 fix utrace syscall test. PR6731: improve listing mode to list variables
| * PR6731: improve listing mode to list variablesWenji Huang2008-08-281-0/+13
| |
* | Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-281-8/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': PR5686: correct regression in semok/optimize.stp trailing whitespace removal, as approved by emacs fix global-var array index rendering fix NEWS to refer to simpler context.stp tapset functions in auto-printing blurb Document written but unread global variable automatic display. 2nd try initial Make _get_sock_addr return correct address in kernel before 2.6.16. Automatically print written but unread globals Make nodwf test passed when CONFIG_QUOTACTL unset Uses STAPCONF_DPATH_PATH instead of a kernel version check. Simplified "rpm" target a bit. Moved tar archive creation step from "rpm" target to "dist-gzip" target. remove support for "make dist" since git-archive does as well; Examples html files moved into subdir. 2008-08-25 David Smith <dsmith@redhat.com> ChangeLog Entries Robustness improvements for the stap client/server
| * trailing whitespace removal, as approved by emacsFrank Ch. Eigler2008-08-281-8/+8
| | | | | | | | (add-hook 'before-save-hook 'delete-trailing-whitespace)
* | PR4225 and PR6826: expand & canonicalize executable path names process probesFrank Ch. Eigler2008-08-091-19/+6
|/
* PR6030: control signal relay and accept deferred re-receptionFrank Ch. Eigler2008-07-171-3/+8
|
* PR6030: forward signals to children - stapio etc.anithra2008-07-171-1/+2
|
* disable caching if "-k" (save-temps) option is givenFrank Ch. Eigler2008-07-101-0/+1
|
* Merge commit 'origin/master' into pr6429-comp-unwindsymsFrank Ch. Eigler2008-07-041-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': ubuntu (2.6.24-16-server) kernel compatibility fix client/server take 2. See bz6565. Add functioncallcount.meta and functioncallcount.stp. Add para-callgraph.stp and para-callgraph.meta. Fixed __stp_get_mm_path() error return code. diagnostics improvement: print arch/mach at top if -vv Make _vfs.generic_commit_write only for kernel<=2.6.25 Handles "mortally wounded" threads correctly when detaching. further clarify that elfutils need not be absolutely freshest, nor rebuilt every time point out releases/ directory; clarify optionality of elfutils bundling Add auto_free_ref to auto_free stuff; bug 6694
| * diagnostics improvement: print arch/mach at top if -vvFrank Ch. Eigler2008-07-011-1/+6
| |
* | populate sess.unwindsym_modules set from dwarf probesFrank Ch. Eigler2008-06-231-3/+6
| |
* | add module-name vector to session object, command line argumentsFrank Ch. Eigler2008-06-231-1/+13
|/
* make "-p4 -m FOO" mode consistent with ordinary -p4Frank Ch. Eigler2008-06-131-2/+4
|
* Fix compile error caused by PATH_MAX in F9.Zhaolei2008-06-021-0/+1
|
* Fix the problem that kernel module compile failure when runtimeZhaolei2008-06-021-0/+10
| | | | directory is set to relative path(stap -R).
* Remove sa_restorer initialization.William Cohen2008-05-191-1/+0
|
* suppress "pass-2 failed" messages from "stap -l FOOBAR"; just produce empty ↵Frank Ch. Eigler2008-05-171-1/+1
| | | | output
* Ignores signals when removing the temporary directory.David Smith2008-05-151-4/+29
| | | | | | | | 2008-05-15 David Smith <dsmith@redhat.com> * main.cxx (setup_signals): New function. (main): Calls setup_signals() to setup signal handling. When removing the temporary directory, ignore signals.
* Merge commit 'origin/dwarfless'Jim Keniston2008-05-121-2/+69
|\ | | | | | | PR 4311 - Function boundary tracing without debuginfo: Phases 1 and 2
| * PR 4311 - Function boundary tracing without debuginfo: Phase IJim Keniston2008-04-181-2/+69
| | | | | | | | | | | | | | | | | | | | | | * tapsets.cxx: Major rework of dwflpp, dwarf_query, and related code to make do with elf info if dwarf info is absent, or (in the case of vmlinux) make do with a System.map-style symbol table if even the elf file is absent. * main.cxx: Use getopt_long instead of getopt. Added --kelf, --kmap, --ignore-vmlinux, and --ignore-dwarf. * hash.cxx, session.h, stap.1.in: Added --kelf, --kmap, --ignore-vmlinux, and --ignore-dwarf.
* | PR6492: make listing mode warning-freeFrank Ch. Eigler2008-05-071-0/+1
| |
* | PR6008: Increase the limitation of the buffer size to 4095MB.Masami Hiramatsu2008-04-301-2/+2
| |
* | PR6454: fix "stap -l" listing of space-laden probe point namesFrank Ch. Eigler2008-04-241-8/+12
| |
* | PR2949: listings mode (stap -l PROBE)Frank Ch. Eigler2008-04-101-62/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 2949. * session.h (listing_mode): New field. * main.cxx (main): Test it. Enjoy it. (usage): Document it. * stap.1.in, stapex.5.in: Ditto. * elaborate.cxx (print_error): Disable error messages in listing mode. 2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 2949 * systemtap.base/cmd_parse.exp: Add "-l" listing test.
* | PR6393: don't bother print build (configure) date any more, with reliable ↵Frank Ch. Eigler2008-04-101-2/+1
| | | | | | | | git ids
* | PR6393: git version tagging at build timeFrank Ch. Eigler2008-04-101-0/+2
|/ | | | | | | | | | | | 2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 6393. * git_version.sh: New file, copied from radeonhd. * configure.ac: No longer generate $builddir/SNAPSHOT. * Makefile.am: Generate $builddir/git_version.h. (EXTRA_DIST): Add git_version.h and git_version.sh. * main.cxx (version): Print generated GIT_MESSAGE therefrom. * Makefile.in, configure: Regenerated.
* 2008-02-29 Will Cohen <wcohen@redhat.com>wcohen2008-02-291-1/+1
| | | | * main.cxx (handle_interrupts): Make compatible with GCC 4.3.
* PR5045: clean up after interruptsfche2008-02-281-10/+37
| | | | | | | | | | | 2008-02-28 Frank Ch. Eigler <fche@elastic.org> PR5045 * session.h (pending_interrupts): New global. * main.cxx (handle_interrupts): New fn to handle SIGINT* etc. * elaborate.cxx, translate.cxx, tapsets.cxx, main.cxx (*): Insert pending_interrupts escape hatches inside potentially timetaking loops. * buildrun.cxx: Don't deal with signals.
* update copyright year in -v message toofche2008-01-301-2/+2
|
* Fix mkdtemp() umask issuefche2008-01-021-0/+2
| | | | | | | | | | | | | | | | | | | | | Even though the mkdtemp() man page indicates that the directory will be created with always 0700 permissions, it is actually affected by the process's umask. So, if you run stap with an unusual umask it can end up creating the temp dir with permissions that staprun can't handle e.g.: $> rpm -q systemtap systemtap-0.6-1.fc9 $> umask 0122 $> stap -e 'probe begin { println("foo") exit() }' ERROR: Error opening '/tmp/stapV4pBIb/stap_725b9bc541cef2618a5ccbc58bb64d15_287.ko': Permission denied Obvious solution is to briefly set the umask to zero in stap so as to ensure 0700 permissions. Signed-off-by: Mark McLoughlin <markmc@redhat.com>
* PR 5324kenistoj2007-11-141-0/+1
| | | | | * main.cxx: Restored initialization of need_uprobes flag, mistakenly backed out in PR 5270 fix.
* PR 5270kenistoj2007-11-131-20/+6
| | | | | | | | | | | | | * main.cxx: Restored pre-10-08 version: moved uprobes build to buildrun.cxx. * buildrun.cxx: Reworked uprobes build so that the resulting Module.symvers can be used in building the stap-generated module. If user isn't root, call verify_uprobes_uptodate() rather than trying (and failing) to rebuild uprobes.ko. * buildrun.h: uprobes_enabled() and make_uprobes() are no longer extern. * runtime/uprobes/Makefile: Added uprobes.ko target for use by verify_uprobes_uptodate().