]> sourceware.org Git - systemtap.git/commit
Cache and retrieve syscall arguments when needed.
authorDavid Smith <dsmith@redhat.com>
Fri, 24 Apr 2009 17:48:29 +0000 (12:48 -0500)
committerDavid Smith <dsmith@redhat.com>
Fri, 24 Apr 2009 17:48:29 +0000 (12:48 -0500)
commit3cb2045e46dcac5d2c33fd22622508891c66bee0
tree624385fe4c5d2461f38dbbc417931485b44ad8cb
parent38e258727786a796835fb669f7413f52e207fd07
Cache and retrieve syscall arguments when needed.
* runtime/task_finder.c (__stp_utrace_task_finder_target_syscall_entry):
  New function that caches syscall arguments for mmap(), munmap(), and
  mprotect() for use in __stp_utrace_task_finder_target_syscall_exit().
  (__stp_utrace_task_finder_target_syscall_exit): Uses cached syscall
  argument info when making callbacks.
  (stap_start_task_finder): Initializes map subsytem for storing syscall
  argument data.
* runtime/task_finder_map.c: New file containing functions to save and
  retrieve syscall arguments.
runtime/task_finder.c
runtime/task_finder_map.c [new file with mode: 0644]
This page took 0.024705 seconds and 5 git commands to generate.