Note that compiling without pin feature is provided to help your debug. Your solution must be compiled with the original header files and makefile and must be executed using Pin.
How to run a simulation?
Just type "./a.out". This method does not take any arguments.
Using this method, you have to change knob variables (input parameters) and trace file names manually in the userknob.h and trace.h files every time you like to change the values.
Trace generator editor
To help debug, a tracegenerator tool kit is provided. You can write an input using a text format (the input format is described in README and a sample input is provided. (input.txt)). Please compile the toolkit with "make command" and it will produce a trace file that can be read from the simulator.
Please note that the end of trace file is not created correctly so you must specify the number of instructions to simulate in the simulator.
e.g.) ../../../pin -t obj-intel64/sim.so -readtrace 1 -printinst 1 -tracename out.pzip -max_inst_count 9 -- /bin/ls