summaryrefslogtreecommitdiffstats
path: root/tapset
Commit message (Collapse)AuthorAgeFilesLines
...
* 2006-03-01 Martin Hunt <hunt@redhat.com>hunt2006-03-014-142/+463
| | | | | | | | | | * aux_syscalls.stp (_struct_sockaddr_u): Parse sockaddr. * syscalls.stp (bind): Call _struct_sockaddr_u(). * errno.stp (errno_str): Complete rewrite in C for speed and accuracy. (returnstr): New function for syscall tapet.
* *** empty log message ***hien2006-02-241-63/+77
|
* Addedhien2006-02-241-0/+15
| | | | _struct_timezone_u
* 2006-02-22 Frank Ch. Eigler <fche@elastic.org>fche2006-02-222-1/+12
| | | | | | | | | * stapfuncs.5.in: Document get_cycles(). * testsuite/buildok/timestamp.stp: Build it and its friends. 2006-02-22 Frank Ch. Eigler <fche@elastic.org> * timestamp.stp (get_cycles): New function.
* 2006-02-21 Martin Hunt <hunt@redhat.com>hunt2006-02-212-3/+21
| | | | | * context.stp: Fix definition of returnval(). Now the same as retval(). Cleanup needed. Only one can survive.
* These aliases moved here from the common one, since ppc64 does not have thesehien2006-02-201-0/+138
| | | | | | | | | | | | | | | sys_fstat sys_getegid16 sys_geteuid16 sys_getgid16 sys_getgroups16 sys_getuid16 sys_lstat sys_mmap2 sys_setgroups16 sys_stat More works need to be done here.
* These aliases moved herehien2006-02-201-0/+139
| | | | | | | | | | | | | | | sys_fstat sys_getegid16 sys_geteuid16 sys_getgid16 sys_getgroups16 sys_getuid16 sys_lstat sys_mmap2 sys_setgroups16 sys_stat More works need to be done here.
* Moved these aliases to arch specific areashien2006-02-201-32/+2
| | | | | | | | | | | | | sys_fstat sys_getegid16 sys_geteuid16 sys_getgid16 sys_getgroups16 sys_getuid16 sys_lstat sys_mmap2 sys_setgroups16 sys_stat
* Move these aliases to arch specific areashien2006-02-201-98/+1
| | | | | | | | | | | | | sys_fstat sys_getegid16 sys_geteuid16 sys_getgid16 sys_getgroups16 sys_getuid16 sys_lstat sys_mmap2 sys_setgroups16 sys_stat
* Fix uninitialized tv, ts, itv errors.hien2006-02-201-11/+15
|
* 2006-02-17 Frank Ch. Eigler <fche@elastic.org>fche2006-02-172-1/+9
| | | | | | * stapfuncs.5.in (cpu): Document contextinfo function. * context.stp (cpu): Clone undocumented cpuid() function.
* Some progress but still more works.hien2006-02-161-41/+33
|
* Added the following functionshien2006-02-161-2/+115
| | | | | | | | _struct_rlimit_u _fildes_u _fd_set_u _semctl_cmd __sem_flags
* 2006-02-14 Martin Hunt <hunt@redhat.com>hunt2006-02-142-32/+30
| | | | * syscalls.stp: MOre updates.
* 2006-02-14 Frank Ch. Eigler <fche@elastic.org>fche2006-02-142-0/+122
| | | | | | | | | | | | * stapfuncs.5.in: Document new queue_stats tapset. * elaborate.cxx (*): Put "while:" clarification messages before a thrown semantic error. * staptree.cxx (print_format::string_to_components): Correct parse of "%%" formatting element. * queue_stats.stp: New tapset. * systemtap.samples/queue_demo.*: New test.
* 2006-02-14 Mark McLoughlin <markmc@redhat.com>markmc2006-02-142-1/+5
| | | | * aux_syscalls.stp: (_sys_open_flag_str): s/O_NDCTTY/O_NOCTTY/
* 2006-02-14 Martin Hunt <hunt@redhat.com>hunt2006-02-144-967/+851
| | | | | | | | | | | | | | | | * aux_syscalls.stp (_struct_timeval_u): New function. (_struct_timeval): New function. (_struct_timespec_u): New function. (_struct_timespec): New function. (_struct_itimerval_u): New function: (_struct_itimerval): New function: (_signal_name): New function. (_module_flags_str): Fixed. * syscalls2.stp (syscall.setitimer): Use new function _struct_itimerval_u(). * syscalls.stp: Latest version. Many changes.
* updated, still need more workshien2006-02-091-53/+175
|
* 2006-02-08 Martin Hunt <hunt@redhat.com>hunt2006-02-093-222/+160
| | | | | | * aux_syscalls.stp(_msync_flag_str): Fix. (_wait_opt_str): Fix. * syscalls.stp: Latest.
* 2006-02-07 Martin Hunt <hunt@redhat.com>hunt2006-02-075-89/+254
| | | | | | | | | | | | | * syscalls.stp: Latest. * syscalls2.stp: Commented out pciconfig calls. Those need to go in arch-specific directories. * aux_syscalls.stp (_access_mode_str): Fix. (_mmap_flags): New Function. (_mprotect_prot_str): Fix. (__string): New. (__get_argv): New. (__fork_flags): New.
* more generic documentationfche2006-02-071-2/+5
|
* Correct opening comment typo.wcohen2006-02-061-1/+1
|
* Remove closing comment typos.wcohen2006-02-061-3/+0
|
* updated- still need more workshien2006-02-041-2324/+2215
|
* Remove inadventently checked in change.hunt2006-02-011-17/+1
|
* 2006-02-01 Martin Hunt <hunt@redhat.com>hunt2006-02-0111-12813/+2506
| | | | | | | * syscalls.stp: New syscall file. * syscall2.stp: More syscalls. * i686/syscalls.stp: x86-specific calls. * x86_64/syscalls.stp: x86_64-specific calls.
* 2006-01-30 Martin Hunt <hunt@redhat.com>hunt2006-01-312-0/+31
| | | | | | * context.stp (probefunc): New function. (is_return): New function. (returnval): New function.
* 2006-01-24 Frank Ch. Eigler <fche@elastic.org>fche2006-01-241-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 2060 etc. * tapsets.cxx (visit_target_symbol): Tolerate failed resolution by letting target_symbol instance pass through to optimizer and type checker. * elaborate.cxx (semantic_pass_optimize): New family of functions and associated visitor classes. (visit_for_loop): Tolerate absent init/incr clauses. (semantic_pass): Invoke unless unoptimized (-u) option given. * main.cxx, session.h: Add support for flag. * staptree.cxx (visit_for_loop): Tolerate absent init/incr clauses. (traversing_visitor::visit_arrayindex): Visit the index expressions. (functioncall_traversing_visitor): New class. (varuse_tracking_visitor): New class. * staptree.h: Corresponding changes. * parse.cxx (parse_for_loop): Represent absent init/incr expressions with null statement pointer instead of optimized-out dummy numbers. * stap.1.in: Document optimization. * testsuite/{semko,transko}/*.stp: Added "-u" or other code to many tests to check bad code without optimizer elision. * testsuite/semok/optimize.stp: New test. * elaborate.cxx (unresolved, invalid, mismatch): Standardize error message wording. * stapfuncs.5.in: Tweak print/printf docs. * tapset/logging.stp: Remove redundant "print" auxiliary function, since it's a translator built-in. * testsuite/transok/five.stp: Extend test. * translate.cxx (emit_symbol_data): Put symbol table into a separate temporary header file, to make "-p3" output easier on the eyes. * buildrun.cxx (compile_pass): Eliminate test-mode support throughout. * main.cxx, session.h, translate.cxx: Ditto. * main.cxx (main): For last-pass=2 runs, print post-optimization ASTs.
* 2006-01-15 Frank Ch. Eigler <fche@elastic.org>fche2006-01-152-1/+5
| | | | | | | | PR 2148 * translate.cxx (MAXERRORS): Actually the max should be 0, so first error aborts session. * Revert last stp_exit change.
* 2006-01-10 Martin Hunt <hunt@redhat.com>hunt2006-01-102-1/+6
| | | | | * logging.stp: Don't set STAP_SESSION_STOPPING. That it done in _stp_exit().
* 2006-01-03 Frank Ch. Eigler <fche@redhat.com>fche2006-01-031-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1144, 1379 * tapsets.cxx (emit_probe_prologue, _epilogue): New routines. Call from existing derived_probe spots. Implement soft errors in epilogue code. Implement reentrancy detection in prologue code. (dwarf_derived_probe::emit_deregistration): Add kprobes layer "nmissed" to skipped_count. * translate.cxx (varlock): Use nsleep(TRYLOCKDELAY) in lock contention loop. (emit_module_exit): Report number of soft errors and skipped probes. (emit_function, _probe): Add __restrict__ marker to context pointer. (translate_pass): Define new MAXTRYLOCK, TRYLOCKDELAY, MAXERRORS, MAXSKIPPED parameters. * tapset/logging.stp (error): Don't stp_error, just set context state. * stap.1.in, stapfuncs.5.in: Document soft errors. * elaborate.h: Corresponding changes. 2006-01-03 Frank Ch. Eigler <fche@redhat.com> * io.c (_stp_softerror): New function. 2006-01-03 Frank Ch. Eigler <fche@redhat.com> * systemtap.base/timers.exp: Extend the test run duration. Accept skipped probe warnings at shutdown.
* * formatting/typo fixesfche2006-01-031-0/+0
|
* 2005-12-23 Kevin Stafford <krstaffo@us.ibm.com>kevinrs2005-12-236-0/+5107
| | | | | | | | | | | | | | | | | | | | | SCRIPTS: run.sh - This is the driver for automated testing. To run: ./run.sh stpdirectory c_binaries_directory Result: log/timestamp.log discerpancy report ctostp.sh - This script generates corresponding stp probe script files for every C file found in the input directory. To Run: ctostp.sh input output where input is the directory containing the C files to convert. Output is the directory to store the corresponding stp files. build.sh - This script expedites the process of compiling all of the c files. When the "compile" flag is given it creates a directory called bin, which stores the compiled C programs. ./build.sh clean removes the binaries, and ./build.sh run attempts to execute all of the programs in cfiles/bin.
* 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.
* Added cpuid().hien2005-12-151-0/+3
|
* 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
* 2005-12-14 Martin Hunt <hunt@redhat.com>hunt2005-12-141-4/+7
| | | | | | | * 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-12 Josh Stone <joshua.i.stone@intel.com>jistone2005-12-121-36/+9
| | | | | | * 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.
* Stop additional systemtap probes from collecting data when exit()wcohen2005-12-121-0/+1
| | | | occurs.
* * system_calls.stpkevinrs2005-12-071-1/+1
| | | | * trivial mispelling corrected
* * system_calls.stp:kevinrs2005-12-072-4072/+4469
| | | | | | | | | | | | | * alphabatized for easier navigation * removed comments from reference to void pointer args * removed reference to some unsafe copy_from_user funcs * added final aliases for i386 * aux_syscalls.stp * commented out embedded C functions that made use of copy_from_user(), a function that might sleep and that was causing Oops on my machine when sleep was called from invalid context.
* * commented pciconfig_* system calls that failed to resolve to probekevinrs2005-11-281-10/+16
| | | | | | | | | | | points. * commented reference to arg stack_start in clone, fork, vfork that were unable to resolve properly. * commented arg reference to pt_regs in execve, it is an unsupported type. * commented arg reference to union semun arg in semctl, it is an unsupported type. * This tapset tested for i386.
* 2005-11-18 Martin Hunt <hunt@redhat.com>hunt2005-11-181-4/+0
| | | | | | | | | | | | | | | | | | | | | | | PR 1837 * testsuite/buildko/one.stp: Replace printk. * testsuite/buildok/one.stp: Ditto. * testsuite/buildok/two.stp: Ditto. * testsuite/semko/fifteen.stp: Ditto. * testsuite/semko/fourteen.stp: Ditto. * testsuite/semko/thirteen.stp: Ditto. * testsuite/transok/eight.stp: Ditto. * testsuite/transok/seven.stp: Ditto. * testsuite/transok/six.stp: Ditto. * tapsets.cxx (*::emit_probe_entries): Replace printk() calls with _stp_warn(). * stap.1.in: Replace printk with printf in example. * stapfuncs.5.in: Remove docs for printk and add for print and printf. * tapset/logging.stp (printk): Deleted.
* * system_calls.stpkevinrs2005-11-102-6196/+4819
| | | | | | | | | | Polished entry point aliases, no more pointer-deref faults (instead the user-space address is given for pointer arguments). Return probe aliases still dont do much. Tested on vanilla 2.6.13 and 2.6.14. * aux_syscalls.stp Any helpers for the syscall tapset are now in this file. More to come.
* 2005-11-09 Frank Ch. Eigler <fche@elastic.org>fche2005-11-091-2/+9
| | | | | | Reported by Guang Lei Li <liguangl@cn.ibm.com>: * tapset/context.stp (pid,ppid,tid): Correctly pick tgid vs pid. * testsuite/buildok/context_test.stp: Print out tid() too.
* 2005-11-08 Frank Ch. Eigler <fche@redhat.com>fche2005-11-081-4/+4
| | | | | | | * tapsets.cxx (blacklisted_p): Add blacklist for some .return probes to kludge around bug #1345. * tapset/system_calls.stp: Add some %( %? %) conditionals to get closer to using tapset on 2.6.9 kernel.
* tapset/systemcall.stp:kevinrs2005-10-122-234/+418
| | | | | | | | | | * Tested the first 15 aliases on fc4. Cleaned up some code. tapset/aux_syscalls.stp: * Added file to contain aux helper functions that are used by the system call tapset. Added embed- ded C functions to extract values from user- space pointers.
* * tapset/system_calls.stp: All 281 syscalls *prototyped*. Theykevinrs2005-10-071-0/+735
| | | | | are still untested. Many of the aliases useability are contin- gent upon resolution of namely: bz #1295 & bz #1382.
* 240 syscalls prototypedkevinrs2005-10-051-0/+702
|