Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How do you collect traces via pin for trace driven execution? #154

Open
sbird-kick opened this issue Jul 4, 2024 · 1 comment
Labels
question Further information is requested

Comments

@sbird-kick
Copy link

I have managed to install scarab (and intel pin 3.15). I want collect pin traces from an arbitrary binary and then use scarab to do trace driven simulation.

I believe the relevant files for collecting traces are here.

However, I can't seem to make those -- it fails because it can't find pinplay.h. It expects them in $PIN_ROOT/extras/pinplay which pin 3.15 does not have. Alternatively, are we expected to install pinplay manually inside $PIN_ROOT/extras/?

After that, what is the entire scheme for collecting and then running pin traces? If there is a readme or documentation for that, please point me to it?

From what I have gathered from the other issues, there seems to be some compatibility issue with the pin traces as well? Please let me know if that will affect the collection of pin traces.

@sbird-kick sbird-kick added the question Further information is requested label Jul 4, 2024
@raffael-daltoe
Copy link

Hello, if you want, i've done some automate scripts in my repository Benchmark, you can use the folder testsScarab, where you can put your C or C++ codes inside "codes" and call the Makefile with: make trace-program
It will trace the programs and create your respective traces inside "traces" folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants