| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
runtime/
* loc2c-runtime.h (kread): Let it work with const types.
testsuite/
* systemtap.base/deref.stp: Test kread with const sources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test suites for all of 'em too
* even documentation
* mm, donuts
2007-02-06 Frank Ch. Eigler <fche@elastic.org>
* stapfuncs.5.in: Add docs for kernel_{long,int,short,char} and
some user_string* variants.
2007-02-06 Frank Ch. Eigler <fche@elastic.org>
* conversions.stp (kernel_long/int/short/char): New functions.
2007-02-06 Frank Ch. Eigler <fche@elastic.org>
* buildok/conversions.stp: Build-test all conversions.stp functions.
* systemtap.stress/conversions.*: New test.
|
| |
|
| |
|
|
|
|
|
| |
* translate.cxx (translate_pass): Remove old string impedance
mismatch stuff. Modify included files.
|
|
|
|
|
|
|
|
| |
* context.stp (print_backtrace): Modify for new
_stp_stack_print.
(backtrace): Just use _stp_stack_snprint().
(print_stack): Use new _stp_print* functions.
(probefunc): Use _stp_symbol_snprint.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* string.c (_stp_string_init): Deleted.
(_stp_sprintf): Deleted.
(_stp_vsprintf): Deleted.
(_stp_string_cat_cstr): Deleted.
(_stp_string_cat_string): Deleted.
(_stp_string_cat_char): Deleted.
(_stp_string_ptr): Deleted.
(_stp_string_cat): Deleted.
(_stp_snprintf): Moved from vsprintf.c.
(_stp_vscnprintf): Moved from vsprintf.c.
* string.h (STP_STRING_SIZE): Deleted.
(STP_NUM_STRINGS): Deleted.
Remove all references to type "String".
* vsprintf.c (_stp_vscnprintf): Moved to string.c.
(_stp_snprintf): Moved to string.c
* sym.c (_stp_symbol_sprint): Replaced with
_stp_symbol_print, which writes to the print buffer.
(_stp_symbol_sprint_basic): Replaced with
_stp_symbol_snprint.
* runtime.h: Include io.c.
* stat-common.c: Use new _stp_print* functions.
* stat.c: Ditto.
* regs.c: Renamed to regs-ia64.c.
* current.c: Renamed regs.c.
* regs-ia64.c: New file (renamed from regs.c).
* stack.c (_stp_stack_sprint): Renamed _stp_stack_print
and now just prints to the print buffer. Calls
__stp_stack_print instead of __stp_stack_sprint.
(_stp_stack_snprint): New function. Calls _stp_stack_print and
then copies the print buffer into a string.
(_stp_stack_printj): Deleted.
(_stp_ustack_sprint): Deleted.
* stack-*.c: Rewritten to print instead of writing to strings.
Uses new _stp_print* functions.
* print.c (_stp_printf): Create new function instead of macro.
(_stp_print): Ditto.
(_stp_print_char): New function.
* map.c: Use _stp_print() and _stp_print_char()
instead of _stp_print_cstr().
* io.c (_stp_vlog): Use _stp_print() instead
of _stp_string_cat_cstr().
* copy.c (_stp_string_from_user): Deleted.
|
| |
|
|
|
|
| |
* symbols.c: Comment out many debug lines.
|
|
|
|
|
|
|
|
|
|
|
| |
* io.c (_stp_vlog): Use dynamic percpu allocations
instead of very wasteful static allocations.
* print.c (_stp_print_init): Do percpu allocations
for io.c.
(_stp_print_cleanup): Free percpu allocations.
* string.c (_stp_sprintf): Overflow check needed
to be >= instead of >.
|
|
|
|
|
|
|
|
|
|
|
| |
* alloc.c (_stp_alloc_percpu): Don't implement
our own; just call __alloc_percpu with appropriate args
for the OS version.
(_stp_free_percpu): Delete.
* map.c (_stp_map_init): When calling kmalloc_node, first
call cpu_to_node() to get the proper node number.
* stat.c (_stp_stat_del): Call free_percpu()
instead of _stp_free_percpu().
|
|
|
|
| |
* socket-trace.stp: Added from the tutorial.
|
|
|
|
| |
* configure.ac, configure: Bumped version to 0.5.13 for development.
|
|
|
|
| |
* translate.cxx (emit_module_init): Add some more type casts to printk args.
|
| |
|
|
|
|
|
| |
* translate.cxx (emit_module_init): BZ3888. Add memory usage for the
runtime to the printk.
|
|
|
|
|
|
| |
* procfs.c: Count allocated IO memory.
* symbols.c: Use _stp_kmalloc() and _stp_kzalloc().
* transport.c: Count allocated IO memory.
|
|
|
|
|
|
|
|
|
|
| |
* alloc.c (_stp_kmalloc): New function. Call kmalloc
with the coirrect flags and track usage.
(_stp_kzalloc): Ditto.
* map.c: Use new alloc calls.
* print.c: Ditto.
* stat.c: Ditto.
* time.c: Ditto.
|
|
|
|
| |
systemtap script.
|
|
|
|
|
|
|
|
|
| |
* main.cxx (main): For successful last_pass=4, print compiled module name.
* cache.cxx (get_from_cache): Ditto.
2007-01-29 Frank Ch. Eigler <fche@elastic.org>
* systemtap.base/cache.exp (stap_compile): Accept new -p4 output.
|
|
|
|
| |
* vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.
|
| |
|
|
|
|
| |
* loc2c-runtime.h (store_deref): Use "Zr" constraint for 64-bit case.
|
| |
|
| |
|
|
|
|
| |
* syscalls2.stp: Add sys32_ustat probe.
|
| |
|
| |
|
| |
|
|
|
|
| |
stapfuncs(5).
|
| |
|
|
|
|
| |
* tapsets.cxx (loc2c_error): Correct vasprintf ignored-rc warning.
|
|
|
|
| |
* systemtap.pass1-4/buildok.exp: Remove most kfail designations.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
runtime/
* loc2c-runtime.h (kread, kwrite): Tweaks to work better with
reading and writing pointer values.
testsuite/
* systemtap.base/deref.stp: Rewrite test, and now also check the ability
to read/write pointers.
|
|
|
|
|
|
|
| |
* config/unix.exp: New file as a master load_lib repository.
* */*.exp: Removed load_lib calls.
* parseko/cmdline01.stp: Swallow expected stap ERROR: message.
* systemtap.syscall/syscall.exp: Added installmode_p checks.
|
| |
|
|
|
|
|
|
| |
* translate.cxx (mapvar::exists): Use new _stp_map_exists function.
Testing for zero is no longer correct after changes from 2007-01-10
below.
|
|
|
|
| |
* map-gen.c (_stp_map_exists): New. Check for membership only.
|
|
|
|
|
| |
* systemtap.maps/exists.stp: New test to see if
array elements exist using the "in" keyword.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3079
runtime/
* loc2c-runtime.h (kread, kwrite): New macros to safely read/write
values from kernel pointers. This includes a workaround for 64-bit
numbers on i386 platforms.
testsuite/
* systemtap.base/deref.stp: Use the new kread macro that should work
fine with 64-bit numbers on i386 platforms. Also expand the test to
include writes with kwrite.
* systemtap.base/deref.exp: Remove the setup_kfail.
|
|
|
|
|
|
| |
* main.cxx (version): Add (C) 2007.
* translate.cxx (emit_module_init): Add a KERN_DEBUG printk
at module startup time to aid debugging and auditing.
|
|
|
|
| |
int instead of long long int.
|
|
|
|
| |
availableon s390. This is needed to make probe syscall.* work.
|
| |
|
| |
|