Hello,

I have defined DumpRubyStatsCallback instead of RubyExitCallback.
DumpRubyStatsCallback is executed when GEM5 stats is being dumped.
As you know, RubyExitCallback dumps ruby stats when GEM5 quits.
Therefore not only DumpRubyStatsCallback dumps ruby stats when GEM5
stats is being dumped but also it does responsibility of
RubyExitCallback.
But about modify patch, the patch is correct but it is not correct
when uploaded into http://reviews.gem5.org

On 5/17/12, Mark Browning <[email protected]> wrote:
> Why did you remove the RubyExit event and associated callback?
>
> With what command, and in what directory, are you attempting to apply the
> patch?
>
> Something like
>
> 'cd a; patch -p1 < ../modify.patch'
>
> Should be what you want. If you just made it, I don't see how you could
> have an incorrect patch.
>
>
>
> On Thu, May 17, 2012 at 12:43 AM, Hamid Reza Khaleghzadeh <
> [email protected]> wrote:
>
>> Hello,
>>
>> I have modified Gem5 source code. For creating diff file, main Gem5
>> source
>> code has been copied in folder "a" and modified one into folder "b". I
>> have
>> created patch file as following:
>>
>> "diff  -ru  a/  b/  > modify.patch"
>>
>> but when this patch is executed as dry-run, there are a few errors. Could
>> you tell me what is wrong?
>> By the way, I have attached modify.patch.
>>
>> Sorry to bother you
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>


-- 
Hamid Reza Khaleghzadeh
http://hkhaleghzadeh.webs.com
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to