summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2005-12-23 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-231-0/+7
| | | | | | | | | * tapset/2.6.9-20.ELsmp/syscalls.stp: added kernel version tapset * tapset/2.6.9-20.ELsmp/i686/syscalls.stp: added kernel version arch specific tapset * tapset/doc/dicrepancies.txt: log of kernel version discrepancies.
* 2005-12-23 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-233-0/+5447
| | | | | | | | | * tapset/2.6.9-20.ELsmp/syscalls.stp: added kernel version tapset * tapset/2.6.9-20.ELsmp/i686/syscalls.stp: added kernel version arch specific tapset * tapset/doc/dicrepancies.txt: log of kernel version discrepancies.
* .roland2005-12-221-0/+5
|
* 2005-12-22 Roland McGrath <roland@redhat.com>roland2005-12-222-2/+10
| | | | | * configure.ac: Pass LDFLAGS to elfutils configure to force DT_RUNPATH. * configure: Regeneraed.
* add PR note to ChangeLogjistone2005-12-211-0/+1
|
* 2005-12-21 Josh Stone <joshua.i.stone@intel.com>jistone2005-12-212-1/+8
| | | | * translate.cxx (itervar::next): emit different code for pmaps
* 2005-12-21 Frank Ch. Eigler <fche@elastic.org>fche2005-12-212-0/+8
| | | | * loc2c.h: Add __attribute__ defeating code for g++ 3.3 compatibility.
* 2005-12-20 Josh Stone <joshua.i.stone@intel.com>jistone2005-12-215-0/+174
| | | | | | | * vim/filetype.vim: defines *.stp files as SystemTap scripts * vim/ftplugin/stap.vim: sets the comment styles * vim/indent/stap.vim: enables simple auto-indenting * vim/syntax/stap.vim: defines syntax highlighting
* .roland2005-12-201-0/+5
|
* 2005-12-19 Roland McGrath <roland@redhat.com>roland2005-12-203-11/+14
| | | | | * configure.ac, systemtap.spec.in: Version 0.5.2. * configure: Regenerated.
* .roland2005-12-181-10/+15
|
* 2005-12-13 Roland McGrath <roland@redhat.com>roland2005-12-181-23/+24
| | | | * staptree.h: #include <cassert> here.
* Anil S Keshavamurthy - Blacklist'ing notifier_call_chain() function, as thisaskeshav2005-12-161-0/+1
| | | | | function is on kprobes critical path, having probes on this will damage the system.
* Added cpuid().hien2005-12-151-0/+3
|
* *** empty log message ***hunt2005-12-151-0/+22
|
* *** empty log message ***hunt2005-12-151-22/+0
|
* 2005-12-14 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-151-0/+9
| | | | | | | | | | | * 2.6.14/syscalls.stp: added 2.6.14 syscalls to tapset * 2.6.14/i686/syscalls.stp: added i386 arch specific syscalls to tapset for kernel 2.6.14 * 2.6.9-24.ELsmp/syscalls.stp: added 2.6.9-24.ELsmp syscalls to tapset * 2.6.9-24.ELsmp/x86_64/syscalls.stp: added x86_64 arch specific syscalls to tapset for kernel 2.6.9-24.ELsmp * system_calls.stp: removed generic system_calls.stp tapset.
* 2005-12-14 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-153-560/+5413
| | | | | | | | | | * 2.6.14/syscalls.stp: added 2.6.14 syscalls to tapset * 2.6.14/i686/syscalls.stp: added i386 arch specific syscalls to tapset for kernel 2.6.14 * 2.6.9-24.ELsmp/syscalls.stp: added 2.6.9-24.ELsmp/ syscalls to tapset * system_calls.stp: removed generic system_calls.stp tapset.
* 2005-12-12 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-151-0/+214
| | | | | * syscalls.stp: added x86_64 arch specific syscalls to tapset for kernel 2.6.9-24.ELsmp
* New testcasehunt2005-12-141-0/+22
|
* 2005-12-14 Martin Hunt <hunt@redhat.com>hunt2005-12-142-4/+14
| | | | | | | * tapset/system_calls.stp (epoll.ctl): Temporarily remove references to $op and $event because gcc 4.0.2 can't find them. (epoll.wait): Ditto for $maxevents.
* 2005-12-14 Martin Hunt <hunt@redhat.com>hunt2005-12-145-22/+71
| | | | | | | | | | | | | * pmap-gen.c (_stp_pmap_new_*): Initialize lock. (_stp_pmap_set_*): Lock map while in use. (_stp_pmap_add_*): Lock map while in use. (_stp_pmap_get_cpu): Ditto. (_stp_pmap_get): Lock each per-cpu map. * map-gen.c: Define and use NULLRET for a NULL return value. * map.c (_stp_pmap_clear): New function. (_stp_pmap_agg): Lock each per-cpu map as it gets aggregated.
* 2005-12-14 Martin Hunt <hunt@redhat.com>hunt2005-12-142-0/+17
| | | | * emul.h: Add fake spinlock funcs.
* 2005-12-13 Martin Hunt <hunt@redhat.com>hunt2005-12-132-1/+6
| | | | | * map.c (_stp_map_sortn): Set a limit of 30 for n. Automatically call _stp_map_sort() if more is requested.
* 2005-12-13 Frank Ch. Eigler <fche@redhat.com>fche2005-12-132-0/+6
| | | | | * tapsets.cxx (var_expanding_copy_visitor::visit_target): Transcribe token pointer to synthesized functiondecl.
* * reformattedfche2005-12-131-6/+11
|
* 2005-12-12 Josh Stone <joshua.i.stone@intel.com>jistone2005-12-122-37/+51
| | | | | | * tapsets.cxx (profile_derived_probe::*,profile_builder::build): Do kernel version checks at translation time, using the same internal mechanisms as the preprocessor - a la %( kernel_v < "2.6.10" %? ... %: ... %)
* 2005-12-12 Josh Stone <joshua.i.stone@intel.com>jistone2005-12-122-36/+15
| | | | | | * tapset/context.stp (execname,pid,tid,ppid,pexecname,gid,egid,uid,euid): Removed in_interrupt checks and other pointer checks. We now operate on the assumption that "current" and its related data are always valid.
* 2005-12-12 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-121-0/+3
| | | | | * main.cxx (main): Added arch directory to the existing kernel-version-sensitive search path.
* 2005-12-12 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-121-6/+14
| | | | | * main.cxx (main): Added arch directory to the existing kernel-version-sensitive search path.
* 2005-12-12 Frank Ch. Eigler <fche@redhat.com>fche2005-12-122-0/+5
| | | | * translate.cxx (translate_pass): Emit #include <linux/profile.h>.
* Stop additional systemtap probes from collecting data when exit()wcohen2005-12-122-0/+6
| | | | occurs.
* A long overdue update of cscope.files. This was generated with thejistone2005-12-121-54/+79
| | | | | | | | | | | | following command: echo -q >cscope.files && find -name '*.[ch]' -o -name '*.cxx' |sort >>cscope.files The sorting is to make sure that future updates show a more consistant diff between versions in CVS. (note: it may be worthwhile to add a 'cscope' target to the Makefile, and stop storing a static cscope.files list in CVS...)
* 2005-12-12 Frank Ch. Eigler <fche@redhat.com>fche2005-12-127-11/+78
| | | | | | | | | | | | | | | | | Fix parse tree pretty-printer. * staptree.h (print_format): Add raw_components field. * parse.cxx (parse_symbol): Set it. * staptree.cxx (lex_cast_qstring): Copy it here too. (binary_expression::print): Add a space around operator, due to lexical ambiguity (expr % paren-expr) vs %( preprocessor op. (array_in:: foreach_loop:: arrayindex::print): Print base as indexable. (print_format::string_to_components): Use parse_error, not semantic. (print_format::print): Properly quote formatting string. Print histogram argument. * translate.cxx (visit_print_format): Properly quote formatting string. (varlock): Reword lock timeout error message. * testsuite/buildok/printf.stp: Add some quoting troublemakers. * testsuite/parseok/unparser.stp: New file.
* Fix typo in last change.roland2005-12-122-2/+2
|
* .roland2005-12-121-0/+29
|
* 2005-12-11 Roland McGrath <roland@redhat.com>roland2005-12-122-70/+338
| | | | | | | | | | | | | | | | | | | | PR 1916 * configure.ac: Grok --with-elfutils. * Makefile.am [BUILD_ELFUTILS] (install-elfutils, stamp-elfutils): New targets. [BUILD_ELFUTILS] (stap_LDFLAGS, stap_LDFLAGS): Add flags to point at local elfutils build. [BUILD_ELFUTILS] (BUILT_SOURCES): Add stamp-elfutils. [BUILD_ELFUTILS] (stap_DEPENDENCIES): New variable. [BUILD_ELFUTILS] (lib-elfutils/libdw.so): New target. [BUILD_ELFUTILS] (install-exec-local): Depend on install-elfutils. (loc2c_test_LDADD): Set this to $(stap_LDADD). (loc2c_test_CPPFLAGS, loc2c_test_LDFLAGS): New variables. * Makefile.in: Regenerated. * compile: New file from automakeland. * systemtap.spec.in (elfutils_version): Require 0.118 or later. [bundled_elfutils]: Remove old hacks for building elfutils, and rely on configure --with-elfutils instead.
* 2005-12-11 Roland McGrath <roland@redhat.com>roland2005-12-121-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | PR 1916 * configure.ac: Grok --with-elfutils. * Makefile.am [BUILD_ELFUTILS] (install-elfutils, stamp-elfutils): New targets. [BUILD_ELFUTILS] (stap_LDFLAGS, stap_LDFLAGS): Add flags to point at local elfutils build. [BUILD_ELFUTILS] (BUILT_SOURCES): Add stamp-elfutils. [BUILD_ELFUTILS] (stap_DEPENDENCIES): New variable. [BUILD_ELFUTILS] (lib-elfutils/libdw.so): New target. [BUILD_ELFUTILS] (install-exec-local): Depend on install-elfutils. (loc2c_test_LDADD): Set this to $(stap_LDADD). (loc2c_test_CPPFLAGS, loc2c_test_LDFLAGS): New variables. * Makefile.in: Regenerated. * compile: New file from automakeland. * systemtap.spec.in (elfutils_version): Require 0.118 or later. [bundled_elfutils]: Remove old hacks for building elfutils, and rely on configure --with-elfutils instead. * Makefile.am (pkglibexecdir): New variable. (AM_CPPFLAGS): Use it. (pkglibexec_PROGRAMS): Set this instead of noinst_PROGRAMS with stpd. (pkglibexec_SCRIPTS, CLEANFILES): New variables. (install-exec-local): Target removed. * runtest.sh: Set LD_LIBRARY_PATH when lib-elfutils is in use.
* 2005-12-11 Roland McGrath <roland@redhat.com>roland2005-12-123-55/+120
| | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Bump version to 0.5.1 for test builds. * systemtap.spec.in: Remove ExclusiveArch. * configure: Regenerated. PR 1916 * configure.ac: Grok --with-elfutils. * Makefile.am [BUILD_ELFUTILS] (install-elfutils, stamp-elfutils): New targets. [BUILD_ELFUTILS] (stap_LDFLAGS, stap_LDFLAGS): Add flags to point at local elfutils build. [BUILD_ELFUTILS] (BUILT_SOURCES): Add stamp-elfutils. [BUILD_ELFUTILS] (stap_DEPENDENCIES): New variable. [BUILD_ELFUTILS] (lib-elfutils/libdw.so): New target. [BUILD_ELFUTILS] (install-exec-local): Depend on install-elfutils. (loc2c_test_LDADD): Set this to $(stap_LDADD). (loc2c_test_CPPFLAGS, loc2c_test_LDFLAGS): New variables. * Makefile.in: Regenerated. * compile: New file from automakeland. * systemtap.spec.in (elfutils_version): Require 0.118 or later. [bundled_elfutils]: Remove old hacks for building elfutils, and rely on configure --with-elfutils instead.
* 2005-12-11 Roland McGrath <roland@redhat.com>roland2005-12-121-6/+11
| | | | | | | | | * Makefile.am (pkglibexecdir): New variable. (AM_CPPFLAGS): Use it. (pkglibexec_PROGRAMS): Set this instead of noinst_PROGRAMS with stpd. (pkglibexec_SCRIPTS, CLEANFILES): New variables. (install-exec-local): Target removed. * runtest.sh: Set LD_LIBRARY_PATH when lib-elfutils is in use.
* .roland2005-12-121-1/+5
|
* 2005-12-11 Roland McGrath <roland@redhat.com>roland2005-12-121-1/+1
| | | | * loc2c-test.c (get_location): Fix function name in error message.
* 2005-12-09 Graydon Hoare <graydon@redhat.com>graydon2005-12-103-21/+229
| | | | | | | | | | | | | | | | * elaborate.cxx (alias_expansion_builder::build): Fix comment typo. * tapsets.cxx (symbol_cache): New class. (dwflpp::cache): Add cache. (dwflpp::pattern_limited_cus): New member. (dwflpp::pattern_limited_funcs): New member. (dwflpp::limit_search_to_function_pattern): New method. (dwflpp::iterate_over_cus): Modify to use cached, limited sets. (dwflpp::iterate_over_functions): Likewise. (dwarf_builder::user_dw): New member. (dwarf_builder::kern_dw): New member. (dwarf_builder::~dwarf_builder): Add dtor. (query_module): Call dwflpp::limit_search_to_function_pattern. (dwarf_builder::build): Initialize persistent dwflpp members on demand.
* 2005-12-08 Graydon Hoare <graydon@redhat.com>graydon2005-12-093-6/+58
| | | | | | | | | * translate.cxx (delete_statement_operand_visitor::visit_arrayindex): Prohibit deleting histogram buckets. (c_tmpcounter::visit_array_in): Direct to visit_arrayindex. (c_unparser::visit_array_in): Likewise. * testsuite/buildok/histogram_operator_in.stp: New test.
* 2005-12-08 Frank Ch. Eigler <fche@elastic.org>fche2005-12-085-16/+61
| | | | | | | | | | | | | | | PR 1937 * buildrun.cxx (run_pass): Pass new "-d PID" option to stpd. Set SIGHUP to SIG_IGN too. 2005-12-08 Frank Ch. Eigler <fche@elastic.org> PR 1937 * stpd.c (main): Support new "-d" option. (usage): Document it. * librelay.c (driver_poll): New function to react to death of driver process. (stp_main_loop): Call it if "-d PID" given. Treat SIGHUP like others.
* 2005-12-08 Martin Hunt <hunt@redhat.com>hunt2005-12-082-2/+34
| | | | | | | * map.c (_new_map_create): Only increment map size if a node was moved off the free list. (_stp_map_size): New function. (_stp_pmap_size): New function.
* 2005-12-08 Martin Hunt <hunt@redhat.com>hunt2005-12-085-0/+190
| | | | | * maps/map.test: Add size test. * pmaps/pmap.test: Add size test.
* 2005-12-07 Graydon Hoare <graydon@redhat.com>graydon2005-12-084-39/+136
| | | | | | | | | | | | * staptree.cxx (traversing_visitor::visit_foreach_loop): Visit the base indexable of the foreach loop. * translate.cxx (c_tmpcounter::visit_foreach_loop): Implement histogram bucket iteration arm. (c_unparser::visit_foreach_loop): Likewise. (c_tmpcounter::visit_arrayindex): Fix typo. * testsuite/buildok/iterate_histogram_buckets.stp: New test.
* * system_calls.stpkevinrs2005-12-071-1/+1
| | | | * trivial mispelling corrected
* 2005-12-07 Martin Hunt <hunt@redhat.com>hunt2005-12-072-4/+19
| | | | | * translate.cxx (mapvar::fini): Use _stp_pmap_del() on pmaps. (emit_global): For pmaps, use "PMAP" instead of "MAP".