This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Fault Injection using systemtap
- From: "Abhi Kolekar" <kolekar dot a at gmail dot com>
- To: systemtap <systemtap at sourceware dot org>
- Date: Mon, 10 Dec 2007 11:42:52 -0800
- Subject: Fault Injection using systemtap
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=zUtIha8B4vB2GJ6RthkCestKucG+VVtgb9/oH003abk=; b=idA/Anz825QujZN4f5be3Tlsh3bW01RyAeHW68tcDOXEsHMs5j0tFStKkHGz7v3PUWSm/R3ZmyWTecI+I224GEvTZezUvwaSg9Llp54TVbj/BgRRqnRPB5nwT4NLI8JIuVEnBv6cdKkIHC+qiDiEgmG4RYULrHprqegvekMAUaw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=so8lTBOs5E9NfJc1euYeoONNATY4kDR9XTvHhlSBsaVhFaVCkJ93kwOk1d8AJ+k/PL4tT0guADrSeLgxaHg97spHfuym3fqsxAgUjCbRN/vn0nVul4V1AmWcrXKHnS8x62AQBrbM0sespzE2wzR8K2nrhEm06QHmYdEd72gW4X8=
I am currently doing unit testing of my driver code and I want to do
unit testing with some fault injection code.
So my Question is
For the following module function
Function xyz(int a,int b,int c)
{
int i,j,k;
i=a+b;
--->I want to change the value of I at this statement How can I achieve
that using systemtap.
}
Thanks
Abhijeet