Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Morello instruction tracing nops #257

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Commits on Jul 8, 2024

  1. Fix mismerge that breaks instruction tracing.

    A previous merge moved the tcg cflags logic to the tcg_cpu_init_cflags
    function. This is only called when a vcpu is started to precompute
    cflags. In order to ensure that TB cflags are compared correctly,
    curr_cflags must set CF_LOG_INSTR dynamically.
    qwattash committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    0e11f73 View commit details
    Browse the repository at this point in the history
  2. Introduce tracing nops for aarch64.

    Use the hlt instruction with a custom set of immediates to issue
    tracing commands. This mirrors the behaviour of the ARM FVP Tarmac
    trace plugin, which uses the hlt instruction with configurable
    immediate values to start and stop tracing.
    
    Introduce the following hlt immediates:
     - 0xff00: start instruction tracing
     - 0xff01: stop instruction tracing
     - 0xff02: start user-mode instruction tracing
    qwattash committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    6f6f935 View commit details
    Browse the repository at this point in the history