On the RISCV target, a similar symptom is seen (in >>> <<<).>>>
~/temp/gem5$ ./build/RISCV/gem5.fast util/decode_inst_dep_trace.py 
hello_world_RISCV/system.cpu.traceListener.datatrc.helloworld.riscv 
hello_world_RISCV/system.cpu.traceListener.datatrc.helloworld.riscv.out
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 23.0.1.0
gem5 compiled Nov  5 2023 12:15:24
gem5 started Nov  5 2023 21:47:23
gem5 executing on lab315, pid 132458
command line: ./build/RISCV/gem5.fast util/decode_inst_dep_trace.py 
hello_world_RISCV/system.cpu.traceListener.datatrc.helloworld.riscv 
hello_world_RISCV/system.cpu.traceListener.datatrc.helloworld.riscv.out

Did not find proto definition, attempting to generate
TypeError: Descriptors cannot be created directly.
If this call came from a _pb2.py file, your generated code is out of date and 
must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible 
workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use 
pure-Python parsing and will be much slower).
<<<
upgraded protobuf to 3.20.3.~/temp/gem5$ pip3 list | grep proto
protobuf                     3.20.3     

However, the same symptom persists as above.
Tried option 2, and set the environment variable.After this,the following 
output is seen (in >>> <<<):>>>
~/temp/gem5$ ./build/RISCV/gem5.fast util/decode_inst_dep_trace.py 
hello_world_RISCV/system.cpu.traceListener.datatrc.helloworld.riscv 
hello_world_RISCV/system.cpu.traceListener.datatrc.helloworld.riscv.out
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 23.0.1.0
gem5 compiled Nov  5 2023 12:15:24
gem5 started Nov  5 2023 21:48:52
gem5 executing on lab315, pid 132476
command line: ./build/RISCV/gem5.fast util/decode_inst_dep_trace.py 
hello_world_RISCV/system.cpu.traceListener.datatrc.helloworld.riscv 
hello_world_RISCV/system.cpu.traceListener.datatrc.helloworld.riscv.out
~/temp/gem5$ <<<

Please suggest a solution for the above.
ThanksRajarshi
    On Sunday, November 5, 2023 at 11:58:01 AM GMT+5:30, rajarshi das via 
gem5-users <gem5-users@gem5.org> wrote:  
 
 I generated traces for the hello-world program, but am unable to decode it.
Following is the output in (<< >>):<<
~/temp/gem5$ ./build/X86/gem5.fast util/decode_inst_dep_trace.py 
hello_world/system.cpu.traceListener.datatrc.helloworld 
hello_world/system.cpu.traceListener.datatrc.helloworld.out
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 23.0.1.0
gem5 compiled Nov  4 2023 19:03:51
gem5 started Nov  5 2023 11:43:03
gem5 executing on lab315, pid 112200
command line: ./build/X86/gem5.fast util/decode_inst_dep_trace.py 
hello_world/system.cpu.traceListener.datatrc.helloworld 
hello_world/system.cpu.traceListener.datatrc.helloworld.out

Did not find proto definition, attempting to generate
Generated proto definitions for instruction dependency record~/temp/gem5$ ls -l 
hello_world
total 444
-rw-rw-r-- 1 rajarshi rajarshi  24641 Nov  5 08:02 config.ini
-rw-rw-r-- 1 rajarshi rajarshi  74085 Nov  5 08:02 config.json
drwxrwxr-x 5 rajarshi rajarshi   4096 Nov  5 08:02 fs
-rw-rw-r-- 1 rajarshi rajarshi 115654 Nov  5 08:02 stats.txt
-rw-rw-r-- 1 rajarshi rajarshi 211603 Nov  5 08:02 
system.cpu.traceListener.datatrc.helloworld
-rw-rw-r-- 1 rajarshi rajarshi  11787 Nov  5 08:02 
system.cpu.traceListener.insttrace.helloworld.gz

>>
Though there is no error message generated, I am unable to find the 
hello_world/system.cpu.traceListener.datatrc.helloworld.out file. 

Please suggest if I am missing any step here.
ThanksRajarshi
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
  
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to