Skip to content

Commit

Permalink
update tracegen readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Allen Goldstein committed Feb 14, 2024
1 parent a42a37d commit cde177e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tools/x86_trace_generator/README
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
Please use Pin 3.13 (version number 56759) for the current trace generator

How to generate x86 traces
1. do make (copy libzlib.a in the location )
(optional)
1. Simpoint - Mostly we use SimPoint (PinPoint). Follow instruction
1. copy macsim/tools/x86_trace_generator/libzlib.a into <pin-dir>/extras/xed-intel64/lib/
2. run make in macsim/tools/x86_trace_generator
3. Simpoint - Mostly we use SimPoint (PinPoint). Follow instruction
in $PINHOME/source/tools/PinPoints

2. Otherwise - Fix trace generator module based on your needs. Then,
pin -t trace_generator.so -- $BIN $ARGS

[1] Install Pin (https://software.intel.com/content/www/us/en/develop/articles/pin-a-dynamic-binary-instrumentation-tool.html)

[2] go to macsim/tools/x86_trace_generator directory

[3] export PIN_ROOT and PIN_HOME as the root directory of your pin install and copy libzlib.a
into $PIN_ROOT/intel64/lib/ and $PIN_ROOT/extras/xed-intel64/lib

[4] make

[5] pin -t obj-intel64/trace_generator.so - $BIN $ARGS


Expand Down

0 comments on commit cde177e

Please sign in to comment.