1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 57 unchanged lines hidden (view full) --- 66 IntelTraceRecord * 67 getInstRecord(Tick when, ThreadContext *tc, 68 const StaticInstPtr staticInst, TheISA::PCState pc, 69 const StaticInstPtr macroStaticInst = NULL) 70 { 71 if (!Debug::ExecEnable) 72 return NULL; 73 |
74 return new IntelTraceRecord(when, tc, staticInst, pc, macroStaticInst); 75 } 76}; 77 78} // namespace Trace 79 80#endif // __CPU_INTELTRACE_HH__ |