exetrace.hh (10664:61a0b02aa800) | exetrace.hh (11153:20bbfe5b2b86) |
---|---|
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; --- 61 unchanged lines hidden (view full) --- 70 InstRecord * 71 getInstRecord(Tick when, ThreadContext *tc, 72 const StaticInstPtr staticInst, TheISA::PCState pc, 73 const StaticInstPtr macroStaticInst = NULL) 74 { 75 if (!Debug::ExecEnable) 76 return NULL; 77 | 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; --- 61 unchanged lines hidden (view full) --- 70 InstRecord * 71 getInstRecord(Tick when, ThreadContext *tc, 72 const StaticInstPtr staticInst, TheISA::PCState pc, 73 const StaticInstPtr macroStaticInst = NULL) 74 { 75 if (!Debug::ExecEnable) 76 return NULL; 77 |
78 if (!Trace::enabled) 79 return NULL; 80 | |
81 return new ExeTracerRecord(when, tc, 82 staticInst, pc, macroStaticInst); 83 } 84}; 85 86} // namespace Trace 87 88#endif // __CPU_EXETRACE_HH__ | 78 return new ExeTracerRecord(when, tc, 79 staticInst, pc, macroStaticInst); 80 } 81}; 82 83} // namespace Trace 84 85#endif // __CPU_EXETRACE_HH__ |