[PATCH 1/2] Add str_replace() To Tapsets

Josh Stone jistone@redhat.com
Mon Jun 22 21:49:00 GMT 2009


On 06/19/2009 09:07 PM, Varun Chandramohan wrote:
> This patch adds a search and replace string functionality to existing tapsets.
> 
> The functionality is as follows:
> 
> The function takes in a parent string and searches for a substring as specified by the user. If substing not found, the parent string is returned. If substring is found, it is replaced by another string and returned.
> NOTE: The function will search and replace all the occurance of substrings in a parent string when matched.
> 
> Signed-off-by: Varun Chandramohan <varunc@linux.vnet.ibm.com>
> ---

This and your testcase are now committed, thanks!

Josh



More information about the Systemtap mailing list