| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
_struct_itimerspec_u
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* safety/*: Add a static safety checker.
|
|
|
|
|
|
|
| |
* translate.cxx (var::init): Don't crush string module_params.
(emit_global_param): New function, forked out of emit_global,
to put module_param calls at the bottom of C file.
* translate.h: Corresponding changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* procfs.c (_stp_proc_write_cmd): Check return code for
_stp_transport_open().
* transport.c (_stp_transport_write): This function
can now sleep because it is
(_stp_handle_start): Don't use a mutex when a simple atomic
will do.
(_stp_work_queue): Check atomic to see if probe_start()
has finished before attempting exit.
(_stp_transport_close): PR2391. Cancel work queue.
(_stp_transport_init): If _stp_register_procfs() fails,
return an error code.
* transport.txt: New file. Documents transport initialization and
shutdown sequence.
|
|
|
|
| |
* librelay.c (init_stp): Better error handling and cleanup.
|
| |
|
|
|
|
| |
_struct_timezone_u
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1304
* parse.cxx (lexer): Take systemtap_session argument.
(lexer::scan): Support $1..$NNNN and @1...@NNNN expansion.
* stap.1.in: Document this.
* testsuite/semok/args.stp: New test.
* translate.cxx (var::init, emit_global): Emit code to allow
named module parameters to initialize global string/number scalars.
* stap.1.in: Don't document this yet.
PR 2334
* main.cxx (main): Clarify "-v" option repeatibility.
* stap.1.in: Ditto.
|
| |
|
|
|
|
|
| |
* Makefile.am (AUTOMAKE_OPTIONS): New variable, set dist-bzip2.
* Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
|
| |
PR 1989. Adds support for %p in printf
* staptree.h (struct print_format): Add conv_unsigned_ptr.
* staptree.cxx (components_to_string): Output 'p'
for conv_unsigned_ptr.
* elaborate.cxx (visit_print_format): Add case for
conv_unsigned_ptr.
|
|
|
|
|
|
|
| |
* Makefile.am (install-data-local): Create tapset/i686 and tapset/x86_64
directories. This fixes a problem where they were included, but had
bad permissions.
* Makefile.in: Rebuilt.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
PR 2293.
* tapsets.cxx (emit_probe_epilogue): Emit early local_irq_save().
(emit_probe_epilogue): ... and matching _restore().
* main.cxx (main): Emit a "hello, I'm starting" message
before pass 5 in verbose mode.
|
|
|
|
|
| |
* context.stp: Fix definition of returnval(). Now the same as retval().
Cleanup needed. Only one can survive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sys_fstat
sys_getegid16
sys_geteuid16
sys_getgid16
sys_getgroups16
sys_getuid16
sys_lstat
sys_mmap2
sys_setgroups16
sys_stat
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sys_fstat
sys_getegid16
sys_geteuid16
sys_getgid16
sys_getgroups16
sys_getuid16
sys_lstat
sys_mmap2
sys_setgroups16
sys_stat
|
| |
|
|
|
|
|
|
|
| |
* procfs.c (_stp_proc_read_cmd): Change spin_lock()
to spin_lock_irqsave().
* transport.c (_stp_work_queue): Ditto.
|
|
|
|
|
|
| |
* stapfuncs.5.in (cpu): Document contextinfo function.
* context.stp (cpu): Clone undocumented cpuid() function.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
_struct_rlimit_u
_fildes_u
_fd_set_u
_semctl_cmd
__sem_flags
|
|
|
|
|
| |
* translate.cxx (varlock*): Removed now unnecessary class.
(aggregation_locks): Renamed field to aggregations_active.
|
| |
|
|
|
|
| |
* syscalls.stp: MOre updates.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
* aux_syscalls.stp: (_sys_open_flag_str): s/O_NDCTTY/O_NOCTTY/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* copy.c (_stp_copy_from_user): Revert previous incorrect change.
|
|
|
|
|
| |
* copy.c (_stp_copy_from_user): If access fails,
return -1.
|
| |
|
|
|
|
|
|
| |
* aux_syscalls.stp(_msync_flag_str): Fix.
(_wait_opt_str): Fix.
* syscalls.stp: Latest.
|
|
|
|
|
|
| |
* src/testsuite/buildok/syscalls.stp: Build with "-u" to build-test
all auxiliary functions.
* tapsets.cxx (dwarf_query::add_probe_point): Add some "-vv" output.
|
|
|
|
|
|
| |
PR 2068
* tapsets.cxx (dwarf_query::blacklisted_p): add __switch_to
to the blacklist for x86_64 architecture only.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* testsuite/semko/one.stp: Make sure test case stays broken.
|
|
|
|
|
|
| |
* stapfuncs.5.in: Document is_return(), returnval() and
probefunc().
* testsuite/buildok/syscall.stp: Basic syscall test.
|