Deleted Added
sdiff udiff text old ( 12615:ccdc49c36ad3 ) new ( 12619:00be589dbe16 )
full compact
1/*
2 * Copyright (c) 2014 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 146 unchanged lines hidden (view full) ---

155 curMsg->set_inst(letoh(*reinterpret_cast<uint32_t *>(buf.get())));
156 } else if (instSize) {
157 curMsg->set_inst_bytes(
158 std::string(reinterpret_cast<const char *>(buf.get()), bufSize));
159 }
160 curMsg->set_cpuid(tc->cpuId());
161 curMsg->set_tick(curTick());
162 curMsg->set_type(static_cast<ProtoMessage::Inst_InstType>(si->opClass()));
163}
164
165void
166InstPBTrace::traceMem(StaticInstPtr si, Addr a, Addr s, unsigned f)
167{
168 panic_if(!curMsg, "Memory access w/o msg?!");
169
170 // We do a poor job identifying macro-ops that are load/stores

--- 18 unchanged lines hidden ---