Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(14724)

Issue 309530043: i#2006 generalize drcachesim: add analysis_tool_t

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 7 months ago by zhaoqin
Modified:
7 years, 6 months ago
Reviewers:
bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#2006 generalize drcachesim: add analysis_tool_t Adds analysis_tool_t as the base analysis tool class. Updates simulator_t to inherit from analysis_tool_t. Updates analyzer_t as the driver to create analysis tools and feed trace entries to those analysis tools. ---------------

Patch Set 1 #

Total comments: 26

Patch Set 2 : PTAL #

Total comments: 10

Patch Set 3 : PTAL #

Patch Set 4 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -192 lines) Patch
A + clients/drcachesim/analysis_tool.h View 1 1 chunk +11 lines, -18 lines 0 comments Download
M clients/drcachesim/analyzer.h View 2 chunks +9 lines, -2 lines 0 comments Download
M clients/drcachesim/analyzer.cpp View 1 2 4 chunks +66 lines, -1 line 0 comments Download
M clients/drcachesim/launcher.cpp View 1 2 3 chunks +5 lines, -12 lines 0 comments Download
M clients/drcachesim/simulator/cache_simulator.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M clients/drcachesim/simulator/cache_simulator.cpp View 1 2 1 chunk +61 lines, -74 lines 0 comments Download
M clients/drcachesim/simulator/simulator.h View 1 2 2 chunks +11 lines, -6 lines 0 comments Download
M clients/drcachesim/simulator/simulator.cpp View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M clients/drcachesim/simulator/tlb_simulator.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M clients/drcachesim/simulator/tlb_simulator.cpp View 1 2 2 chunks +58 lines, -73 lines 0 comments Download

Messages

Total messages: 9
zhaoqin
7 years, 7 months ago (2016-09-23 02:14:45 UTC) #1
bruening
Contains a couple of bugs from moving the iterator. The general design is good and ...
7 years, 6 months ago (2016-09-26 17:39:25 UTC) #2
zhaoqin
https://codereview.appspot.com/309530043/diff/1/clients/drcachesim/analysis_tool.h File clients/drcachesim/analysis_tool.h (right): https://codereview.appspot.com/309530043/diff/1/clients/drcachesim/analysis_tool.h#newcode40 clients/drcachesim/analysis_tool.h:40: #include "reader/reader.h" On 2016/09/26 17:39:25, bruening wrote: > This ...
7 years, 6 months ago (2016-09-26 20:06:50 UTC) #3
zhaoqin
Commit log for latest patchset: --------------- i#2006 generalize drcachesim: add analysis_tool_t Adds analysis_tool_t as the ...
7 years, 6 months ago (2016-09-26 20:08:08 UTC) #4
bruening
Looks like the caching bug is still there. https://codereview.appspot.com/309530043/diff/1/clients/drcachesim/simulator/cache_simulator.cpp File clients/drcachesim/simulator/cache_simulator.cpp (right): https://codereview.appspot.com/309530043/diff/1/clients/drcachesim/simulator/cache_simulator.cpp#newcode131 clients/drcachesim/simulator/cache_simulator.cpp:131: int ...
7 years, 6 months ago (2016-09-26 21:06:43 UTC) #5
zhaoqin
Commit log for latest patchset: --------------- i#2006 generalize drcachesim: add analysis_tool_t Adds analysis_tool_t as the ...
7 years, 6 months ago (2016-09-26 21:16:38 UTC) #6
zhaoqin
https://codereview.appspot.com/309530043/diff/1/clients/drcachesim/simulator/cache_simulator.cpp File clients/drcachesim/simulator/cache_simulator.cpp (right): https://codereview.appspot.com/309530043/diff/1/clients/drcachesim/simulator/cache_simulator.cpp#newcode131 clients/drcachesim/simulator/cache_simulator.cpp:131: int last_core = 0; On 2016/09/26 21:06:43, bruening wrote: ...
7 years, 6 months ago (2016-09-26 21:17:29 UTC) #7
bruening
LGTM
7 years, 6 months ago (2016-09-26 21:49:27 UTC) #8
zhaoqin
7 years, 6 months ago (2016-09-27 03:39:18 UTC) #9
Committed as
https://github.com/DynamoRIO/dynamorio/commit/2038b647c84815b9839ee0c1d578870...

Final commit log: 
---------------
i#2006 generalize drcachesim: add analysis_tool_t

Adds analysis_tool_t as the base analysis tool class.

Updates simulator_t to inherit from analysis_tool_t.

Updates analyzer_t as the driver to create analysis tools and
feed trace entries to those analysis tools.

Review-URL: https://codereview.appspot.com/309530043
---------------
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b