Yes, that was the intention - to access the host file from a Linux guest. 

I will study the Workload Automation more in depth as well as look into m5 
readfile.

Another way which I was thinking if it is possible to just get the required 
stats printed on the terminal, and send those information to a named pipe to be 
read by another terminal. Can I change the code to output certain stats on the 
terminal?

Thanks and regards,
Elena

> On 7 May 2018, at 12:23 AM, Ciro Santilli <[email protected]> wrote:
> 
> Do you want to access a host file (stats.txt) from a Linux guest?
> 
> If that is the case, can you either use `m5 readfile` (maybe not since
> taken by your rc script, and only works for a single file at a time)
> or http://gem5.org/WA-gem5 (broken pending trivial patch when I last
> checked)?
> 
>> On Sun, May 6, 2018 at 11:43 PM, Woo L.L. <[email protected]> wrote:
>> Hi Ciro,
>> 
>> It is the same issue, but there was no answer so I decided to ask a subset
>> of the question again in a different way.
>> 
>> I am interested in the CPU stats - system.cpu.committedInsts,
>> system.cpu.dcache.overall_misses, system.cpu.icache.overall_misses
>> These stats create a different profile for every different benchmark that
>> I run, and if an injected fault create an error which manifests as a
>> failure, the profile deviates. The idea is to have another core
>> functioning as a monitor and monitor these stats during runtime so that if
>> the stats value starts to deviate, the 2nd core can provide an interrupt
>> signal to the main core to halt the execution.
>> 
>> This is what I want to achieve in a general way. But I am stuck at
>> figuring how to access the stats file as it sits outside the disk image.
>> Thanks.
>> 
>> Regards
>> Elena
>> 
>> On 06/05/2018, 11:05 PM, "gem5-users on behalf of Ciro Santilli"
>> <[email protected] on behalf of [email protected]> wrote:
>> 
>>> Hi Elena, is this different from:
>>> http://m5sim.org/cgi-bin/mailman/private/gem5-users/2018-May/031456.html
>>> ?
>>> 
>>> Please provide more details: what do you want to achieve? What stat do
>>> you want to read and why?
>>> 
>>>> On Sun, May 6, 2018 at 10:31 PM, Woo L.L. <[email protected]> wrote:
>>>> Hi all,
>>>> 
>>>> I would like to access the stats file during runtime. But I am not sure
>>>> how
>>>> to do it. I am running x86 architecture in FS mode. I have been
>>>> cracking my
>>>> head the last 3 weeks and really appreciate if someone can provide some
>>>> guidance.
>>>> Thanks.
>>>> 
>>>> Regards,
>>>> Elena
>>>> 
>>>> _______________________________________________
>>>> gem5-users mailing list
>>>> [email protected]
>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>> _______________________________________________
>>> gem5-users mailing list
>>> [email protected]
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>> 
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to