This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
How to change a string type argument of a system call?
- From: Neo Liu <diabloneo at gmail dot com>
- To: SystemTap <systemtap at sourceware dot org>
- Date: Thu, 1 Apr 2010 20:14:45 +0800
- Subject: How to change a string type argument of a system call?
Hi, everyone,
How can I use systemtap to change a string type parameter in a
syscall probe? For example, I use "probe syscall.open",
I want to change the "filename" parameter to make the "open"
syscall open a different file. How can I do that?
Thanks.