This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]