diff options
Diffstat (limited to 'cpu/profile.hh')
-rw-r--r-- | cpu/profile.hh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpu/profile.hh b/cpu/profile.hh index 58cd7e79f..d55c9eec9 100644 --- a/cpu/profile.hh +++ b/cpu/profile.hh @@ -33,7 +33,9 @@ #include "cpu/static_inst.hh" #include "sim/host.hh" -#include "targetarch/stacktrace.hh" +#include "arch/stacktrace.hh" + +class ExecContext; class ProfileNode { @@ -68,7 +70,7 @@ class FunctionProfile FunctionProfile(const SymbolTable *symtab); ~FunctionProfile(); - ProfileNode *consume(ExecContext *xc, StaticInstPtr<TheISA> inst); + ProfileNode *consume(ExecContext *xc, StaticInstPtr inst); ProfileNode *consume(const std::vector<Addr> &stack); void clear(); void dump(ExecContext *xc, std::ostream &out) const; @@ -76,7 +78,7 @@ class FunctionProfile }; inline ProfileNode * -FunctionProfile::consume(ExecContext *xc, StaticInstPtr<TheISA> inst) +FunctionProfile::consume(ExecContext *xc, StaticInstPtr inst) { if (!trace.trace(xc, inst)) return NULL; |