| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* procfs.c (STP_DEFAULT_BUFFERS): Bump up to 256.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* safety/safety.py: Support IA64 disassembly matching.
* safety/data/opcodes-ia64: new opcode rules for IA64.
* safety/data/references: Add references used by example scripts
when compiled for IA64.
|
| |
|
|
|
|
|
| |
* translate.cxx (emit_globals): Tag globals, especially the locks,
as __cacheline_aligned.
|
| |
|
|
|
|
|
|
|
| |
sys_acct
sys_add_key
sys_quotactl
sys_request_key
|
| |
|
|
|
|
|
| |
sys_quotactl
sys_request_key
|
|
|
|
|
| |
sys_acct
sys_add_key
|
| |
|
|
|
|
|
|
| |
* key.stp: Toy example.
* prof.stp: Example profiler.
* top.stp: Print the top 20 syscalls.
|
|
|
|
|
| |
* translate.cxx (emit_locks): Emit dummy references to unlock_ ...
(emit_module_init): ... and probe_point.
|
|
|
|
| |
* bench2: New directory containing a benchmark framework.
|
| |
|
| |
|
|
|
|
|
|
|
| |
PR 2425
* staptree.cxx (varuse_collecting_visitor::visit_embeddedcode):
Realize that $var-setter functions have side-effects.
* testsuite/transok/tval-opt.stp: New test.
|
| |
|
|
|
|
| |
* system.stp: New tapset.
|
|
|
|
|
| |
* buildrun.cxx (run_pass): Add "-u username".
* stapfuncs.5.in: Document system().
|
|
|
|
|
|
|
|
|
|
| |
* librelay.c (start_cmd): Set proper uid/gid before execing
command.
(system_cmd): New function.
(cleanup_and_exit): Wait for any child processes to complete.
(stp_main_loop): Recognize STP_SYSTEM message.
* stpd.c (main): Add support for "-u username".
|
|
|
|
| |
* transport_msgs.h (struct cmd_info): New message.
|
|
|
|
|
| |
* stapex.5.in: Use \[aq] for plain single quotes for encoding
variation tolerance.
|
| |
|
|
|
|
|
|
| |
PR 2390
* main.cxx (main): expand search path so that revision w.x.y.z
searches w.x.y.z, w.x.y, and w.x.
|
|
|
|
|
|
|
|
|
| |
* main.cxx (main): search forward for dashes in the kernel release,
to work properly with release names with more than one dash.
* parse.cxx (eval_pp_conditional): ditto
* tapsets.cxx (profile_derived_probe::profile_derived_probe): ditto
* safety/safety.py (StaticSafety::__build_search_suffixes): ditto,
and add copyright & GPL tag
|
|
|
|
|
|
| |
* tapset/indent.stp, indent-default.stp: New little tapset.
* stapfuncs.5.in: Document it.
* testsuite/buildok/indent.stp: Build it.
|
|
|
|
| |
_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.
|