summaryrefslogtreecommitdiffstats
path: root/translate.cxx
Commit message (Collapse)AuthorAgeFilesLines
...
| * Bump copyright years to 2009Josh Stone2009-02-181-1/+1
| |
| * Add high-level support for @cast()ingJosh Stone2009-02-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | convert remaining translator-output code from <<endl to \nFrank Ch. Eigler2009-02-131-60/+60
| |
* | Use "\n" instead of endl in inner loops.Mark Wielaard2009-02-121-2/+2
|/
* PR9810: Mostly revert "PR6961: initial sketch: set up dummy pt_regs for ↵Frank Ch. Eigler2009-02-031-1/+0
| | | | non-trap based probes"
* Process extra_offset for kernel symbols with dwfl_module_relocate_address.Mark Wielaard2009-02-011-0/+4
|
* Add Vim modelines for GNU style in stapJosh Stone2009-01-281-0/+2
|
* Use 'static' as much as possibleJosh Stone2009-01-281-18/+18
| | | | | | | | | | This change just inserts 'static' on runtime, tapset, and generated C functions and globals, so the compiler can do a better job of optimizing. My tests with small scripts show ~10% reduction in compile time and ~20% reduction in module size. Larger scripts may show less benefit, but I expect purely positive results.
* build: make compatible with elfutils 0.138 tooFrank Ch. Eigler2008-12-311-2/+12
|
* First attempt at printf kernel memory hex dumpElliott Baron2008-12-191-2/+4
|
* PR6961: initial sketch: set up dummy pt_regs for non-trap based probesFrank Ch. Eigler2008-12-091-0/+1
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-12-051-2/+2
|\ | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: PR7051: Remove broken printf %n directive support
| * PR7051: Remove broken printf %n directive supportroot2008-12-051-2/+2
| |
* | turn on elfutils-level debuginfo<->stripped-binary checksum matchingFrank Ch. Eigler2008-12-051-1/+1
|/ | | | | | This is necessary to detect mismatching debuginfo for user-space programs without build-id. We don't have run-time version assertions for user-space binaries.
* PR5892: rename new -B /PATH to -r /PATH; merge functionalityFrank Ch. Eigler2008-12-031-12/+23
|
* BZ 5892: Add stap -B to sic systemtap at an alternate kernel build treeRajan Arora2008-12-011-3/+5
|
* PR 6965: tweak symbol/unwind control macros to STP_NEED_{UNWIND,SYMBOL}_DATAFrank Ch. Eigler2008-11-281-6/+6
|
* PR6965 - Conditionally compile symbol table. Split context.stp into 3 files.Elliott Baron2008-11-281-2/+8
|
* safety: add another schedule_sched, ahead of the per-context release loopFrank Ch. Eigler2008-11-261-1/+6
|
* PR4886: enable assertive build-id checking for new kernelsFrank Ch. Eigler2008-11-261-1/+1
|
* safety: add paranoid call to synchronize_sched() during shutdown processFrank Ch. Eigler2008-11-261-0/+6
|
* PR5689 part 3/3: print kprobe/uprobe skipped statsFrank Ch. Eigler2008-11-221-0/+6
|
* PR5689 part 2: separate skip counters for low-stack and reentrancy casesFrank Ch. Eigler2008-11-211-8/+13
|
* stability: fix shutdown synchronization with possibly pending/running probesFrank Ch. Eigler2008-11-211-9/+13
|
* PR5689 part 1: per-global-variable skip trackingFrank Ch. Eigler2008-11-201-1/+22
|
* PR7000: Add checking bound for actual parameters.Wenji Huang2008-11-131-1/+1
|
* fix assertion error in translate.cxx:dump_unwindsyms on some kernelsFrank Ch. Eigler2008-10-291-2/+3
|
* Fix the argument passed for printf %c formatsJosh Stone2008-10-271-0/+3
| | | | | This fix was noted in the comments to bug 6851, but for some reason it was not applied when originally committed.
* PR4886: weaken build-id failure semanticsFrank Ch. Eigler2008-10-071-0/+6
|
* PR4886: check build-id if able.Wenji Huang2008-10-061-0/+40
| | | | This provides sanity check of debuginfo file based on build-id. Many cases are considered, whether build-id exists in debuginfo file or not, whether module is loaded or not, whether build-id exists in runtime kernel/module. It will do work when LD >= 2.18 and kernel >=2.6.23, otherwise no check.
* comment out new "WARNING: unwind data not found ..."Frank Ch. Eigler2008-09-111-0/+5
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-09-101-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: backtrace fix for i386 with neither frame pointers nor dwarf unwinding Add network security warning for the client/server. Check for dwarf_getelf (elfutils 0.126+). hangeLog entries for latest commits. Move stap-find-* script to client sub rpm. Rename _stp_module module_base output to dwarf_module_base and document. Remove unnecessary dependencies. Correct man page specs in systemtap.spec Create systemtap-client and systemtap-server sub rpms
| * Rename _stp_module module_base output to dwarf_module_base and document.Mark Wielaard2008-09-101-1/+1
| |
* | PR6876: translator speedup for many $varsFrank Ch. Eigler2008-09-101-10/+10
|/
* Record module base and use it for adjusting start locations in dwarf unwinder.Mark Wielaard2008-09-101-0/+1
|
* Get and output unwind data during translate.Mark Wielaard2008-09-101-0/+82
|
* Add $name context variable support on marker probesMasami Hiramatsu2008-09-091-0/+2
|
* Merge commit 'origin/master' into pr4225Frank Ch. Eigler2008-08-281-253/+253
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-253/+253
| | | | | | | | (add-hook 'before-save-hook 'delete-trailing-whitespace)
| * c code generation: assert C indentation/nesting cancels out at appropriate ↵Frank Ch. Eigler2008-08-021-1/+10
| | | | | | | | points
* | pr4225: add putative shared library (ET_DYN) supportFrank Ch. Eigler2008-08-211-1/+7
| |
* | c code generation: assert C indentation/nesting cancels out at appropriate ↵Frank Ch. Eigler2008-08-021-1/+10
| | | | | | | | points
* | PR4225: parse process("path").function/statement probe pointsFrank Ch. Eigler2008-07-221-1/+2
|/
* PR442528Frank Ch. Eigler2008-07-181-0/+3
|
* support multiple-relocatable-section modules such as hypothetical ↵Frank Ch. Eigler2008-07-171-42/+55
| | | | -ffunction-sections .ko's
* compiled unwindsyms should tolerate & notify on erroneous/missing "-d MODULE"Frank Ch. Eigler2008-07-161-17/+30
|
* PR6738: restore support for rhel4-era (2.6.9) kernelsFrank Ch. Eigler2008-07-121-1/+2
|
* fix variable-name-collision thinko in symbol processing logicFrank Ch. Eigler2008-07-111-3/+3
| | | | | This little ditty could cause infinite loops, but more often if stap was compiled fully optimized.
* start bundling user-space programs' symbol tablesFrank Ch. Eigler2008-07-111-19/+24
|
* Merge commit 'origin/master' into pr6429-comp-unwindsymsFrank Ch. Eigler2008-07-091-4/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'origin/master': fix shutdown race condition for scripts that might exit during begin probes Fix PR 6732: Add runtime/autoconf-real-parent.c check for task_struct field. clarify dejagnu test case name for empty-struct changes add changelog entries for last two changes Add test suite for declaration resolution Fix semantic error: empty struct Add hack to support git 1.6 in git_version.sh Sync latest fix for git_version.sh from RadeonHD's tree Slightly cleanup code of translate.cxx PR2111: add general blurbage to stapprobes.5 on syscalls tapset Use `uname -rvm` for checking system compatibility. Generate Add section to stapex manual page on how installed examples are documented. Install examples, demos and samples. Install tutorial and langref manuals.