mem_trace.cc (11437:210624864179) | mem_trace.cc (12189:18937fe3cc31) |
---|---|
1/* 2 * Copyright (c) 2015 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 --- 91 unchanged lines hidden (view full) --- 100 101 pkt_msg.set_tick(curTick()); 102 pkt_msg.set_cmd(pkt_info.cmd.toInt()); 103 pkt_msg.set_flags(pkt_info.flags); 104 pkt_msg.set_addr(pkt_info.addr); 105 pkt_msg.set_size(pkt_info.size); 106 if (withPC && pkt_info.pc != 0) 107 pkt_msg.set_pc(pkt_info.pc); | 1/* 2 * Copyright (c) 2015 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 --- 91 unchanged lines hidden (view full) --- 100 101 pkt_msg.set_tick(curTick()); 102 pkt_msg.set_cmd(pkt_info.cmd.toInt()); 103 pkt_msg.set_flags(pkt_info.flags); 104 pkt_msg.set_addr(pkt_info.addr); 105 pkt_msg.set_size(pkt_info.size); 106 if (withPC && pkt_info.pc != 0) 107 pkt_msg.set_pc(pkt_info.pc); |
108 pkt_msg.set_pkt_id(pkt_info.master); |
|
108 109 traceStream->write(pkt_msg); 110} 111 112 113MemTraceProbe * 114MemTraceProbeParams::create() 115{ 116 return new MemTraceProbe(this); 117} | 109 110 traceStream->write(pkt_msg); 111} 112 113 114MemTraceProbe * 115MemTraceProbeParams::create() 116{ 117 return new MemTraceProbe(this); 118} |