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

Accessing real-data in zsim #6

Closed
sparsh0mittal opened this issue May 7, 2014 · 2 comments
Closed

Accessing real-data in zsim #6

sparsh0mittal opened this issue May 7, 2014 · 2 comments
Labels

Comments

@sparsh0mittal
Copy link

Zsim uses pin, so I assume, it should be possible to access actual data of an application. In current code, I think, only addresses are being simulated. Is there a simple way to get actual data, at least with few (or single) core(s).

Thanks.

@hlitz
Copy link

hlitz commented May 7, 2014

as PIN shares the same address space as the instrumented application you
can access the data by simply reading from/writing to the address. If
you are interested in the data read or written by the application have a
look into my zsim fork which does that for simulating a transactional
memory system. Have a look into the instruction instrumentation function
it shows how you can handle load/stores. There is also a lot of
information regarding this subject on the pinheads mailinglist.

https://github.com/hlitz/zsim

sparsh0mittal mailto:notifications@github.com
May 7, 2014 at 8:40 AM

Zsim uses pin, so I assume, it should be possible to access actual
data of an application. In current code, I think, only addresses are
being simulated. Is there a simple way to get actual data, at least
with few (or single) core(s).

Thanks.


Reply to this email directly or view it on GitHub
#6.

@sparsh0mittal
Copy link
Author

Thanks a lot.

Thanks and Regards
Sparsh Mittal

On Wed, May 7, 2014 at 1:02 PM, hlitz notifications@github.com wrote:

as PIN shares the same address space as the instrumented application you
can access the data by simply reading from/writing to the address. If
you are interested in the data read or written by the application have a
look into my zsim fork which does that for simulating a transactional
memory system. Have a look into the instruction instrumentation function
it shows how you can handle load/stores. There is also a lot of
information regarding this subject on the pinheads mailinglist.

https://github.com/hlitz/zsim

sparsh0mittal mailto:notifications@github.com
May 7, 2014 at 8:40 AM

Zsim uses pin, so I assume, it should be possible to access actual
data of an application. In current code, I think, only addresses are
being simulated. Is there a simple way to get actual data, at least
with few (or single) core(s).

Thanks.


Reply to this email directly or view it on GitHub
#6.


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-42454002
.

@s5z s5z closed this as completed May 10, 2014
@s5z s5z added the question label May 10, 2014
sp2525 pushed a commit to sp2525/zsim that referenced this issue Mar 3, 2019
Fixes local install when checking availability of HDF5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants