gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Taking simpoint checkpoints for a static aarch64 binary

PK
Pranith Kumar
Tue, Sep 24, 2024 3:13 AM

Hello,

I modified 'configs/example/gem5_library/checkpoints/simpoints-se.py' to
use ISA.ARM and am trying to generate checkpoints using the simpoint files
for a statically compiled ARM64 executable.

The execution seems to stop immediately in the beginning and the exit
reason is:

2294037: board.processor.cores.core: SuspendContext 0
Exiting @ tick 2294037 because exiting with last active thread context.

The same binary is working properly when used with starter_se.py.

Does anyone recognize the above error message? Do I need to configure
anything else in the set up script for checkpoints to work for ARM64?

Thank you,

Pranith

Hello, I modified 'configs/example/gem5_library/checkpoints/simpoints-se.py' to use ISA.ARM and am trying to generate checkpoints using the simpoint files for a statically compiled ARM64 executable. The execution seems to stop immediately in the beginning and the exit reason is: 2294037: board.processor.cores.core: SuspendContext 0 Exiting @ tick 2294037 because exiting with last active thread context. The same binary is working properly when used with starter_se.py. Does anyone recognize the above error message? Do I need to configure anything else in the set up script for checkpoints to work for ARM64? Thank you, -- Pranith
PK
Pranith Kumar
Tue, Sep 24, 2024 3:25 AM

On Mon, Sep 23, 2024 at 8:13 PM Pranith Kumar bobby.prani@gmail.com wrote:

Hello,

I modified 'configs/example/gem5_library/checkpoints/simpoints-se.py' to use ISA.ARM and am trying to generate checkpoints using the simpoint files for a statically compiled ARM64 executable.

On Mon, Sep 23, 2024 at 8:13 PM Pranith Kumar <bobby.prani@gmail.com> wrote: > > Hello, > > I modified 'configs/example/gem5_library/checkpoints/simpoints-se.py' to use ISA.ARM and am trying to generate checkpoints using the simpoint files for a statically compiled ARM64 executable. Here is the modified config if it helps: https://github.com/pranith/gem5/blob/arm_simpoint_checkpoints/configs/example/gem5_library/checkpoints/simpoints-se-checkpoint_arm.py -- Pranith