42#include "debug/SimpleTrace.hh"
54 dynInst->pcState().instAddr(),
55 dynInst->staticInst->disassemble(dynInst->pcState().instAddr()));
62 dynInst->pcState().instAddr(),
63 dynInst->staticInst->disassemble(dynInst->pcState().instAddr()));
71 listeners.push_back(
new DynInstListener(
this,
"Commit",
73 listeners.push_back(
new DynInstListener(
this,
"Fetch",
ProbeListenerArg generates a listener for the class of Arg and the class type T which is the class co...
std::vector< ProbeListener * > listeners
If you want a reference counting pointer to a mutable object, create it like this:
SimpleTrace(const SimpleTraceParams ¶ms)
void traceCommit(const DynInstConstPtr &dynInst)
void regProbeListeners() override
Register the probe listeners.
std::string name() const override
void traceFetch(const DynInstConstPtr &dynInst)
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.